Engine-adapters arc — scope: the v1 adapter families, validation substrate, and sequencing #160
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
The production control plane runs resting orchestrators: reads project an honest freshly-founded state, and every engine write port fails loud (ADR 0100 bars fakes in production). The engine-adapters arc — flagged in STATUS.md's "Known later slices" and named as future map work by the backups-rescue-live handback — builds the real production adapters behind those ports. Scope it:
control-plane/cmd/control-plane/main.goenumerate the candidate ports: the clan seam (deploys, node lifecycle), the backup engine's eight write verbs, the provisioning deploy engine, the member orchestrator's twelve ports (incl. the kanidm idp), monitoring'sNotifier, the rescue orchestrators' adapter set, the fleet-state/heartbeat inputs, and updates' release source.Parent
Wayfinder map — OurCloud v1 program scope (Phase 0): #7
Resolution — the engine-adapters arc, scoped
Worked 2026-07-28 (agent-run per the auto-accept precedent). Ben ruled the two starred decisions live in-session; everything else is agent-decided and flagged for his post-hoc review.
1. What the arc is
The single gate between "dashboard + transport testable" (true today) and "OurCloud operates a real fleet": the resting orchestrators' fail-loud write ports (ADR 0100) get real backings, family by family, each family ending by replacing its resting stubs in the composition root (
control-plane/cmd/control-plane/main.go) while every still-unwired neighbour keeps failing loud.2. The v1 adapter families (agent-decided)
Six families:
clan.Clandriving the pinned clan CLI headlessly, per S13's proven runner mechanics (commit-then-apply-exact-revision, layered outcome classification, conflict-marker refusal,Supplyclosure seeding) and Q2.2's takeover reconciliations. One adapter serves provisioning's deploy engine, rescue's rungs, and founding's stand-up.kanidmWithSecretProvisioning_1_10; reset links ride kanidm's native reset token).notify@mail.matou.nz, for now — the alert channel stays independent of the fleet being monitored; the port stays channel-agnostic.Restorer= the real backup orchestrator,AlertResolver= monitor,Provisioning= provision; members' rescue and reconciler reads; the heartbeat stream feeding monitoring) and starts the monitor aggregation loop — the arc's fan-in.3. ★ Validation substrate (Ben's ruling, live 2026-07-28): lab-gated + hardware close-out
Each family carries an executable clan-lab smoke as its own follow-on slice — the family counts as proven only when its smoke passes on the DigitalOcean clan-lab (the spike substrate;
clan-lab/lab-dnsskills). This is where the feature specs' standing "non-gating real-lab smoke" clauses become executable — the spec cross-links them. The arc closes with one end-to-end journey on real hardware (found → enrol → provision → back up → invite → alert → rescue), aready-for-humanclose-out ticket — Ben supplies the machines.4. ★ Swarm entry (Ben's ruling, live 2026-07-28): arm immediately
Tickets ship
ready-for-agentwith nativedepends_onedges; the live swarm builds in dependency order. The arc's ADRs/DDRs are agent-decided-flagged; Ben reviews post-hoc.5. Sequencing constraints (agent-decided)
6. Out of scope (boundary lines)
restingReleaseSourcestays resting; #149 stays a transport slice.sopstoken mislabels itmissing_varand eats the transport retry #1210rehearsal-report.shdrifted - bdb42ff6’s token-leak fix must land in dev-factory (which still leaks) and ride back on a FACTORY_REF bump #1683