serve
Installation
SKILL.md
/serve (bro)
All mechanics live in the bro CLI. This skill is policy only.
Prereq: bro on PATH or npx -y @broject/bro@0 (major-pinned), plus
bd — the snapshot route and a {molStep}-only spawn resolve through
the shared beads store.
bro fleet serve hosts the agents facade plus the watch snapshot as HTTP/JSON
so TUI/webui/IDE clients are thin — they never shell out to bd/gh
themselves. The loopback bind IS the trust boundary: 127.0.0.1 only, no
--host flag, no remote exposure in v1. Writes are gated by a session
token — see below.
Command
| Command | What it does |
|---|---|
bro fleet serve [--port N] |
Foreground server; default port is ephemeral. The bound URL is printed and written to <git-common-dir>/bro/serve.json (mode 0600) — that file is how clients discover the endpoint AND the session token |