qfai 1.6.0 → 1.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.
- package/assets/init/.qfai/specs/README.md +13 -0
- package/assets/init/.qfai/specs/spec-XXXX/tdd/test-list.md +2 -2
- package/dist/cli/index.cjs +679 -341
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +680 -342
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +683 -345
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.mjs +684 -346
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -66,6 +66,19 @@ Each `spec-XXXX/` must satisfy:
|
|
|
66
66
|
|
|
67
67
|
`_policies/` files must not contain lower-layer IDs (`US/AC/BR/EX/TC`) or `spec-XXXX` references.
|
|
68
68
|
|
|
69
|
+
## TDD Execution Ledger (`tdd/test-list.md`)
|
|
70
|
+
|
|
71
|
+
Each `spec-XXXX/tdd/test-list.md` is the execution ledger for the TDD micro-cycle.
|
|
72
|
+
|
|
73
|
+
- **8 required columns**: TDD-ID, TC-Refs, Layer, Test file, Selector, Status, DR-ID, Evidence
|
|
74
|
+
- **Coverage** is measured as unit/component TC references from `06_Test-Cases.md` appearing in TC-Refs
|
|
75
|
+
- **Level column fallback**: when `06_Test-Cases.md` has no `Level` column, all TCs are treated as coverage targets (equivalent to all being unit/component)
|
|
76
|
+
- **Status=exception** rows must have a non-empty DR-ID (Decision Record reference)
|
|
77
|
+
- **Status in {green, refactor, done}** rows must have an existing Test file (resolved relative to project root)
|
|
78
|
+
- **TDD-ID** must match `TDD-NNNN` format and be unique within the spec (case-insensitive)
|
|
79
|
+
- Specs without `tdd/test-list.md` receive a `TDDLIST_MISSING` warning (not error)
|
|
80
|
+
- Old 6-column format (missing DR-ID/Evidence) triggers `TDDLIST_REQUIRED_COLUMN_MISSING` error
|
|
81
|
+
|
|
69
82
|
## Notes
|
|
70
83
|
|
|
71
84
|
- `specs/` is definition-only. Keep operational status as run logs under `.qfai/report/run-*/`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# TDD Execution Ledger
|
|
2
2
|
|
|
3
|
-
| TDD-ID | TC-Refs | Layer | Test file | Selector | Status |
|
|
4
|
-
| ------ | ------- | ----- | --------- | -------- | ------ |
|
|
3
|
+
| TDD-ID | TC-Refs | Layer | Test file | Selector | Status | DR-ID | Evidence |
|
|
4
|
+
| ------ | ------- | ----- | --------- | -------- | ------ | ----- | -------- |
|