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

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 2549
---
**`secure-phase`, `validate-phase`, and `next` workflows now scope their `query commit` calls** — all three pass `--files` with the specific artifact path, preventing the blanket `git add .planning/` default branch from sweeping unrelated staged or unstaged files into a commit whose message describes a single artifact. Previously, these three call sites (out of 65 total) were the only ones omitting `--files`, causing #2112's commit-scoping fix to never reach them. (#2269)