member: offboard-reconciler — the fate catalogue aggregates over real service ports #213
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#213
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
Members spec #19 (the member lifecycle's leaving side). Gap audit 2026-07-30 (post #191–#195 sweep). Not on #183's journey — hardening filed alongside the blocker set, confirmed by Ben.
What's true today
What to build
Real service-port implementations for the provisioned services that hold member data or credentials (Nextcloud first — it's the fleet's first real service), registered into the catalogue in the whole composition, so a member's suspend/offboard fans out to real per-service answers and the disable reconciler reconciles against truth.
Acceptance criteria
Task manifest
Blocks
None — #183's journey invites; it doesn't offboard.
Done in
4a4114e(onorigin/main).The member-orbit catalogue no longer aggregates over nothing:
internal/nextcloud— the fleet's first realmemberorbit.ServicePort, over Nextcloud's OCS Provisioning API.DisableCredentials/EnableCredentials(suspend move 3, ADR 0074 — disables/enables the account, killing the non-OIDC WebDAV/app-password credentials) and theArchiveoffboard fate (ADR 0075, disabled-kept-in-place, v1 never deletes), each reconciling against the service's real enabled-state (reads it first, acts only to converge; a pass over a member already at service truth is a truthful no-op, ADR 0100).Datareads account+quota for the removal confirm's fate row.Reassignis honestly refused (ErrReassignUnsupported— file-ownership transfer needs an occ transport the OCS HTTP API can't deliver; deferred as new lifecycle semantics).RoleMappingis front-door-only.memberorbit.CataloguegrewExpect/Gaps— a provisioned member-state service with no registered port is reported as an honest gap, never a silent all-clear.OURCLOUD_NEXTCLOUD_URL/_ADMIN_USER/_ADMIN_PASSWORD, clan vars) and declares Nextcloud expected, logging the gap at boot when the connection is absent; the resting composition is unchanged.Acceptance:
internal/nextcloud/integration_test.go— suspend disables the account at the service; removal runs the archive fate; also the OCS contract tests innextcloud_test.go.TestCatalogue_ReportsUnportedProvisionedGap+memberorbitgap tests + the whole-composition gap test incontrol-plane/.../offboard_catalogue_test.go.TestDisableCredentials_ReconcilesAgainstRealState(a second pass over an already-disabled account issues no second OCS write) + the integration seam.Evidence:
internal/nextcloud/{nextcloud,integration}_test.go,internal/memberorbit/memberorbit_test.go,control-plane/cmd/control-plane/offboard_catalogue_test.go.Note: the sandbox has no Go toolchain (#198), so verification was by careful review; the seam runs
go build/vet/test+golangci-linton push.