Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- **Six commands cut from the surface: `/ratchet:auction`, `/ratchet:burn`,
`/ratchet:handoff`, `/ratchet:push`, `/ratchet:prompt-audit`, `/ratchet:status`**
(21 commands → 15). Evidence, scope named: a scan of the owner's Claude Code
transcripts (3,356 files, 22 GB, 2026-08 to 2026-11-11; Codex sessions not scanned)
found zero invocations of any of the six, by a model or typed by hand, and all six
were already switched off in the owner's own settings. Nothing they guaranteed is lost:
- `auction` and `burn` live in `/ratchet:decide` (blocker ranking with
`ratchet score friction`; KILL / PARK / KEEP for option debt), folded 2026-09-05.
- `handoff` lives in `/ratchet:compile`, which now also carries its two tested
duties: surfacing deviations from the map, and labelling every probe disposed or
promoted.
- `status` was a wrapper; `ratchet status` and `ratchet receipt` are unchanged.
- `push` and `prompt-audit` are removed outright.
- **Canonical prompts 2, 10, 12 and the prompt-library evolution prompt** leave
`reference/PROMPTS.md`, so the MCP `prompts/list` surface serves 12 prompts, down from
16. Surviving prompts keep their numbers. **Breaking for an MCP client that requested
`auction`, `burn`, `push` or `prompt-audit` by name.**

### Changed

- **The A3 aperture sequence drops its `auction` step (CLI-enforced):**
`lock → map → cut → decide → build → attack → patch → verify → compile`. The engine
printed `/ratchet:auction` as a step to run; with the skill gone that was an
instruction to run a command that does not exist. `ratchet score friction` and the
`bottleneck` state field are unchanged.
- Prompt-level: `ignite`, `lock` and `loop` point at the blocker ranking in
`/ratchet:decide` where they named `/ratchet:auction`.

### Added

- **Two drift guards in `plugin-shape`:** every step of every metered aperture
sequence is a shipped skill folder, and no shipped guidance surface (skills, agents,
README, PROMPTS.md) names a `/ratchet:` command that has no skill folder. Both fail on
the tree before this change. Three handoff guards were retargeted to
`skills/compile/SKILL.md`, which now carries what they protect.

Traced by: claude-fable-5-2 · 2026-11-11

## [1.1.0] - 2026-10-27 — Ledger Gate

### Added
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Torque Loop gives it a job:

It bundles three things:

- **The Ratchet command family** (`/ratchet:*`) — 21 commands that turn ambiguity into
- **The Ratchet command family** (`/ratchet:*`) — 15 commands that turn ambiguity into
shipped, falsifiable artifacts through adversarial execution loops.
- **`/ratchet:evolve`** — a narrower, bounded loop that mutates one artifact, tests it, and
keeps only proven improvement.
Expand Down Expand Up @@ -100,18 +100,14 @@ when it isn't. In Codex, ask it to use the matching Torque Loop skill, for examp
| `/ratchet:ignite` | Run the full consequence loop on any messy task. |
| `/ratchet:lock` | Convert vague input into a locked, executable target. |
| `/ratchet:map` | Map the fog before building — walk the four unknown-quadrants, hand over a durable map. |
| `/ratchet:auction` | Rank the real blockers by leverage; pick the one bottleneck. |
| `/ratchet:cut` | Attack the hidden assumptions before you invest. |
| `/ratchet:mechanism` | Name the one mechanism under a confusing situation. |
| `/ratchet:build` | Force artifact production — the smallest usable v0. |
| `/ratchet:attack` | Run the five-voice hostile board. |
| `/ratchet:verify` | Build a harness that could embarrass the artifact, then run it. |
| `/ratchet:patch` | Fix only what failed — minimal REMOVE / ADD / CHANGE delta. |
| `/ratchet:decide` | Force one defended choice with a reversal tripwire. |
| `/ratchet:burn` | Kill or park the options draining your energy. |
| `/ratchet:push` | Push the boundary once a safe version exists. |
| `/ratchet:compile` | Serialize the session into durable state. |
| `/ratchet:status` | Read the current ratchet state. |
| `/ratchet:loop` | Repeat build → attack → patch → compile until it holds. |

