chore(brain): migrate legacy notes into wing/hall layout #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
hyperguild#1 introduced the wing/hall taxonomy and
brain/wiki/<wing>/<hall>/layout. New writes viabrain_write(wing=..., hall=...)land there cleanly. The existing corpus is still in the legacy flat shape:brain/knowledge/,brain/wiki/concepts/,brain/wiki/entities/.Migration is one-shot via
scripts/migrate-brain-halls.sh.Action
brain/(rsync to a sibling dir or the laptop):move:lines, sanity-check wing/hall mapping.--commit.brain/as a vault.Acceptance criteria
brain/exists outside the live pathmigrate-brain-halls.sh --commitruns with zeroskip (target exists)warnings (or each is justified)brain/wiki/concepts/andbrain/wiki/entities/are empty afterwardsbrain_indexregenerates_index.mdfor every wingRisks
The migrate script uses
git mvwhen the directory is a git checkout, elsemv. The livebrain/on koala is NOT a git repo — operations are filesystem moves. No rollback short of the backup.Out of scope
Cleaning up the slug-vs-title humanisation edge cases in
BuildWingIndex. Track separately if they bite.