monitor: the per-service check port and the revisions known-good rung are honest nils #309

Closed
opened 2026-08-05 23:11:30 +00:00 by ben · 3 comments
Owner

Known honest-nil slice, filed for the production-deployment ledger (monitoring spec #18).

control-plane/cmd/control-plane/whole_composition.go:209 — monitor.New(projection, nil, beats, pv, …, nil, intake, clock): Ports (per-service check + rebalance) and Revisions (the known-good rung of the respond ladder) have no real adapter yet. The monitor observes heartbeats, provisioning hand-off and backups coverage, but cannot probe an individual service or roll a service back to a known-good revision from the respond ladder.

Ask: slot the two adapters into the monitoring arc and decide whether either gates production (per-service checks likely matter for honest service health; the known-good rung may follow the update-channel slice).


Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).

Known honest-nil slice, filed for the production-deployment ledger (monitoring spec #18). `control-plane/cmd/control-plane/whole_composition.go:209` — `monitor.New(projection, nil, beats, pv, …, nil, intake, clock)`: Ports (per-service check + rebalance) and Revisions (the known-good rung of the respond ladder) have no real adapter yet. The monitor observes heartbeats, provisioning hand-off and backups coverage, but cannot probe an individual service or roll a service back to a known-good revision from the respond ladder. **Ask:** slot the two adapters into the monitoring arc and decide whether either gates production (per-service checks likely matter for honest service health; the known-good rung may follow the update-channel slice). --- _Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code)._
Author
Owner

This was generated by AI during triage.

Verification: Confirmed on main. The monitor composes with nil for both the per-service check-port adapter and the revisions (known-good rung) adapter, exactly as described — the monitor observes heartbeats, provisioning hand-off and backups coverage today, but cannot probe an individual service or roll one back to a known-good revision.

Recommendation: ready-for-human — deciding whether either adapter gates production (and which one is more urgent) is a roadmap call, not something to infer from the code:

  1. Does the per-service check-port adapter gate production (the report suggests this is the more likely candidate — "honest service health" probably matters day one)?
  2. Does the known-good-rung adapter gate production, or does it more naturally follow once the update-channel slice (#308) lands?

Leaving enhancement + moving to ready-for-human.

> *This was generated by AI during triage.* **Verification:** Confirmed on `main`. The monitor composes with `nil` for both the per-service check-port adapter and the revisions (known-good rung) adapter, exactly as described — the monitor observes heartbeats, provisioning hand-off and backups coverage today, but cannot probe an individual service or roll one back to a known-good revision. **Recommendation:** `ready-for-human` — deciding whether either adapter gates production (and which one is more urgent) is a roadmap call, not something to infer from the code: 1. Does the per-service check-port adapter gate production (the report suggests this is the more likely candidate — "honest service health" probably matters day one)? 2. Does the known-good-rung adapter gate production, or does it more naturally follow once the update-channel slice (#308) lands? Leaving `enhancement` + moving to `ready-for-human`.
Author
Owner

Ben ruled (2026-08-06, ready-for-human sweep):

  1. Per-service checks GATE production — a device heartbeating green while a service on it is dead is not honest health. This ticket narrows to that half: build the real Ports adapter (per-service check + rebalance) against monitoring spec #18. Flipped ready-for-agent.
  2. The known-good rollback rung rides the update channel — split out as #315 (no-triage, depends on #308); it does not gate production on its own.
Ben ruled (2026-08-06, ready-for-human sweep): 1. **Per-service checks GATE production** — a device heartbeating green while a service on it is dead is not honest health. This ticket narrows to that half: build the real Ports adapter (per-service check + rebalance) against monitoring spec #18. Flipped `ready-for-agent`. 2. **The known-good rollback rung rides the update channel** — split out as #315 (`no-triage`, depends on #308); it does not gate production on its own.
Author
Owner

Done in 14f4afc (on origin/main).

Ben's ruling (2026-08-06) narrowed this to the per-service check port, the production-gating half; the known-good rollback rung is #315.

sharedHealthRegistry — the ONE per-service registry provisioning's gate and rescue's rehome rung already read (ADR 0062/0107) — now also satisfies monitor.Ports: HealthCheck delegates to the same registry provisioning gated on at deploy (so the check monitoring re-runs on its schedule is that same check), and Reconciler/RegisterReconciler carry each catalogue service's out-of-band reconciler op for the respond ladder's rebalance rung (ADR 0070). Both are honest-empty on a freshly-founded fleet — no fabricated pass, no phantom rebalance rung (ADR 0100). The whole composition now wires monitor.New(projection, ports, …) instead of nil.

Revisions (the known-good rollback rung) stays an honest nil, riding the update-channel slice (#315/#308).

Evidence: red-first TestHealthRegistry_SatisfiesMonitorPortsContract and TestComposedMonitor_ProbesIndividualServiceThroughRealPorts in control-plane/cmd/control-plane/monitor_ports_wiring_test.go; go build ./... + go test (control-plane, monitor) green; pre-push go-ci gate green.

Done in 14f4afc (on origin/main). Ben's ruling (2026-08-06) narrowed this to the per-service check port, the production-gating half; the known-good rollback rung is #315. `sharedHealthRegistry` — the ONE per-service registry provisioning's gate and rescue's rehome rung already read (ADR 0062/0107) — now also satisfies `monitor.Ports`: `HealthCheck` delegates to the same registry provisioning gated on at deploy (so the check monitoring re-runs on its schedule is that same check), and `Reconciler`/`RegisterReconciler` carry each catalogue service's out-of-band reconciler op for the respond ladder's rebalance rung (ADR 0070). Both are honest-empty on a freshly-founded fleet — no fabricated pass, no phantom rebalance rung (ADR 0100). The whole composition now wires `monitor.New(projection, ports, …)` instead of `nil`. `Revisions` (the known-good rollback rung) stays an honest nil, riding the update-channel slice (#315/#308). Evidence: red-first `TestHealthRegistry_SatisfiesMonitorPortsContract` and `TestComposedMonitor_ProbesIndividualServiceThroughRealPorts` in `control-plane/cmd/control-plane/monitor_ports_wiring_test.go`; `go build ./...` + `go test` (control-plane, monitor) green; pre-push go-ci gate green.
ben closed this issue 2026-08-06 21:29:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#309
No description provided.