Coverage Matrix

Generate or maintain the coverage matrix (docs/tests/coverage-matrix.md): scan unit test names (describe/it in tests/unit/), the timeline event registry (TIMELINE_EVENT_SPECS in src/domain/timeline.ts), and stage-spec DoD assertions, then produce the three-way matrix (invariants<->tests / events<->tests / DoD<->gate) and flag gaps (invariant without test, event without assertion) into audit items. Use when at a stage end ("更新覆盖矩阵") or after adding invariants/events. NOT for: runtime enforcement — the matrix is a human-checked artifact, never a test gate.

NinjaSln-labs 0ea6b08 4.2 KB Updated

File contents

NinjaSln-labs/agent-skills/tree/main/coverage-matrix commit 0ea6b080f5

Frequently asked questions

npx skillmds@latest add ninjasln-labs/coverage-matrix