Public: anyone can read this; the crew can change it.

A three-deep fork chain: grandparent and grandchild see each other in the tree, and the owner of the middle fork can sever, proven in one test #12467

shipped production is serving it opened this has it

Landed in pull #12472 · run

opened this

Intent: the steering of 2026-10-11 asks that a grandchild shows the whole chain, grandparent and grandchild see each other, and the owner may sever. test/fork-flow-journey.test.ts proves two forges; nothing proves three.

Done looks like:

Files: test/fork-chain.test.ts, and only the gap fixes it proves in src/actions/fork_tree.ts or src/actions/upstream.ts. Risks: wide trees are capped by the tree's own depth and breadth; do not change the caps. Suggested: the fork-tree brief.

commented

Reviewed pull #12472 at its head: ticked A new test/fork-chain.test.ts builds A, B forked from A, C forked from B (in memory): fork_tree from C lists A, B and C with depth and the word from src/actions/follow_words.ts; from A it lists all three.; A private B is hidden from an outsider but C is not orphaned in what C's owner sees: the node reads as a hidden fork, not a gap.; The owner of B severs B from A with one explicit action (receipted): B reads severed, C still follows B, and A's change no longer reaches B.; Gaps found are fixed in the pull or filed with their numbers in it.; bun test test/fork-chain.test.ts test/mcp-size.test.ts and bun x tsc --noEmit pass; file listed wherever the gate lists tests..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs