oficina / equipo Public

plan: proxy feed metric keeps the house prefix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 65ce7924de50f8a56035de53b21e702a3555efee parent b3aea40
1 file changed, +1 −1
  • docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md +1 −1
diff --git a/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md b/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
index 49cfe468..7074cf02 100644
--- a/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
+++ b/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
@@ -168,7 +168,7 @@ func (*Client) Admission(ctx context.Context, attempt string) (hostedwire.Admiss
**Files:** Create `internal/hostedctl/ctlproxy/{ca.go,feed.go,ca_test.go,feed_test.go}`, `internal/hostedctl/schema/0003_proxy.sql`. Modify `internal/hostedctl/http.go:259` (accept `RoleProxy` on proxy routes only), `stop.go` (revoke on stop), `metrics.go`, `cmd/equipo-hosted-controller/config.go`.
-**Interfaces:** routes `GET /v1/proxy/feed`, `POST /v1/proxy/redeem`, `POST /v1/proxy/renew` and `POST /v1/proxy/cert-report` (handled in Task 13), role `proxy` only. `CertLifetime = 15 * time.Minute`; `FeedLifetime = 5 * time.Minute`. A certificate's `NotAfter` is the earlier of 15 minutes and the job's deadline. It carries one URI SAN `equipo-launch://<launch_id>/<attempt_id>/<vm_ref>/<epoch>` and the VM's ECDSA P-256 key from the CSR. Proxy codes are stored as SHA-256 only, single use, valid 2 minutes from the moment the controller first sees the VM `running`, bound to the launch and the VM reference. Renewal is allowed once per serial, for the same launch, VM and epoch, before `NotAfter`; it revokes the old serial. Stop or epoch change revokes every serial of the launch. The controller records each proxy key's last feed request; `proxy_last_feed_seconds{proxy}` is a metric, and an alert `proxy_silent` fires once when a configured proxy has not polled for 3 minutes.
+**Interfaces:** routes `GET /v1/proxy/feed`, `POST /v1/proxy/redeem`, `POST /v1/proxy/renew` and `POST /v1/proxy/cert-report` (handled in Task 13), role `proxy` only. `CertLifetime = 15 * time.Minute`; `FeedLifetime = 5 * time.Minute`. A certificate's `NotAfter` is the earlier of 15 minutes and the job's deadline. It carries one URI SAN `equipo-launch://<launch_id>/<attempt_id>/<vm_ref>/<epoch>` and the VM's ECDSA P-256 key from the CSR. Proxy codes are stored as SHA-256 only, single use, valid 2 minutes from the moment the controller first sees the VM `running`, bound to the launch and the VM reference. Renewal is allowed once per serial, for the same launch, VM and epoch, before `NotAfter`; it revokes the old serial. Stop or epoch change revokes every serial of the launch. The controller records each proxy key's last feed request; `equipo_hosted_proxy_last_feed_seconds{proxy}` is a metric, and an alert `proxy_silent` fires once when a configured proxy has not polled for 3 minutes.
This task also moves the launch payload to `hostedwire.BootstrapV2`: `Services` from the intent's `services_json`, the proxy fields from the manifest, the proxy code minted here; `Replay` re-sends exactly that saved payload.