Compare commits

...

6 Commits

Author SHA1 Message Date
gabadi 728d30eb64
Merge cb6006686c into 4b1026b252 2026-03-29 16:13:46 -03:00
Alex Verkhovsky cb6006686c
Merge branch 'main' into fix/quick-dev-consumer-propagation 2026-03-25 20:56:14 -06:00
2-gabadi 92b7c12bf2
fix: remove redundant step-03 precondition
The step-03 consumer tracing instruction duplicated step-02 without
adding validation. Keep only the step-02 planning instruction.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 03:41:06 -03:00
2-gabadi df8b54c946
fix: handle zero-consumers case and add recovery path
- step-02: add `consumer — none found` annotation for empty grep results
- step-03: replace dead-end HALT with actionable recovery (perform
  tracing now) so the agent isn't stuck if step-02 was skipped

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 03:37:45 -03:00
2-gabadi cb60c06a29
fix: reference exact annotation prefix in step-03 HALT gate
Use backtick-quoted `consumer —` prefix to match the step-02
convention, making the precondition check unambiguous and grepable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 03:30:19 -03:00
2-gabadi 17e87f8164
fix: add consumer propagation check to bmad-quick-dev workflow
When introducing new type variants, error codes, or DB values, the
workflow now requires enumerating all consumers in the Code Map during
planning (step-02) and HALTs implementation (step-03) if consumer
tracing was missed.

Fixes #2122

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 03:25:39 -03:00
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ deferred_work_file: '{implementation_artifacts}/deferred-work.md'
## INSTRUCTIONS ## INSTRUCTIONS
1. Investigate codebase. _Isolate deep exploration in sub-agents/tasks where available. To prevent context snowballing, instruct subagents to give you distilled summaries only._ 1. Investigate codebase. _Isolate deep exploration in sub-agents/tasks where available. To prevent context snowballing, instruct subagents to give you distilled summaries only._ If the approach introduces new type variants, error codes, or DB values: grep all consumers of the parent type/column and annotate each in the Code Map as `consumer — update required` or `consumer — excluded (reason)`. If no consumers exist, note `consumer — none found`.
2. Read `./spec-template.md` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`. 2. Read `./spec-template.md` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`.
3. Self-review against READY FOR DEVELOPMENT standard. 3. Self-review against READY FOR DEVELOPMENT standard.
4. If intent gaps exist, do not fantasize, do not leave open questions, HALT and ask the human. 4. If intent gaps exist, do not fantasize, do not leave open questions, HALT and ask the human.