agentleFS
requierequie/endostack/skills/principle-attack-the-premise/SKILL.md

principle-attack-the-premise

Skill4 starsChanged 15 days agoMITView on GitHub

Use after repeated fixes built on one shared theory of the cause keep failing at the same gate. Stop patching, state that theory in writing, and run a check whose result would change if the theory were wrong.

36 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use poteto-help, ketchup-video and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 10 projects that use this

  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 19 projects that use this

  • JoshueOsunaSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 3 projects that use this

  • instructureSkill

    ketchup

    Rebuild context after /clear by analyzing uncommitted changes across Canvas LMS and all plugin repositories

    Also in 17 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Write the premise as one sentence, in the reply or the decision log, where the user can read it.

    line 19
  2. Distinctive:

    Look at the shape of the failures as well as their size.

    line 21

“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “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

Attack the premise

A second failure at the same check, from fixes built on one assumption, makes that assumption the suspect. Before you try a third variant, write the premise down and run an observation able to refute it.

When it applies

Two or more attempts that assumed the same cause have failed one gate (the same test, benchmark, or review criterion), and you are about to try a third variation.

It does not apply to a single failed fix, or to failures at unrelated gates with unrelated assumptions. The neighbouring principle, principle-redesign-from-first-principles, reshapes a design when a requirement changes. This one questions a factual assumption the existing design depends on.

What to do

  1. Write the premise as one sentence, in the reply or the decision log, where the user can read it. Example: "The auth bypass in the agent's tool router comes from the regex allowlist missing a case."
  2. Design a discriminating observation, one whose result differs depending on whether the premise holds. For the example: log the exact tool name string that reached the router on the failing request. If it matches the allowlist exactly, the regex was never the problem.
  3. Look at the shape of the failures as well as their size. Which inputs, runs, or components fail, and does one participant always lose? A test that fails only on the webhook path, never the CLI, says more than a failure count.
  4. Make the check rerunnable as a script or a single command, per principle-build-the-lever, so a reviewer can reproduce your evidence.
  5. Act on the outcome. When the observation refutes the premise, look for the cause somewhere else: write down the traits the failing cases share that the premise failed to anticipate, and pursue those. When the observation confirms the premise, go one level deeper using principle-fix-root-causes; the previous attempts most likely patched a downstream effect.
  6. If the evidence shows a structural condition, such as one worker always finishing last or one service always reading stale config, remove the condition. Adding a mechanism that repairs the outcome afterward leaves the cause running and adds cost on every execution, which principle-laziness-protocol rules out.

The failure it prevents

Continuing to iterate on a wrong diagnosis because of effort already spent, and stacking compensating patches in a place the evidence has ruled out.

Done when

The premise is written down and a discriminating observation has been run before any new fix begins. This is a hard gate.

Related: principle-build-the-lever, principle-fix-root-causes, principle-laziness-protocol, principle-redesign-from-first-principles.

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.