feat: Phase 5 stabilization schedules and custodian path URIs
Add phase5_stabilization_check State Hub resolver with progress evidence sinks, schedule projections for daily and closeout checks, custodian:// and activity-core:// runtime path resolution, and Railiance mounts under /var/custodian.
This commit is contained in:
parent
5c3a89c495
commit
70e3154b05
10 changed files with 672 additions and 18 deletions
|
|
@ -17,6 +17,8 @@ data:
|
|||
ISSUE_CORE_URL: http://actcore-issue-core-bridge.activity-core.svc.cluster.local:8765
|
||||
ISSUE_SINK_TYPE: "rest"
|
||||
ACTIVITY_DEFINITION_DIRS: /etc/activity-core/external-definitions
|
||||
CUSTODIAN_REPO_ROOT: /var/custodian
|
||||
ACTIVITY_CORE_ROOT: /etc/activity-core
|
||||
OPS_INVENTORY_PATH: /etc/activity-core/ops/service-inventory.yml
|
||||
INTER_HUB_URL: ""
|
||||
OPS_HUB_WIDGET_MAPPING: ""
|
||||
|
|
@ -55,7 +57,7 @@ data:
|
|||
- type: static
|
||||
bind_to: context.prompt_path
|
||||
config:
|
||||
value: /home/worsch/the-custodian/runtime/prompts/daily_statehub_wsgi_triage.md
|
||||
value: custodian://runtime/prompts/daily_statehub_wsgi_triage.md
|
||||
- type: state-hub
|
||||
query: daily_triage_digest
|
||||
params:
|
||||
|
|
@ -102,7 +104,7 @@ data:
|
|||
{context.daily_triage_digest}
|
||||
|
||||
Return only JSON matching
|
||||
`/etc/activity-core/schemas/daily-triage-report.json`. Emit the "summary"
|
||||
`activity-core://schemas/daily-triage-report.json`. Emit the "summary"
|
||||
field first, then inside the "recommendations" array write one complete
|
||||
recommendation JSON object per line (NDJSON-style per-item framing) so
|
||||
each item can be recovered independently if the output is truncated. Do
|
||||
|
|
@ -127,11 +129,11 @@ data:
|
|||
}
|
||||
]
|
||||
}
|
||||
output_schema: /etc/activity-core/schemas/daily-triage-report.json
|
||||
output_schema: activity-core://schemas/daily-triage-report.json
|
||||
review_required: false
|
||||
report_sinks:
|
||||
- type: working-memory
|
||||
path: /home/worsch/the-custodian/memory/working
|
||||
path: custodian://memory/working
|
||||
timezone: Europe/Berlin
|
||||
filename_template: "daily-triage-{date}-{run_id_short}.md"
|
||||
- type: state-hub-progress
|
||||
|
|
@ -201,6 +203,87 @@ data:
|
|||
|
||||
Kubernetes projection of the Custodian-owned definition in
|
||||
`/home/worsch/the-custodian/activity-definitions/state-hub-consistency-sweep.md`.
|
||||
phase5-stabilization-daily.md: |
|
||||
---
|
||||
id: "f3a8c2e1-9b4d-4a6f-8e2d-1c5b7a9e3f04"
|
||||
name: "Phase 5 Stabilization Daily Check"
|
||||
type: activity-definition
|
||||
version: "1.0"
|
||||
enabled: true
|
||||
owner: custodian
|
||||
governance: custodian
|
||||
status: active
|
||||
created: "2026-07-06"
|
||||
trigger:
|
||||
type: cron
|
||||
cron_expression: "0 9 * * *"
|
||||
timezone: Europe/Berlin
|
||||
misfire_policy: skip
|
||||
context_sources:
|
||||
- type: state-hub
|
||||
query: phase5_stabilization_check
|
||||
required: true
|
||||
params:
|
||||
source: activity-core
|
||||
closeout: false
|
||||
window_start: "2026-07-06T17:35:00+00:00"
|
||||
window_end: "2026-07-09T17:35:00+00:00"
|
||||
baseline:
|
||||
workstreams: 640
|
||||
tasks: 4002
|
||||
topics: 14
|
||||
sweep_limit: 6
|
||||
triage_max_age_hours: 36
|
||||
evidence_sinks:
|
||||
- type: state-hub-progress
|
||||
event_type: phase5_stabilization_check
|
||||
author: activity-core
|
||||
workstream_id: 8a828444-dd49-4d7b-a2d1-9952b5bc929d
|
||||
task_id: e91db8d0-973d-4a31-b3c2-ca37fd002ec7
|
||||
bind_to: context.phase5_stabilization_check
|
||||
---
|
||||
|
||||
# ActivityDefinition: Phase 5 Stabilization Daily Check
|
||||
phase5-stabilization-closeout.md: |
|
||||
---
|
||||
id: "e7d2b5a8-4c1f-4e9a-b6d3-8f2a1c4e6b09"
|
||||
name: "Phase 5 Stabilization Closeout Check"
|
||||
type: activity-definition
|
||||
version: "1.0"
|
||||
enabled: true
|
||||
owner: custodian
|
||||
governance: custodian
|
||||
status: active
|
||||
created: "2026-07-06"
|
||||
trigger:
|
||||
type: scheduled
|
||||
at: "2026-07-09T17:35:00+00:00"
|
||||
timezone: UTC
|
||||
context_sources:
|
||||
- type: state-hub
|
||||
query: phase5_stabilization_check
|
||||
required: true
|
||||
params:
|
||||
source: activity-core
|
||||
closeout: true
|
||||
window_start: "2026-07-06T17:35:00+00:00"
|
||||
window_end: "2026-07-09T17:35:00+00:00"
|
||||
baseline:
|
||||
workstreams: 640
|
||||
tasks: 4002
|
||||
topics: 14
|
||||
sweep_limit: 6
|
||||
triage_max_age_hours: 36
|
||||
evidence_sinks:
|
||||
- type: state-hub-progress
|
||||
event_type: phase5_stabilization_closeout
|
||||
author: activity-core
|
||||
workstream_id: 8a828444-dd49-4d7b-a2d1-9952b5bc929d
|
||||
task_id: e91db8d0-973d-4a31-b3c2-ca37fd002ec7
|
||||
bind_to: context.phase5_stabilization_check
|
||||
---
|
||||
|
||||
# ActivityDefinition: Phase 5 Stabilization Closeout Check
|
||||
ops-service-inventory-probes.md: |
|
||||
---
|
||||
id: "40d15a87-7ff6-4d8e-992c-37df15f95110"
|
||||
|
|
@ -953,7 +1036,10 @@ spec:
|
|||
mountPath: /etc/activity-core/ops
|
||||
readOnly: true
|
||||
- name: working-memory
|
||||
mountPath: /home/worsch/the-custodian/memory/working
|
||||
mountPath: /var/custodian/memory/working
|
||||
- name: custodian-runtime
|
||||
mountPath: /var/custodian/runtime/prompts
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: external-activity-definitions
|
||||
configMap:
|
||||
|
|
@ -967,6 +1053,9 @@ spec:
|
|||
- name: working-memory
|
||||
persistentVolumeClaim:
|
||||
claimName: actcore-working-memory
|
||||
- name: custodian-runtime
|
||||
configMap:
|
||||
name: actcore-custodian-runtime
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue