Repository navigation
Board phrase starts the local board server and gives its address (T216) - #112
Merged
Merged
Conversation
- board --setup without --sources uses the standard Claude and Codex roots (CLAUDE_CONFIG_DIR or ~/.claude, then sage; CODEX_HOME or ~/.codex, then sage). Without --config, every board command uses ~/.config/sage-board/board.json. - board --ensure sets the board up when its config is missing, checks what answers on 127.0.0.1 at the configured port, starts a detached server when nothing does (board.log and board.pid next to the config), and prints one line: the address, or why the server is not running. - On the Mac (a loopback Host) the board needs no sign-in; through an allowed host (Tailscale) it still does. - board --set-password asks twice with the echo off and keeps only a salted scrypt hash in place of the random secret; the server checks against it. - The build copies the board package into each plugin, so the hook's board note can name it; the note runs the ensure command first, then the chat board. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e (T216) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…id, quiet missing roots (T216) - F-T216-1: the no-sign-in path needs a loopback peer, a loopback Host and no proxy header. - F-T216-2: one password check at a time (429 for others) and a 1 s delay after a wrong one. - F-T216-3, 10: the server names its config (X-Sage-Board); ensure tells an older board, another config's board and a silent port apart, with the restart command. - F-T216-4: the board is a cross-provider reader (AGENTS.md); providers.test checks its imports; standardSources respects SAGE_HOME. - F-T216-5: phone steps only with allowedHosts; a runnable set-password command; install works from the plugin copy. - F-T216-6, 7: the server writes and removes board.pid; board --stop; ensure says when a restart is needed. - F-T216-8: a missing root is a quiet "not set up yet" note, not a failed update. - F-T216-9: the board guide text. - The first watchers settle 250 ms before the listener opens, and each later new watcher gets one more read, so a logbook created during a watcher's start is not missed (the missing-root test flaked under load before). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The not set up yet note moves into the T218 banners function. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…board.pid, guide from the plugin (T216) - F-T216-19: the start has its own timer, so a watcher event in its first 250 ms (a missing root appears) no longer cancels it; start resolves and close ends. - F-T216-11, 16: stop sends no signal to a board that does not name its process (an older one), whatever board.pid holds; ensure tells how to stop it where it started (Ctrl+C or launchctl bootout), not a stop command. - F-T216-12: when board.pid cannot be written, --serve closes the server and fails. - F-T216-13: board.pid is a new file renamed into place, so a link at that name is never followed. - F-T216-15: the guide supports only the HTTPS form of tailscale serve and warns about a TCP forward. - F-T216-17, 9: the guide's set-up commands run in the plugin's board folder and name the installed path that install prints; a test runs them from an isolated plugin copy. - F-T216-18: the guide says that the login service's board writes board.pid too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 11, 2026
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.
Closes #108
Sage task T216
What the owner gets
board --ensurefirst, as a command of its own, and then the chat board. The ensure command sets the board up when it has no config, starts the server in the background when nothing answers on its port, and prints one line: the address (with "no sign-in needed on this Mac"), or why the server is not running (another program on the port, or a failed start with the log path).board --setupwithout--sourcesuses the standard roots:$CLAUDE_CONFIG_DIR/sageor~/.claude/sage, and$CODEX_HOME/sageor~/.codex/sage. A missing root stays listed. Without--config, every board command uses~/.config/sage-board/board.json. Log and pid go toboard.logandboard.pidnext to it.board --set-passwordasks twice with the echo off (from the terminal only, never an argument), needs 12 characters or more, and keeps only a salted scrypt hash (N 32768, r 8, p 1, 16-byte salt) in place of the random secret. A config with the old secret keeps working until then.packages/sage-board/*.mjsinto each plugin underboard/, so the hook's note can name the command.Checks
npm run buildandnpm run check: pass.🤖 Generated with Claude Code