fix(progress): add explicit context-authority directive to report step

The report step in workflows/progress.md had no directive establishing
PROJECT.md/STATE.md/ROADMAP.md as the authoritative sources for the
progress report. When init.progress returned project_exists: false (e.g.
invoked from a subdirectory without .planning/), the model fell back to
whatever was in its session context — including stale CLAUDE.md
## Project blocks — and produced routing output citing the wrong
milestone/phase.

Add a blockquote directive at the top of the report step that names
PROJECT.md, STATE.md, and ROADMAP.md as authoritative and forbids using
the CLAUDE.md ## Project block as a source for any progress report field.

Fixes #2912
This commit is contained in:
Tom Boucher
2026-04-30 17:27:37 -04:00
parent 006cdafe8f
commit d29822c1da
2 changed files with 157 additions and 0 deletions

View File

@@ -89,6 +89,11 @@ Use this instead of manually reading/parsing ROADMAP.md.
</step>
<step name="report">
> ⚠️ Context authority: PROJECT.md, STATE.md, and ROADMAP.md are the authoritative sources
> for project name, milestone, current phase, and next-step routing. CLAUDE.md ## Project
> blocks are a secondary config aid that may be significantly stale — do NOT use the
> CLAUDE.md project description as a source for any progress report field.
**Generate progress bar from `gsd-sdk query progress` / `progress.json`, then present rich status report:**
```bash