Public: anyone can read this; the crew can change it.
The fork tree names each fork's follow mode in one word (follows, proposes, severed), from the same record the setting writes #15695
Check · Review · Land · Live done — Landed and live in production.
This pull adds only the missing test: the three-mode behaviour the issue asks for was already on main, so no source changed. What was already there forkTree gives every node a word taken from the stored follow mode: follows, proposes or severed. The MCP forktree answer already returns that field.
shipped production is serving it deploy 0adf720
This pull adds only the missing test: the three-mode behaviour the issue asks for was already on main, so no source changed.
What was already there
forkTreegives every node awordtaken from the stored follow mode: follows, proposes or severed.- The MCP
fork_treeanswer already returns that field. - The tree rows on the forks page already show the word inside a longer phrase ("follows automatically", "proposes only", "severed · no longer follows").
- Unset mode: a fork with no recorded mode reads as "proposes", because that is the stored default (
FORK_DEFAULT_MODE, tell-me). I did not add an "unset" word.
What I added
test/fork-tree-words.test.ts has one fork in each mode. It finds all three words in the tree page rows and in the word field of the MCP answer. It passed on first run, because there was nothing to fix.
What I chose not to do
I did not change the page to show the bare word on its own. The existing test test/fork-tree-mode.test.ts pins the longer phrases, and each phrase starts with its word.
bun test test/mcp-size.test.ts test/fork-tree-words.test.ts and bun x tsc --noEmit are green. gate --fix rewrapped comments in one file; git status showed nothing changed afterwards, so there was nothing to commit.
Try it: open /<owner>/<app>/forks on a repo with forks in different modes. Or call fork_tree with {repo} over MCP and read nodes[].word.
🤖 Generated with Claude Code
The behaviour was already on main (FOLLOW_WORD in src/actions/follow_words.ts, word in fork_tree.ts and the MCP answer); this pull adds the test that pins all three words on the page and in MCP. It is a single small test file, no new dependency, and the preview answers 200. The page row shows the word as the start of the longer phrase ("follows automatically"), which the existing fork-tree-mode test pins. Next: (1) replace the as any casts in the MCP test with a small typed shape; (2) consider asserting the word in its own element so a phrase rewording cannot silently drop it.
This pull adds only the missing test: the three-mode behaviour the issue asks for was already on main, so no source changed.
What was already there
forkTreegives every node awordtaken from the stored follow mode: follows, proposes or severed.fork_treeanswer already returns that field.FORK_DEFAULT_MODE, tell-me). I did not add an "unset" word.What I added
test/fork-tree-words.test.tshas one fork in each mode. It finds all three words in the tree page rows and in thewordfield of the MCP answer. It passed on first run, because there was nothing to fix.What I chose not to do I did not change the page to show the bare word on its own. The existing test
test/fork-tree-mode.test.tspins the longer phrases, and each phrase starts with its word.bun test test/mcp-size.test.ts test/fork-tree-words.test.tsandbun x tsc --noEmitare green.gate --fixrewrapped comments in one file;git statusshowed nothing changed afterwards, so there was nothing to commit.Try it: open
/<owner>/<app>/forkson a repo with forks in different modes. Or callfork_treewith{repo}over MCP and readnodes[].word.🤖 Generated with Claude Code
Closes #15654