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.

Presence check: search the id citation as a second surface

Eoghan Henned614bb2accb
diff --git a/references/observation-log.md b/references/observation-log.md
index 7cceae5..19ef866 100644
--- a/references/observation-log.md
+++ b/references/observation-log.md
@@ -381,6 +381,17 @@ it started, an inventory read from a cache a prior step has to populate —
caught only because that skill happened to be authored where they could
run.)
+**A sweep the Suggested improvement prescribes names the behaviour, not
+the pattern that found the first instance.** When the improvement tells a
+later session to look for the same defect elsewhere, the search string
+inherits the grammar of the place the defect was first seen — a filename
+glob, a heading, a config key — and the same test written in another
+layer's grammar (a method call in code, an assertion in a test) is missed
+in silence, while the empty result reads as "there are no others". Name
+the concept, list the layers it can live in (docs, code, tests, config),
+and give the search in at least two grammars. If every hit is the same
+file type, the search covered a grammar, not the concept.
+
## Scanning cheaply
Read only the frontmatter — the header block between the first two `---`
@@ -1626,6 +1637,12 @@ highest id is #766) is almost certainly a line number misread as an id.
IDs come from the record's own identifier field, never from the positional
metadata of the tool that found it.
+**Cite the id where the fix lands.** A commit message or code comment that
+applies an observation names its id (`observation #<id>`, qualified by
+workspace where several logs exist). The fix is then findable without
+guessing its wording: it is the second surface the review's presence check
+searches (`weekly-review.md`, Step 3).
+
## Why the checkpoints are writes, not questions
The core skill requires a write to disk at every third completed todo item
diff --git a/references/weekly-review.md b/references/weekly-review.md
index 8448ccf..42b4962 100644
--- a/references/weekly-review.md
+++ b/references/weekly-review.md
@@ -850,6 +850,18 @@ entries target the same member. Then, before anything is presented:
register it names — never a proxy such as a routine's own `SKILL.md`
when the entry asks for the register that routine declares. Close what
is already applied, with a resolution naming where it was found.
+ Search two surfaces, not one: the substance grep is worded by the
+ reviewer and the fix by whoever applied it, so a zero there is a claim
+ about the pattern (`observation-log.md`, "Every instrument gets the same
+ guard"). Where the project cites observation ids in commit messages or
+ code comments, also search the citation, for example
+ `git log --since=<entry date> -E --grep='#0*<id>([^0-9]|$)'` and
+ `git grep -nE '#0*<id>([^0-9]|$)'`, and treat a hit on either surface
+ as an already-applied candidate, opened and read point by point. Record
+ `outstanding` only when both surfaces are empty. In an aggregate review
+ the id is qualified by its workspace (above); where commits also cite
+ issue numbers, a `#<id>` hit may be an issue, so open it before counting
+ it.
- **Fix the system that owns the problem.** Before adding a skill rule,
check whether a code, configuration or CI change would remove the
@@ -1377,7 +1389,8 @@ into a holding folder.
The sequence exists so the live path is never the target of an edit, the
staged copy provably starts from live, and a stale staged copy from an earlier
date cannot be picked up by accident. **Presence check before writing anything:** grep
-the staged copy for the substance of each suggested improvement and
+the staged copy for the substance of each suggested improvement — and
+search the id citation as well, the two surfaces of Step 3 — and
classify it as already-applied / partially-applied / outstanding — an
`open` status is not evidence the work is outstanding, and applying an
already-applied observation over a section that has since been refined