idip: seed-leg-idip — the IDIP seed leg provisions the identity stack instead of kanidm #778
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.
Blocks
Depends on
Reference
Matou/idss#778
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
Feature spec: #767 (idip; wayfinder map #725).
What to build
The conditional seed leg (DDR 0200, ADR 0199): when IDIP was chosen at S3a, whichever carrier journey runs (rented S7, own-VPS S7a, at-your-place S7b, private VAR) provisions KERIA + witness + schema server + idss-idp instead of the kanidm block — carrier legs otherwise unchanged — with the bridge's OIDC clients (the gate client, catalogue services, Netbird) declared in Nix exactly as the kanidm path declares its own. The identity doors must be TLS-live behind the front door before any identity leg runs: the identity work is sequenced after the carrier's door probe.
Acceptance criteria
Blocked by
Task manifest
swarm-claim host=elitebook-distributed-server-03 run=10055
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Scope boundary for the seed-leg render branch (all two-way doors, revertible by a later commit, provable by the config-repo render tests this slice ships):
The
idss-idpunit references a not-yet-built binary at the seeded path/srv/idss/bin/idss-idp(mirroringcontrol-plane's/srv/idss/bin/control-plane), rather than building the ADR 0196 Go bridge here. This parallels #771's discipline (the KERI stack renders withfakeHashplaceholders; the livenix buildrode the founding drive). The bridge binary + its packaging is the ADR 0196idss-idpticket; the live door probe / TLS-live proof rides the founding drive, exactly as #771's stack build did. Why two-way: the seeded path is one edit to change; nothing ships to a real box on the IDIP path yet (no binary), and the render evaluates.On the IDIP path the control-plane unit drops the
IDSS_KANIDM_*exports and does not wire a runtime identity adapter (the keria adapter isfounding-identity-legs, explicitlyout_of_scopehere) — it exportsIDSS_IDP_URL(the loopback bridge) and otherwise rests honestly (ADR 0100). Why two-way: purely additive env; revertible, and the kanidm path is byte-identical (the whole branch is gated behindIdentityIDIP, default false).The founding-declared OIDC clients are the gate client, the files (catalogue) client and Netbird, each PKCE S256 with redirect URIs derived from the apex, declared in Nix as
idss-idp's clients config — the parallel to kanidm'sgate-oidcslot. Per-service catalogue clients that attach at runtime ride their own attach step, as they do on kanidm.Proven by:
internal/clanrender tests — IDIP ⇒ keri-stack + idss-idp + clients, no kanidm; kanidm ⇒ byte-identical render (the determinism/baseline anchors stay green).close-report for #778 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
whole(drive 20260828T201246Z, sig 4c82deb1e678) #954