11# Agentic refresh controls
22
33This directory contains the governance boundary for quest refresh automation.
4- Phase 0 established the controls. Phase 1 adds manually dispatched, read-only
5- discovery workflows without enabling schedules or repository writes.
4+ Phase 0 established the controls. Phase 1 added manually dispatched, read-only
5+ discovery workflows. Phase 2A adds reusable staged reporting, structured
6+ artifacts, and deterministic parent/child previews without enabling schedules or
7+ repository writes.
68
79- [ ` capabilities.json ` ] ( ./capabilities.json ) keeps Buildathon writes disabled
810 until the repository-scoped token and dispatch spikes pass. External
@@ -23,22 +25,31 @@ discovery workflows without enabling schedules or repository writes.
2325- The five Quest Master profiles under [ ` ../agents ` ] ( ../agents ) fix each quest's
2426 source and path boundary.
2527- The five ` discover-*.md ` workflows under [ ` ../workflows ` ] ( ../workflows ) run
26- manual Phase 1 audits. Their shared policy permits only read operations and
27- returns reports in the agent response. Every automatic issue path is disabled,
28- and safe-output processing is forced into staged preview mode.
28+ manual or orchestrated audits. Their shared policy permits only read
29+ operations, and ` shared/report-output.md ` materializes a validated run-scoped
30+ JSON artifact. Every automatic issue path is disabled, and safe-output
31+ processing is forced into staged preview mode.
32+ - ` weekly-refresh-orchestrator.yml ` fans out to all five reusable compiled
33+ workflows only through manual dispatch. ` weekly-refresh-digest.md ` downloads
34+ available quest artifacts, converts missing scopes to blocked results, and
35+ uploads deterministic parent and child issue previews.
36+ - ` scripts/weekly-refresh-report.mjs ` is the machine-readable authority for ISO
37+ week context, schema validation, lifecycle/source/path boundaries, materiality,
38+ markers, finding keys, deduplication keys, and preview rendering.
2939
3040Run the local Phase 0 checks with:
3141
3242``` bash
3343node scripts/validate-refresh-config.mjs
44+ node scripts/weekly-refresh-report.mjs self-test
3445node scripts/validate-content-links.mjs
3546mkdocs build --strict
3647gh aw compile --strict --validate
3748```
3849
39- No scheduled or write-capable agentic workflow is enabled. Phase 1 workflows
40- cannot be live-trialed through ` workflow_dispatch ` until their compiled
41- definitions are available on the default branch.
50+ No scheduled or write-capable agentic workflow is enabled. The discovery and
51+ reporting workflows cannot be live-trialed through ` workflow_dispatch ` until
52+ their compiled definitions are available on the default branch.
4253
4354gh-aw v0.77.5 normally reserves ` issues: write ` for generated failure-reporting
4455jobs even when issue handlers are disabled. Phase 1 additionally sets
0 commit comments