You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(approvals): document the full decision surface, send-back/resubmit, declared actions + viewer gating
The approvals guide only covered approve/reject. Bring it up to date with what
has shipped:
- Full decision-verb surface as a table (approve/reject/reassign/revise/
request-info/remind/recall/resubmit/comment) with route, who-may-call, and
effect — including the /revise and /resubmit routes.
- Send-back → resubmit revision lifecycle (ADR-0044), incl. the maxRevisions
auto-reject and the required `revise` edge.
- Decision file attachments (`attachments: string[]` on the audit row).
- "Acting on requests in the console": the verbs ship as server-declared
`sys_approval_request` actions rendered by the generic console action runtime
(the inbox), so decisions need no per-action UI.
- The server-computed per-viewer block (`viewer.can_act` / `viewer.is_submitter`)
that gates the declared actions, and why a submitter never sees approver
buttons while a position-addressed approver is never wrongly hidden.
- Generalize the FORBIDDEN error-code wording to cover submitter-only verbs.
Docs-only; no code or schema change.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ypkQikZ55oWUHUnMebwXA
0 commit comments