From 646a86f2c3628ed035e7d76cbca4504e5d585d7c Mon Sep 17 00:00:00 2001 From: Mathias Bergqvist Date: Sun, 3 May 2026 21:01:51 +0200 Subject: [PATCH] =?UTF-8?q?docs(specs):=20fix=20brain=20URL=20port=20(3300?= =?UTF-8?q?=20=E2=86=92=2030330)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pod-internal port is 3300; Tailscale-exposed NodePort is 30330. External clients including the planned hyperguild CLI hit 30330. --- docs/superpowers/specs/2026-05-03-hyperguild-cli-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.