Skip to content

v0.5.0 — Governed Policy Evolution & Shadow Evaluation Workspace

Choose a tag to compare

@ylecoyote ylecoyote released this 03 Nov 20:56
· 15 commits to main since this release

Highlights (v0.5.0)

  • Automated PREVIEW Shadow Evaluation Runner (uns.shadow_evaluator.ShadowPolicyEvaluator, #46):
    • Asynchronous in-process shadow evaluation of SHADOW policy deltas and PREVIEW policy revisions against live notification intake without external channel side effects or live obligation mutation.
    • Deterministic candidate vs. baseline routing comparison (policy_to_envelope, envelope_to_policy), allow-listed policy field-path validation (ALLOWED_POLICY_FIELD_PATHS), O(1) _write_seq fast-path skipping when no PREVIEW/SHADOW candidates exist, and automatic ShadowEvaluationResult + ShadowEvaluationAggregate persistence in SQLAlchemyPolicyLearningStore (UNS_SHADOW_EVALUATION_ENABLED, UNS_SHADOW_MIN_SAMPLES, UNS_SHADOW_ACCURACY_THRESHOLD).
  • Console /policy Promotion Workflow & Governed Policy Delta API (#47):
    • Added read endpoints (GET /ui/policies/proposals, GET /ui/policies/proposals/{delta_id}, GET /api/v1/policies/proposals, GET /api/v1/policies/proposals/{delta_id}) and operator-authenticated promotion endpoints (POST /api/v1/policies/proposals, POST /api/v1/policies/proposals/{delta_id}/shadow, /approve, /activate, /reject, and POST /api/v1/policies/revisions/{policy_id}/activate).
    • Enforced BOUNDS, CONFLICT, and INVARIANTS guards, baseline hash drift checks (409 policy_baseline_drift), and shadow sample/accuracy threshold gates before promoting SHADOW deltas into DRAFT revisions and explicitly activating DRAFT -> ACTIVE.
    • Updated /policy (PolicyInspectorPage.tsx) with the Proposals & Shadow Evidence workspace, interactive proposal builder, sample/accuracy/guard/baseline badges, one-click Promote to SHADOW / Approve to DRAFT / Activate DRAFT -> ACTIVE actions, and the Shadow Evidence & Guard Ledger drawer.
  • Documentation & Console Gallery:
    • Added high-DPI screenshots of the 6-surface Modernist UNS Console under docs/assets/screenshots/ across README.md, docs/README.md, and docs/user-guides/OPERATOR-CONSOLE-GUIDE.md.