Commit Graph

2 Commits

Author SHA1 Message Date
Yuzviak a464697bfa feat(02-05): extend gen_ac_traceability.py deferred detection to match pending-phase-N
- Add _PENDING_RE = re.compile(r'pending-phase-\d+', re.IGNORECASE)
- Initialize AC entries with deferred_reason: None alongside deferred: False
- Update collect_acs_from_doc() to set deferred_reason='hardware' or the matched pending-phase-N token
- Update render_md() to show DEFERRED ({reason}) using actual reason string
- Update summary stat line to reflect both hardware and pending-phase deferrals
2026-05-11 18:29:25 +03:00
Yuzviak 4bf6f67d0c feat(02-04): implement gen_ac_traceability.py script
- Argparse CLI: default mode writes AC-TRACEABILITY.md; --check exits 1 on drift
- collect_acs_from_doc parses AC IDs + deferred-hardware tokens from AC doc
- collect_acs_from_tests invokes pytest --collect-only --ac-dump to gather marker data
- render_md produces forward/backward orphan sections with DEFERRED status
- Follows scripts/benchmark_accuracy.py style (no Click, plain argparse + pathlib)
2026-05-11 18:25:40 +03:00