shot-autopsy
Skill4 starsChanged 20 days agoMITView on GitHub
When a candidate fails shots its parent passes, find the structural cause before any nonce search. Reconstruct the exact failing shot, localize the first divergence, repair it by paying precision, and keep the case as a permanent regression. Learned from bulengerk's ecdsa.fail rows. Use when an edited candidate fails shots its parent passed, or when counts drift between builds.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accepted-proof-exact-retuneSkill
- beachhead-ratchetSkill
- circuit-edit-integration-safetySkill
- computer-algebra-oraclesSkill
- constraint-construction-searchSkill
- cross-model-review-gateSkill
- deepseek-pressure-testSkill
- ecdsafail-fastevalSkill
- ecdsafail-lowq-playbookSkill
- ecdsafail-oracle-loopSkill
- ecdsafail-pareto-ratchetSkill
- ecdsafail-scratch-dietSkill
- elicit-researchSkill
- exact-search-engineeringSkill
- fast-lean-proof-loopSkill
- hard-problem-contractSkill
- invariant-chartSkill
- jev-second-perspectiveSkill
- lean-arklib-proofsSkill
- lean-finite-certificate-splittingSkill
- mission-commandSkill
- nasqret-playbookSkill
- pip-disciplineSkill
- portable-source-assertionsSkill
- proximity-prize-campaignSkill
- proximity-prize-frontier-archaeologySkill
- research-loopSkill
- route-compare-probe-disciplineSkill
- rust-archive-build-bindingSkill
- send-to-claude-fableSkill
- squares-in-squares-campaignSkill
- verify-paired-native-measurementsSkill
- verify-research-transferSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use when an edited candidate fails shots its parent passes, or a fixed-input A/B (identical inputs to parent and candidate) shows failures …
- Very specific: line 19
Leave failures the parent shares (the circuit's designed lambda) to nonce screening and lambda budgeting (ecdsafail-lowq-playbook step 5).
- Very specific: line 24
Separate candidate-only failures first: Run a fixed-input A/B of parent and candidate on the same inputs (FE_FIXED-style shots).
- Distinctive: line 26
Only candidate-only failures continue here.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shot autopsy
An autopsy turns a candidate-only failing shot into a named defect and a permanent regression case before anyone reaches for a new nonce. bulengerk's lanes were exact transformations on an inherited approximate circuit: his notes keep the base's approximations and its historical modeled lambda (2.52) and disclaim universal correctness. Within that frame his notes report no nonce search: he inherited the base's nonce literally (4 on frogdrop, CX(5,2) on jackylee's line) and repaired the failing shots he met (Q772 shot 7926; Q770 shots 614, 5732, 7689; Q660 cases 63, 4543, 5284), growing a regression set from 256 to 320 cases. Cites: EVIDENCE.md.
Use it / leave it
- Use when an edited candidate fails shots its parent passes, or a fixed-input A/B (identical inputs to parent and candidate) shows failures only the candidate has: that is a structural bug, approximate circuit or not.
- Leave failures the parent shares (the circuit's designed lambda) to nonce screening and lambda budgeting
(
ecdsafail-lowq-playbookstep 5); the runtime wall and op budget toecdsafail-pareto-ratchet§5.
Steps
- Separate candidate-only failures first. Run a fixed-input A/B of parent and candidate on the same inputs
(
FE_FIXED-style shots). Done when every candidate failure is tagged "shared with parent" or "candidate-only". Only candidate-only failures continue here. - Capture the whole failing shot. Record the stream and evaluator hashes, the canonical field encoding, the index
of the accepted input, the batch and lane, the XOF continuation and the measurement draws
(
eval_circuit.rs:248-295,sim.rs:140-153). Inputs alone do not reproduce a phase failure. Done when a standalone run reproduces the failure and its channel (classical, phase or ancilla). - Localize the first divergence. For classical failures, replay against an independent integer model per column or step. For phase and ancilla failures, add a phase and ancilla trace; an integer model cannot see them. Done when the divergence is named: stage, bound, register.
- Repair by paying precision. Widen the bound that failed (his examples: head 24 -> 25, crossing head 32, window 32 -> 33) or add exact repair arithmetic; record the T paid. Done when the captured shot passes.
- Keep it forever, then requalify. Append the case to a permanent fixed regression set and confirm the runner actually executes it (a negative control: the unrepaired build must fail it). Run the regression set and component checks before any expensive run, then a full 9,024-shot replay on all three channels. One passing nonce shows that packet is clean; it does not show equivalence or that lambda is preserved. Done when the regression set passes, the negative control fails, and the full replay passes.
Why the full rerun is never optional
Any edit changes the Fiat-Shamir validation population even when the literal nonce is unchanged (his ed89218e note). His June note shows the trap: dead gates appeared inactive on 512 sampled shots, and the modified stream failed after reseeding.
The submission note as a record
State the executed mean as exact sum / 9,024, emitted vs executed T, the immediate parent's id and commit, the inherited nonce, three SHA256s (source manifest, stream, archive), and the negative claims ("no nonce or seed search", "no new lambda estimate"). Copy the inherited limiting contract (PR 419 terms 1-4) verbatim. Submission stays closed until the live gates pass; a clean nonce grants nothing on its own.
Sources
EVIDENCE.md, which cites bulengerk's public submission notes by submission id and note line.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

