Repository navigation
docs: troubleshooting, environment and orchestration pages; the mcp crate is not deferred - #567
Merged
Merged
Conversation
… crate no longer deferred - live-bridge.md: drop the hand-kept "What is still open" table for a pointer to the releases, CHANGELOG.md and the area:mcp issue list. - New Reference pages: Troubleshooting (symptom, cause, fix, linking to the page that owns each fact) and Environment variables (what TermHerd reads, what a session receives or loses, and what a custom ZDOTDIR means for zsh integration). - New MCP page: Orchestrating sessions, the recipes for one Claude session driving others through the live bridge. - ARCHITECTURE.md: the mcp name belongs to the shipped control surface; only the IDE bridge stays deferred, and no IdeBridge port exists. The stdio page and docs/agents/mcp.md now point at section 7 for its sketch. - Book architecture page: add private-fs, and the second sanctioned unsafe module. Closes #260
A new Claude worker is already idle when the open returns, and Claude Code pads its screen with blank rows, so the default 40-line read can miss the reply.
…ages # Conflicts: # docs/ARCHITECTURE.md
This was referenced Nov 11, 2026
bastien-gallay
added a commit
that referenced
this pull request
Nov 11, 2026
Claude Code pads its screen with blank rows between the conversation and the input box, so `read_terminal`'s default of 40 lines can hold none of the reply. A live run while verifying the book's *Orchestrating sessions* page (#567) read a `PONG` reply as lost until the read was widened. The book already carries the rule; this adds it where agents meet it: the `drive-termherd` skill's observe step and the calling rules in `docs/agents/mcp.md`. Docs only, no CHANGELOG entry.
bastien-gallay
added a commit
that referenced
this pull request
Nov 11, 2026
… .wrap.md (#571) Wrap of the milestone #567 / #570 / #569. - **zsh is integrated by default, not always.** The book's status page, the README and `f-status-notifications` said zsh is always integrated; #569 is the exception (a `~/.zshenv` that exports `ZDOTDIR`). Each now names it and points at the book's Environment variables page. - **README.** The Documentation blurb lists the new book pages; the MCP section's hand-kept follow-up list (the same kind #567 removed from the live-bridge page) becomes a pointer to the Orchestrating sessions page and the `area:mcp` issue list. - **`.wrap.md`.** Where a wrap of this repo reconciles, its checks, and what one gets wrong here. Docs only, no CHANGELOG entry.
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.
What
while a dozen
area:mcpissues are open) becomes a pointer to the releasenotes,
CHANGELOG.mdand thearea:mcpissue list. No other book pagecarried a hand-kept gap list, and nothing linked to the removed anchor.
where the log is, the Windows console window before 11 24H2, lost
notification clicks, a Claude session with no
termherdMCP server,settings.jsonset aside / not reloaded / clamped, a shell stuck onstarting. Each entry links to the page that owns the fact.(
TERMHERD_MCP_ATTACH,RUST_LOG,TMPDIR/TMP,USERPROFILE/HOME,ZDOTDIR/TERMHERD_ORIG_ZDOTDIR), what every session receives (TERM,TERM_PROGRAM,TERM_PROGRAM_VERSION, zsh'sZDOTDIRandTERMHERD_ORIG_ZDOTDIR) and the Claude session variables it strips, pluswhat a custom
ZDOTDIRmeans for zsh integration.brief-file handover, act → wait (busy, then idle) → read, the 5-minute
wait cap,
allow_claude_nesting, suggestions in another tab's input box,screenshot last. Self-contained, so it can later be served as a resource.
docs/ARCHITECTURE.md: themcpname now belongs to the shippedcontrol surface; only the IDE bridge stays deferred. The risk entry no
longer claims an
IdeBridgeport exists incore(none does). The stdiopage and
docs/agents/mcp.mdnow cite §7 for the IDE-bridge sketch,matching
AGENTS.md.private-fs, and the Win32 processlisting as the second sanctioned
unsafemodule.Docs only: no binary change, so no
CHANGELOG.mdentry.Found while verifying
A zsh user whose
~/.zshenvitself exportsZDOTDIRgets no prompt markswhen TermHerd starts from the Dock or a desktop launcher: sourcing that file
redirects zsh to the user's directory, so TermHerd's generated
.zshrcneverruns. Reproduced with zsh 5.9 and the generated files' shape; documented on
the Environment variables page, not fixed here.
Closes #260