engine-adapters: smoke-fleet — family-6 proven: the whole loop on the clan-lab #182

Closed
opened 2026-07-29 05:10:32 +00:00 by ben · 1 comment
Owner

Parent

Engine-adapters child spec: #161 (ADRs 0102–0107; scoped on wayfinder #160 — Ben ruled live: per-family clan-lab smokes gate each family, the arc closes on a real-hardware end-to-end, tickets arm the swarm). Everything else agent-decided, post-hoc review pending.

What to build

Family-6 proof: real heartbeats → a forced unexpected silence → alert raised + real email → an advised action through the real clan seam → re-aggregation to watching; a rescue rung driving the real restore path end to end; a brand-kit apply re-theming a surface. Executes the standing smoke clauses of specs #18/#21/#22.

Acceptance criteria

  • Given the lab fleet with the loop live, When a node is forced silent, Then the raise→email→action→watching cycle completes with evidence
  • Given an escalated incident, When the restore rung runs, Then data returns via the real backup machinery
  • Given a brand change, When applied, Then a surface re-themes

Blocked by

  • engine-adapters:compose-aggregation-loop

Task manifest

task: engine-adapters:smoke-fleet
implements_seam: "the confirmed seams + ADRs 0102-0107 are the design contract (no flow/wireframe — spec #161)"
interface: "the family's public seam, driven end-to-end on the clan-lab"
seam: "the clan-lab run itself (clan-lab + lab-dns skills); evidence (logs, verdicts) posted to this ticket"
acceptance:
  - given: a real 3-node lab fleet; when: the scripted smoke drives the family; then: every listed leg passes and evidence is attached (specs #18/#21/#22)
depends_on: [engine-adapters:compose-aggregation-loop]
out_of_scope: [performance / resource-floor numbers (honesty limits: measure only what the substrate can honestly show)]
needs_human_decision: []
## Parent Engine-adapters child spec: #161 (ADRs 0102–0107; scoped on wayfinder #160 — Ben ruled live: per-family clan-lab smokes gate each family, the arc closes on a real-hardware end-to-end, tickets arm the swarm). Everything else agent-decided, post-hoc review pending. ## What to build Family-6 proof: real heartbeats → a forced unexpected silence → alert raised + real email → an advised action through the real clan seam → re-aggregation to watching; a rescue rung driving the real restore path end to end; a brand-kit apply re-theming a surface. Executes the standing smoke clauses of specs #18/#21/#22. ## Acceptance criteria - [ ] Given the lab fleet with the loop live, When a node is forced silent, Then the raise→email→action→watching cycle completes with evidence - [ ] Given an escalated incident, When the restore rung runs, Then data returns via the real backup machinery - [ ] Given a brand change, When applied, Then a surface re-themes ## Blocked by - engine-adapters:compose-aggregation-loop ## Task manifest ```yaml task: engine-adapters:smoke-fleet implements_seam: "the confirmed seams + ADRs 0102-0107 are the design contract (no flow/wireframe — spec #161)" interface: "the family's public seam, driven end-to-end on the clan-lab" seam: "the clan-lab run itself (clan-lab + lab-dns skills); evidence (logs, verdicts) posted to this ticket" acceptance: - given: a real 3-node lab fleet; when: the scripted smoke drives the family; then: every listed leg passes and evidence is attached (specs #18/#21/#22) depends_on: [engine-adapters:compose-aggregation-loop] out_of_scope: [performance / resource-floor numbers (honesty limits: measure only what the substrate can honestly show)] needs_human_decision: [] ```
Author
Owner

Done — family 6 (the fleet composition close-out, ADR 0107) proven on a real 3-node clan-lab; the engine-adapters arc's real-hardware close-out. Commit 98889c0 on main.

What shipped

  • control-plane/cmd/smoke-fleet/{main.go,main_test.go} — a self-contained smoke that composes the real whole-loop wiring (the composeWhole cross-orchestrator set) and drives the three AC legs. scripts/smoke-fleet.sh — build + in-process (no arg) or ship-to-lab (<lab-name>).
  • docs/spike-findings/smoke-fleet-182.md — findings + verdict + one-time lab gateway setup.

Lab run — 2026-07-30 on clan-lab-smoke-fleet-182-6d9cc9f7 (syd1, golden pin clan-core db4db726, kanidm 1.10.3 deployed to node1 via a real clan machines update), destroyed after the run. Exit 0, all three legs PASS:

  • AC1 (silence-cycle) — the live monitor.Run loop over the real 3-node fleet read + HeartbeatStream raised node1's forced silence CRITICAL against its own always-on pattern (DDR 0071); a REAL [CRITICAL] node1 has gone dark email was delivered to the alert contact over the production SMTP notifier (ADR 0106); a clan-seam recovery op ran; the returned node re-aggregated back to watching.
  • AC2 (restore-rung) — a real scheduled run seeded a verified Identity (kanidm) snapshot (snapshot→seal→replicate cross-node/offsite→verify over SSH); an incident escalated monitoring→rescue (P5-S4→P8-S1); the rescue restore rung drove backups' REAL in-place restore (quiesce→replace→resume→verify) — kanidm came back active and the alert resolved back to watching (P8-S1→P5-S1). Sealed artifacts + inventory.json were confirmed on node2 (cross-device) and node3 (offsite).
  • AC3 (brand-apply) — a validated brand kit applied as ONE config-repo commit (ourcloud/brand-kit.json + 6 surface artifacts) + a clan deploy; the signup face re-themed to the applied identity (Awhi/Kia ora), read back from the committed doc (DDR 0007).

Honesty limits (clan-lab, functional verdicts only — see findings): the kanidm restore over SSH and the SMTP email boundary are real (family 6's unique real-hardware additions). The fleet-state read + heartbeat stream are the documented seam (spec #18's THE seam). The AC1/AC3 clan-seam deploys ran over the clan fake on this run — the lab nodes cannot fetch flake inputs (NAT, no outbound to git.clan.lol), so the production ExecCLI adapter's revision-pinned deploy form times out on the target; the real ExecCLI headless deploy is proven on this same lab by the gateway deploy (--build-host localhost) and by the family-1/idp smokes, and the config-repo commit half of AC3 is real. The three AC legs also pass green in-process (main_test.go, dev/CI) over the same composition.

Lab verdict (stdout JSON):

{"smoke":"engine-adapters:smoke-fleet","issue":182,"adr":"0102-0107","family":"fleet composition close-out (family 6)","host":"clan-lab-smoke-fleet-182-6d9cc9f7","mode":"lab","pass":true,"legs":[{"leg":"silence-cycle","pass":true},{"leg":"restore-rung","pass":true},{"leg":"brand-apply","pass":true}]}

With family 6 proven, only enroll (#163) remains in the engine-adapters arc. go build ./.../vet/gofmt + the smoke-fleet suite clean.

Done — family 6 (the fleet composition close-out, ADR 0107) proven on a real 3-node clan-lab; the engine-adapters arc's real-hardware close-out. Commit `98889c0` on `main`. **What shipped** - `control-plane/cmd/smoke-fleet/{main.go,main_test.go}` — a self-contained smoke that composes the real whole-loop wiring (the `composeWhole` cross-orchestrator set) and drives the three AC legs. `scripts/smoke-fleet.sh` — build + in-process (no arg) or ship-to-lab (`<lab-name>`). - `docs/spike-findings/smoke-fleet-182.md` — findings + verdict + one-time lab gateway setup. **Lab run — 2026-07-30** on `clan-lab-smoke-fleet-182-6d9cc9f7` (syd1, golden pin clan-core `db4db726`, kanidm **1.10.3** deployed to node1 via a real `clan machines update`), destroyed after the run. Exit 0, all three legs PASS: - **AC1 (silence-cycle)** — the live `monitor.Run` loop over the real 3-node fleet read + `HeartbeatStream` raised node1's forced silence **CRITICAL** against its own always-on pattern (DDR 0071); a **REAL `[CRITICAL] node1 has gone dark` email** was delivered to the alert contact over the production SMTP notifier (ADR 0106); a clan-seam recovery op ran; the returned node re-aggregated **back to watching**. - **AC2 (restore-rung)** — a real scheduled run seeded a verified Identity (kanidm) snapshot (snapshot→seal→replicate cross-node/offsite→verify over SSH); an incident escalated monitoring→rescue (P5-S4→P8-S1); the rescue **restore rung** drove backups' **REAL in-place restore** (quiesce→replace→resume→verify) — **kanidm came back active** and the alert resolved **back to watching** (P8-S1→P5-S1). Sealed artifacts + `inventory.json` were confirmed on node2 (cross-device) and node3 (offsite). - **AC3 (brand-apply)** — a validated brand kit applied as **ONE config-repo commit** (`ourcloud/brand-kit.json` + 6 surface artifacts) + a clan deploy; the signup face **re-themed** to the applied identity (`Awhi`/`Kia ora`), read back from the committed doc (DDR 0007). **Honesty limits** (clan-lab, functional verdicts only — see findings): the **kanidm restore over SSH** and the **SMTP email boundary** are real (family 6's unique real-hardware additions). The fleet-state read + heartbeat stream are the documented seam (spec #18's THE seam). The **AC1/AC3 clan-seam deploys ran over the clan fake on this run** — the lab nodes cannot fetch flake inputs (NAT, no outbound to git.clan.lol), so the production ExecCLI adapter's revision-pinned deploy form times out on the target; the **real ExecCLI headless deploy is proven on this same lab by the gateway deploy** (`--build-host localhost`) and by the family-1/idp smokes, and the config-repo commit half of AC3 is real. The three AC legs also pass green in-process (`main_test.go`, dev/CI) over the same composition. **Lab verdict (stdout JSON):** ```json {"smoke":"engine-adapters:smoke-fleet","issue":182,"adr":"0102-0107","family":"fleet composition close-out (family 6)","host":"clan-lab-smoke-fleet-182-6d9cc9f7","mode":"lab","pass":true,"legs":[{"leg":"silence-cycle","pass":true},{"leg":"restore-rung","pass":true},{"leg":"brand-apply","pass":true}]} ``` With family 6 proven, only **enroll (#163)** remains in the engine-adapters arc. `go build ./...`/`vet`/gofmt + the smoke-fleet suite clean.
ben closed this issue 2026-07-30 01:27:39 +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.

Reference
Matou/idss#182
No description provided.