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.

Stamp the activation block so an upgrade can see a stale one

Eoghan Henn01cfc1f8b049
diff --git a/SKILL.md b/SKILL.md
index 176cbb3..19524b0 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -195,36 +195,36 @@ skill" (some upload paths keep only `SKILL.md`); its episodes do not run.
4. **Activation.** Once per session: if no CLAUDE.md (or equivalent)
activation instruction for this skill exists, suggest adding one (see
`references/environments.md`); after a scan `GAP:` line, open with the
- gap and the missing instruction, plainly. Skip if configured. This step
- runs only once the skill is invoked, so it verifies a working setup and
- cannot detect a missing one — it is not the safety net for a
- never-activated install; the outside checks are in that reference.
-5. **Concurrency.** There is no shared log file to guard: each observation
- is its own file, so creating one never collides with another session's
- entry; re-read one before changing its *status* (How to Log).
+ gap and the missing instruction, plainly. A block whose stamp (its first
+ line) is older than this version's, or absent, is reported in one line
+ with the paragraphs it lacks; offer the current block, never rewrite the
+ file unasked. This step runs only once the skill is invoked, so it
+ verifies a working setup and cannot detect a missing one — it is not the
+ safety net for a never-activated install; outside checks: that reference.
+5. **Concurrency.** No shared log file to guard: each observation is its
+ own file; re-read one before changing its *status* (How to Log).
6. **Targets and staged work.** Resolve each distinct `skill:` value in
the scanned frontmatter against the installed skill set and mention, in
one line, any that no longer resolve — and any that resolve but cannot
run, because presence in a listing is not capability
- (`references/skill-authoring.md`, "Runtime prerequisites"). A deleted skill accumulates
- observations unnoticed; a dead one more so. Say what you resolved against
- (this checkout, this install): an unresolved target is a fact about where
- you looked, not about the world.
+ (`references/skill-authoring.md`, "Runtime prerequisites"). A deleted
+ skill accumulates observations unnoticed; a dead one more so. Say what
+ you resolved against (this checkout, this install): an unresolved target
+ is a fact about where you looked, not about the world.
If `skill-updates/` holds anything, reconcile it before announcing it —
installation happens outside any session, so no session observes it, and
the session that reads the ledger owns its cleanup. `diff -rq` each staged
- copy against live and classify it (a bare "differs" is not a verdict:
- live moves on legitimately), and name every directory no manifest entry
- covers. The cases are in `references/weekly-review.md` ("Staged-work
- reconciliation gate") — load it before judging any entry. Then say "N
- staged updates awaiting review" in one line.
+ copy against live and classify it (a bare "differs" is not a verdict),
+ and name every directory no manifest entry covers. The cases are in
+ `references/weekly-review.md` ("Staged-work reconciliation gate") — load
+ it before judging any entry. Then say "N staged updates awaiting review".
7. **First run, or a named past session.** If the log is empty and the
- project has history (handover or decision docs, commit history, test
- scripts, a notes or memory directory, an existing CLAUDE.md), offer a
- one-off backfill pass over those artefacts; when the user names a
- finished session, run the same pass scoped to it. Entries cite the
- durable artefact (file and section) in `session_context`, never a
- session. Procedure: `references/environments.md` ("First-run backfill").
+ project has history (handover or decision docs, commit history, a notes
+ or memory directory, an existing CLAUDE.md), offer a one-off backfill
+ pass over those artefacts; when the user names a finished session, run
+ the same pass scoped to it. Entries cite the durable artefact (file and
+ section) in `session_context`, never a session. Procedure:
+ `references/environments.md` ("First-run backfill").
## When to Observe
diff --git a/references/environments.md b/references/environments.md
index 3e92998..d0e4417 100644
--- a/references/environments.md
+++ b/references/environments.md
@@ -137,6 +137,7 @@ the checklist rather than in a disposition.
### The activation block
```text
+(task-observer activation block — template of v3.8.0)
Before the first tool call of any session — and before writing or
proposing a plan, not merely before executing one — invoke the
task-observer skill AND execute its Session Start Protocol (storage
@@ -247,6 +248,20 @@ script paragraphs and keep the rest — the inline id snippet in SKILL.md is
then the write path, and the `find … grep` above is the lookup, with its
checkpoint line written by hand in the same batch.
+**The first line is the template's stamp, and an upgrade does not move
+it.** The block lives in the user's instruction file, outside the bundle,
+so upgrading the bundle in place leaves it on whatever template it was
+copied from, and step 4's presence check cannot tell a current block from
+a 3.4-era one: every paragraph added since — the lookup, the subagent
+rule, the script-only write path — is missing from that install without
+any signal. The stamp is bumped whenever the block's text changes, and
+Session Start step 4 compares it with this version's: a block whose stamp
+is older, or has none, is reported in one line with the paragraphs it
+lacks, and the current block is offered whole — the file is never
+rewritten unasked. On every upgrade, diff the installed block against
+this template; a block copied without its stamp line is read as
+unstamped.
+
On Windows, pin the drive-letter form (`C:/Users/<user>/...`): PowerShell,
cmd and Git Bash all accept it ("Paths handed across a boundary are
resolved from the far side"), and `scripts/new-observation.sh` converts it