Policy System Overview

Audience: Policy authors, reviewers, and operators getting their bearings before diving into the language, lifecycle, or runtime guides. Scope: What the Policy system does, its layers and inputs, and how policies are governed and enforced online and in air-gapped sites.

Governance requirement: Policies that change reachability or trust weighting still require shadow and coverage evidence before promotion. The current Engine does not implement the Registry shadow/review/publish workflow; unavailable evidence is not a successful gate. Follow the registered lifecycle and its limits. Lifecycle source verified: 05534daa6eb60609d9b716f7a7c1db38adb74551 (2026-08-31), Program.MapPolicyPacks and PostgresPolicyPackRepository; re-verify with the lifecycle source commands. This is not live acceptance.

This overview orients authors, reviewers, and operators to the Stella Ops Policy system: the SPL language, lifecycle, evidence inputs, and how policies are enforced online and in air-gapped sites.

1. What the Policy System Does

2. Layers

3. Inputs & Signals

4. Lifecycle (summary)

  1. Create explicit Draft metadata through /api/policy/packs/{packId}/revisions, including the approved activation requirement.
  2. Compile/store the exact bundle; compilation does not approve it.
  3. Obtain real governing review, coverage, shadow and determinism evidence. Registry automation is unavailable; do not turn this gap into a pass.
  4. Explicitly upsert Approved metadata, then request activation through the canonical pack/revision endpoint with the configured actor threshold.
  5. Verify the actual consumer independently. Activation does not start a run, publish, or archive; rollback needs its own approved procedure.

5. Governance & Roles

6. Review Checklist (fast path)

These are governance requirements, not assertions that the Engine validates their attachments. Hold the governed operation when required evidence is unavailable.

7. Air-gap / Offline Notes

8. Key References