key-cape/src/internal
tegwick 63d646b594
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 44s
Carry the tenant claim's provenance, and correct a guard the ruling voided
GH-DEC-2026-013 §5 is a finding nobody asked for and ours to implement: tenant is
a bare string, so a consumer cannot tell a zone the directory asserted about the
person from one a registration supplied about the client they came through.
approval-engine exact-matches that string while its contract reads as though it
relies on the first -- the check is sound and the property a reader infers from
it is absent. gate-house named the property and left the mechanism to us.

Every token now carries tenant_source beside tenant: directory, registration or
default. Advertised in claims_supported, and asserted at the token level on both
grants rather than only in the resolution function, since the claim a consumer
reads is the thing under obligation.

Three values where the ruling names two, which is the judgement here. Labelling
an unasserted profile default as directory would reproduce the same defect one
level down -- a consumer reading an assertion the identity layer never made. The
ruling cites GH-DEC-2026-011 §3 on unknown versus absent for the case it
examined; the same rule applies to our own fallback. The agreement case resolves
to directory deliberately: if a registration declares the zone the directory also
assigned, the directory did assert it, and reporting the weaker source would
understate what is known.

Also corrects the guard shipped in 5f516a0. Its failure message offered two ways
out of adding dynamic registration, and condition (b) voids the second: admitting
dynamic registration voids the registration-bound shape that day, whatever state
the adapter is in. The message named an inadmissible resolution in the exact
place someone would read it while making that change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NV9oijZukGyGbRQGGKnK4P

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 713576@bnt-lap001
Assistant-Session: 384c511d-9bce-4cb8-a676-2aef6c0c8df6
2026-09-10 07:58:29 +02:00
..
adapters feat(oidc): prepare one-shot upstream issuer proof without token disclosure 2026-09-08 23:14:46 +02:00
authclient Require typed issuer refusals in live registration verification 2026-09-08 16:46:02 +02:00
config Reject service-identity fields a browser client silently ignores 2026-09-09 14:42:26 +02:00
domain Make the LLDAP export report its own completeness 2026-09-07 08:45:50 +02:00
errors feat: implement T01-T04 — Go module, canonical model, LDAP validator, error taxonomy 2026-03-13 01:27:54 +01:00
jose chore(consistency): sync KEY-WP-0019 completion [auto] 2026-09-07 09:02:05 +02:00
migration Reconcile packaging, bootstrap and migration credential handling 2026-09-08 09:51:59 +02:00
server Carry the tenant claim's provenance, and correct a guard the ruling voided 2026-09-10 07:58:29 +02:00
validator Prove the migration against live directories and fix what that surfaced 2026-09-08 00:29:34 +02:00