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.
Python agent-skillsai-skillsaugmented-expertiseawesome-skillsclaudeclaude-codeclaude-code-skillclaude-code-skillsclaude-coworkclaude-skillsmeta-skillrebelyticsskill-automationskill-builderskill-creationskill-improvementskill-managementskills
Migration: report target conformance beside source fidelity
Eoghan Hennebd233e4513d
diff --git a/references/migration.md b/references/migration.mdindex 223efc4..747b260 100644--- a/references/migration.md+++ b/references/migration.md@@ -111,8 +111,9 @@ Run from the workspace folder. Python 3.8+, no dependencies.--overrides overrides.json```-6. **Verify.** The report's file count must equal the number of- `### Observation` headers in `log.md`:+6. **Verify twice: source fidelity, then target conformance.** The+ report's file count must equal the number of `### Observation` headers+ in `log.md`:```bashgrep -c '^### Observation' skill-observations/log.md@@ -120,7 +121,26 @@ Run from the workspace folder. Python 3.8+, no dependencies.```Spot-check three files against their originals, including one that was- resolved and one that carried a qualifier.+ resolved and one that carried a qualifier. Then read the report's+ `target conformance` block, and confirm it from the files: a converted+ set is faithful to a source that never had `siblings_checked`, so every+ file lacks it, and nothing but the next review's sibling backfill will+ add it. Enumerate the fields from the target's own definition (SKILL.md,+ File format), never from the mapping table above — a field absent from+ the table is indistinguishable from one absent from the schema:++ ```bash+ o="skill-observations/observation-log"+ n=$(find "$o" -maxdepth 1 -name '*.md' | wc -l | tr -d ' ')+ for field in status siblings_checked; do+ have=$(find "$o" -maxdepth 1 -name '*.md' -exec grep -l "^$field:" {} + | wc -l | tr -d ' ')+ echo "$field: $have/$n"+ done+ ```++ A count below `n` for `siblings_checked` is expected and is the state+ the first review clears; a count below `n` for `status` is a converter+ defect — report it.7. **Move legacy archives under the new layout** so one directory holdsthe whole history, and retire the old file so nothing scans it:diff --git a/scripts/migrate-log.py b/scripts/migrate-log.pyindex 469a886..23aeb60 100644--- a/scripts/migrate-log.py+++ b/scripts/migrate-log.py@@ -64,6 +64,11 @@ REVIEW_FLAGS = {"date-not-iso",}+# Fields the target format requires on every file (SKILL.md, File format).+# Reported, never fabricated: a placeholder would hide the missing judgement+# the field exists to make visible.+MANDATORY_TARGET_FIELDS = ("status", "siblings_checked")+ENTRY_RE = re.compile(r"^### Observation (\d+):[ \t]*(.*)$")LABEL_RE = re.compile(r"^\*\*([A-Za-z][A-Za-z /-]*):\*\*[ \t]*(.*)$")ISO_DATE_RE = re.compile(r"(\d{4}-\d{2}-\d{2})")@@ -462,6 +467,19 @@ def main():print(f"\nneeds human review: {len(needs_review)}/{len(records)}")print(f"parsed losslessly: {len(records)-len(needs_review)}/{len(records)}")+ # Source fidelity and target conformance are two success criteria. The+ # lines above answer the first; a field the legacy format never defined+ # is exactly the one they cannot report on. Enumerate the target's own+ # mandatory fields, not the mapping table in migration.md.+ headers = [render(r).split("\n---", 1)[0] for r in records]+ print("\ntarget conformance (mandatory frontmatter, converted set):")+ for field in MANDATORY_TARGET_FIELDS:+ have = sum(1 for h in headers if f"\n{field}:" in h)+ note = ""+ if field == "siblings_checked" and have < len(records):+ note = " — the first review's sibling backfill populates this; nothing else will"+ print(f" {field:<18}{have}/{len(records)}{note}")+if not args.convert:return