Repository navigation
fork seams: announce the thread menu's MCP profile lines (MCP profile design PR 3, step 1); also restores the HO5 announcement lost in #777 - #807
Merged
Conversation
… design PR 3, step 1) List only. The thread menu gets the MCP profile entry: the thread's effective profile, and the owner's pick or clear for a client that may change settings. Its logic and runtime are fork files (apps/web/src/components/fork/mcpProfile/); upstream's menu files need four lines in threadActionMenu.logic.ts and three each in useThreadActionMenu.ts and Sidebar.tsx, announced here. The code is on a branch pushed without a pull request until this merges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The squash merge of #777 dropped every HO5 announced line from .github/fork-seams.json. Restore them exactly as they were, inside the same per-file entries as this PR's MCP profile lines (one key per file). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scuttletoby
force-pushed
the
fork/seams-mcp-profile-menu
branch
from
November 21, 2026 20:08
27ad3fa to
b568288
Compare
# Conflicts: # .github/fork-seams.json
Open
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP profile design PR 3, thread menu: step 1 of "Adding a seam line" in docs/fork/updates.md (the list only). No code change.
What and why
The thread menu gets an MCP profile entry: it shows the thread's effective profile (the resolver's result, "cut down to the parent's" for a child) and lets a client that may change settings pick a profile for that thread or clear the pick, writing only
mcpThreadProfiles[threadId]("A change applies from the next message"). The entry's logic and runtime are fork files (apps/web/src/components/fork/mcpProfile/, from #804). Upstream's menu files need these lines, announced here (since2026-11-21):apps/web/src/components/threadActionMenu.logic.ts(new entry): the import, one menu id type inThreadActionMenuId(a line of its own, before| "delete";, so no upstream line changes), one optional state field, and...ForkMcpMenu.mcpProfileMenuItems(state.forkMcpProfile),before the Copy item.apps/web/src/hooks/useThreadActionMenu.ts(new entry): the import,forkMcpProfile: ForkMcp.readMcpProfileMenuState(threadRef),in the build call, andif (ForkMcp.runIfMcpProfileMenuAction(threadRef, action)) return;after the permission check.apps/web/src/components/Sidebar.tsx(new entry): the same three for the sidebar's own thread menu (clicked.valuein place ofaction).The state is read synchronously (a runtime module the fork file loads in the background), so neither menu waits before it opens and upstream's menu tests, which mock
reactand the state modules, pass unchanged.Also restores the HO5 announcement lost in #777
#774 announced the HO5 ("Hand off now", handoff divider, waiting banner) lines, but #777's squash merge, from a branch made before #774, dropped every one of them from main's
.github/fork-seams.json(compare it at 73f3a76 and at e0e01b9). This PR puts each HO5 line back exactly as it was at 73f3a76,since2026-11-21:threadActionMenu.logic.ts,useThreadActionMenu.ts,Sidebar.tsx: the HO5 lines sit in the same entries as the MCP profile lines above (one key per file; HO5'swhyfirst, then this PR's).ChatView.tsx,chat/TimelineUserMessageRow.tsx,chat/V2LifecycleRow.tsx: HO5's own entries, as they were.No HO5 line is changed, added or left out; the file has no duplicate key.
Step 2
The code is on branch
fork/mcp-profile-thread-menu(pushed, no pull request), on top of #804. It moves these lines toadded. Checked:fork-seam-check.cjs --config-ref <this branch> origin/main fork/mcp-profile-thread-menuis green; against main's list it is red (the three files have no entry), as expected. The pull request for it follows once this and #804 merge.Checks
node .github/scripts/fork-seam-check.cjs --config-ref origin/main origin/main HEAD: green.node .github/scripts/fork-seam-check.test.cjs: 114/114 on this tree (no announced line is already in its file).fork-seam-check.cjs --config-ref origin/fork/seams-mcp-profile-menu origin/main origin/fork/mcp-profile-thread-menugreen.General vs project
General: seam-list entries for a fork feature (MCP profiles) any user of a T3 fork can use. Nothing here is about one project.
Upstream fit: no upstream file changes here; the step 2 lines are one import, one state field and one call each, and the entry lives in fork files.
MCP profile design PR 3
🤖 Generated with Claude Code