@kudusov.takhir/ba-toolkit 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,13 +22,15 @@ Read `references/environment.md` from the `ba-toolkit` directory to determine th
22
22
 
23
23
  ## Generation
24
24
 
25
- No interview. All content is derived from the existing artifacts.
25
+ No interview. All content is derived from the existing artifacts. The full template lives at `references/templates/handoff-template.md` and is the single source of truth — including the full inventory of pipeline-stage and cross-cutting artifacts (`/discovery`, `/principles`, `/implement-plan`, `/sprint`, `/risk`, `/glossary`, `/trace`, `/analyze`, `/estimate`), the Brief Goal → FR / FR → NFR / FR → API forward-traceability tables, the ADR summary, and the formal Sign-off section.
26
26
 
27
27
  **File:** `11_handoff_{slug}.md`
28
28
 
29
29
  ```markdown
30
30
  # Development Handoff: {Project Name}
31
31
 
32
+ **Version:** 1.0
33
+ **Status:** Draft | In Review | Approved
32
34
  **Date:** {date}
33
35
  **Domain:** {domain}
34
36
  **Pipeline completion:** {n}/{total} steps completed
@@ -37,19 +39,36 @@ No interview. All content is derived from the existing artifacts.
37
39
 
38
40
  ## 1. Artifact Inventory
39
41
 
40
- | Artifact | File | Status | Key numbers |
41
- |----------|------|--------|-------------|
42
- | Project Brief | `01_brief_{slug}.md` | Complete | {n} goals, {n} risks |
43
- | SRS | `02_srs_{slug}.md` | ✓ Complete | {n} FR ({must}/{should}/{could}/{wont}) |
44
- | User Stories | `03_stories_{slug}.md` | ✓ Complete | {n} stories across {n} epics |
45
- | Use Cases | `04_usecases_{slug}.md` | ✓ / ✗ Missing | {n} UC |
46
- | Acceptance Criteria | `05_ac_{slug}.md` | ✓ / Missing | {n} AC |
47
- | NFR | `06_nfr_{slug}.md` | ✓ / ✗ Missing | {n} NFR across {n} categories |
48
- | Research | `07a_research_{slug}.md` | ✓ / Missing / Not run | {tech decisions} |
49
- | Data Dictionary | `07_datadict_{slug}.md` | ✓ / ✗ Missing | {n} entities, {n} attributes |
50
- | API Contract | `08_apicontract_{slug}.md` | ✓ / ✗ Missing | {n} endpoints |
51
- | Wireframes | `09_wireframes_{slug}.md` | ✓ / ✗ Missing | {n} screens |
52
- | Scenarios | `10_scenarios_{slug}.md` | ✓ / ✗ Missing / Not run | {n} scenarios |
42
+ ### Pipeline-stage artifacts
43
+
44
+ | Stage | Artifact | File | Status | Key numbers |
45
+ |-------|----------|------|--------|-------------|
46
+ | 0 | Discovery | `00_discovery_{slug}.md` | ✓ / ✗ Missing / — Not run | {recommended domain, MVP feature count} |
47
+ | 0a | Principles | `00_principles_{slug}.md` | ✓ / ✗ Missing / — Not run | {testing strategy, ID conventions, NFR baseline characteristics} |
48
+ | 1 | Project Brief | `01_brief_{slug}.md` | ✓ Complete | {n} goals, {n} stakeholders, {n} risks, {n} assumptions |
49
+ | 2 | SRS | `02_srs_{slug}.md` | ✓ Complete | {n} FR ({must}/{should}/{could}/{wont}) |
50
+ | 3 | User Stories | `03_stories_{slug}.md` | ✓ Complete | {n} stories across {n} epics |
51
+ | 4 | Use Cases | `04_usecases_{slug}.md` | ✓ / ✗ Missing | {n} UC |
52
+ | 5 | Acceptance Criteria | `05_ac_{slug}.md` | ✓ / ✗ Missing | {n} AC ({pos}/{neg}/{boundary}/{perf}) |
53
+ | 6 | NFR | `06_nfr_{slug}.md` | ✓ / ✗ Missing | {n} NFR across {n} ISO 25010 characteristics |
54
+ | 7 | Data Dictionary | `07_datadict_{slug}.md` | ✓ / ✗ Missing | {n} entities, {n} attributes |
55
+ | 7a | Research | `07a_research_{slug}.md` | ✓ / ✗ Missing / — Not run | {n} ADRs, {n} integrations |
56
+ | 8 | API Contract | `08_apicontract_{slug}.md` | ✓ / ✗ Missing | {n} endpoints |
57
+ | 9 | Wireframes | `09_wireframes_{slug}.md` | ✓ / ✗ Missing | {n} screens |
58
+ | 10 | Scenarios | `10_scenarios_{slug}.md` | ✓ / ✗ Missing / — Not run | {n} scenarios |
59
+ | 11 | Handoff | `11_handoff_{slug}.md` | This document | — |
60
+ | 12 | Implementation Plan | `12_implplan_{slug}.md` | ✓ / ✗ Missing / — Not run | {n} phases, {n} tasks |
61
+
62
+ ### Cross-cutting artifacts
63
+
64
+ | Tool | File | Status | Key numbers |
65
+ |------|------|--------|-------------|
66
+ | Trace | `00_trace_{slug}.md` | ✓ / — Not run | Overall coverage {n}% |
67
+ | Analyze | `00_analyze_{slug}.md` | ✓ / — Not run | {n} CRITICAL, {n} HIGH findings |
68
+ | Risk | `00_risks_{slug}.md` | ✓ / — Not run | {n} risks ({n} Critical / {n} High) |
69
+ | Sprint | `00_sprint_{slug}.md` | ✓ / — Not run | {n} sprints, {n} weeks |
70
+ | Glossary | `00_glossary_{slug}.md` | ✓ / — Not run | {n} terms, {n} drift findings |
71
+ | Estimate | inline in stories or `00_estimate_{slug}.md` | ✓ / — Not run | {n} SP total ± {confidence band} |
53
72
 
54
73
  ---
55
74
 
@@ -68,14 +87,18 @@ Must-priority items confirmed for the first release:
68
87
  ## 3. Traceability Coverage
69
88
 
70
89
  | Chain | Coverage |
71
- |-------|---------|
90
+ |-------|----------|
91
+ | Brief Goal → FR | {n}% ({uncovered} goals uncovered) |
72
92
  | FR → US | {n}% ({uncovered} uncovered) |
73
93
  | US → UC | {n}% |
74
- | US → AC | {n}% |
94
+ | US → AC (Positive / Negative / Boundary) | {n}% / {n}% / {n}% |
75
95
  | FR → NFR | {n}% |
76
- | EntityFR/US | {n}% |
77
- | EndpointFR/US | {n}% |
78
- | WFUS | {n}% |
96
+ | FREntity | {n}% |
97
+ | FRAPI Endpoint | {n}% |
98
+ | USWF | {n}% |
99
+ | US → Scenario | {n}% |
100
+ | FR → Implementation Task (if `12_implplan` exists) | {n}% |
101
+ | NFR → ADR | {n}% |
79
102
 
80
103
  {If coverage is below 100% for any CRITICAL chain, list uncovered items explicitly.}
81
104
 
@@ -114,13 +137,34 @@ Must-priority items confirmed for the first release:
114
137
 
115
138
  ---
116
139
 
117
- ## 7. Artifact Files Reference
140
+ ## 7. Architecture Decision Summary
141
+
142
+ Top architectural decisions from `07a_research_{slug}.md`. Dev team should read each linked ADR before starting the corresponding phase.
143
+
144
+ | ADR | Decision | Drivers | Phase impact |
145
+ |-----|----------|---------|--------------|
146
+ | ADR-001 | {chosen tech for layer X} | NFR-{NNN}, FR-{NNN} | Phase {N} of `/implement-plan` |
147
+ | ADR-002 | {decision} | {drivers} | {phase impact} |
148
+
149
+ ## 8. Artifact Files Reference
118
150
 
119
151
  All files are located in: `{output_directory}`
120
152
 
121
153
  ```
