agentleFS
AWSKnown publisherawslabs/do-agent-aws/Container-Root/agent/skills/wrong-theory-cascade-prevention/SKILL.md

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.

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
  1. Distinctive:

    If not: the ENVIRONMENT changed, not the bug

    line 22
  2. Distinctive:

    Check: pod restart, config loss, driver version, lib path

    line 23
  3. Distinctive:

    If it works: the "disproof" was a false negative

    line 27
  4. Distinctive:

    If SIGNAL works on the same transport: transport is fine

    line 35

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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)

  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
  2. 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
  3. What's the SIMPLEST explanation for the symptom?
    • Flow control parameter too small?
    • Buffer not large enough?
    • Config file lost on restart?
  4. 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)

#TheoryComplexityActual Answer
1L2 cacheMediumFixed (needed but not blocker)
2NVLink IPCMediumFixed (needed but not blocker)
3AsymBufferHighCorrect by design
4Proxy budgetMediumNot the issue
5Handle collisionHighNot root cause
6Buffer clean raceHighDisproven (sequential)
7FI_HMEM/MR domainVery HighWRONG (proxy DMA works)
8recv_tokens=128TrivialTHE 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 -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.