founding + IDIP: services picked at founding ALL fail — the founding-time provisioner rewrites the front door as KANIDM's, and leaves the config repo un-evaluable so nothing can deploy afterwards #1701
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1701
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?
What happened
Nine services placed on the gateway at founding (files, docs-editing, calendar, document-archive, surveys, newsletters, data-collections, whakapapa, archive), identity = IDIP. Founding reached hand-off live, every service card reads NOT RUNNING / Not open yet. Deploy log:
Cause (config repo history, laptop
~/.config/IDSS/clan-configand gateway/srv/idss/config)4861059(founding compose):front-door.nixis the IDIP front door — 10 KERIA routes, no kanidm reference.c63c41e"attach front door routes" (the founding-time services leg, 14:57:02):front-door.nixrewritten WHOLE as the Kanidm front door — KERIA routes gone,config.clan.core.vars.generators.kanidm-adminsreferenced.files.nix,newsletters.nix,paperless.nix,whakapapa.nixare rendered Kanidm-flavoured too.This is exactly the failure
reproduceIdentityPath(internal/provision/deploy.go:~1540, #788) exists to prevent — but the orchestrator the FOUNDING-time provisioner builds is not told the community is IDIP (bridgeIDPunset), so the rewrite reverts the identity axis. Provision-on-founding (phase 9, #1491) was proven on the Kanidm path only; IDIP drives install services from the panel after founding. Founding-time services + IDIP has never run.Second defect — the failed leg is not rolled back
The preflight rightly refused, so the RUNNING gateway is intact (IDIP front door still serving). But the ten commits stay at HEAD in both repos: the machine imports eight service modules and a Kanidm front door, and does not evaluate. Every later deploy is dead on arrival — a control-panel install, a brand apply, and the update lane's pin-commit deploy. The hand-off copy "the community stays live — add it from the control panel" is therefore untrue. And had it evaluated, it would have swapped the sign-in front door for a Kanidm that does not exist.
Fix
bridgeIDP) — one constructor, not two. Seam test: IDIP community + founding-time service ⇒ front door keeps its KERIA routes, nokanidm-*generator referenced, node evaluates.Repair on the demo (Ben's hands — kept community)
Revert
3a8e5dc..c780e44in/srv/idss/configon the gateway (later commits touch only vars / org-identity), confirm the node evaluates, then install the seven from the panel.Found on the hand re-founding of Whakatōhea Demo 2026-09-21 (rented + IDIP). Build:
idss_0.1.0_amd64.debsha256ecff1f99…6e87febc, source5b910ef3.Demo repaired 2026-09-21 (Ben's go-ahead):
git revert 3a8e5dc^..c780e44in/srv/idss/config(18 revert commits, rollback tagbefore-repair-1701). Result:machines/gatewaybyte-identical to the founding composef7a3398, 0kanidm-adminsreferences, 10 KERIA routes in the front door, full toplevel eval passes on the gateway. Orphan service var generators (nextcloud-db, *-secrets) remain invars/— harmless, reused on install.swarm-claim host=bens-mac-04 run=29511
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1701 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope