Harness assumptions the 2026-10-13 decompilation run broke
Haiku 5.5 workers did matching decompilation: C source that gcc 13.3 at -O2 compiles to
the same code bytes as every function of two targets' objects. One suite per translation
unit, one test per function, three stages (compile, missing, match), a diff category
in the reason and a byte-match fraction (frac) per test. Targets: Ali Rudi's neat* troff
suite and C compiler (obscure, 1,070 functions) and Lua 5.4.7 (famous, 698). Results and
the contamination comparison: oaustegard/experiments swarm-decomp/README.md. Kind: P
prevented in code, D detected by a named signal, W warned in the runbook.
| # | what happened | signal | handled by | kind |
|---|---|---|---|---|
| 1 | every failure starts in one stage (missing: one stub per function) and later nearly all sit in match, the category living in the reason; doctor and ONE STAGE called the runner broken |
doctor WARN, SIGNALS ONE STAGE |
tests.one_stage_ok (0.2.0); selftest |
P |
| 2 | workers need Bash and the answer (the targets' source) is on the internet; the harness could only allow, not deny | — | worker.deny -> claude --disallowedTools (0.2.0; dispatching-subagents 0.2.0); selftest + fanout test |
P |
| 3 | at the start the only cluster per TU is "not written": one worker per TU, the rest of the TU waits | queue shows one item per suite | project side: runner buckets stub reasons by function size (small/medium/large), up to three parallel clusters per TU | W |
| 4 | .o in paths.junk made preflight refuse tracked fixtures (target.o) |
preflight "build artefacts are tracked" | config: keep fixtures out of junk |
W |
| 5 | tests are not independent: a static function exists in the object only once a caller is written, so workers forced unused statics out with __attribute__((used)), noinline, noipa (31 files in 17 minutes); those also block the .part/.isra clones the targets have |
sample merged diffs at the first check-in | project side: the runner fails a TU on gcc-steering attributes and pragmas; 14 of 216 matches lost when stripped | P (project) |
| 6 | a worker's result JSON held a raw newline inside a string; strict parsing recorded the finished worker as "no result" | log no result: output not JSON: Invalid control character |
strict=False in read_json and in the fanout's out-file check (0.2.1); fanout test |
P |
| 7 | the gate merged only flips; a caller cannot match until its static callee exists and the callee is not emitted until a caller exists, so 125 partial workers (39% of spend at the time) were thrown away, 103 of them naming a missing callee |
top rejection/failure reasons: Nx worker reported partial; partial notes quoting frac |
partial-credit gate mode gate.partial_credit/partial_min_gain (0.3.0); known.json keeps the field; 2 selftest cases |
P |
| 8 | --max-usd stops launches, not spend: in-flight workers (feature workers at up to $3) overran a $36 cap by $5 at concurrency 16 |
spend: in status above the cap |
launches stop when spend plus in-flight workers at the recent mean cost reach the cap (run.projected_spend); selftest |
P |
| 9 | workers in different size clusters of one TU each wrote a shared callee; conflict hot spots were function files, not registries | conflict hot spots naming function files |
rebase tasks (existing) | D |
| 10 | workers invented the result path (/home/user/_results/<id>.json) and were denied the write |
permission denials > 0; the denial's file_path |
none: the retry wrote the real out path | W |
| 11 | status's pass-count table prints one column per suite: unreadable at 101 suites |
— | read known now or sum known.json per target |
W |
| 12 | the effort ladder was hard-coded at two rungs (configured effort, then high), while the CLI takes xhigh and max; the tail stalled at high |
merges per hour falling while high workers fail |
worker.effort_ladder / worker.feature_effort (0.4.0), rung counted per test over all time so unpark keeps it; selftest |
P |
| 13 | LAUNCH lines tagged only high, so xhigh/max launches showed no effort |
— | label names any effort (0.4.1) | P |
Effort rungs on the decompilation tail
Dollars per function flipped, by the rung of the worker whose gate flipped it, both targets:
default $0.039 (696 flips, 993 workers), high $0.198 (253, 622), high feature $0.579
(135, 342), xhigh $1.30 (31, 296), max $3.90 (20, 214). Each rung only saw what the
rungs below left, so these are marginal prices, not the same task at five efforts. The
neat* tail Haiku max could not clear: 274 functions, median 111 instructions, 268 with a
loop; solve rate by size fell from 100% under 16 instructions to 0 of 34 at 384 or more.
Final: neat* 796/1,070, Lua 679/698, $281.13 of worker spend, 2,489 workers, 862 merges.