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.

Scheduled review: a started marker, and step 3 reports a dead run

Eoghan Henn8bb2676f44aa
diff --git a/SKILL.md b/SKILL.md
index 1caa58f..f3a2aa3 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -204,22 +204,23 @@ was handled without its reference loaded, log an observation.
3. **Review trigger.** Read `skill-observations/last-review-date.txt`. The
value carries the truth: a date = when the last review actually ran;
`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 7 or more days old AND there are OPEN observations:
- 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 fails quietly, by becoming too expensive to drain:
- 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.
+ creates it) — recreate it with `never`, don't invent a date. An existing
+ `skill-observations/review-started.txt` not reading `completed`, or a
+ registered scheduler reporting a later last run, is a run that completed
+ no review: say "fired YYYY-MM-DD, no review recorded" and treat the
+ review as due. If the value is `never` or 7 or more days old AND there
+ are OPEN observations: 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;
+ why: `references/weekly-review.md`). 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. Be clear
@@ -700,7 +701,6 @@ in its `skill:` list. Full protocol: `references/observation-log.md`.
|----------|--------|
| When do I observe? | The whole session, including feedback and reflection phases |
| How do I log? | Silently, immediately, as one file per observation named `NNNN-slug.md`; id = max(active, archive, `.id-floor`) + 1, derived by running the snippet immediately before each write — an earlier read of the log for any other purpose is not a substitute; where a helper can run, `scripts/new-observation.sh <slug>` is the only write path |
-| When do I surface? | End of session, or earlier if needed |
| Status field? | Mandatory `status: open` frontmatter on every new observation; reviews treat a missing status as OPEN, never as nonexistent. Five values: `open`, `actioned`, `declined`, `superseded`, `parked` — `parked` = decided but blocked on an external precondition, so it leaves the queue, requires `parked_until:`, and never archives |
| Does the target skill have siblings? | Resolve it against `skill-observations/skill-families.md` BEFORE writing; add every sibling the insight applies to to `skill:`, and record the verdict in the mandatory `siblings_checked:` field — including "checked, no propagation" |
| A scan or query came back empty? | Two possibilities, only one is a finding: guard every retrieval meant to prevent duplicate work with an independent existence check, and treat empty output over known content as a broken command |
diff --git a/references/environments.md b/references/environments.md
index 94ee7c2..eec7ae5 100644
--- a/references/environments.md
+++ b/references/environments.md
@@ -801,6 +801,25 @@ loads: write the activation pointer in every scheduled prompt as "probe the
workspace folder (one `ls` of its absolute path), then invoke <skills>",
and keep the probe's procedure and failure handling in the skill.
+**The second listed action leaves a started marker.** After the probe,
+every scheduled review prompt writes the date and time to
+`skill-observations/review-started.txt`, and the review's Step 7
+overwrites it with `completed <date>`:
+
+```bash
+printf '%s\n' "$(date '+%F %H:%M')" > "[ABSOLUTE PATH]/skill-observations/review-started.txt"
+```
+
+A scheduler's "succeeded" says the job launched; the marker says how far
+it got. At the next session start, a marker that does not read
+`completed` is a run that died mid-way, and a scheduler last run later
+than `last-review-date.txt` with the marker untouched is a run that fired
+and never reached its second action — two different defects, and neither
+is a review that happened. The marker is judged by its content, never by
+its mtime: Step 7 writes it after the date file, so a completed run's
+marker is always the newer of the two. Session Start step 3 reports either as "fired YYYY-MM-DD,
+no review recorded" and treats the review as due.
+
**The access grant is part of the task definition, not of the path.** A
scheduled session runs in the sandbox the scheduler creates, and that
sandbox can deny a path that exists and is online (observed: a headless
diff --git a/references/weekly-review.md b/references/weekly-review.md
index 74c83a9..e310df0 100644
--- a/references/weekly-review.md
+++ b/references/weekly-review.md
@@ -20,6 +20,11 @@ input. Two modes:
means a review actually ran). In an interactive session a pending
fallback surfaces as a one-line offer and runs only if the user opts in
(SKILL.md, Session Start step 3) — it never gates the user's task.
+ Its content scales with the backlog and its frequency never does,
+ because a backlog that is never drained fails quietly, by becoming too
+ expensive to drain: the per-session behaviour that is correct (never
+ block the user) sums to a review nobody accepts. A bounded slice keeps
+ the unit of work constant as the backlog grows.
## Contents
@@ -1264,7 +1269,8 @@ breaks the cross-session grace period. Do NOT archive same-session — the
next write on a later day archives them.
**Step 7 — timestamp.** Write today's date to
-`skill-observations/last-review-date.txt`.
+`skill-observations/last-review-date.txt`, then overwrite
+`skill-observations/review-started.txt` with `completed YYYY-MM-DD`.
**Step 8 — deliver and summarise.** Stage updated skills (see Delivery
below), then present: