Packet: chore-rename-repo-facing-polish
1. Overview
Execute the rename of repo-facing-polish → colibri-repo-facing-polish across canon, mirror, cross-references, and tests. All changes land in a single implementation commit.
2. Concrete git commands
2.1 Directory renames
cd .worktrees/claude/chore-rename-repo-facing-polish
# Canon rename
git mv .agents/skills/repo-facing-polish .agents/skills/colibri-repo-facing-polish
# Mirror rename
git mv .claude/skills/repo-facing-polish .claude/skills/colibri-repo-facing-polish
2.2 Expected diff shape after renames
renamed: .agents/skills/repo-facing-polish/SKILL.md -> .agents/skills/colibri-repo-facing-polish/SKILL.md
renamed: .agents/skills/repo-facing-polish/agents/openai.yaml -> .agents/skills/colibri-repo-facing-polish/agents/openai.yaml
renamed: .agents/skills/repo-facing-polish/references/checklist.md -> .agents/skills/colibri-repo-facing-polish/references/checklist.md
renamed: .claude/skills/repo-facing-polish/SKILL.md -> .claude/skills/colibri-repo-facing-polish/SKILL.md
3. File-edit recipes
3.1 .agents/skills/colibri-repo-facing-polish/SKILL.md (line 2)
- Old:
name: repo-facing-polish - New:
name: colibri-repo-facing-polish
3.2 .claude/skills/colibri-repo-facing-polish/SKILL.md (line 2)
- Old:
name: repo-facing-polish - New:
name: colibri-repo-facing-polish
3.3 .agents/skills/colibri-repo-facing-polish/agents/openai.yaml (line 4)
- Old:
default_prompt: "Use $repo-facing-polish to audit..." - New:
default_prompt: "Use $colibri-repo-facing-polish to audit..."
3.4 .agents/README.md
Three edits:
- Line 7 context note: rewrite to say the R75 note is now resolved (21 → 22 on-disk)
- Line 15 table cell: already says “22 canonical Colibri skill definitions (
colibri-*prefix)” — leave as is - Line 20 header:
## Skills (21 colibri-*)→## Skills (22 colibri-*) - Line 58 body list:
repo-facing-polish→colibri-repo-facing-polish
3.5 .claude/README.md
Two edits:
- Line 55 table row:
repo-facing-polish→colibri-repo-facing-polish - Lines 17–18 structure block: update count from 26 to show accurate state; lines 57–66 ams-* section: note stubs removed in R75
3.6 .claude/skills/README.md
Edit line 14: Remove the “Extra file: .claude/skills/repo-facing-polish/SKILL.md — not in .agents/, treated as Claude-surface-only for now.” note. After rename it’s no longer “extra” — it’s part of the colibri-* family mirror.
3.7 docs/PLAN-RED.md (line 269)
- Old:
...colibri-writeback, repo-facing-polish - New:
...colibri-writeback, colibri-repo-facing-polish
3.8 docs/world-schema.md (line 251)
- Old:
colibri-writeback · repo-facing-polish - New:
colibri-writeback · colibri-repo-facing-polish
3.9 src/__tests__/skill-schema.test.ts (line 488)
- Old:
expect(corpus.length).toBe(21) - New:
expect(corpus.length).toBe(22)
4. Gates
4.1 Build
npm run build
Expected: clean (no TypeScript sources import skill names as string literals).
4.2 Test
npm test
Expected: all 743+ tests pass including updated skill-schema corpus count assertion.
4.3 Lint
npm run lint
Expected: zero warnings.
5. Verification checks
After implementation commit:
# 1. No live 'repo-facing-polish' refs outside historical files
grep -rn "repo-facing-polish" . \
--exclude-dir=.git \
--exclude-dir=node_modules \
--exclude-dir=.worktrees \
| grep -v "docs/audits/\|docs/packets/\|docs/verification/\|spawns/"
# Expected: empty (or only this-task's audit/contract/packet docs, which are live)
# 2. colibri-* count now 22
ls .agents/skills/ | grep "^colibri-" | wc -l
# Expected: 22
# 3. Zero outliers
ls .agents/skills/ | grep -v "^colibri-"
# Expected: empty
# 4. Mirror SKILL.md byte-identical
diff .agents/skills/colibri-repo-facing-polish/SKILL.md \
.claude/skills/colibri-repo-facing-polish/SKILL.md
# Expected: empty
# 5. Frontmatter name updated
grep "^name:" .agents/skills/colibri-repo-facing-polish/SKILL.md
# Expected: name: colibri-repo-facing-polish
6. Commit message
chore(rename-repo-facing-polish): unify corpus under colibri-* prefix
7. Risk register
| Risk | Likelihood | Mitigation |
|---|---|---|
| Test count assertion stale (21→22) | Certain | Update line 488 of skill-schema.test.ts |
| Mirror drift (SKILL.md files diverge after dual-edit) | Low | Edit both files identically; verify with diff |
| openai.yaml internal ref missed | Low | Identified in audit; explicit edit recipe above |
| Historical docs accidentally updated | Low | Filter in verify step; frozen docs identified in audit |