wrong-theory-cascade-prevention
Skill3 starsChanged 2 days agoApache-2.0View on GitHub
Use when multiple debugging theories have been tried and failed in sequence, when investigation has exceeded 4 hours without resolution, when each new theory is more complex than the last, or when the symptom is intermittent and explanations keep changing.
In this repository37 other files it gives its agents.
- docs/manual/agents.mdAGENTS.md
- ablate-combined-changesSkill
- agent-supervisor-methodologySkill
- benchmark-comparisonSkill
- browser-vlm-acceptanceSkill
- claim-verificationSkill
- claude-code-best-practicesSkill
- code-attributionSkill
- comms-connectSkill
- condition-based-waitingSkill
- conference-intelligenceSkill
- deep-research-methodologySkill
- defense-in-depthSkill
- detect-deployment-thrashingSkill
- directory-cross-examinationSkill
- doc-freshness-auditorSkill
- eval-harnessSkill
- github-comment-managerSkill
- github-deep-researchSkill
- github-issue-responseSkill
- harness-setupSkill
- issue-closure-strategistSkill
- issue-quality-assessmentSkill
- k8s-configmap-runtime-patchSkill
- k8s-config-persistence-trapSkill
- maintainer-profilingSkill
- measure-before-theorizeSkill
- multi-phase-optimization-campaignSkill
- phase-trackerSkill
- pptx-slide-creationSkill
- pr-issue-scannerSkill
- public-root-reproducibilitySkill
- repo-organizerSkill
- root-cause-tracingSkill
- technique-versioning-workflowSkill
- wrong-layer-debuggingSkill
- youtube-transcriberSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
If not: the ENVIRONMENT changed, not the bug
- Distinctive: line 23
Check: pod restart, config loss, driver version, lib path
- Distinctive: line 27
If it works: the "disproof" was a false negative
- Distinctive: line 35
If SIGNAL works on the same transport: transport is fine
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Wrong Theory Cascade Prevention
The Pattern
Each disproven theory leads to a more complex theory. After 4+ theories, the actual cause is usually simpler than any of them.
Warning Signs
- Theory #4+ is about hardware architecture (cache coherence, NIC firmware, memory domains)
- Each theory requires more specialized knowledge than the last
- You're consulting multiple LLMs for hardware-level explanations
- The original simple fix (that worked once) was "disproven" by a different environment
The Checklist (Before Theory N+1)
- Can I reproduce the LAST KNOWN GOOD state?
- If not: the ENVIRONMENT changed, not the bug
- Check: pod restart, config loss, driver version, lib path
- Was Theory #1 actually disproven, or did the test environment change?
- Re-apply Theory #1's fix on a clean environment
- If it works: the "disproof" was a false negative
- What's the SIMPLEST explanation for the symptom?
- Flow control parameter too small?
- Buffer not large enough?
- Config file lost on restart?
- Am I investigating the transport or the application?
- If SIGNAL works on the same transport: transport is fine
- The bug is in how the APPLICATION uses the transport
The 8-Theory Cascade (Real Example)
| # | Theory | Complexity | Actual Answer |
| 1 | L2 cache | Medium | Fixed (needed but not blocker) |
| 2 | NVLink IPC | Medium | Fixed (needed but not blocker) |
| 3 | AsymBuffer | High | Correct by design |
| 4 | Proxy budget | Medium | Not the issue |
| 5 | Handle collision | High | Not root cause |
| 6 | Buffer clean race | High | Disproven (sequential) |
| 7 | FI_HMEM/MR domain | Very High | WRONG (proxy DMA works) |
| 8 | recv_tokens=128 | Trivial | THE ANSWER |
The trivial parameter (found in hour 4, lost on pod restart) was the answer all along.
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->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.

