-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
fix: add File List and Change Log structure to story template #1902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -47,3 +47,19 @@ so that {{benefit}}. | |||||||||||||||||||||||
| ### Completion Notes List | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ### File List | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| <!-- Populated during dev-story execution. List ALL new, modified, or deleted files (paths relative to repo root). --> | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| | Action | File Path | | ||||||||||||||||||||||||
| |--------|-----------| | ||||||||||||||||||||||||
| <!-- | Added | src/example/new-file.ts | --> | ||||||||||||||||||||||||
| <!-- | Modified | src/example/existing-file.ts | --> | ||||||||||||||||||||||||
| <!-- | Deleted | src/example/removed-file.ts | --> | ||||||||||||||||||||||||
|
Comment on lines
+53
to
+57
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This table cannot represent renames or moves. A single Possible schema fix-| Action | File Path |
-|--------|-----------|
-<!-- | Added | src/example/new-file.ts | -->
-<!-- | Modified | src/example/existing-file.ts | -->
-<!-- | Deleted | src/example/removed-file.ts | -->
+| Action | Old Path | New Path |
+|--------|----------|----------|
+<!-- | Added | | src/example/new-file.ts | -->
+<!-- | Modified | src/example/existing-file.ts | src/example/existing-file.ts | -->
+<!-- | Deleted | src/example/removed-file.ts | | -->
+<!-- | Renamed | src/example/old-name.ts | src/example/new-name.ts | -->📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
Comment on lines
+55
to
+57
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The examples reinforce the wrong mental model. All examples live under 🤖 Prompt for AI Agents |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ### Change Log | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| <!-- Populated during dev-story execution. Summarize what changed and why. --> | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| | Date | Summary | | ||||||||||||||||||||||||
| |------|---------| | ||||||||||||||||||||||||
| <!-- | YYYY-MM-DD | Initial implementation of story tasks | --> | ||||||||||||||||||||||||
|
Comment on lines
+61
to
+65
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Change Log guidance is also invisible in rendered Markdown. Rendered output becomes an empty table with no visible cue about what belongs here. If humans are expected to maintain this, keep a short visible note or placeholder row instead of hiding all guidance in comments. 🤖 Prompt for AI Agents |
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The update cadence is underspecified.
“During dev-story execution” is too vague for the failure mode in
#1789. The workflow needs this refreshed after each task and again before final completion; otherwise the table can still drift by the end of the story.🤖 Prompt for AI Agents
Hidden instructions disappear in rendered stories.
Because the guidance and examples are inside HTML comments, a GitHub-rendered story shows only an empty table. That guts the human-facing guidance this change is supposed to add. Keep at least one visible instruction line or placeholder row above the table.
🤖 Prompt for AI Agents
The template still does not tell the workflow to use git as ground truth.
The linked issue was about agent-maintained file lists drifting from actual repo changes. This note only says “Populated during dev-story execution”, so it still leaves completeness to agent judgment instead of reconciling against
git status --porcelain/git diff --name-only.Suggested template wording
🤖 Prompt for AI Agents
The inclusion/exclusion rule is still ambiguous for workflow artifacts.
“List ALL new, modified, or deleted files” conflicts with the intended behavior from
#1789: repo-root side effects likepnpm-lock.yamlshould be captured, but_bmad/and_bmad-output/workflow artifacts should not be auto-added. Spell that out here or authors will keep over/under-reporting files.🤖 Prompt for AI Agents