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

@@ -150,7 +150,8 @@ Handle return:
git add {test_files}
git commit -m "test(phase-${PHASE}): add Nyquist validation tests"
gsd_run query commit "docs(phase-${PHASE}): add/update validation strategy"
gsd_run query commit "docs(phase-${PHASE}): add/update validation strategy" \
--files "${PHASE_DIR}/${PADDED_PHASE}-VALIDATION.md"
```
## 8. Results + Routing