own-VPS gateway: build-time kanidm assertions absent from the full-install path — no eval guard (GOTCHAS #12, DIV-3) #454
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#454
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?
Divergence class
GOTCHAS #12 (VM-vs-full-install divergence) — pre-filed by the #450 audit.
(Note: this issue's original write-up was accidentally submitted as the
title field and silently truncated at the tracker's title-length limit;
the title has been corrected and the full content restored below from
docs/vm-full-install-divergence.md, DIV-3.)The gateway's build-time
assertions(invariants: generators declared,bind-port agrees, kanidm provisioned) are emitted by the VM-mode gateway
render but omitted from the full-install control-plane surface — deliberately,
per the control-plane surface's own doc comment, because they read the
VM-shaped kanidm config attributes which the front-door kanidm shapes
differently. The public/full-install gateway therefore has no build-time
eval guard for this invariant class — the guard that would have caught #452
at eval time.
See
docs/vm-full-install-divergence.mdTable A (gatewayAssertionsrow) andOpen divergences DIV-3.
GOTCHAS #12 (VM-vs-full-install) — pre-filed by the #450 auditto own-VPS gateway: build-time kanidm assertions absent from the full-install path — no eval guard (GOTCHAS #12, DIV-3)gatewayAssertions(internal/clan/vmguest.go:434-471) emits the gateway's build-timeassertions— the generators+files are declared, the front-door sign-in route and the kanidm b…Triage: bug → ready-for-agent.
Redundancy check: searched the control-plane surface renderer for build-time
assertions — none present; confirmed via its own doc comment, which lists the
"VM-shaped build-time assertions" among what it deliberately omits, because
they read config attribute paths the front-door's kanidm module shapes
differently (confirmed by reading the front-door kanidm renderer: it sets
different attribute paths than the VM assertions check). No prior rejection
found in
.out-of-scope/. Not a UI/UX-flow change, so the design-tier gatedoes not apply.
This is genuinely just an attribute-path adaptation, not a design decision:
the assertion content (generators declared, bind-port agreement, kanidm
enabled+provisioned) is identical in intent on both paths — only the concrete
config attribute paths differ because front-door's kanidm module is shaped
differently than the VM's inline kanidm block. An agent reading both
renderers can derive the correct attribute paths directly; flagging this
ready-for-agent rather than ready-for-human because there is no product
judgment call here, only implementation detail resolvable by reading the two
render paths.
Agent Brief
Category: bug
Summary: The full-install/own-VPS gateway has no build-time eval guard
for the invariants that keep its kanidm wiring self-consistent — the guard
that exists on the VM path is not portable as-is because the two paths shape
their kanidm config differently.
Current behavior:
The VM-mode gateway render emits a set of build-time
assertionschecking:(1) every generator/secret file the kanidm wiring dereferences is declared,
(2) the sign-in route's target port agrees with the port kanidm actually
binds, and (3) kanidm is both enabled and provisioned before anything routes
sign-in to it. The full-install/own-VPS control-plane surface renderer emits
no equivalent — its own doc comment says so explicitly, because the VM
assertions check config attribute paths that belong to the VM's inline
kanidm declaration, not the front-door module's kanidm declaration.
Desired behavior:
The full-install/own-VPS gateway should fail eval with a clear, actionable
message under the same three invariant classes, phrased against the
front-door kanidm module's own config attribute paths (enable, bind
port/address, provisioning status) rather than the VM's. Where the front-door
render doesn't expose an equivalent invariant (e.g. no single "sign-in route
target port" concept on this path), that invariant can be dropped with a
one-line note rather than forced to fit.
Key interfaces:
assertionsblock, parallel to the VM path's, but reading the front-door kanidm
module's actual config surface (its enable flag, its bind address setting,
its provisioning enable flag) rather than the VM's nested equivalents
be reused verbatim — they're generator names, not kanidm-shape-specific
Acceptance criteria:
fails eval with a message naming the missing generator/file
provisioned (or vice versa) fails eval with a message explaining the
mismatch
docs/vm-full-install-divergence.md's DIV-3 row is updated to CLOSEDwith the closing issue, in the same commit (ADR 0042 same-commit law)
Out of scope:
swarm-claim host=matou-dev-server-01 run=4894
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #454 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
59747c3is not reachable from origin/main (not landed on main)envelope
close-report for #454 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope