agentleFS
aura-farmingaura-farming/pqa/skills/perturbation-operators/SKILL.md

perturbation-operators

Skill2 starsChanged 6 months agoMITView on GitHub

Use when a loop gate needs its perturbation operator applied concretely.

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:

    P-collapse (frame-load): Every task statement carries an implicit answer-shape.

    line 22
  2. Distinctive:

    P-reframe (spawn): If the obvious answer is X, branch N-1 builds the best non-X.

    line 29
  3. Distinctive:

    Not a twist on X, not X-plus-config — a refusal of X's frame.

    line 30
  4. Distinctive:

    Run: "make the nightly export faster."

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Perturbation Operators

The PA operators are the mechanism at each gate — the forcing moves that stop the loop from being five names for "think about it." Each gate has exactly one operator; if the prompt at a gate does not visibly invoke its operator, the gate is broken.

GateOperatorWhat it forces
frame-loadP-collapsename the rigid assumption baked into the task
spawn (branch N-1)P-reframeone branch refuses the obvious frame entirely
adversaryP-deepenattack what the verifier cannot catch
pre-collapseP-relativizehold survivors as both-possibly-correct until evidence selects
precipitateP-namecrystallize the winner and every death reason verbatim

The operators, concretely

P-collapse (frame-load). Every task statement carries an implicit answer-shape. Name it in one sentence, then surface what holds if it's wrong. "Build a rate limiter" assumes one tenant; "refactor this 800-line file" assumes the file should be smaller; "add a retry" assumes the upstream is flaky rather than a real bug being masked. The named assumption is the first branching axis — nothing downstream recovers it if skipped.

P-reframe (spawn). If the obvious answer is X, branch N-1 builds the best non-X. Not a twist on X, not X-plus-config — a refusal of X's frame. Token bucket → queue with backpressure that pushes rejection to the producer. Retry with backoff → typed error and no retries; the caller decides. The verifier still gates whether the bet pays; the operator only guarantees the bet is placed.

P-deepen (adversary). Refuse the surface answer. Tests/types/lint are the easy layer; P-deepen asks the question the branch silently answered: what input distribution did it assume? Which boundary does no test exercise? What does its failure mode destroy? A P-deepen pass that restates lint output is a broken gate.

P-relativize (pre-collapse). Hold every surviving branch as simultaneously possibly-correct and possibly-noise; never declare from inside. Rank only on the evidence tuple (findings resolved, coverage, non-incremental); prose quality is not evidence. The engine's select_survivor is this operator made executable.

P-name (precipitate). The winner gets a one-line name ("backpressure beats rejection for bursty ingest") and every loser gets its verbatim death reason. Unnamed insight dissolves; paraphrased death reasons don't retrieve. This is the write path of the whole learning moat — record_precipitate, record_failure, signal outcomes.

Worked example

Run: "make the nightly export faster."

  1. P-collapse: assumption — "the export is slow because the query is slow." If wrong: it is slow because it exports rows nobody reads.
  2. P-reframe (b2): obvious is "optimize the query"; the non-X is "export the delta only, backfill on demand" — a different data contract, not a faster same-contract.
  3. P-deepen: b0 (indexed query) assumes row count grows linearly; finding — the join fans out quadratically on the tenants table, and no test exceeds 100 rows.
  4. P-relativize: b0 verified 88%, resolved 2/3 findings; b2 verified 85%, resolved 3/3 — both held live until the tuple ranks b2 first on findings; coverage never consulted.
  5. P-name: precipitate "delta-export: the fastest query is the one not run"; b0 death adversary: join fan-out quadratic on tenants — no test exceeds 100 rows.

Five gates, five visible moves. Any gate where you cannot point at the operator's output artifact is a gate that ran on vibes.

Anti-patterns

  • Name-dropping. Writing "P-deepen:" above a shallow review is not applying the operator. Each move must produce its artifact: the assumption sentence, the non-X branch, the verifier-blind finding, the evidence ranking, the verbatim names.
  • Wrong gate. P-reframe at collapse (re-opening the choice after evidence lands) or P-relativize at spawn (hedging generators toward the middle) inverts the loop.
  • P-collapse as criticism. The point is the assumption's negation space — what holds if it's wrong — not complaints about how the task was phrased.
  • P-name as summary. A paragraph is not a name. One line a future search can hit, or the insight dissolves.
  • Operator theatre on a decide-ask. In decide mode only frame collision and one judge pass run; staging all five operators on a question is a scale-gate violation.

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.