Files
zeekay ff59fc4680 fix(build): make gateway main buildable in CI again
Gateway main accumulated breakage while org-wide CI was down (no image
built in a while), so none of it was caught:

- luxfi/metric migration (b85a050) was mechanical s/prometheus/metric/ but
  left prometheus's two-step create-then-Register pattern. luxfi/metric's
  NewCounter create-and-registers on DefaultRegistry, so the explicit
  metric.Register(c) pass (undefined symbol) is dead — removed it.
- zip API drift: Ctx.SendString(code,s) was renamed Ctx.String(code,s).
- Drop local-path replaces (=> ../cloud, ../zip): they break the CI Docker
  build (no siblings in context). Pin hermetic versions instead — cloud at
  origin/main pseudo-version (has HIP-0106 Mount), zip v0.2.1 (has String) —
  and tidy go.mod so `go mod vendor` stops failing the consistency check.
- Dockerfile: fetch private hanzoai/* + luxfi/* modules via an authenticated
  git insteadOf (gh_token BuildKit secret) + GOPRIVATE; bump builder to
  golang:1.26.4 to satisfy the go directive under GOTOOLCHAIN=local.

Cross-compiles clean for linux/amd64 (gateway + ingress). Carries PR #24's
balance-path fix so the prepaid usage gate enforces.
2026-06-17 23:13:47 -07:00
..