fix(workflow): use git output for dev-story File List instead of agent memory

Closes #1789
This commit is contained in:
A386official 2026-02-28 07:04:23 +00:00
parent 43cfc01f2c
commit ab1583fc24
2 changed files with 8 additions and 3 deletions

View File

@ -47,3 +47,6 @@ so that {{benefit}}.
### Completion Notes List ### Completion Notes List
### File List ### File List
<!-- Use `git diff --name-only` and `git status --porcelain` to capture ALL changed files,
including infrastructure side-effects: lock files, this story file, sprint-status.yaml -->

View File

@ -296,7 +296,9 @@
<!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS --> <!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS -->
<check if="ALL validation gates pass AND tests ACTUALLY exist and pass"> <check if="ALL validation gates pass AND tests ACTUALLY exist and pass">
<action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action> <action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action>
<action>Update File List section with ALL new, modified, or deleted files (paths relative to repo root)</action> <action>Run `git diff --name-only` and `git status --porcelain` to discover ALL changed files (including infrastructure
side-effects like lock files, the story file itself, and sprint-status.yaml)</action>
<action>Update File List section from git output with ALL new, modified, or deleted files (paths relative to repo root)</action>
<action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action> <action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action>
</check> </check>
@ -323,7 +325,7 @@
<step n="9" goal="Story completion and mark for review" tag="sprint-status"> <step n="9" goal="Story completion and mark for review" tag="sprint-status">
<action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action> <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
<action>Run the full regression suite (do not skip)</action> <action>Run the full regression suite (do not skip)</action>
<action>Confirm File List includes every changed file</action> <action>Run `git diff --name-only` and `git status --porcelain` to get actual changed files; confirm File List matches git output</action>
<action>Execute enhanced definition-of-done validation</action> <action>Execute enhanced definition-of-done validation</action>
<action>Update the story Status to: "review"</action> <action>Update the story Status to: "review"</action>
@ -336,7 +338,7 @@
- End-to-end tests for critical flows added when story demands them - End-to-end tests for critical flows added when story demands them
- All tests pass (no regressions, new tests successful) - All tests pass (no regressions, new tests successful)
- Code quality checks pass (linting, static analysis if configured) - Code quality checks pass (linting, static analysis if configured)
- File List includes every new/modified/deleted file (relative paths) - File List matches all git-reported changes - run `git diff --name-only` and `git status --porcelain` to verify
- Dev Agent Record contains implementation notes - Dev Agent Record contains implementation notes
- Change Log includes summary of changes - Change Log includes summary of changes
- Only permitted story sections were modified - Only permitted story sections were modified