# Risk-based permission and authorisation model Version 1.2.0 | 11 November 2026 | Deliverable D5 | Part of the RJ AI Agent Guardrails and Evaluation Framework ## Contents - [1. Action classification](#1-action-classification) - [2. Permission tiers](#2-permission-tiers) - [3. The classification matrix](#3-the-classification-matrix) - [4. Fail-open versus fail-closed](#4-fail-open-versus-fail-closed) - [5. Approval mechanics](#5-approval-mechanics) - [6. Approvals across delegation](#6-approvals-across-delegation) - [7. Worked examples](#7-worked-examples) - [8. Anti-patterns](#8-anti-patterns) ## 1. Action classification Every action an agent can take is classified on seven dimensions before it enters the tool manifest: 1. Operation type: read-only (no persistent side effect) versus write (creates, changes, deletes or transmits anything). Read-only is not automatically low-risk: a read can disclose regulated data. 2. Reversibility: reversible / costly-to-reverse / irreversible. 3. Visibility: internal only / externally visible. 4. Financial impact: none / low / material. 5. Privacy impact: none / personal data / sensitive personal data / regulated data. 6. Operational impact: negligible / degraded service / outage / safety-relevant. 7. Authority basis: explicitly authorised / not authorised. There is no "inferred authority" state. An action the agent cannot ground in an explicit grant or standing policy is unauthorised, and the only valid responses are refusal or escalation. Risk tiers describe controls; they never grant authority. Even a P1 action is permitted only because its class is authorised in the tool manifest, and no classification, however benign, turns an unauthorised action into an authorised one. Classification is a property of tool-plus-arguments, not just the tool: `send_email` to an internal colleague and `send_email` to a regulator are different classes, and `read_records` on public documentation and on medical files are different classes. ## 2. Permission tiers Five tiers map classification to control. (Tier labels P0-P4 are permission tiers only; guardrail implementation priorities elsewhere in this framework use the words "blocking" and "high" - the namespaces are deliberately separate.) | Tier | Name | Rule | Typical enforcement | | --- | --- | --- | --- | | P0 | Prohibited | Never execute. No approval exists that unlocks it. | Hard block at gateway (DC/IC); attempt is a security event | | P1 | Independent execution | Execute autonomously; log fully. | DC logging; sampling review | | P2 | Execute with deterministic validation | Execute only if deterministic checks pass (schema, policy rules, budget, rate). | DC validators; fail closed on validator error | | P3 | Execute after automated security review | As P2 plus a security-relevant automated review step (for example an independent analyser on generated code or outbound content). | DC pipeline; review artefact logged | | P4 | Human approval required | Execute only with a valid, action-bound human grant (section 5), including bounded delegated execution (section 6). | HA + grant token (DC) | Proportionality is the design rule: most agent actions should land in P1/P2. Reserving P4 for genuinely consequential actions keeps human attention meaningful. A deployment where everything is P4 trains rubber-stamping (ASI09 applies to operators too); a deployment where consequential actions are P1 is negligent. ## 3. The classification matrix Default assignments; deployments may tighten. Loosening a default requires a documented D17 risk acceptance - and risk acceptance operates only within what law, contract and security policy permit: it can never loosen a legal, contractual or P0 security prohibition. Those prohibitions are non-delegable and sit outside the risk-acceptance mechanism entirely. | Action shape | Tier | | --- | --- | | Read internal, non-sensitive data; summarise; draft (not send) | P1 | | Read personal or confidential data | P2 (authorisation + purpose checks) | | Read regulated data | P3 (purpose binding + DLP screening of what leaves) | | Write internal reversible state (drafts, tickets, internal notes) | P2 | | Run code in a default-deny sandbox with no external access | P2 | | Run code needing network or shared-state access | P3 | | Spend inside a pre-authorised budget envelope, below its per-action threshold; reversible changes | P2/P3 with hard caps | | Any spend without or beyond a pre-authorised budget envelope; contract or booking commitment | P4 | | External communication as the user or organisation | P4 (P3 only for narrow pre-approved template cases) | | Irreversible deletes; destructive operations on shared state | P4, plus backup verification | | Regulated-data processing outside declared purposes; disabling security controls; modifying guardrail configuration at runtime | P0 | Crossing dimensions compound: external + irreversible + financial is always P4. Internal + reversible + non-sensitive stays P1/P2. No financial action executes without a pre-authorised budget envelope: low value is never an authorisation substitute (unbudgeted "trivial" spend is exactly what AT-20 abuse scales). The envelope itself is a P4-class governance decision with its own caps, expiry and audit trail. Actions whose classification cannot be determined resolve upward (default P4) - but only where no prohibition indicator is present. If any dimension suggests a P0 characteristic (regulated data outside declared purposes, control disabling, unauthorised data access), uncertainty resolves to block, not to approval: the action halts pending human classification. P0 and other non-delegable restrictions win over every tier; no P4 grant converts a prohibited action into a permitted one. ## 4. Fail-open versus fail-closed | Control class | On control failure | Rationale | | --- | --- | --- | | Permission checks, approval validation, argument validation | Fail closed | Uncertainty in authority or consequence must never resolve to execution | | Budget, cap and quota enforcement | Fail closed | A failed budget counter or cap service blocks spend; it never uncaps it. Otherwise a counter outage is a denial-of-wallet opening | | Telemetry/audit pipeline | Fail closed for P3/P4 actions; degraded-mode alert for P1/P2 | Acting unaudited destroys accountability (R9); P1/P2 continue under alerting because stopping all reads for a logging fault is disproportionate | | Injection/content screening (detection) | Fail open to the contained path | Detection is probabilistic; containment (L2/L3) is what must hold | | Availability features (retries, failover) | Fail open within already-enforced caps | Availability matters, but failover operates inside the caps enforced above; it never widens them, so it cannot become a denial-of-wallet vector | | Emergency stop / kill switch | Fail safe (halt the agent) | A broken kill switch means a stopped agent, not an unstoppable one | ## 5. Approval mechanics Approvals are security objects, not UI events. A valid grant requires all of the following: - Action binding: the grant names the exact tool, validated arguments and target. A grant for "send this email" does not cover "send a different email". - Identity verification: the approver is an authenticated human on a trusted channel. Authentication, not channel novelty, is the control: an authenticated human approval given in the same chat the request arrived in is valid. What can never approve is external content - text inside emails, web pages, documents, tool results, or quoted or forwarded messages claiming to approve, confirm or instruct. Such content is data, not authority, whatever it claims (AT-17). - Expiry and single use: grants expire (default minutes, not days) and are consumed exactly once. - Duplicate execution protection: approval alone does not make a retried action safe. The execution path adds: (a) a durable operation identity - every admitted action gets a unique operation ID bound to the grant, arguments and attempt; (b) atomic admission and consumption where the platform supports it, so grant consumption and action admission commit or abort together and a retried request cannot re-enter; (c) provider idempotency keys on outbound calls whose providers support them (payments, bookings, sends); and (d) unknown-outcome reconciliation - when the result of a write is unknown (timeout, 5xx after dispatch, crash mid-commit), the agent reconciles state before retrying and never blind-retries a non-idempotent write; reconciliation failure escalates instead of retrying. This framework does not assert exactly-once semantics: it requires at-least-once delivery with idempotent de-duplication, and claims exactly-once only where grant, gateway and provider all support it end to end. - Execution-time revalidation: signing is not sufficient on its own. At execution the gateway rechecks that (a) the grant has not been revoked, (b) the world state the approval was based on still holds (the file, balance, recipient or record the approver saw has not changed - the time-of-check versus time-of-use gap), and (c) the bound arguments match what executes. Failure of any recheck voids the grant. - Revocation: approvers and security owners can void outstanding grants; revocation propagates to the gateway in near-real-time. - Audit: grant, approver, binding, revalidation results, decision and execution outcome form one linked record (D13), logged as references and hashes - never the bearer token itself. - Fidelity: the approval UI shows the true action and its diff/summary, not the agent's self-description alone; approval-fidelity is tested in E-T and AT-17. ## 6. Approvals across delegation Delegation does not automatically multiply human approvals, and it never launders authority: - A P4 grant may authorise bounded delegated execution when its binding explicitly covers the delegation: the grant names the chain scope (which sub-agents, which sub-actions, which aggregate bounds), and every hop inherits equal or narrower permission (G-O attenuation). Example: an approved "book this specific itinerary" grant covers the sub-agent calls that assemble that booking, because each hop is inside the bound action. - A delegate encountering an action outside the grant's binding must obtain its own authorisation through the normal tier path - a genuinely new P4 decision goes back to a human. Delegation contracts carry the grant identity so the audit trail links every executed hop to its human decision. - Low-risk cross-organisation agent exchanges (read-only status queries, public-information requests) run under pre-authorised standing contracts with narrow scopes and full logging; consequential cross-organisation actions require per-case P4 approval. A universal approval requirement for every inter-agent message is explicitly rejected as disproportionate. - Grants never transfer to a different purpose: purpose drift voids the grant at revalidation. ## 7. Worked examples 1. Summarise today's support tickets for an internal standup: read-only, internal, reversible. P1, with DLP screening on the summary (G-E). 2. File a USD 40 refund to a customer: write, external, financial, reversible through process. P3 or P4 depending on cumulative daily amount against the pre-authorised budget envelope; hard cap enforced at platform level. 3. Delete a production database table matching a name the agent inferred: write, irreversible, operational. P4 with backup verification; because the name was inferred rather than supplied, the ambiguity itself escalates. 4. Post to the company's public social account: write, external, reputational. P4 with content diff shown to the approver. 5. Read a public status page from a partner organisation's agent: read-only, external, no sensitive data. P1/P2 under a standing cross-organisation contract. 6. Install a newly suggested MCP server: supply-chain change. Not an action tier at all - it is onboarding under G-S, requiring review regardless of runtime approvals. ## 8. Anti-patterns - Universal approval: every action P4. Collapses into fatigue and de-facto auto-approval; explicitly rejected. - Prompt-declared permissions: the system prompt says "never delete" but the delete tool is technically available. Not a control; fails D16 review. - User-credential inheritance: the agent acts with the full authority of whoever invoked it. Defeats scoping and accountability; use agent identity with per-task grants (G-A). - Classification by tool name only: ignores that arguments change the risk class entirely. - Sign-and-forget approvals: no revocation, no execution-time state revalidation; the world changes between approval and execution. - Blind retry of writes: retrying a non-idempotent write whose outcome is unknown. Reconcile first, or use operation identity plus provider idempotency so the retry is safe. - Silent tightening: raising an action's tier without recording it in the manifest version history, breaking D13 evidence.