> **When to reach for `/ratchet:map`.** High-uncertainty work — aperture **A3–A4**,
Expand All @@ -135,8 +131,6 @@ when it isn't. In Codex, ask it to use the matching Torque Loop skill, for examp
| --- | --- |
| `/ratchet:repo-audit` | Discover user-facing features/routes/APIs by code evidence. |
| `/ratchet:qa-ledger` | Create/update the canonical feature/test/defect ledger. |
| `/ratchet:prompt-audit` | Audit a prompt library as an operating system. |
| `/ratchet:handoff` | Produce a compact handoff for another agent or session. |

Every command maps to a canonical prompt. The source prompts live in
[`reference/PROMPTS.md`](reference/PROMPTS.md) — the load-bearing intent each skill
Expand Down
17 changes: 17 additions & 0 deletions agents/ratchet-auditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,20 @@ RECORD: ratchet defect add '{"severity":"...","summary":"..."}' (one per real d

If you found nothing critical or high after genuinely trying, say so plainly — that is a
real result, not a failure to find fault.

## Rubric-audit mode (absorbs the skill-rubric-auditor agent, 2026-09-05)

When the artifact is a rubric library or a skill's judgment system, run these ten checks
instead of the five-voice board, with the same evidence standard and severity scale
(BLOCKER / HIGH / MEDIUM / LOW / PASS):

1. Skill boundary integrity — bound to exactly one skill; out-of-scope lessons kept as external candidates.
2. Evidence quality — every `proven` rubric cites real, inspectable evidence that supports that exact rubric.
3. Candidate versus proven separation — unproven ideas stay `candidate`; status words used consistently; every promotion or retirement has a rationale.
4. Rubric schema completeness — stable id, skill anchor, purpose, trigger, success and failure criteria, scoring guide, required evidence, examples; indexes match the prose.
5. LLM usability — criteria observable and gate-like, scales anchored; another model could judge with them.
6. Duplicate and bloat control — no re-worded duplicates; new text improves judgment, not volume.
7. Maintenance log integrity — append-only, dated, says what changed, which ids, why, on what evidence.
8. Promotion readiness — a recommended `proven` survives skeptical review and names what would invalidate it.
9. Safety and authority — no silent authority expansion; advisory wording not turned into enforcement.
10. Diff minimality — edits surgical for the stated need; no churn in unrelated files.
132 changes: 7 additions & 125 deletions reference/PROMPTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ KEEP is bound to that exact revision — `ratchet artifact close <id>`. No proof
| `/ratchet:ignite` | Master Ignition Prompt (consequence engine) |
| `/ratchet:lock` | 1 · The Target Is Not The Topic |
| `/ratchet:map` | The Fog Map (four-quadrant unknowns walk) |
| `/ratchet:auction` | 2 · The Friction Auction |
| `/ratchet:cut` | 3 · The Assumption Guillotine |
| `/ratchet:mechanism` | 4 · The Mechanism Knife |
| `/ratchet:attack` | 5 · The Hostile Board |
| `/ratchet:build` | 6 · Artifact Or Void |
| `/ratchet:verify` | 7 · The Embarrassment Harness |
| `/ratchet:patch` | 8 · The Delta Surgeon |
| `/ratchet:decide` | 9 · The Decision Spike |
| `/ratchet:burn` | 10 · The Option Burn |
| `/ratchet:compile` | 11 · The State Compiler |
| `/ratchet:push` | 12 · The Boundary Push |
| `/ratchet:repo-audit`, `/ratchet:qa-ledger`, `/ratchet:verify` | Software QA agent prompt |
| `/ratchet:prompt-audit` | Prompt-library evolution prompt |
| `/ratchet:handoff` | State Compiler, aimed at another agent |

**Retired numbers.** Prompts 2 (Friction Auction) and 10 (Option Burn) were retired as
commands: the `/ratchet:decide` skill carries their moves (blocker ranking, option debt)
as prompt-level guidance, and canonical prompt 9 is unchanged. Prompt 12 (Boundary Push),
the prompt-library evolution prompt and the standalone handoff command were removed
unused. Surviving prompts keep their numbers, so a number never changes meaning.

The operating rule for the whole system: **never keep a move unless it forces a choice,
creates an artifact, tests an artifact, patches a defect, serializes useful state, kills a
Expand Down Expand Up @@ -174,36 +175,6 @@ What you deliver is the map, not a build. Stop when I have it.

---

## 2 · The Friction Auction → `/ratchet:auction`

```text
Run a friction auction on this target:

[TARGET]

List the obstacles that are actually preventing progress.

For each obstacle, score:

- Leverage if removed: 1-10
- Certainty that it matters: 1-10
- Time-to-unblock: 1-10, where 10 means fast
- Risk of ignoring it: 1-10

Calculate Priority = Leverage × Certainty × Time-to-unblock × Risk.

Then choose the single highest-priority obstacle.

Return:

1. Ranked obstacle table.
2. The winning obstacle.
3. Why it beats the more tempting alternatives.
4. The next artifact required to remove it.
```

---

## 3 · The Assumption Guillotine → `/ratchet:cut`

```text
Expand Down Expand Up @@ -415,30 +386,6 @@ Pick.

---

## 10 · The Option Burn → `/ratchet:burn`

```text
We are carrying too many options.

Given this project state:

[PASTE STATE]

Identify the options we should deliberately stop preserving.

For each option:

- Why it is attractive.
- Why it is stealing energy.
- What fear keeps it alive.
- What becomes simpler if we kill it.
- Whether to kill, park, or keep.

Then name the one option to burn now and the exact sentence I should use to record that decision.
```

---

## 11 · The State Compiler → `/ratchet:compile`

```text
Expand Down Expand Up @@ -467,34 +414,6 @@ Delete interesting-but-nonoperative commentary.

---

## 12 · The Boundary Push → `/ratchet:push`

```text
Now push the boundary.

Current artifact or plan:

[PASTE ARTIFACT / PLAN]

Find the boldest adjacent move that could multiply the result without turning it into fantasy.

Return:

1. The safe default path.
2. The boundary-pushing path.
3. Why the boundary path might work.
4. Why it might be stupid.
5. The cheapest experiment that distinguishes them.
6. The version we should try.
7. The first irreversible move.

Do not be reckless.
Do not be timid.
Find the edge where information gain is highest.
```

---

## Specialized · Software QA agent → `/ratchet:repo-audit` + `/ratchet:qa-ledger`

```text
Expand Down Expand Up @@ -534,42 +453,5 @@ Routing rule: defect records enter and change ONLY through the defect verbs
A generic edit to the defect mirror would make it lie about the record it mirrors.
```

---

## Specialized · Prompt-library evolution → `/ratchet:prompt-audit`

```text
Audit this prompt library as an operating system.

Prompt list:

[PASTE PROMPTS]

Do not rewrite them yet.

First classify each prompt by the type of work it performs:

- target locking
- diagnosis
- artifact production
- adversarial testing
- decision
- patching
- memory/state
- orchestration
- compression
- boundary pushing

Then find:

1. Overrepresented moves.
2. Missing moves.
3. Prompts that cause meta-looping.
4. Prompts that create artifacts.
5. Prompts that should be deleted or merged.
6. The minimum new prompt set that would outperform the library.

Finally, produce the upgraded library as a sequenced workflow, not a pile of prompts.
```

<!-- Traced by: claude-opus-5[1m] · 2026-07-29 (0.8 Closure Gate: canonical path gains verify; the ending rule) -->
<!-- Traced by: claude-fable-5-2 · 2026-11-11 (surface cut: prompts 2, 10, 12 and prompt-library evolution retired) -->
Loading
Loading