Daily triage stuff

This commit is contained in:
2026-06-05 13:11:41 +02:00
parent 5ceb771a8f
commit 9a03677475
8 changed files with 356 additions and 39 deletions

View File

@@ -4,7 +4,7 @@ type: runtime-prompt
owner: custodian
status: active
created: "2026-05-17"
updated: "2026-05-17"
updated: "2026-06-04"
related_workplan: CUST-WP-0044
---
@@ -17,12 +17,12 @@ reviewable recommendation report. The review is a focus surface, not an
execution loop: it recommends what to work next, what to revisit, what to park,
and what needs human or cross-agent attention.
Do not create a new scheduler for this loop. The current runner is the Codex
app automation `daily-state-hub-wsjf-triage`. The durable target substrate is
activity-core using the ActivityDefinition in
Do not create a new scheduler for this loop. The current runner is activity-core
using the ActivityDefinition in
`/home/worsch/the-custodian/activity-definitions/daily-statehub-wsjf-triage.md`.
If the runner is moved to activity-core later, disable the Codex app automation
first so there is exactly one daily runner.
Do not re-enable a Codex app fallback unless activity-core is deliberately
disabled and that operator decision is recorded, so there is exactly one daily
runner.
## Operating Rules
@@ -35,6 +35,8 @@ first so there is exactly one daily runner.
wording, stale frontmatter, and missing file-backed state.
- Treat scores as prioritization aids, not truth. Every WSJF row needs a
confidence label.
- Include explicit WSJF component scores in executable JSON output so the
working-memory note remains auditable without re-running the model.
- Items involving money, legal status, secrets, security posture, external
publication, or external reputation must be reported as `needs-human` unless
a current explicit approval already exists.
@@ -235,3 +237,21 @@ When the State Hub API is reachable, append one progress event for the review:
Do not mark tasks done from the daily run itself. Task status changes belong to
the implementation session that applies a recommendation.
## Executable JSON Shape
When the activity-core runner asks for JSON only, return the same content in
the schema at `/home/worsch/the-custodian/schemas/daily-triage-report.json`.
Each recommendation must include:
- `rank`
- `candidate`
- `action`
- `why`
- `confidence`
- `wsjf.score`
- `wsjf.strategic_value`
- `wsjf.time_criticality`
- `wsjf.risk_reduction`
- `wsjf.opportunity_enablement`
- `wsjf.job_size`