Files
git.stella-ops.org/docs/implplan/SPRINT_127_policy_reasoning.md
master ae69b1a8a1 feat: Add documentation and task tracking for Sprints 508 to 514 in Ops & Offline
- Created detailed markdown files for Sprints 508 (Ops Offline Kit), 509 (Samples), 510 (AirGap), 511 (Api), 512 (Bench), 513 (Provenance), and 514 (Sovereign Crypto Enablement) outlining tasks, dependencies, and owners.
- Introduced a comprehensive Reachability Evidence Delivery Guide to streamline the reachability signal process.
- Implemented unit tests for Advisory AI to block known injection patterns and redact secrets.
- Added AuthoritySenderConstraintHelper to manage sender constraints in OpenIddict transactions.
2025-11-08 23:18:28 +02:00

4.5 KiB

Sprint 127 - Policy & Reasoning

Last updated: November 8, 2025. Implementation order is DOING → TODO → BLOCKED.

Focus areas below were split out of the previous combined sprint; execute sections in order unless noted.

Policy.V

Dependency: Sprint 120.C - Policy.IV (must land before this track). Focus: Policy & Reasoning focus on Policy (phase V).

# Task ID & handle State Key dependency / next step Owners
1 POLICY-ENGINE-80-002 TODO Create joining layer to read reachability_facts efficiently (indexes, projections) and populate Redis overlay caches (Deps: POLICY-ENGINE-80-001) Policy Guild, Storage Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
2 POLICY-ENGINE-80-003 TODO Extend SPL predicates/actions to reference reachability state/score/confidence; update compiler validation (Deps: POLICY-ENGINE-80-002) Policy Guild, Policy Editor Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
3 POLICY-ENGINE-80-004 TODO Emit metrics (policy_reachability_applied_total, policy_reachability_cache_hit_ratio) and traces for signals usage (Deps: POLICY-ENGINE-80-003) Policy Guild, Observability Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
4 POLICY-OBS-50-001 TODO Integrate telemetry core into policy API + worker hosts, ensuring spans/logs cover compile/evaluate flows with tenant_id, policy_version, decision_effect, and trace IDs Policy Guild, Observability Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
5 POLICY-OBS-51-001 TODO Emit golden-signal metrics (compile latency, evaluate latency, rule hits, override counts) and define SLOs (evaluation P95 <2s). Publish Grafana dashboards + burn-rate alert rules (Deps: POLICY-OBS-50-001) Policy Guild, DevOps Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
6 POLICY-OBS-52-001 TODO Emit timeline events policy.evaluate.started, policy.evaluate.completed, policy.decision.recorded with trace IDs, input digests, and rule summary. Provide contract tests and retry semantics (Deps: POLICY-OBS-51-001) Policy Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
7 POLICY-OBS-53-001 TODO Produce evaluation evidence bundles (inputs slice, rule trace, engine version, config snapshot) through evidence locker integration; ensure redaction + deterministic manifests (Deps: POLICY-OBS-52-001) Policy Guild, Evidence Locker Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
8 POLICY-OBS-54-001 TODO Generate DSSE attestations for evaluation outputs, expose /evaluations/{id}/attestation, and link attestation IDs in timeline + console. Provide verification harness (Deps: POLICY-OBS-53-001) Policy Guild, Provenance Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
9 POLICY-OBS-55-001 TODO Implement incident mode sampling overrides (full rule trace capture, extended retention) with auto-activation on SLO breach and manual override API. Emit activation events to timeline + notifier (Deps: POLICY-OBS-54-001) Policy Guild, DevOps Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
10 POLICY-RISK-66-001 TODO Develop initial JSON Schema for RiskProfile (signals, transforms, weights, severity, overrides) with validator stubs Risk Profile Schema Guild / src/Policy/StellaOps.Policy.RiskProfile/TASKS.md
11 POLICY-RISK-66-002 TODO Implement inheritance/merge logic with conflict detection and deterministic content hashing (Deps: POLICY-RISK-66-001) Risk Profile Schema Guild / src/Policy/StellaOps.Policy.RiskProfile/TASKS.md
12 POLICY-RISK-66-003 TODO Integrate RiskProfile schema into Policy Engine configuration, ensuring validation and default profile deployment (Deps: POLICY-RISK-66-002) Policy Guild, Risk Profile Schema Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
13 POLICY-RISK-66-004 TODO Extend Policy libraries to load/save RiskProfile documents, compute content hashes, and surface validation diagnostics (Deps: POLICY-RISK-66-003) Policy Guild, Risk Profile Schema Guild / src/Policy/__Libraries/StellaOps.Policy/TASKS.md
14 POLICY-RISK-67-001 TODO Trigger scoring jobs on new/updated findings via Policy Engine orchestration hooks (Deps: POLICY-RISK-66-004) Policy Guild, Risk Engine Guild / src/Policy/StellaOps.Policy.Engine/TASKS.md
15 POLICY-RISK-67-001 TODO Integrate profile storage and versioning into Policy Store with lifecycle states (draft/publish/deprecate) (Deps: POLICY-RISK-67-001) Risk Profile Schema Guild, Policy Engine Guild / src/Policy/StellaOps.Policy.RiskProfile/TASKS.md