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.

migration.md: scope, reconcile and search both layouts in step 8

notbuckic4d4424dca1d
diff --git a/references/migration.md b/references/migration.md
index 567ed90..1e6b0fc 100644
--- a/references/migration.md
+++ b/references/migration.md
@@ -131,21 +131,43 @@ Run from the workspace folder. Python 3.8+, no dependencies.
8. **Enumerate the machine's other workspaces before recording the
migration anywhere.** Everything above converts exactly one workspace
- folder. When the skill is installed at user/global scope, each other
- workspace has its own `skill-observations/` anchor still on the legacy
- layout, and each migrates separately. Search wherever your workspace
- folders anchor — in Claude Code, for example:
+ folder. When the skill is installed at user/global scope, other
+ workspaces may hold their own `skill-observations/` anchor still on
+ the legacy layout. Search wherever your workspace folders anchor —
+ both supported layouts, the identity root and a managed persistence
+ directory under it (`references/environments.md`), which is why the
+ search is not depth-bounded. In Claude Code, for example:
```bash
- find ~/.claude/projects -maxdepth 3 -name log.md -path '*/skill-observations/*'
+ find ~/.claude/projects -name log.md -path '*/skill-observations/*'
```
- Any hit with no `observation-log/` directory beside it is an
- unconverted workspace: run this procedure there now, or list it
- explicitly as pending. Skipping this step loses no data — the Session
- Start Protocol still catches each workspace lazily, on its next
- session there — but "lazily" can be days, and nothing marks those
- workspaces as unconverted in the meantime.
+ **Ask the scope question before converting a hit.** Several legacy
+ logs that observe the same globally installed skills are not several
+ scopes; they are the silent fork this skill warns about ("globally
+ installed skills need one path shared across projects, tools and
+ agents"). Converting each in place preserves that fork, with two id
+ spaces that already collide. Consolidate those onto one anchor first
+ — per "Before creating a log, search for one" in
+ `references/environments.md`, leaving a pointer file at each
+ abandoned location — and run this procedure once, on the surviving
+ log. Only genuinely distinct observed scopes migrate separately.
+
+ **Every live `log.md` needs reconciling, including one that sits
+ beside an `observation-log/`.** That pair is not a converted
+ workspace: it is a conversion that stopped before step 7, or a stale
+ pre-3.0 session that recreated the retired file. Nothing else catches
+ it — the Session Start Protocol migrates only when `observation-log/`
+ is absent — so entries unique to that file are never imported and
+ never scanned. Run the check-only pass over it, convert what the
+ directory is missing, and retire the file as in step 7; or list it
+ explicitly as pending.
+
+ A cleanly unconverted workspace (a `log.md` with no
+ `observation-log/`) loses no data if you skip it — the Session Start
+ Protocol still catches that case lazily, on its next session there —
+ but "lazily" can be days, and nothing marks it as unconverted in the
+ meantime.
The same scope rule applies to the record of the migration: a
completion note written into a document that reaches beyond one