roadmap REFUSED

327. A credential endpoint that is the credential for one resource

§172 (whether a verify endpoint names the identity it asks about) refuses this block, ruled 2026-10-27 (UTC): the identity stays on the verify request, and the credential_contract crate documentation records the limitation. The text below is the block as filed.

Revisit

Premise re-checked 2026-09-19 and it holds. crates/credential_contract's verify::VERIFY is still one opcode whose request carries the identity in the shared page (place(&mut page, b"bob", b"hunter2", verify::VERIFY)), so a holder of a verify endpoint still chooses which record to test. Nothing has narrowed the wire since; the only change in that crate was the 2026-08-30 removal of NTLM_PROOF with the SMB implementation, which reduced the store to one kind of secret and left the addressing alone.

It changes credential_contract, a contract two programs agree on, so it is calef's the same way every wire decision in this tree is. The request currently carries the identity it asks about; removing that word from the wire is not something a lane can decide.

Why this matters

The wire is wider than the design. A holder of a verify endpoint can ask about any resource in the store, so the confinement claim for a program that verifies credentials is "it only asks about its own" rather than "it cannot ask about anything else". The difference between those two sentences is the whole point of a capability system. The second is checkable from outside; the first is a promise about a branch the program is trusted to take.

The consumer that motivated it is gone, and that is the honest reason this may sit unpromoted. Milestone 54's SMB adapter was deleted on 2026-08-30 with the rest of the network file service, and it was the caller that named a resource it was configured with. What remains is credentialer, login, identity_provisioner and their test client, plus login_contract and system_initializer on top. The extra authority is still on the wire and still unchosen, but nothing today is visibly harmed by it.

What makes it worth doing anyway is the direction of the cost. Every program written against the current shape makes the change more expensive, and the next thing that authenticates anything will be written against it. Fixing a wire while it has four callers is a morning; fixing it after a rebuilt file service is a project. notes/smb.md recorded this as a next step rather than as an accepted limitation, which means nobody ever chose to carry it.

Where it came from

Milestone 54's block: "Replace the SMB adapter's resource-name configuration with a narrower cred_proto capability, so the endpoint is the credential for one resource and the name is implied and unforgeable, which is DECISIONS §27's argument applied to cred_proto." (cred_proto has since been renamed credential_contract.)

notes/smb.md's BUGS section states the shape: "The right fix is not a configuration string, it is a narrower capability: a request that names its resource is the adapter choosing which record to ask about, which is one authority more than it needs, and the endpoint should be the credential for one resource so the name is implied and unforgeable."

Index row

A holder of a credential_contract verify endpoint names the identity it asks about, so the confinement claim is "it only asks about its own" rather than "it cannot ask about anything else", and only the second is checkable from outside. The endpoint should be the credential for one resource, with the name implied by the endpoint the caller holds (DECISIONS §27 (the filesystem service: a capability-shaped contract over)'s argument). The consumer that motivated it is gone, since milestone 54 (a network file service a Mac can)'s SMB adapter no longer exists, so nothing today is visibly harmed. The wire stays wider than the design. The next program that authenticates anything will use the current shape.