-
Notifications
You must be signed in to change notification settings - Fork 0
Coherence Ops Framework
BRYAN DAVID WHITE edited this page Feb 23, 2026
·
6 revisions
Path: src/coherence_ops/
The Coherence Ops framework implements the four canonical governance artifacts (DLR / RS / DS / MG) and the coherence audit loop that connects RAL / Σ OVERWATCH runtime exhaust to structured governance, learning, and memory.
| Artifact | Full Name | Class | Question It Answers |
|---|---|---|---|
| DLR | Decision Log Record | DLRBuilder |
What policy governed this decision, and was it followed? |
| RS | Reflection Session | ReflectionSession |
What happened, what degraded, what should we learn? |
| DS | Drift Signal | DriftSignalCollector |
What is breaking, how often, and how badly? |
| MG | Memory Graph | MemoryGraph |
What happened before, why, and what changed as a result? |
| Module | Class | Purpose |
|---|---|---|
manifest.py |
CoherenceManifest |
System-level declaration of artifact coverage — the "bill of materials" |
dlr.py |
DLRBuilder |
Build Decision Log Records from sealed episodes |
rs.py |
ReflectionSession |
Aggregate episodes into learning summaries with divergence detection |
ds.py |
DriftSignalCollector |
Collect and bucket drift signals by fingerprint, type, and severity |
mg.py |
MemoryGraph |
Provenance graph for "why did we do this?" queries |
audit.py |
CoherenceAuditor |
Cross-artifact consistency checks (manifest coverage, DLR completeness, drift resolution, MG orphans) |
scoring.py |
CoherenceScorer |
Unified 0–100 coherence score with A/B/C/D/F grading |
reconciler.py |
Reconciler |
Detect and propose repairs for cross-artifact inconsistencies |
The coherence score is computed from four weighted dimensions:
| Dimension | Weight | Source | What It Measures |
|---|---|---|---|
| Policy Adherence | 25% | DLR | Percentage of episodes with valid policy stamps |
| Outcome Health | 30% | RS | Success rate × verification pass rate |
| Drift Control | 25% | DS | Recurring drift volume and red-severity signals |
| Memory Completeness | 20% | MG | Graph coverage — episodes present vs expected |
Sealed episodes and drift events from RAL flow through the framework:
- DLR Builder extracts policy stamps, DTE references, and outcomes from episodes
- Reflection Session aggregates batches into outcome distributions, degrade frequency, and takeaways
- Drift Signal Collector buckets drift events by fingerprint and tracks recurrence
- Memory Graph builds a provenance graph linking episodes, actions, drift, and patches
- Coherence Auditor runs cross-artifact consistency checks
- Coherence Scorer produces a single 0–100 score
- Reconciler proposes repair actions for detected inconsistencies
The CoherenceManifest declares which artifacts a system produces:
- system_id — unique system identifier
- version — manifest version
- artifacts[] — one entry per artifact kind, with schema_version, compliance level (full/partial/scaffold/missing), source, and refresh cadence
-
schemas/coherence_manifest.schema.json— manifest validation -
schemas/coherence_report.schema.json— audit report validation
- Coherence Ops Mapping — how RAL maps to DLR/RS/DS/MG
- LLM Data Model — data requirements for RAL
- Architecture — where Coherence Ops sits in the stack
-
Mermaid Diagrams — visual pipeline diagram (
06-coherence-ops-pipeline.md)
Σ OVERWATCH — Coherence Ops Platform • Current release: v2.1.0 • DeepSigma
- Start
- Core
- Schemas
- FEEDS + Exhaust
- Integrations
- Reference Layer
- Ops
- Excel-First
- EDGE + ABP
- Domain Modes
- Governance
- Meta