Skip to main content

Σ OVERWATCH — Institutional Decision Infrastructure for coherence, credibility, and drift governance

Project description

CI PyPI GHCR Pulls License: MIT Python 3.10+ Release Open in GitHub Codespaces

Σ OVERWATCH

Current pilot release: v2.0.6
See: docs/release/RELEASE_NOTES_v2.0.6.md

Repo Radar KPI (latest)

Repo KPI Badge

Institutional Decision Infrastructure

Trust layer for agentic AI: verify before act, seal what happened, detect drift, ship patches.


What It Does

Organizations make thousands of decisions. Almost none are structurally recorded with their reasoning, evidence, or assumptions. When leaders leave, conditions change, or AI accelerates decisions 100x — governance fails silently.

Σ OVERWATCH fills this gap with three primitives:

  • Truth — Decision Ledger Records (DLR) capture what was decided, by whom, with what evidence
  • Reasoning — Reasoning Scaffolds (RS) capture why — claims, counter-claims, weights
  • Memory — Decision Scaffolds + Memory Graphs (DS + MG) make institutional knowledge queryable

When assumptions decay, Drift fires. When drift exceeds tolerance, a Patch corrects it. This is the Drift → Patch loop — continuous self-correction.


Quick Start

pip install deepsigma

# One-command Money Demo (recommended first run)
make demo

# Health check
deepsigma doctor

# Score coherence (0–100, A–F)
python -m coherence_ops score ./coherence_ops/examples/sample_episodes.json --json

# Drift → Patch canonical entrypoint
python -m coherence_ops.examples.drift_patch_cycle

# Full 7-step Golden Path (no credentials needed)
deepsigma golden-path sharepoint \
  --fixture src/demos/golden_path/fixtures/sharepoint_small --clean

# Retention lifecycle sweep (cron-friendly)
deepsigma retention sweep --tenant tenant-alpha

Golden-Path Proof Artifacts

Credibility Index dashboard proof Drift detection and patch proof

# Golden Path run (ingest -> drift -> patch -> recall)
PYTHONPATH=src python -m tools.golden_path_cli golden-path sharepoint \
  --fixture src/demos/golden_path/fixtures/sharepoint_small \
  --output golden_path_output --clean

# Trust Scorecard (includes WHY retrieval SLO check)
PYTHONPATH=src python -m tools.trust_scorecard \
  --input golden_path_output \
  --output golden_path_output/trust_scorecard.json
============================================================
  GOLDEN PATH
============================================================
  [1] CONNECT              PASS
  [2] NORMALIZE            PASS
  [3] EXTRACT              PASS
  [4] SEAL                 PASS
  [5] DRIFT                PASS
  [6] PATCH                PASS
  [7] RECALL               PASS
...
  IRIS:       WHY=RESOLVED, WHAT_CHANGED=RESOLVED, STATUS=RESOLVED
  Drift:      6 events
  Patch:      applied
============================================================
Trust Scorecard written to golden_path_output/trust_scorecard.json
  SLOs:    ALL PASS

Trust Scorecard highlights from the same run:

  • iris_why_latency_ms: 1.4 (<= 60000 target, retrieval <= 60s)
  • patch_applied: true
  • drift_events_detected: 6
  • all_steps_passed: true

Court-Grade Proof (60 seconds)

# Seal + sign + authority bind + transparency log + pack
python src/tools/reconstruct/seal_and_prove.py \
    --decision-id DEC-001 --clock 2026-02-21T00:00:00Z \
    --sign-algo hmac --sign-key-id ds-dev --sign-key "$KEY" \
    --auto-authority --pack-dir /tmp/pack

# Verify everything in one command:
python src/tools/reconstruct/verify_pack.py --pack /tmp/pack --key "$KEY"

Key Capabilities

Capability Description Docs
Coherence Ops CLI Score, audit, query, reconcile decision artifacts CLI Reference
Golden Path 7-step end-to-end proof loop Golden Path
Credibility Engine Institutional-scale claim lattice with formal scoring Engine Docs
Trust Scorecard Measurable SLOs from every Golden Path run Spec
Excel-first BOOT Govern decisions in a shared workbook — no code required BOOT Protocol
MDPT Multi-Dimensional Prompt Toolkit for governed prompt ops MDPT Docs
Court-Grade Admissibility Seal-and-prove pipeline: Merkle commitments, transparency log, multi-sig witness, hardware key hooks Admissibility Levels
MCP Server Model Context Protocol server with auth + rate limiting MCP Adapter
API Reference Auto-generated OpenAPI + static Redoc docs API Docs
RDF/SPARQL Semantic lattice queries via in-process SPARQL 1.1 SPARQL Service
Dashboard React dashboard with Trust Scorecard + Zustand store Dashboard

Connectors

All connectors conform to the Connector Contract v1.0.

