Closed
Labels
claudeA sage task that Claude owns: context for Codex, do not build it
Description
Owner: Claude (the sage). Sage task T216. Size: small. Context for Codex: Claude builds this; it touches the board phrase note in the Claude hook and the board command's setup.
Owner request (2026-10-11)
"You should start it on mac if I say show board." When the owner types the board phrase, the local board server (PR #91) must be running, and the owner gets its address, without running any command by hand.
Today
- The board phrase gives only the chat board (the hook's board note tells the chief to run the board view).
- The server's first-time setup takes the logbook roots only as inline JSON on the command line, and the sage hook refuses that command for the chief, so only the owner can set it up (also noted on Board follow-ups from QA: one broken project freezes the live board; README phrase table; PR link on the task page; browser test channel (PR #91) #100).
Goal
- Setup the sage can run: the board command sets itself up from the standard roots of the current user (the Claude root under the Claude config folder and the Codex root under the Codex home), with no inline paths, when no config exists. Same private config file, same random secret, same checks (config outside the roots).
- The board phrase starts the server: the hook's board note tells the chief to (a) run the setup if no config exists, (b) check whether the server answers on 127.0.0.1 at the configured port, (c) start it in the background if not, and (d) show the address and the sign-in hint (user "sage"; the password is the secret in the private config file, never printed in chat) next to the chat board. A server that is already running is left as it is.
- Fail soft: if the port is busy with something else, or the start fails, the chat board still shows, with one line that says why the server is not running and what to do.
Not in scope
The login item (launchd) and Tailscale stay manual and optional (the owner: "the login item is not high priority").
Acceptance
- Tests: setup without inline paths writes the config from the standard roots (in a scratch home); the board note names the start-if-needed steps; a running server is not started twice; a busy port gives the one-line reason.
- README board section: "show board" starts the local server on the Mac if needed and gives its address.
- npm run build, npm run check and npm test pass with fake ps, pgrep and kill first on PATH.
Metadata
Metadata
Assignees
Labels
claudeA sage task that Claude owns: context for Codex, do not build it
Activity
erickb336 commentedon Oct 11, 2026
PR #112 builds this issue (T216). Review cycle 1 is running.
erickb336 commentedon Oct 11, 2026
Owner decision: no random secret. The board writes no secret; phone access stays off until the owner sets a password once in a terminal. This lands in a follow-up task (T229) right after PR #112 merges.