01 / The operating case
What changes in a real workflow?
A customer-support agent tries to update an account outside its current ticket.
- 01Authority origin
- 02Task and grant
- 03Current decision
- 04Observed outcome
02 / Decision contract
What the executor must check
Separate invalid identity, absent grant, out-of-scope target, expired task, revoked ancestor, policy conflict and unavailable fact; attach a safe correlation ID.
03 / Failure and evidence
What goes wrong, and what can be proven?
One generic error blocks diagnosis, while a verbose response leaks other customers’ access rules.
Store internal detailed predicate and external safe code with correlation.
04 / Canonical scope
Why this reference stands alone
Authority-chain debugging uses these codes; this page owns their contract and disclosure boundary.
Illustrative implementation artifact
Reason-code contract
IDENTITY_INVALID | GRANT_ABSENT | ANCESTOR_REVOKED
TARGET_OUT_OF_SCOPE | TASK_EXPIRED | BUDGET_EXHAUSTED
APPROVAL_MISMATCH | POLICY_CONFLICT | FACT_UNAVAILABLEPrimary references