Repository navigation
Commit 35101ee
committed
Close Phase 28: guard the cost of proof
Ship WLA-28-05 and close the phase 5/5.
Add ProofCostBudgetTest: a conductor tick may spend at most 75 git spawns
(58 measured) and may resolve the git directory at most once (0 in the tick
path). Wall clock is deliberately not the guard — it is machine-dependent and
noisy in CI, and this phase spent a whole story learning that. Subprocess
counts are deterministic, and counting is what actually regressed.
An overrun names the offending command and the excess rather than printing a
bare number, and the budget is proven to bite by planting a redundant
rev-parse --git-dir on every git call in a tick.
Phase totals, same desk, same suite:
core suite wall clock 814s -> ~93-147s
tests 499 -> 530
git subprocesses, slowest test 4,633 -> 2,008
rev-parse --git-dir, that test 2,435 -> 0
git spawns per conductor tick ~111 -> 58
8.8x at best, 5.5x on a loaded desk, against a 2x target — while running 31
more tests than the baseline. Nothing was weakened, skipped, or removed.
The plan lost to measurement twice, and both times measurement won: WLA-28-03
dropped its cross-derivation snapshot when attribution showed the target was
re-observation itself, and WLA-28-04 was parked mid-flight until the
instability turned out to be an incidental 300s wall-clock guard no test
asserts. Two latent worktree defects were fixed on the way.
final-summary.md and handover.md record what shipped, what was deliberately
deferred, where each guard lives, and the traps worth not repeating.
Tests: 530 core tests sharded OK, budget/boundary/derivation/runner guards,
dw verify --all over 179 commits, gate parity, agent surface, docs lint (490
files), canon lint, 3.9 floor, mirrors, rider docs --check, update.sh --check,
git diff --check.
PMO-Story: WLA-28-05
PMO-Contract-Digest: sha256:b6afba63feb69bba415a6f0bd507eba16bfd5af0e95152cfd75979cb6ddff0201 parent 5332c14 commit 35101ee
8 files changed
Lines changed: 686 additions & 19 deletions
File tree
- .hs
- pmo-roadmap
- pm/roadmap/work-log-automation
- phase-28-faster-proof
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments