engine-adapters: compose-cross-orchestrator — injected views wire the orchestrators together (behind #158) #180
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.
Blocks
Depends on
Reference
Matou/idss#180
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?
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
Cross-orchestrator ports become injected views of the real orchestrators — never copies (ADR 0107): rescue's Restorer = the real backup orchestrator, AlertResolver = monitor, Provisioning = provision, the rehome gate = the shared HealthCheck registry, KeyLedger = the config-repo document; members' rescue read = rescue's share ledger; Settings' brand-kit Apply goes real through the clan adapter's commit-and-deploy path (theming seam contract unchanged). Composes behind #158's landed rescue mounts — the arc's one transport-frontier edge.
Acceptance criteria
Blocked by
Task manifest
Landed in
163a2b3onmain(engine-adapters:compose-cross-orchestrator, the fan-in family, ADR 0107).The cross-orchestrator ports are now injected views of the real orchestrators, never copies:
backupRestorer); AlertResolver = the real *monitor.Orchestrator (newmonitor.Resolvereturns an escalated alert to watching); Provisioning = the real *provision.Orchestrator; the rehome gate = the shared HealthCheck registry provisioning reads (provision.WithPorts, one instance).memberRescueview over rescue's OWN share ledger + Keyring.ConfigRepoKeyLedger).configRepoSettings).main.go serves ONE jointly-wired composition (
compose(),compose.go); the resting-composition helpers delegate to it. Config-repo-backed ports gate onOURCLOUD_CONFIG_REPO, else rest. Because every cross-orchestrator port is reached only from state a freshly-founded control plane cannot hold, resting reads and every prior seam test are unchanged.Acceptance — proven by integration tests over the jointly-wired real orchestrators (fakes only at the true externals),
control-plane/cmd/control-plane/crossorchestrator_integration_test.go:TestCrossOrchestrator_RestoreRungHandsToRealBackupAndResolvesMonitor— an escalated incident's restore rung hands to the real backup in-place restore, and on recovery the real monitor's alert returns to watching; effects land in the owning orchestrators' own state.TestCrossOrchestrator_BrandKitApplyCommitsAndDeploys— a validated brand kit's Apply lands the compiled artifacts as one git commit and deploys that revision through the clan adapter, scoped to the gateway.go build ./.../vet/ gofmt + the full Go suite clean. Post-hoc-review note: the escalate edge (monitor→rescue intake) is wired here though the manifest port set named only rescue's outbound views — a coherent-composition call, harmless until the aggregation loop (#181) drives it.Remaining in the arc: enroll (#163) + aggregation-loop root (#181).
ben referenced this issue2026-07-30 19:53:51 +00:00