Commit 78f755d
Implementation Plan: T5-P5-A2-WP1 — Invariant Registry Coverage Meta-Test (#4143)
## Summary
Add a load-bearing meta-test at
`tests/arch/test_invariant_registry_coverage.py` that validates every
`InvariantDef` in `INVARIANT_REGISTRY` has a resolvable `gate_target`,
non-empty required fields, and a `source_doc` that still contains the
original prohibition prose. Three test functions plus a helper. Update
`tests/arch/AGENTS.md` file-table with the new entry.
Closes #4033
## Implementation Plan
Plan file:
`/home/talon/projects/autoskillit-runs/impl-20260628-082224-932884/.autoskillit/temp/make-plan/t5-p5-a2-wp1-invariant-registry-meta-test_plan_2026-06-28_090000.md`
🤖 Generated with [Claude Code](https://claude.com/claude-code) via
AutoSkillit
<!-- autoskillit:pipeline-signature
steps=prepare_pr,run_arch_lenses,compose_pr,annotate_pr_diff,review_pr
-->
## Token Usage Summary
| Step | Model | count | uncached | output | cache_read | peak_ctx |
turns | cache_write | time |
|------|-------|-------|----------|--------|------------|----------|-------|-------------|------|
| plan* | opus[1m] | 1 | 2.3k | 33.2k | 2.1M | 103.0k | 56 | 87.0k | 26m
44s |
| verify* | sonnet | 1 | 284 | 55.7k | 3.4M | 147.0k | 103 | 128.5k |
17m 35s |
| implement* | MiniMax-M3 | 1 | 66.3k | 7.1k | 1.5M | 0 | 58 | 0 | 3m
20s |
| audit_impl* | sonnet | 1 | 44 | 7.5k | 163.9k | 42.2k | 13 | 31.5k |
4m 1s |
| prepare_pr* | MiniMax-M3 | 1 | 42.0k | 2.0k | 152.2k | 0 | 13 | 0 |
38s |
| compose_pr* | MiniMax-M3 | 1 | 35.8k | 1.3k | 140.7k | 0 | 13 | 0 |
30s |
| **Total** | | | 146.7k | 106.9k | 7.5M | 147.0k | | 247.0k | 52m 50s |
\* *Step used a non-Anthropic provider; caching behavior may differ.*
## Token Efficiency
| Step | LoC Changed | cache_read/LoC | cache_write/LoC | output/LoC |
|------|-------------|----------------|-----------------|------------|
| plan | 0 | — | — | — |
| verify | 0 | — | — | — |
| implement | 139 | 10950.9 | 0.0 | 51.1 |
| audit_impl | 0 | — | — | — |
| prepare_pr | 0 | — | — | — |
| compose_pr | 0 | — | — | — |
| **Total** | **139** | 54167.3 | 1776.9 | 769.0 |
## Model Usage Breakdown
| Model | steps | uncached | output | cache_read | cache_write | time |
|-------|-------|----------|--------|------------|-------------|------|
| opus[1m] | 1 | 2.3k | 33.2k | 2.1M | 87.0k | 26m 44s |
| sonnet | 2 | 328 | 63.3k | 3.6M | 160.0k | 21m 37s |
| MiniMax-M3 | 3 | 144.1k | 10.4k | 1.8M | 0 | 4m 28s |
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6ccbe29 commit 78f755d
2 files changed
Lines changed: 152 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
0 commit comments