fix(#2269): add --files to three unscoped query commit call sites (#2549)

* test(#2269): regression test for query commit --files scoping

Verify secure-phase.md, validate-phase.md, and next.md all pass --files
to their query commit calls.

* fix(#2269): add --files to three unscoped query commit call sites

secure-phase.md, validate-phase.md, and next.md were the only 3 of 65
query commit call sites that omitted --files, causing blanket staging
of .planning/ and committing unrelated files. Add --files with the
specific artifact path to each.

Closes #2269

* docs(#2269): backfill changeset PR number (2549)
This commit is contained in:
Tom Boucher
2026-07-23 07:37:15 -04:00
committed by GitHub
parent 77bf21b3a6
commit 200daa456c
25 changed files with 105 additions and 63 deletions

View File

@@ -162,7 +162,8 @@ Do NOT emit next-phase routing. Stop here.
## 7. Commit
```bash
gsd_run query commit "docs(phase-${PHASE}): add/update security threat verification"
gsd_run query commit "docs(phase-${PHASE}): add/update security threat verification" \
--files "${PHASE_DIR}/${PADDED_PHASE}-SECURITY.md"
```
## 8. Results + Routing