Connector Transport Docs
SharePoint Graph API docs
Power Platform Dataverse Web API docs
AskSage REST API docs
Snowflake Cortex + SQL API docs
LangGraph LangChain Callback docs
OpenClaw WASM Sandbox docs
Local LLM llama.cpp / OpenAI-compatible docs

Security And Data Handling

  • Data Boundaries — data at rest, storage locations, retention, redaction, tenancy isolation, connector flow, secrets policy, and network boundaries.
  • Connector SDK — ConnectorV1 contract and safety expectations for custom adapters.
  • DISR Security Model — Breakable -> Detectable -> Rotatable -> Recoverable posture for pilot security credibility.
  • Key Lifecycle — key versioning, TTL, and rotation cadence.
  • Recovery Runbook — compromise response and re-encryption recovery sequence.
  • 10-Minute Security Demo — reproducible DISR drill (make security-gate + make security-demo).
  • DISR Re-encrypt Benchmark — pilot-scale telemetry (make reencrypt-benchmark) with output in release_kpis/scalability_metrics.json.

Note: default demo/benchmark commands run in dry-run mode and are marked as simulated evidence; KPI uplift is capped unless real workload mode is used.

Monitoring

  • Prometheus metrics endpoint: GET /metrics
  • Grafana dashboard: ops/grafana/deepsigma.json
  • Local monitoring stack: docker-compose.monitoring.yml

Start monitoring stack:

docker compose -f docker-compose.monitoring.yml up --build

Endpoints:

  • DeepSigma API: http://localhost:8000
  • Prometheus: http://localhost:9090
  • Grafana: http://localhost:3001 (admin / admin)

Repo Structure

DeepSigma/
├── src/                 # 12 Python packages (all source code)
│   ├── coherence_ops/   #   Core library + CLI
│   ├── engine/          #   Compression, degrade ladder, supervisor
│   ├── adapters/        #   MCP, SharePoint, Snowflake, LangGraph, OpenClaw, AskSage
│   ├── deepsigma/       #   Unified product CLI
│   ├── demos/           #   Golden Path, Excel-first Money Demo
│   ├── mdpt/            #   MDPT tools + Power App starter kit
│   └── ...              #   credibility_engine, services, mesh, governance, tenancy, verifiers, tools
├── tests/               # 1250+ tests, fixtures, datasets
├── docs/                # Documentation + examples (canonical, mermaid, lattices, etc.)
├── dashboard/           # React dashboard + API server
├── schemas/             # JSON schemas (core engine + Prompt OS)
├── artifacts/           # Workbooks, templates, sealed runs, sample data
├── prompts/             # Canonical prompts + Prompt OS control prompts
└── .github/             # CI/CD workflows

Documentation

QUICKSTART.md 5-minute starter path (deepsigma init + make demo)
START_HERE.md Front door
HERO_DEMO.md 5-minute hands-on walkthrough
NAV.md Full navigation index
ABOUT.md Reality Await Layer (RAL)
OPS_RUNBOOK.md Operations + incident playbooks
HELM.md Helm install/test runbook (kind/minikube)
STATELESS_API_SCALE_GUIDE.md 3-replica benchmark + sizing guidance
STABILITY.md Versioning policy + stability guarantees
docs/99-docs-map.md Complete docs map

Excel Prompt OS v2

Structured cognition workbook for institutional decision-making — no code required.

Prompts


Contributing

See CONTRIBUTING.md.

License

MIT


Σ OVERWATCH We don't sell agents. We sell the ability to trust them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepsigma-2.0.6.tar.gz (479.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepsigma-2.0.6-py3-none-any.whl (438.7 kB view details)

Uploaded Python 3

File details

Details for the file deepsigma-2.0.6.tar.gz.

File metadata

  • Download URL: deepsigma-2.0.6.tar.gz
  • Upload date:
  • Size: 479.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepsigma-2.0.6.tar.gz
Algorithm Hash digest
SHA256 776aed5f5b460d07cc75644b543f4856c83c4203f8210e1e943f0cd20606d3b0
MD5 02d76aa80dfb875934751609fb3e647e
BLAKE2b-256 244cdba6dbc7efcda04be56c414772d15bc05854b42145f08f7bb1b1c67a486c

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepsigma-2.0.6.tar.gz:

Publisher: ci.yml on 8ryanWh1t3/DeepSigma

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepsigma-2.0.6-py3-none-any.whl.

File metadata

  • Download URL: deepsigma-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 438.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepsigma-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4f66ef56669bcb02fa58c8e5b9f12fa3d7e49cd4d4452c124c69be2c4a357d57
MD5 99a94d1adf0819904bb331cd41371a35
BLAKE2b-256 64af1dc4e03c045b2adb1ce023ab5de88f160709f89a8834e7338450b9c4b72e

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepsigma-2.0.6-py3-none-any.whl:

Publisher: ci.yml on 8ryanWh1t3/DeepSigma

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page