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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Please choose versions by [Semantic Versioning](http://semver.org/).
* MINOR version when you add functionality in a backwards-compatible manner, and
* PATCH version when you make backwards-compatible bug fixes.

## Unreleased

- feat: add a worth-it rating rubric to `/coding:self-improve` Step 3 — gate-then-grade (hard evidence gate + weighted score: recurrence/cost/generality/repair, minus obvious-anyway) with propose/borderline/discard tiers, mirroring `/vault-cli:reflect`'s significance filter; surfaces a `Worth-it:` score per proposal so borderline candidates get an inspectable number instead of a coin-flip.

## v0.28.2

- docs: add "Repair before route-around" rule to `/coding:self-improve` — when an existing command/agent/skill misfires, fix that artifact instead of adding a `CLAUDE.md` workaround rule; only fall back to a memory rule when the tool genuinely can't be changed.
Expand Down
28 changes: 23 additions & 5 deletions commands/self-improve.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,29 @@ Scan the transcript for:

Ignore anything that happened once with no cost. One-offs never graduate.

### 3. Keep-forever test
For each candidate, both must hold or discard it:
- **Recurrence:** plausibly recurs in 3+ future sessions?
- **Evidence:** you can cite a verbatim quote + where it happened.
### 3. Rate each candidate
Gate first, then grade — the same shape as `/vault-cli:reflect`'s significance filter.

Discard silently: one-offs, "nice to have," anything you can't quote.
**Hard gate (no quote, no proposal):** can you cite a verbatim quote + where it
happened? Fails the gate → discard silently.

Passers get a **worth-it score**:

| Signal | Weight |
|---|---|
| Recurrence — plausibly recurs in 3+ future sessions | +2 |
| Cost — the miss cost real back-and-forth (retry, correction, wasted turns) | +1 |
| Generality — the fix applies beyond this one task / project / file | +1 |
| Repair — fixes a tool that misfired, not a new rule bolted on | +1 |
| Obvious-anyway — the "fix" is just doing the naturally obvious thing | −2 |

Tier by score:
- **≥ 3 → propose** (ranked, max two)
- **1–2 → borderline** — name it in one line under Rejected, don't propose
- **≤ 0 → discard silently**

The score makes borderline calls explicit and inspectable instead of a coin-flip;
`Obvious-anyway −2` kills "just do it in the natural order" non-improvements.

### 4. Prefer editing over creating
Does an existing rule / command / agent / skill almost cover this? If yes,
Expand Down Expand Up @@ -69,6 +86,7 @@ Short. Max two proposals, ranked.

Per proposal:
- **Change:** what, and where (exact target file / artifact)
- **Worth-it:** <score> (e.g. recurrence +2, cost +1)
- **Evidence:** verbatim quote(s) + how often
- **Edit or new:** if new, why nothing existing fit
- **Diff sketch:** the concrete line(s) to add or change
Expand Down
Loading