Skip to main content

DeepSigma Core - Drift to Patch governed execution

Project description

CI PyPI License: MIT Python 3.10+ Coherence Score Authority Coverage Drift Density Memory Coverage version LOC tests EDGE workflows

System Architecture | Feature Catalog | TEC Summary | KPI Standards Overlay

DeepSigma

DeepSigma prevents decision amnesia in AI systems.

Log every agent decision. Detect when it drifts. Prove what happened.

Quickstart

pip install deepsigma

# Log an agent decision
coherence agent log decision.json

# Audit all logged decisions
coherence agent audit --json

# Coherence score
coherence agent score

60-Second Proof

coherence demo
BASELINE   90.00 (A)
DRIFT      85.75 (B)   red=1
PATCH      90.00 (A)   patch=RETCON  drift_resolved=true

Three states, deterministic every run:

  1. BASELINE — sealed episode, coherence scored
  2. DRIFT — data changed, drift detected automatically
  3. PATCH — governed retcon applied, coherence restored

Machine-readable: coherence demo --json

What It Does

DeepSigma is the institutional memory layer that makes AI decisions reconstructable.

Every agent decision becomes a sealed, hash-chained episode. Drift between decisions is detected automatically across 8 types. Authority is captured cryptographically, not implied. The full "why" is retrievable in under 60 seconds.

In practice:

  • the "why" is retrievable (not tribal)
  • authority is explicit (not implied)
  • changes are patched, not overwritten
  • drift is detected early and corrected consistently

Editions

One product line, one version, two editions:

  • CORE edition: minimal, demo-first, deterministic (pip install deepsigma)
  • ENTERPRISE edition: extended adapters, dashboards, and ops surfaces (repo-native under enterprise/)

Edition boundary ledger: EDITION_DIFF.md

Operating Modes

Core Mode

Use Core mode when you need fast adoption and low cognitive load.

Active Core surface at repo root:

  • run_money_demo.sh
  • src/core/
  • docs/examples/demo-stack/
  • tests/test_money_demo.py

Enterprise Mode

Use Enterprise mode when you need connectors, dashboards, extended security, broader telemetry, and integration-heavy workflows.

Dependency note:

  • pip install "deepsigma[enterprise]" installs enterprise runtime extras used by telemetry/radar tooling.
  • Full enterprise code surfaces are repository-native under enterprise/ and are run from source in this repo.

Enterprise surfaces are first-class under:

Examples of parked modules:

  • enterprise/dashboard/
  • enterprise/docker/
  • enterprise/release_kpis/
  • enterprise/schemas/
  • enterprise/scripts/
  • enterprise/src/ (non-core packages)
  • enterprise/docs/ (full enterprise docs)

Run the enterprise wedge:

make enterprise-demo
make test-enterprise

Primitive Loop: CERPA

Claim -> Event -> Review -> Patch -> Apply

CERPA is the foundational adaptation loop for the platform. Every governance flow — across IntelOps, ReOps, FranOps, AuthorityOps, and ActionOps — follows this cycle:

  1. Claim — an asserted truth or commitment
  2. Event — an observable occurrence
  3. Review — evaluate the claim against the event
  4. Patch — corrective action if drift is detected
  5. Apply — execute the patch and update state
python -m src.core.examples.cerpa_contract_demo
python -m src.core.examples.cerpa_agent_supervision_demo

Release Artifacts

Build both edition artifacts from one version line:

make release-artifacts

Outputs in dist/:

  • deepsigma-core-vX.Y.Z.zip
  • deepsigma-enterprise-vX.Y.Z.zip

Full Platform References

For the full-platform docs and architecture map, use parked docs directly:

  • enterprise/docs/positioning/positioning_manifesto.md
  • enterprise/docs/positioning/executive_briefing_one_page.md
  • enterprise/docs/release/
  • enterprise/docs/security/
  • enterprise/docs/mermaid/

Repo Snapshot (auto-generated 2026-03-07 04:23 UTC)

  • 1,732 files | 318,085 lines of code
  • 41 CI workflows | 163 test files | 5 pyproject.toml
  • 21 EDGE modules

LOC by extension: .py 105,380 .html 59,838 .json 56,166 .md 47,787 .svg 28,054 .jsonl 5,278 .tsx 2,942 .ttl 2,804 .patch 1,438 .ts 1,244

Repo Intent

  • Keep root focused on a reliable first proof.
  • Keep enterprise depth available without deleting capability.
  • Expand from Core into Enterprise intentionally, not by drift.

License

MIT

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.1.3.tar.gz (304.9 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.1.3-py3-none-any.whl (295.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for deepsigma-2.1.3.tar.gz
Algorithm Hash digest
SHA256 176639db7ad5fb13827115cb58110d8c0f1e08df63434f85122d1ee3478e949d
MD5 0d1f3932b6ab15ae0b872b6fbf57588c
BLAKE2b-256 7a07f357dc36f2311689a5f119b189691a0ea7cb8d72793a3ddfe61335536c99

See more details on using hashes here.

Provenance

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

Publisher: publish-deepsigma.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.1.3-py3-none-any.whl.

File metadata

  • Download URL: deepsigma-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 295.6 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c66461fba808c96bd0550cc838d55ee6a789263ceb5c59b9ba349d426bfd2bb9
MD5 7337c0aa6fc9f18db0b5a8e6bf490715
BLAKE2b-256 50ec1eb100d7621cd63d97c492cf79ea1c215e82ddf55a68fe3a5d0a71a2a4e4

See more details on using hashes here.

Provenance

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

Publisher: publish-deepsigma.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