bmad-method-test-architecture-enterprise 3.5.0 → 3.6.1

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.
@@ -15,7 +15,9 @@ oracleConfidence: ''
15
15
  oracleResolutionMode: ''
16
16
  oracleSources: []
17
17
  externalPointerStatus: ''
18
+ oracleGranularity: ''
18
19
  oracleLedger: []
20
+ criterionLedger: []
19
21
  ---
20
22
 
21
23
  # Traceability Matrix & Gate Decision - {TRACE_TARGET_LABEL}
@@ -53,9 +55,12 @@ Note: This workflow does not generate tests. If gaps exist, run `/bmad-tea-autom
53
55
 
54
56
  ### Detailed Mapping
55
57
 
56
- #### {CRITERION_ID}: {CRITERION_DESCRIPTION} ({PRIORITY})
58
+ Each detail heading is `{CRITERION_ID} ({PRIORITY}): {REQUIREMENT_TEXT}`. `{REQUIREMENT_TEXT}` repeats the `oracleLedger` row's `requirement` exactly: for a numbered criterion with a bold name, the bold name alone. `({PRIORITY})` is the only annotation; write the priority basis and any `R` links in the detail body.
59
+
60
+ #### {CRITERION_ID} ({PRIORITY}): {REQUIREMENT_TEXT}
57
61
 
58
62
  - **Coverage:** {COVERAGE_STATUS} {STATUS_ICON}
63
+ - **Priority basis:** {explicit | inferred}
59
64
  - **Tests:**
60
65
  - `{TEST_ID}` - {TEST_FILE}:{LINE}
61
66
  - **Given:** {GIVEN}
@@ -77,7 +82,7 @@ Note: This workflow does not generate tests. If gaps exist, run `/bmad-tea-autom
77
82
 
78
83
  ---
79
84
 
80
- #### Example: AC-1: User can login with email and password (P0)
85
+ #### Example: AC-1 (P0): User can login with email and password
81
86
 
82
87
  - **Coverage:** FULL ✅
83
88
  - **Tests:**
@@ -92,7 +97,7 @@ Note: This workflow does not generate tests. If gaps exist, run `/bmad-tea-autom
92
97
 
93
98
  ---
94
99
 
95
- #### Example: AC-3: User can reset password via email (P1)
100
+ #### Example: AC-3 (P1): User can reset password via email
96
101
 
97
102
  - **Coverage:** PARTIAL ⚠️
98
103
  - **Tests:**
@@ -111,6 +116,48 @@ Note: This workflow does not generate tests. If gaps exist, run `/bmad-tea-autom
111
116
 
112
117
  ---
113
118
 
