Merge pull request #1257 from gsd-build/enhancement/decision-traceability-1243
enhancement(workflow): add decision IDs for discuss-to-plan traceability
This commit is contained in:
@@ -277,9 +277,11 @@ issue:
|
||||
|
||||
**Process:**
|
||||
1. Parse CONTEXT.md sections: Decisions, Claude's Discretion, Deferred Ideas
|
||||
2. For each locked Decision, find implementing task(s)
|
||||
3. Verify no tasks implement Deferred Ideas (scope creep)
|
||||
4. Verify Discretion areas are handled (planner's choice is valid)
|
||||
2. Extract all numbered decisions (D-01, D-02, etc.) from the `<decisions>` section
|
||||
3. For each locked Decision, find implementing task(s) — check task actions for D-XX references
|
||||
4. Verify 100% decision coverage: every D-XX must appear in at least one task's action or rationale
|
||||
5. Verify no tasks implement Deferred Ideas (scope creep)
|
||||
6. Verify Discretion areas are handled (planner's choice is valid)
|
||||
|
||||
**Red flags:**
|
||||
- Locked decision has no implementing task
|
||||
|
||||
@@ -60,6 +60,7 @@ The orchestrator provides user decisions in `<user_decisions>` tags from `/gsd:d
|
||||
- If user said "use library X" → task MUST use library X, not an alternative
|
||||
- If user said "card layout" → task MUST implement cards, not tables
|
||||
- If user said "no animations" → task MUST NOT include animations
|
||||
- Reference the decision ID (D-01, D-02, etc.) in task actions for traceability
|
||||
|
||||
2. **Deferred Ideas (from `## Deferred Ideas`)** — MUST NOT appear in plans
|
||||
- If user deferred "search functionality" → NO search tasks allowed
|
||||
@@ -69,7 +70,8 @@ The orchestrator provides user decisions in `<user_decisions>` tags from `/gsd:d
|
||||
- Make reasonable choices and document in task actions
|
||||
|
||||
**Self-check before returning:** For each plan, verify:
|
||||
- [ ] Every locked decision has a task implementing it
|
||||
- [ ] Every locked decision (D-01, D-02, etc.) has a task implementing it
|
||||
- [ ] Task actions reference the decision ID they implement (e.g., "per D-03")
|
||||
- [ ] No task implements a deferred idea
|
||||
- [ ] Discretion areas are handled reasonably
|
||||
|
||||
|
||||
Reference in New Issue
Block a user