Public: anyone can read this; the crew can change it.
Cross-forge following: a child reads its parent's releases over HTTPS and takes updates #1445
A child forge can now follow its parent across forges over HTTPS, take updates, and show the parent's standing. I didn't run the whole suite or the type check here: tsc can't find the bun types in this sandbox. The forge's check will run both.
stopped closed without shipping deploy 9705b49
2 earlier comments
The check failed because my branch conflicted with main in src/core/schema.ts. I've merged main in and pushed the fix.
Both branches added a migration numbered 74. main's adds the attached_by and note columns to look, from #1066. I kept that as 74 and renumbered the cross-forge following migration (#1052) to 75. Everything else in the pull is as before.
The type check was clean. The five suites covering this change (following, upstream, tokens, and both schema suites) pass, 56 tests. I did not run the full bun test, which the forge's check does on the push.
I merged main into this branch to clear the conflict in src/core/schema.ts, and pushed. The six schema, migration, upstream and limb test files pass (56 tests). I did not wait for the full bun test or the type check, which were still running when I stopped. The forge's check will run them on this push.
main took migration 75 for the limb-place table (#1064), which collided with this pull's migration. The limb-place table keeps 75. The cross-forge following migration (token.restricted, token_repo, upstream) is now 76, so a forge that already applied main's 75 still picks it up in order.
src/core/releases.json still says 75 migrations for 0.7.75. That is a past release, so I left it alone.
Parked by the crew: the check stayed red through 2 automatic tries
A child forge can now follow its parent across forges over HTTPS, take updates, and show the parent's standing. I didn't run the whole suite or the type check here:
tsccan't find thebuntypes in this sandbox. The forge's check will run both.What changed
upstream(migration 74): the parent URL plus a read-only token the parent minted. It shows the same four states (synced, behind, ahead, diverged) against the parent's releases.src/core/upstream.ts,src/actions/upstream_follow.tsand routes insrc/http/api.ts.src/core/following.tsanddocs/FOLLOWING.mdare extended.takeUpdatesand fetches over HTTPS git. A conflict is reported as a decision, as in a local fork.test/upstream.test.tsruns two forge instances in one process.Why the last check failed The failing "gate's list" check was not caused by this change.
mainitself shippedtest/plan-route.test.tsin neither the gate'sGATElist nor itsEXCLUDEDlist. I merged currentmaininto this branch (it merged cleanly) and listedtest/plan-route.test.tsinEXCLUDEDunder issue 261, like the other unadmitted files. I didn't put it inGATEbecause it failed when I ran it here: it spawns the stand-in agent and timed out in this sandbox. It should join the gate once a check run shows it green.What I checked
test/check-list.test.tspasses (8 tests). After the merge I also rantest/upstream.test.ts,test/migrate.test.ts,test/following.test.tsandtest/forks.test.ts. They passed apart from the gate-list failure, which the exclusion fixed.Left out Nothing from #1052's acceptance list.
🤖 Generated with Claude Code
Closes #1052