PolicyStrata

Architecture

The Agent Assurance system boundary, components, data flow, and control-plane responsibilities.

System Boundary

Agent Assurance is the commercial control plane. It should orchestrate OSS engines, not reimplement them.

flowchart LR
  Sources["Docs, schemas, traces, policies"] --> Runner["Self-hosted runner"]
  Runner --> DocPull["docpull OSS"]
  Runner --> PolicyStrata["policystrata OSS"]
  DocPull --> Artifacts["Run artifacts"]
  PolicyStrata --> Artifacts
  Artifacts --> API["Agent Assurance API"]
  API --> Web["Dashboard and review UI"]
  Web --> Packs["Evidence packs"]
  Packs --> Releases["Release decisions"]

Components

ComponentRepo/PathResponsibility
Web appapp/, components/, lib/Marketing, docs, dashboard, review, releases
Runner contractrunner/Executes OSS tools locally and emits normalized artifacts
JSON schemasschemas/Stable contracts across runner, API, UI, and audit packs
Demo scenariosexamples/Reproducible design-partner and sales demos
DocPull engineraintree/oss/docpullContext sync, diffs, citations, packs
PolicyStrata engineraintree/oss/policystrataPolicy drift, witnesses, invariant checks

Data Flow

  1. A self-hosted runner executes in CI, a developer machine, or a customer-controlled environment.
  2. The runner invokes DocPull and PolicyStrata against configured sources, policies, schemas, traces, and release inputs.
  3. The runner emits normalized assurance-run artifacts and optional evidence packs.
  4. The Agent Assurance API persists metadata, findings, artifact references, release state, and reviewer decisions.
  5. The dashboard presents blockers, release history, and audit-ready evidence.

Boundary Rules

  • Keep source credentials, raw documents, private traces, schemas, and customer rows out of the hosted web app by default.
  • Store normalized metadata, summarized findings, hashes, tool versions, and artifact references.
  • Use runners and worker services for engine execution.
  • Keep DocPull and PolicyStrata independently useful as OSS engines.

Design constraint

The hosted control plane should be useful without becoming the place where raw governed data accumulates.

On this page