Skip to main content

Runtime Playbooks

Governance · Runtime overview · Foundation →

Implementation guides for Policy-Governed Agent Runtime. The Runtime blueprint is the reference design. Estate how-to: Operating. These playbooks are the how for the request path: contracts, enforcement, boundaries, and tests.

RAG, tool manifests, and memory are other G.A.I.N subjects. PGAR gates their side effects. Their how-to lives in RAG, Agents: Manifests, and Memory.

THE CLAIM

The LLM proposes. The PEP enforces. The PDP decides. Every side effect gates at the PEP before downstream runs. These playbooks show you how to build that path.

Three playbook groups​

GroupOverviewWhat you build
FoundationOpen →SARAC contracts, token custody, PEP/PDP loop, step-up, audit replay
AssurancePolicy test scenariosGolden authorization cases in CI, adversarial bypass tests
BoundaryOpen →Five trust boundaries from ingress through downstream

Plus Further reading (external) for third-party PDP/PEP and OAuth patterns mapped to this series.


  1. Foundation (6 playbooks): policy contracts → token & session → PEP → PDP → step-up → audit
  2. Assurance (2 playbooks): scenario library and adversarial bypass set (start in parallel once PEP exists)
  3. Boundary (5 playbooks + overview): ingress, agentic app, LLM proposal, PEP + PDP, downstream

Then call other G.A.I.N series for the thing being gated: Manifests, RAG, Memory.

Eval overlap: Action plane · Tool plane.

Worked example: bank refund agent​

Same ids as Operating: uc-refund-agent, profile pdp-refund-write-v4, control pep-step-up-refund. Operating approved the row. This series is one request.

GroupWhat happens on issue_refund
FoundationSARAC for $80 / $750 / purpose-mismatch; token stays in the app; PEP asks PDP; STEP_UP above AUD 500; audit written before any ledger call
AssuranceSuite pol-refund-write-v4: ALLOW $80, STEP_UP $750, DENY purpose_mismatch, plus bypass fixtures
BoundaryIngress binds Priya's staff token → app holds it → model proposes issue_refund → PEP/PDP verdict → payment hub only on ALLOW

The evidence pack ev-refund-agent-2026-03 is those three verdict samples plus the policy pin. If Runtime cannot produce them, the pack is a slide.

A staff HR FAQ (uc-hr-policy-faq, pdp-hr-faq-read-v1) is the same five boundaries with no write tool and no STEP_UP. DENY is out-of-corpus retrieval. Do not copy the $750 fixture onto that path.

What "not done" looks like​

SymptomMissing playbook
Model told "do not refund above $500" in the system promptPDP surfaces
App calls the payment hub with its own API keyPEP enforcement
Bearer token in the LLM messagesToken & session
User types "approved" in chat; $750 postsStep-up
Examiner needs the Slack thread to reconstruct the refundAudit & replay
Inventory live, no CI fixture for issue_refundPolicy test scenarios

All playbooks at a glance​

Foundation​

PlaybookOne-line purpose
Policy contractsSARAC payload shapes the PDP evaluates
Token & sessionCredentials stay out of the LLM boundary
PEP enforcementReceive, ask PDP, audit, act on every proposal
PDP surfacesALLOW, DENY, STEP_UP rule authoring
Step-up & attestationRe-eval after human approval
Audit & replayImmutable verdict chain for examiners

Assurance​

PlaybookOne-line purpose
Policy test scenariosRepresentative, edge, and incident replay cases in CI
Adversarial testingDirect downstream bypass, injection, shadow tools

Boundary​

#PlaybookOne-line purpose
①IngressToken validation and claims at the edge
②Agentic appOrchestration, token custody, validation gates
③LLM proposalTool schemas only; proposal not permission
④PEP + PDPVerdict before any side effect
⑤DownstreamRe-auth, execute, return to app

See Boundary overview for request flow and multi-agent patterns.

Cross-calls (not nesting)​

Side effectG.A.I.N subjectPlaybook
Tool executeAgentsManifest registry
Corpus retrieveRAGRAG retrieval
Prefs / episodesAgentsMemory

PGAR still evaluates SARAC on those actions. The store and contract live in the subject series.

Who should read what​

Foundation →