Skip to content

The meta-skill that builds and improves all your skills, including itself. Watches your work sessions (autonomous or human-led), captures patterns, corrections and judgement calls, and turns them into skill improvements and new skill candidates for your review. Practical application of the Augmented Expertise methodology. Open source: CC BY 4.0.

Bound the review offer, check for restatements before logging, name the staged path in resolutions

Eoghan Henn47d1d1e59010
diff --git a/SKILL.md b/SKILL.md
index ba9a11e..2ec887f 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -193,15 +193,31 @@ was handled without its reference loaded, log an observation.
`never` = no review has run yet. A missing file is abnormal (step 1
creates it) — recreate it with `never`, don't invent a date. If the
value is `never` or older than 7 days AND there are OPEN observations:
- in an interactive session, offer the review in one line ("the
- observation backlog hasn't been reviewed [in N days / yet] — run it now,
- or carry on with your task?") and proceed with the user's task unless
- they opt in; never gate their work on the review. Only a
+ in an interactive session, offer the review in one line and proceed
+ with the user's task unless they opt in; never gate their work on the
+ review. Scale the offer's CONTENT with the backlog, never its
+ frequency: up to ~15 open observations, offer the full review ("the
+ backlog hasn't been reviewed [in N days / yet] — N open; run it now, or
+ carry on?"); above that, offer a bounded slice whose unit of work stays
+ constant as the backlog grows — "review the 10 oldest", "review just
+ the ones targeting <the skill most named>" — and state both numbers,
+ how many are open and roughly how many distinct findings they
+ represent (cluster on the `title` and `skill` fields you just scanned).
+ A backlog that is never drained does not fail loudly; it fails by
+ becoming too expensive to drain, so the per-session behaviour that is
+ correct (never block the user) sums to a review nobody accepts. Only a
scheduled/autonomous run loads `references/weekly-review.md` and runs
the review unprompted.
4. **Activation.** Once per session: if no CLAUDE.md (or equivalent)
activation instruction for this skill exists, briefly suggest adding one
- (see `references/environments.md`). Skip if already configured.
+ (see `references/environments.md`). Skip if already configured. Be clear
+ about what this step is: it runs only after the skill has been invoked,
+ so it verifies a working setup and structurally cannot detect the
+ missing one — it is not the safety net for a never-activated install.
+ That case is caught only from outside the runtime: the install-time
+ verification and the external diagnostic in `references/environments.md`
+ (no observation-log directory after sessions of real work), and the
+ review's regression check for a tier that was present and is gone.
5. **Concurrency.** There is no shared log file to guard: each observation
is its own file, so creating one never collides with or overwrites
another session's entry. Before changing the *status* of an existing
@@ -278,6 +294,19 @@ Mostly no → task context, not an observation. Before minting a
`proposes_skill` name, check the existing candidates and reuse a fitting
one — independently logged proposals for one skill rarely share a name.
+**Check for a restatement before writing.** Before creating the file,
+list the open observations that name the same target skill (the scan at
+session start already holds their titles; otherwise
+`grep -l "skill:.*<skill>" observation-log/*.md`) and read those titles.
+If the finding is the same one restated — the same rule, the same
+failure shape, a different example — extend the existing entry instead:
+append the new instance to its body and add the session to its
+`session_context`, editing that one file. Duplication is only visible in
+aggregate; measured on one log, roughly forty of ninety-one open entries
+were one finding restated, and a dozen separately minted skill proposals
+described two skills. A near-duplicate costs a capture every session and
+a triage every review, and adds nothing the first entry did not.
+
**Validate the target at write time.** A name in `skill:` must be a skill
that exists now; if it doesn't, the observation proposes a skill instead.
Checking is cheap at write time and expensive forty entries later.
diff --git a/references/weekly-review.md b/references/weekly-review.md
index df25425..2f122fd 100644
--- a/references/weekly-review.md
+++ b/references/weekly-review.md
@@ -194,8 +194,19 @@ fallback active. No → write today's date to
firings within the window re-surface the offer). No scheduler available in
this environment (per the definition above) → skip silently.
-**Step 1 — load.** Archive observation files resolved in *previous*
-sessions (see Archival on Write in SKILL.md). Read only the frontmatter of
+**Step 1 — load.** First, the activation regression check — the one
+half of "is activation in place?" a review can reach: a review only runs
+when the skill loaded, so it cannot detect an install that never
+activated, but it can detect a tier that WAS in place and is no longer
+(a rewritten CLAUDE.md, a hooks file replaced by a settings sync). Read
+the activation config named in `references/environments.md` — the
+instruction block in CLAUDE.md or its equivalent, and the session-start
+hook where the harness has one — and if a tier that a previous review
+recorded as present is missing, say so in the summary's first line and
+re-suggest the block; record the tiers found in
+`skill-observations/activation-tiers.txt` so the next review has a
+baseline to compare against. Then archive observation files resolved in
+*previous* sessions (see Archival on Write in SKILL.md). Read only the frontmatter of
each file in `observation-log/` — not the bodies — to build the work queue;
load a body only when you actually action that observation in Step 5. This
frontmatter-first pass is what keeps the review cheap as the backlog grows.
@@ -254,7 +265,16 @@ legitimately moves on, so a bare "differs" is not a verdict:
superseded; remove the entry with a note.
- **(c) the staged copy carries content absent from live** → NOT
installed; surface it, and treat the staged copy — not live — as the
- base for any new staging of that skill in this review.
+ base for any new staging of that skill in this review. Also list, in
+ the summary, the observations whose `resolution:` names that staged
+ path (`grep -l "skill-updates/<anchor>/<skill>" observation-log/*.md
+ observation-log/archive/*.md`): they were marked `actioned` at staging
+ and their work has not landed. They stay `actioned` — the status
+ describes the review's act, and re-opening would re-queue work already
+ done — but the summary carries them under "actioned, awaiting install",
+ and a staged copy that reaches its SECOND review un-installed is
+ escalated as a decision (install it, or discard it and re-open its
+ observations) rather than carried forward a third time.
Reconcile in BOTH directions every time: lingering-done (installed but
still listed) and missing-done (staged but never installed) fail
@@ -540,8 +560,13 @@ detection mechanism. The check is one `ls` against a list already in hand.
Then, in each applied observation's frontmatter set
`status: actioned`, `resolved: YYYY-MM-DD` (today), and
-`resolution: Applied to [skill-name] (weekly review)` — editing only those
-fields, in that one file. The `resolved:` date is load-bearing: archival is
+`resolution: "Staged for [skill-name] at skill-updates/<anchor>/[skill-name] (weekly review)"`
+— editing only those fields, in that one file. The resolution names the
+staged path deliberately: `actioned` at this point means "applied to a
+staged copy", and handing an artefact over and having it taken up are two
+different facts — the first must not close the status of the second. The
+staged path is what lets the next review find every observation whose
+work is sitting un-installed (below). The `resolved:` date is load-bearing: archival is
gated on it (files archive only when it's before today), so a dateless mark
breaks the cross-session grace period. Do NOT archive same-session — the
next write on a later day archives them.