122
154
  {file tree of all generated artifacts}
123
155
  ```
156
+
157
+ ## 9. Sign-off
158
+
159
+ Formal acceptance of the handoff package. Signing this section means the development team agrees the BA package is sufficient to begin implementation.
160
+
161
+ | Role | Name | Sign-off Date | Notes |
162
+ |------|------|---------------|-------|
163
+ | Business Analyst | {name} | {date} | {notes} |
164
+ | Product Manager | {name} | {date} | {notes} |
165
+ | Tech Lead | {name} | {date} | {notes} |
166
+ | QA Lead | {name} | {date} | {notes} |
167
+ | Stakeholder | {name} | {date} | {notes} |
124
168
  ```
125
169
 
126
170
  ## Iterative refinement
@@ -69,7 +69,10 @@ Required topics for the calibration interview (skip any topic already answered b
69
69
  3. Database (engine, version, hosting model).
70
70
  4. Hosting / deployment target.
71
71
  5. Auth / identity approach (in-house vs. SSO vs. managed service).
72
- 6. Mandatory integrations from `02_srs` (carry over verbatim do not re-decide them).
72
+ 6. **Observability platform** logging, metrics, traces stack (Datadog / New Relic / Grafana / OpenTelemetry self-hosted). Drives Phase 8 (Quality & NFRs) tasks.
73
+ 7. **CI/CD platform** — GitHub Actions / GitLab CI / CircleCI / Jenkins / other. Drives Phase 1 (Foundation) tasks.
74
+ 8. **Secret management** — environment variables / Vault / AWS Secrets Manager / Doppler / 1Password CLI. Drives Phase 1 (Foundation) tasks.
75
+ 9. Mandatory integrations from `02_srs` (carry over verbatim — do not re-decide them).
73
76
 
74
77
  **Step 3 — TBD slots.** If neither `/research` nor the interview yields a value for a slot (e.g. user picked "Other" without a concrete answer), record `[TBD: <slot>]` in the output's "Tech stack" header AND add a row to the "Open Assumptions" section so the AI coding agent knows it must ask before starting any task that touches that slot.
75
78
 
@@ -107,7 +110,7 @@ Each task is one atomic, AI-actionable unit of work. Rules:
107
110
  - **files:** list of file paths the AI agent should create or modify (best-effort; framework-dependent). Optional. Examples: `src/db/schema.sql`, `apps/api/src/auth/login.controller.ts`. **If unknown, omit rather than guess.**
108
111
  - **definitionOfDone:** bullet list of acceptance hooks. Pull from the linked AC where possible ("AC-001-03 passes", "endpoint returns 401 on invalid credentials"). Always include a type-check / lint hook on backend tasks and a render-state hook on UI tasks.
109
112
 
110
- Within a phase, order tasks so each task's `dependsOn` list points only at tasks already listed. Risk-elevated tasks (mitigating Critical / High risks from `00_risks_*.md`) come earliest within their priority tier.
113
+ Within a phase, order tasks so each task's `dependsOn` list points only at tasks already listed. **Risk-elevated tasks come earliest within their phase**: any task whose `references` include an FR / US / NFR linked to a 🔴 Critical or 🟡 High risk in `00_risks_*.md` is pulled to the front of its phase, ahead of equally-prioritised tasks. Rationale: validate risky bets early, when there's still time to pivot. Tag risk-elevated tasks with `**Risk:** RISK-NN ↑` next to their title so the AI agent and the human reviewer both see the elevation reason.
111
114
 
112
115
  ### 7. Generation
113
116
 
@@ -132,6 +135,9 @@ Within a phase, order tasks so each task's `dependsOn` list points only at tasks
132
135
  | Database | {…} | … |
133
136
  | Hosting | {…} | … |
134
137
  | Auth | {…} | … |
138
+ | Observability (logs / metrics / traces) | {…} | … |
139
+ | CI / CD | {…} | … |
140
+ | Secret management | {…} | … |
135
141
  | Mandatory integrations | {…} | … |
136
142
 
137
143
  ---
@@ -38,10 +38,13 @@ If `01_brief_*.md` already exists, extract the slug and domain from it. Otherwis
38
38
  **Required topics:**
39
39
  1. Artifact language — which language should all artifacts be generated in? (default: the language of the user's first message)
40
40
  2. Traceability strictness — should every Must-priority US require a Use Case, or only US with complex flows? (default: only complex flows)
41
- 3. NFR baseline — which additional NFR categories are always required beyond the domain defaults? (e.g., GDPR compliance, WCAG accessibility)
42
- 4. Definition of Ready — any project-specific acceptance criteria for finalizing an artifact? (e.g., stakeholder sign-off, specific review steps)
41
+ 3. NFR baseline — which **ISO/IEC 25010** quality characteristics are mandatory beyond the domain defaults? (Performance Efficiency / Reliability / Security / Compatibility / Usability / Maintainability / Portability / Functional Suitability — `/nfr` reads this list verbatim and treats it as a checklist).
42
+ 4. Definition of Ready — any project-specific acceptance criteria for finalizing an artifact beyond the `v3.7.0+` baseline DoR per artifact type listed in §4 below? (e.g., stakeholder sign-off, specific review steps).
43
43
  5. Quality gate — at what severity level should `/analyze` findings block `/done`? (default: CRITICAL only)
44
44
  6. Output folder structure — save all artifacts flat in the output directory (default), or inside a `{slug}/` subfolder? (useful when managing multiple projects side by side)
45
+ 7. **Testing strategy** — TDD (tests before implementation), tests-after, integration-only, manual-only, none? Drives whether `/implement-plan` task templates embed "Tests to write first" blocks. **Recommended:** TDD for production-grade systems; tests-after for prototypes; manual-only or none for spike work. *(This is the principles-based approach to the testing-discipline question that batch 6 item 2 surfaced — the right place to declare a testing strategy is here, not as a separate skill.)*
46
+ 8. **Stakeholder decision authority** — who has sign-off authority on changes to these principles? Captured by name and role. Without this, principle changes become contentious mid-project.
47
+ 9. **Code review and branching policy** — trunk-based / GitFlow / GitHub flow? Required reviewers per PR? `/implement-plan` and downstream skills assume one of these defaults but the principles file is the source of truth.
45
48
 
46
49
  ### 4. Generation
47
50
 
@@ -1,16 +1,19 @@
1
1
  # Quality Analysis Report: [PROJECT_NAME]
2
2
 
3
+ **Version:** 0.1
4
+ **Status:** Draft
3
5
  **Domain:** [DOMAIN]
4
6
  **Date:** [DATE]
5
7
  **Slug:** [SLUG]
6
8
  **Artifacts Analysed:** [List of artifact files included in this analysis]
9
+ **Severity threshold (blocks /done):** [CRITICAL / HIGH / per `00_principles_[SLUG].md` §6]
7
10
 
8
11
  ---
9
12
 
10
13
  ## Finding Summary
11
14
 
12
15
  | Severity | Count |
13
- |---------|-------|
16
+ |----------|-------|
14
17
  | 🔴 Critical | [N] |
15
18
  | 🟠 High | [N] |
16
19
  | 🟡 Medium | [N] |
@@ -21,20 +24,25 @@
21
24
 
22
25
  ## Findings
23
26
 
24
- | # | Severity | Category | Location | Description | Recommendation |
25
- |---|---------|---------|---------|-------------|---------------|
26
- | 1 | 🔴 Critical | [Duplication \| Ambiguity \| Coverage Gap \| Terminology Drift \| Invalid Reference] | [Artifact + section] | [What the issue is] | [How to fix it] |
27
- | 2 | 🟠 High | [Category] | [Location] | [Description] | [Recommendation] |
28
- | 3 | 🟡 Medium | [Category] | [Location] | [Description] | [Recommendation] |
29
- | 4 | 🟢 Low | [Category] | [Location] | [Description] | [Recommendation] |
30
-
31
- ### Finding Categories
32
-
33
- - **Duplication** same requirement, entity, or AC scenario defined in more than one artifact.
34
- - **Ambiguity** — undefined terms, metrics-free adjectives ("fast", "user-friendly"), or unclear actors.
35
- - **Coverage Gap** FR with no US, US with no AC, or endpoint with no FR reference.
36
- - **Terminology Drift** same concept called different names across artifacts (e.g. "user" vs "customer" vs "account").
37
- - **Invalid Reference** — cross-reference points to an ID that does not exist in the linked artifact.
27
+ | # | Severity | Category | Location | Description | Recommendation | Owner |
28
+ |---|----------|----------|----------|-------------|----------------|-------|
29
+ | 1 | 🔴 Critical | Coverage Gap | [Artifact + section] | [What the issue is] | [How to fix it] | BA |
30
+ | 2 | 🟠 High | Duplication | [Location] | [Description] | [Recommendation] | BA |
31
+ | 3 | 🟡 Medium | Ambiguity | [Location] | [Description] | [Recommendation] | BA |
32
+ | 4 | 🟠 High | Underspecified Source | [Location] | [Description] | [Recommendation] | BA |
33
+ | 5 | 🟠 High | Stakeholder Validation Gap | [Location] | [Description] | [Recommendation] | PM |
34
+ | 6 | 🟢 Low | Terminology Drift | [Location] | [Description] | [Recommendation] | BA |
35
+
36
+ ### Finding Categories *(8 canonical, mapped to IEEE 830 §4.3 SRS quality attributes)*
37
+
38
+ - **Duplication** *(IEEE 830: consistency)* same requirement, entity, or AC scenario defined in more than one artifact.
39
+ - **Ambiguity** *(IEEE 830: unambiguous)* undefined terms, metrics-free adjectives ("fast", "user-friendly"), unclear actors, modal verb confusion (must / shall / should / may).
40
+ - **Coverage Gap** *(IEEE 830: complete + traceable)* FR with no US, US with no AC, endpoint with no FR reference, Task with no upstream reference.
41
+ - **Terminology Drift** *(IEEE 830: consistent)* — same concept called different names across artifacts (e.g. "user" vs "customer" vs "account").
42
+ - **Invalid Reference** *(IEEE 830: traceable)* — cross-reference points to an ID that does not exist in the linked artifact.
43
+ - **Inconsistency** *(IEEE 830: consistent)* — same fact stated differently across artifacts (e.g. brief says €1.5M GMV, srs says €2M).
44
+ - **Underspecified Source** *(post-v3.5.0 provenance discipline)* — FR / UC / AC / Entity / Endpoint missing the `Source` field that the v3.5.0+ template requires.
45
+ - **Stakeholder Validation Gap** *(post-v3.5.0 assumption discipline)* — assumption with no Owner, or past its Validate by date and not converted to fact or risk.
38
46
 
39
47
  ---
40
48
 
@@ -1,8 +1,11 @@
1
1
  # Discovery: [PROJECT_NAME]
2
2
 
3
+ **Version:** 0.1
4
+ **Status:** Concept (pre-brief) | In Review | Locked
3
5
  **Slug:** [SLUG]
4
6
  **Date:** [DATE]
5
- **Status:** Concept (pre-brief)
7
+ **Decision date:** [DATE — when the recommended domain was locked in]
8
+ **Decision owner:** [Name + role]
6
9
 
7
10
  ## 1. Problem Space
8
11
 
@@ -61,3 +64,23 @@ Things we do not yet know and need to learn before committing real resources.
61
64
  - **Domain:** [chosen domain]
62
65
  - **Scope hint for `/brief`:** [one-sentence summary the user can paste as inline context: `/brief [scope hint]`]
63
66
  - **Suggested first interview focus in `/brief`:** [1–2 topics from this discovery doc that are now firm enough to anchor the brief]
67
+
68
+ ---
69
+
70
+ ## 9. Hypotheses → Brief Goals (filled in after `/brief`)
71
+
72
+ Forward traceability from the discovery hypotheses to the brief business goals they became. Filled in by `/brief` when it consumes this discovery artifact, then preserved here for retrospective validation: 3 months after launch, did the chosen audience hypothesis hold? Did the MVP features that the differentiation angle predicted would matter actually drive adoption?
73
+
74
+ | Discovery section | Hypothesis | Brief Goal G-N | Status |
75
+ |-------------------|------------|----------------|--------|
76
+ | §1 Problem space | [problem statement] | G-1 | Validated / Refined / Disproved / Pending |
77
+ | §2 Audience (Primary) | [primary segment] | G-2 | Validated / Refined / Disproved / Pending |
78
+ | §5 MVP feature 1 | [feature] | G-3 | Validated / Refined / Disproved / Pending |
79
+
80
+ ---
81
+
82
+ ## Approvals
83
+
84
+ | Name | Role | Approval Date | Notes |
85
+ |------|------|---------------|-------|
86
+ | [name] | [role] | [YYYY-MM-DD] | [optional notes] |
@@ -1,5 +1,7 @@
1
1
  # Development Handoff Package: [PROJECT_NAME]
2
2
 
3
+ **Version:** 1.0
4
+ **Status:** Draft
3
5
  **Domain:** [DOMAIN]
4
6
  **Date:** [DATE]
5
7
  **Slug:** [SLUG]
@@ -8,31 +10,47 @@
8
10
 
9
11
  ---
10
12
 
11
- ## Artifact Inventory
12
-
13
- | Artifact | File | Status | Last Updated |
14
- |---------|------|--------|-------------|
15
- | Principles | `00_principles_[SLUG].md` | Complete | [DATE] |
16
- | Project Brief | `01_brief_[SLUG].md` | ✅ Complete | [DATE] |
17
- | SRS | `02_srs_[SLUG].md` | ✅ Complete | [DATE] |
18
- | User Stories | `03_stories_[SLUG].md` | ✅ Complete | [DATE] |
19
- | Use Cases | `04_usecases_[SLUG].md` | ✅ Complete | [DATE] |
20
- | Acceptance Criteria | `05_ac_[SLUG].md` | ✅ Complete | [DATE] |
21
- | NFR | `06_nfr_[SLUG].md` | ✅ Complete | [DATE] |
22
- | Data Dictionary | `07_datadict_[SLUG].md` | ✅ Complete | [DATE] |
23
- | Research / ADRs | `07a_research_[SLUG].md` | ✅ Complete | [DATE] |
24
- | API Contract | `08_apicontract_[SLUG].md` | ✅ Complete | [DATE] |
25
- | Wireframes | `09_wireframes_[SLUG].md` | ✅ Complete | [DATE] |
26
- | Validation Scenarios | `10_scenarios_[SLUG].md` | ✅ Complete | [DATE] |
13
+ ## 1. Artifact Inventory
14
+
15
+ ### Pipeline-stage artifacts
16
+
17
+ | Stage | Artifact | File | Status | Last Updated |
18
+ |-------|----------|------|--------|--------------|
19
+ | 0 | Discovery | `00_discovery_[SLUG].md` | ✅ Complete / — Not run | [DATE] |
20
+ | 0a | Principles | `00_principles_[SLUG].md` | ✅ Complete / — Not run | [DATE] |
21
+ | 1 | Project Brief | `01_brief_[SLUG].md` | ✅ Complete | [DATE] |
22
+ | 2 | SRS | `02_srs_[SLUG].md` | ✅ Complete | [DATE] |
23
+ | 3 | User Stories | `03_stories_[SLUG].md` | ✅ Complete | [DATE] |
24
+ | 4 | Use Cases | `04_usecases_[SLUG].md` | ✅ Complete | [DATE] |
25
+ | 5 | Acceptance Criteria | `05_ac_[SLUG].md` | ✅ Complete | [DATE] |
26
+ | 6 | NFR | `06_nfr_[SLUG].md` | ✅ Complete | [DATE] |
27
+ | 7 | Data Dictionary | `07_datadict_[SLUG].md` | ✅ Complete | [DATE] |
28
+ | 7a | Research / ADRs | `07a_research_[SLUG].md` | ✅ Complete | [DATE] |
29
+ | 8 | API Contract | `08_apicontract_[SLUG].md` | ✅ Complete | [DATE] |
30
+ | 9 | Wireframes | `09_wireframes_[SLUG].md` | ✅ Complete | [DATE] |
31
+ | 10 | Validation Scenarios | `10_scenarios_[SLUG].md` | ✅ Complete | [DATE] |
32
+ | 11 | Handoff | `11_handoff_[SLUG].md` | This document | [DATE] |
33
+ | 12 | Implementation Plan | `12_implplan_[SLUG].md` | ✅ Complete / — Not run | [DATE] |
34
+
35
+ ### Cross-cutting artifacts
36
+
37
+ | Tool | File | Status | Last Updated |
38
+ |------|------|--------|--------------|
39
+ | Trace | `00_trace_[SLUG].md` | ✅ / — Not run | [DATE] |
40
+ | Analyze | `00_analyze_[SLUG].md` | ✅ / — Not run | [DATE] |
41
+ | Risk Register | `00_risks_[SLUG].md` | ✅ / — Not run | [DATE] |
42
+ | Sprint Plan | `00_sprint_[SLUG].md` | ✅ / — Not run | [DATE] |
43
+ | Glossary | `00_glossary_[SLUG].md` | ✅ / — Not run | [DATE] |
44
+ | Estimate | inline in `03_stories_[SLUG].md` or `00_estimate_[SLUG].md` | ✅ / — Not run | [DATE] |
27
45
 
28
46
  ---
29
47
 
30
- ## MVP Scope
48
+ ## 2. MVP Scope
31
49
 
32
50
  **In scope for MVP:**
33
51
 
34
52
  | ID | Title | Type | Priority |
35
- |----|-------|------|---------|
53
+ |----|-------|------|----------|
36
54
  | FR-[NNN] | [Title] | Functional | Must |
37
55
  | US-[NNN] | [Story title] | Story | Must |
38
56
 
@@ -44,34 +62,43 @@
44
62
 
45
63
  ---
46
64
 
47
- ## Traceability Coverage
65
+ ## 3. Traceability Coverage
48
66
 
49
- | Link | Coverage | Gap |
50
- |------|---------|-----|
67
+ | Chain | Coverage | Gap |
68
+ |-------|----------|-----|
69
+ | Brief Goal → FR | [N]% | [N goals uncovered] |
51
70
  | FR → US | [N]% | [N orphaned FRs] |
52
- | US → AC | [N]% | [N stories without AC] |
53
- | FRAPI | [N]% | [N FRs without endpoint] |
71
+ | US → UC | [N]% | [N stories without UC] |
72
+ | USAC (Positive / Negative / Boundary) | [N]% / [N]% / [N]% | [N stories without negative AC] |
73
+ | FR → NFR | [N]% | [N FRs without an NFR] |
74
+ | FR → Entity | [N]% | [N FRs without entity] |
75
+ | FR → API Endpoint | [N]% | [N FRs without endpoint] |
54
76
  | US → WF | [N]% | [N stories without wireframe] |
77
+ | US → Scenario | [N]% | [N stories without scenario] |
78
+ | FR → Implementation Task | [N]% | [N FRs without task] |
79
+ | NFR → ADR | [N]% | [N NFRs without architectural decision] |
55
80
 
56
81
  ---
57
82
 
58
- ## Open Items
83
+ ## 4. Open Items
59
84
 
60
85
  | # | Type | Description | Owner | Priority |
61
- |---|------|-------------|-------|---------|
62
- | 1 | [Decision \| Clarification \| Dependency] | [Description] | [Role] | P1 / P2 / P3 |
86
+ |---|------|-------------|-------|----------|
87
+ | 1 | Decision / Clarification / Dependency / Risk | [Description] | [Role] | P1 / P2 / P3 |
63
88
 
64
89
  ---
65
90
 
66
- ## Top Risks for Development
91
+ ## 5. Top Risks for Development
67
92
 
68
- | # | Risk | Probability | Impact | Mitigation |
69
- |---|------|-------------|--------|-----------|
70
- | 1 | [Risk] | High / Med / Low | High / Med / Low | [Mitigation] |
93
+ | # | Risk | Probability | Impact | Velocity | Treatment | Mitigation |
94
+ |---|------|-------------|--------|----------|-----------|------------|
95
+ | 1 | [Risk] | High / Med / Low | High / Med / Low | Days / Weeks / Months | Avoid / Reduce / Transfer / Accept | [Mitigation] |
96
+
97
+ *(Pulled from `00_risks_[SLUG].md` — top 5 by score.)*
71
98
 
72
99
  ---
73
100
 
74
- ## Recommended Development Sequence
101
+ ## 6. Recommended Development Sequence
75
102
 
76
103
  1. **[Phase / Sprint 1]** — [What to build first and why]
77
104
  2. **[Phase / Sprint 2]** — [Next priority]
@@ -79,14 +106,32 @@
79
106
 
80
107
  _Rationale: [Why this sequencing — dependencies, risk, user value.]_
81
108
 
109
+ If `12_implplan_[SLUG].md` has been generated, use the phase ladder + Task DAG appendix from there as the canonical sequence; the recommendation above is the human-friendly summary.
110
+
111
+ ---
112
+
113
+ ## 7. Architecture Decision Summary
114
+
115
+ Top architectural decisions from `07a_research_[SLUG].md`. Dev team should read each linked ADR before starting the corresponding phase.
116
+
117
+ | ADR | Decision | Drivers | Phase impact |
118
+ |-----|----------|---------|--------------|
119
+ | ADR-001 | [chosen tech for layer X] | NFR-[NNN], FR-[NNN] | Phase [N] of `/implement-plan` |
120
+ | ADR-002 | [decision] | [drivers] | [phase impact] |
121
+
82
122
  ---
83
123
 
84
- ## Artifact Files Reference
124
+ ## 8. Artifact Files Reference
85
125
 
86
126
  ```
87
127
  output/[SLUG]/
128
+ ├── 00_discovery_[SLUG].md
88
129
  ├── 00_principles_[SLUG].md
89
130
  ├── 00_analyze_[SLUG].md
131
+ ├── 00_glossary_[SLUG].md
132
+ ├── 00_risks_[SLUG].md
133
+ ├── 00_sprint_[SLUG].md
134
+ ├── 00_trace_[SLUG].md
90
135
  ├── 01_brief_[SLUG].md
91
136
  ├── 02_srs_[SLUG].md
92
137
  ├── 03_stories_[SLUG].md
@@ -98,5 +143,20 @@ output/[SLUG]/
98
143
  ├── 08_apicontract_[SLUG].md
99
144
  ├── 09_wireframes_[SLUG].md
100
145
  ├── 10_scenarios_[SLUG].md
101
- └── 11_handoff_[SLUG].md ← this document
146
+ ├── 11_handoff_[SLUG].md ← this document
147
+ └── 12_implplan_[SLUG].md
102
148
  ```
149
+
150
+ ---
151
+
152
+ ## 9. Sign-off
153
+
154
+ Formal acceptance of the handoff package. Signing this section means the development team agrees the BA package is sufficient to begin implementation. Outstanding open items (§4) and uncovered traceability chains (§3) must be acknowledged or resolved before sign-off.
155
+
156
+ | Role | Name | Sign-off Date | Notes |
157
+ |------|------|---------------|-------|
158
+ | Business Analyst | [name] | [YYYY-MM-DD] | [notes] |
159
+ | Product Manager | [name] | [YYYY-MM-DD] | [notes] |
160
+ | Tech Lead | [name] | [YYYY-MM-DD] | [notes] |
161
+ | QA Lead | [name] | [YYYY-MM-DD] | [notes] |
162
+ | Stakeholder / Sponsor | [name] | [YYYY-MM-DD] | [notes] |