diff --git a/docs/superpowers/specs/2026-05-03-hyperguild-cli-design.md b/docs/superpowers/specs/2026-05-03-hyperguild-cli-design.md index 6ad8717..8eeca1d 100644 --- a/docs/superpowers/specs/2026-05-03-hyperguild-cli-design.md +++ b/docs/superpowers/specs/2026-05-03-hyperguild-cli-design.md @@ -27,7 +27,7 @@ Three needs converge on a single small Go binary: - **Go 1.26.1**, project default. - **Module:** `github.com/mathiasbq/supervisor`, peer to `cmd/supervisor/`. New code at `cmd/hyperguild/`. The module name keeps its historical `supervisor` value — renaming the module is out of scope and would touch every import. - **Reuse `internal/tier`** unchanged. The CLI is a thin wrapper around `tier.Detect`. -- **Brain endpoint configurable** via `BRAIN_URL` env var (default `http://koala:3300`). No hostname literals embedded in the CLI body — sourced from env per the existing "logical-addresses-in-instructions" memory. +- **Brain endpoint configurable** via `BRAIN_URL` env var (default `http://koala:30330` — Tailscale-exposed NodePort, both MCP at `/mcp` and HTTP REST at `/query`, `/write`, etc., share the port). No hostname literals embedded in the CLI body — sourced from env per the existing "logical-addresses-in-instructions" memory. - **Test discipline:** table-driven, testify, fakes for HTTP and tier probing. No live network in tests. - **Errors:** wrapped via `fmt.Errorf("op: %w", err)`. No naked returns. Stderr for errors, stdout for results.