Repository navigation
v0.19.0 (directory v0.5.0)
Root module: v0.19.0; directory v0.5.0; forfait and mcpauth unchanged. Additive; no
migration, no route, cookie, CSRF, /auth/config or pg.Schema change, and every conformance
vector is unchanged.
Fixed
directory: an account re-created after an erasure is erased again, without a restart.
The receiver records every handled subject and skipped any later notice for it. When the
account came back for that subject (a Bulle provisioning call, a bearer token minted before
the erasure, a JIT or MCP first call), a re-pushed or re-polled notice was skipped as handled,
so the account survived (Prisme, 2026-11-11). The new optionalDeletions.Holdsfield is
asked for every handled subject that arrives again; when it reports an account, the person is
erased again (OnPersonDeleted, thenErase) and recorded again, on push and on poll. Only
that subject is touched, and the callbacks were already required to be idempotent. Nil
Holdskeeps the old skip, so existing apps compile and behave as before until they set it.
The alternative, re-running the callbacks for every repeat, would re-erase the subjects of
every poll's one-minute overlap, and an app whose callback refuses an unknown subject would
then fail every poll.
Added
directory:(*Deletions).Erased(ctx, provider, subject) (bool, error). It readsStateon
every call, never the receiver's in-memory copy, so a replica that does not run the receiver
answers the same and a sign-in never waits for a poll. NoStateStoremethod is added.pg:(*Store).HoldsIdentity(ctx, provider, subject) (bool, error), theDeletions.Holds
for every porte/pg app, matching the provider exactly asEraseIdentitydoes.porte.ErasedSubjects(theErasedmethod above) andporte.ErrSubjectErased.oidc.Deps.Erased: when set, the login callback,ProvisionBearerandRouteSyncProfile
refuse an erased identity beforeUpsertFromOIDCwith a troncpermission_denied(403)
wrappingporte.ErrSubjectErased.ProvisionBeareralso wrapsErrProvisionRefused, so
mcpauth answers an invalid token. A ledger read error fails closed as an internal error. This
is the guard Prisme wrote in its ownauth.Erased, moved to the one write path every app
shares. The tombstone lasts as long as the receiver keeps the subject (DeletionRetention,
60 days); Registre never reuses a subject, so the guard only has to outlast the race.- The root module requires
directoryv0.5.0, sodirectory/v0.5.0is tagged first.