ALLOW, DENY, ESCALATE and DEGRADE decision contracts

A runtime decision is an instruction to the enforcement point for one exact request. ALLOW may proceed within its bound scope; DENY must stop; ESCALATE pauses for a fresh approval; DEGRADE substitutes an explicitly narrower action.

01 / The operating case

What changes in a real workflow?

An incident agent requests production host isolation. The current grant permits observation but containment needs commander approval. A decision should not silently turn that escalation into either immediate execution or permanent denial.

Trace the authority boundary
  1. 01Authority origin
  2. 02Task and grant
  3. 03Current decision
  4. 04Observed outcome

02 / Decision contract

What the executor must check

Return decision ID, outcome, request digest, reason code, validity and any required approval or narrower mode. The executor must enforce the selected outcome and reject unsupported values.

InputPrincipal · task · action · target
DecisionGrant ancestry · policy · current state
ResultEnforce · record · verify outcome

03 / Failure and evidence

What goes wrong, and what can be proven?

Failure mode

A caller treats ESCALATE as ALLOW because the response is not a hard DENY, or treats DEGRADE as permission to run the original write with a warning.

Evidence to retain

Retain request, decision version, reason, approval completion or reduced-mode choice, executor attempt and observed result. Approval must cause a fresh check.

04 / Canonical scope

Why this reference stands alone

Individual code meanings belong together because client and executor must implement them as one exhaustive state machine, not four near-duplicate pages.

Implementation review

Executor state machine

ALLOW → execute exactly evaluated request within validity. DENY → stop and preserve reason. ESCALATE → pause, obtain bounded approval, decide again. DEGRADE → substitute named lower-risk action; never run original write.

Adversarial check

Send an unknown outcome value and an ESCALATE without completed approval. Both must stop; an unrecognized response is not an implicit ALLOW.

Primary references

Read the underlying material

Architecture discussion

Choose one consequential action and make its boundary explicit.

Request a Conversation