119
+ ### Requirement Oracle Mapping
120
+
121
+ Use this block in place of the criterion detail above when `oracleGranularity` is `requirements`. The gate table and the detail headings list exactly the `oracleLedger` rows, requirement rows and exception rows alike. The table's Requirement cell and the heading text both repeat the row's `requirement` exactly, and the heading carries only `({PRIORITY})`. An exception row's `requirement` is its criterion's `name`, so its cell and heading read `Form remembers address`: the bold name alone. Contributing criteria appear only in contributors tables, so the gate counts each requirement once. State each row's `**Coverage:**` exactly once, on its own detail; a contributors table states statuses in its Status column only.
122
+
123
+ | ID | Requirement | Priority | Coverage |
124
+ | ------------------------ | ------------------ | ---------- | ----------------- |
125
+ | {REQUIREMENT_ROW_ID} | {REQUIREMENT_TEXT} | {PRIORITY} | {COVERAGE_STATUS} |
126
+ | {EXCEPTION_CRITERION_ID} | {CRITERION_NAME} | {PRIORITY} | {COVERAGE_STATUS} |
127
+
128
+ ### {REQUIREMENT_ROW_ID} ({PRIORITY}): {REQUIREMENT_TEXT}
129
+
130
+ - **Coverage:** {COVERAGE_STATUS} {STATUS_ICON}
131
+ - **Parent:** {PARENT_LINK}
132
+ - **Priority basis:** {PRIORITY_BASIS}
133
+ - **Missing behaviors:** {MISSING_BEHAVIORS, or None}
134
+ - **Contributors:** the table below, one row per contributor. When the row's `contributors` list is empty, write `- **Contributors:** none` and omit the table.
135
+
136
+ | Contributor | Story | Status | Tests |
137
+ | -------------- | ----------- | -------------------- | -------------------------------- |
138
+ | {CRITERION_ID} | {STORY_KEY} | {CRITERION_COVERAGE} | `{TEST_ID}` `{TEST_FILE}:{LINE}` |
139
+
140
+ - **Gaps:** (if below FULL) each contributor below FULL with its status, each missing behavior, or "no story covers it" when the requirement has no contributor
141
+ - **Recommendation:** {RECOMMENDATION_TEXT}
142
+
143
+ ### {EXCEPTION_CRITERION_ID} ({PRIORITY}): {CRITERION_NAME}
144
+
145
+ - **Coverage:** {COVERAGE_STATUS} {STATUS_ICON}
146
+ - **Exception:** {unlinked | invalid-link}
147
+ - **Priority basis:** {PRIORITY_BASIS}
148
+ - **Tests:** mapped and cited as in the criterion detail above
149
+ - **Recommendation:** {RECOMMENDATION_TEXT}
150
+
151
+ ### Invalid and Unlinked Criteria
152
+
153
+ Every criterion whose `exception` is not `none`, each also a gate row above:
154
+
155
+ - `{CRITERION_ID}` ({STORY_KEY}): {unlinked: names no requirement | invalid-link: names {INVALID_LINKS}, which the epic does not define}. Valid links it still contributes to: {VALID_LINKS, or none}.
156
+
157
+ Every coverage status and missing behavior in this block repeats Step 3's `Requirement Aggregation` block. Step 5's save appends that block, heading and ` ```json ` block unchanged, once at the end of the report, so this block leaves it out. The CLI rejects a requirement run whose report drops the block, repeats it, or contradicts it.
158
+
159
+ ---
160
+
114
161
  ### Gap Analysis
115
162
 
116
163
  #### Critical Gaps (BLOCKER) ❌
@@ -2,7 +2,7 @@
2
2
 
3
3
  [bmod]
4
4
  code = "tea"
5
- version = "3.5.0"
5
+ version = "3.6.1"
6
6
  update_source = "github:bmad-code-org/bmad-method-test-architecture-enterprise/skills"
7
7
  skills = [
8
8
  "bmad-tea",
@@ -63,6 +63,8 @@ Only an epic entry has epic context: its epic's Test Design (`test-design-epic-<
63
63
 
64
64
  `<initiative>` is the initiative folder name without its `initiative-` prefix. An entry id is used as written, letters included (`s6a`, `sCC2`). Folder names never contain `--`, so keys of different shapes and initiatives never collide. Entry ids and containers do not change when an entry is retitled, so neither does the key.
65
65
 
66
+ - `epic_key`, for a workflow scoped to a whole v7 epic: `<initiative>--e<epic id>`, for example `shop--e1`; for an epic its initiative does not number, `<initiative>--<epic folder>`, for example `shop--epic-loyalty`. An epic entry's `story_key` is its epic's key followed by `-s<entry id>`. The key is used as written; a workflow never slugs it, because slugging collapses its `--`. A v6 epic keeps the key its workflow already gives it.
67
+
66
68
  - `ticketRef`: the `ref` plus the container folder relative to `{project-root}`, for example `1.2 @ _bmad-output/initiative-shop/tickets/epic-checkout`, `2 @ _bmad-output/initiative-shop-e1` or `story-coupon-banner.md @ _bmad-output/backlog`. Empty for a v6 story.
67
69
  - `storyFile`: the leaf or v6 story path; empty for an entry that is not pulled.
68
70