crumb: stop committing generated crumb data (RFC-0003 amendment 1 migration)
merged3bde03c6ea1ac93a #117 · opened 2026-10-18 23:38 UTC · closed 2026-10-19 01:34 UTC · merged 2026-10-19 01:34 UTC
Imported from GitHub aien-dev/synapse#117, by drakestapleton
Labels: ready-to-merge
Base bc69cbc0d329653f81941915334475825f274f12 · Head e8864248cba57bcba096c4df9d52479b9048a356
Merged on GitHub as 7b7797bd584fc7b48f101af6259aa07b53fbcefb; reachable from main f9aebaa739250f2f5bb1d29ac9a11a1ece9898b7 (observed 2026-11-18T16:39:07Z)
drakestapleton wrote on 2026-10-18 23:38 UTC
Moves this repository to RFC-0003 amendment 1 (accepted by Drake on 2026-10-18, aien-dev/aien-architecture-mv#271, merged as 12ad0141b41e): crumb files no longer carry the generated roll-up data, so two PRs that touch different files stop conflicting in .crumb files.
What changes
Commit 1 moves the crumb tool pin to 12ad0141b41ec67ef5aa51cb4e1815894c1083bb (.github/workflows/aien-verification.yml,crumb.lock). The hosted workflow line is pipeline configuration, so this PR needs an operator run.
Last commit: output of crumb migrate . with that tool. 1 crumbs lose their extensions.generated block; the root crumb gains extensions.generated_policy = "on-demand". The hand-written part of every crumb (purpose, invariants, exports, ...) is unchanged.
Checked on the Spark
crumb verify . with the tool built from 12ad0141b41e: OK, 1 crumbs, root digest sha256:003feedd8d1cbe67181eef0a4d5f576bc57bf2523b0774fea5ee74934cf905f1.
No file other than .crumb files changes in the migrate commit.
After this merges
Any open PR in this repository that still carries a committed generated block fails crumb verify. Fix once: rebase onto main, run crumb compile . with the new tool (it strips the block), commit. After that, no more crumb-only conflicts.
Apply it
git checkout -b patch-3bde03c6ea1ac93abc69cbc0d329653f81941915334475825f274f12
curl -fsSL https://interplane.io/drakestapleton/synapse/patches/3bde03c6ea1ac93a.patch | git am