interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

crumb: stop committing generated crumb data (RFC-0003 amendment 1 migration)

merged 3bde03c6ea1ac93a #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-3bde03c6ea1ac93a bc69cbc0d329653f81941915334475825f274f12
curl -fsSL https://interplane.io/drakestapleton/synapse/patches/3bde03c6ea1ac93a.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/synapse
117
e8864248cba57bcba096c4df9d52479b9048a356
{"kind":"github-import","owner":"aien-dev","repo":"synapse","number":117,"url":"https://github.com/aien-dev/synapse/pull/117","export_sha256":"1c576073d3642d6130bfff61541dda3d27f03618b9224cb72ff5d1ad6d163116","imported_utc":"2026-11-18T16:39:07Z"}

Changes

diff --git a/.crumb b/.crumb
index 8677e3c..3dff734 100644
--- a/.crumb
+++ b/.crumb
@@ -42,18 +42,7 @@
     }
   ],
   "extensions": {
-    "generated": {
-      "children": [],
-      "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-18T23:47:31Z",
-      "compiler": "crumb-compile/1",
-      "digest": "sha256:4cc17ce53798f89190e7119dcd3bdd5339ec0797b3739842a06bf3a889571bf8",
-      "evidence_files": 262,
-      "evidence_root": "sha256:b25d2fcc4dd431ffce85a91a08342766e8f5d4b0309e16df46c008083835d98a",
-      "files": 456,
-      "generated_at_commit": "4bfe9ed7ed769be2364ff3d0ff942246c3d2a71c",
-      "source_tree": "sha256:df935b2489180662623a608afe7da09901eb3fff8c187df564faa7b2aadb3a30"
-    },
+    "generated_policy": "on-demand",
     "synapse": {
       "component_paths": {
         "synapse-api": "crates/synapse-api",
diff --git a/.github/workflows/aien-verification.yml b/.github/workflows/aien-verification.yml
index 827e1fd..efc2bf3 100644
--- a/.github/workflows/aien-verification.yml
+++ b/.github/workflows/aien-verification.yml
@@ -83,11 +83,11 @@ jobs:
             echo "blocked=false" >> "$GITHUB_OUTPUT"
           fi
 
-      - name: Checkout the pinned crumb tool source (aien-architecture @ d0f0b95d344b4c6628c3d868346932fd247ce168)
+      - name: Checkout the pinned crumb tool source (aien-architecture @ 12ad0141b41ec67ef5aa51cb4e1815894c1083bb)
         uses: actions/checkout@v4
         with:
           repository: aien-dev/aien-architecture
-          ref: d0f0b95d344b4c6628c3d868346932fd247ce168
+          ref: 12ad0141b41ec67ef5aa51cb4e1815894c1083bb
           path: .crumb-tool-src
 
       - name: Build the crumb tool, then remove its source from this tree
diff --git a/crumb.lock b/crumb.lock
index 3dea07e..dede5d0 100644
--- a/crumb.lock
+++ b/crumb.lock
@@ -1 +1 @@
-d0f0b95d344b4c6628c3d868346932fd247ce168
+12ad0141b41ec67ef5aa51cb4e1815894c1083bb