Continuity Legacy: Persistent Cognitive Layer for AI context handoffs. Deterministic Merkle-based integrity with Shannon Entropy physics. Includes Lite, Pro, and Omega editions.
Project description
Continuity Legacy: Persistent Cognitive Layer 🧬
Languages
"AI doesn't forget anymore."
This prevents LLMs from losing context and destroying your codebase, mathematically forcing them to align with a cryptographic hash.
🏛️ Enterprise Use Cases
Continuity Legacy solves the "Semantic Drift" in long-term AI-Human collaboration:
- Cross-Agent Handoffs: Transfer full project context between different AI models (GPT-4 to Claude to local LLMs) with zero context loss.
- Multi-Day RAG Stability: Ensures that Retrieval-Augmented Generation systems always point to the canonical source of truth, even after system resets.
- Legacy Restoration: Instantly reconstruct the architectural intent of a project years after the last human developer has left.
⚡ 30-Second Quickstart (Professional Onboarding)
Get the entire Ethernium Continuity Ecosystem running in seconds:
# Install the unified metapackage
pip install continuity-legacy
# Initialize the Guardian DNA in your current project
continuity init
# Verify state consistency
continuity status
# [NEW] Audit project cognitive weight (tokens)
continuity-tokens scan
🛡️ Industrial Proof & Quality
To address the need for concrete evidence, we provide a verified Case Study and Benchmarks:
- CASE_STUDY_DRIFT.md: A real-world demonstration of how Continuity detects and blocks unauthorized semantic changes that Git ignores.
- BENCHMARKS.md: Measured performance results (Latencies, Memory footprint, and Merkle scan speeds).
🏛️ Table of Contents
- Choose Your Edition
- Technical Specifications
- 30-Second Quickstart
- Quick Installation
- Operation Modes
- Core Infrastructure
- The Quality Flow
- Guardian DNA Algorithm
- Origins: The Ethernium Heritage
🏛️ Choose Your Edition
Minimalist local sync with DNA Synthesis for zero-loss handoffs.
Industrial-grade border guard. Features Enterprise-grade cyber-security, RFC 6962 Merkle Hardening, and Fail-Closed Hooks.
Advanced RAG, cognitive mapping, and a stunning 3D Glassmorphic Dashboard for impactful data visualization.
| Guide | Link |
|---|---|
| Industrial Guide | HOW_TO_USE_IT.md |
| Release Manifest | RELEASE_NOTES_MANIFEST.md |
🏛️ Enterprise Use Cases
Continuity Legacy solves the "Semantic Drift" in long-term AI-Human collaboration:
- Cross-Agent Handoffs: Transfer full project context between different AI models (GPT-4 to Claude to local LLMs) with zero context loss.
- Multi-Day RAG Stability: Ensures that Retrieval-Augmented Generation systems always point to the canonical source of truth, even after system resets.
- Legacy Restoration: Instantly reconstruct the architectural intent of a project years after the last human developer has left.
🏛️ Software Supply Chain Security (SLSA)
Continuity Legacy implements high-integrity governance for the project lineage:
- RFC 6962 Merkle Integrity: Every markdown file is part of a Merkle Tree. A single byte change in your documentation alters the root hash.
- Deterministic Synthesis: Cross-platform verification (Windows/Linux) ensures that the "Project Soul" is identical across all environments.
- Fail-Closed Hooks: Native Git-Hooks that block pushes if the DNA drift is detected.
🏛️ The Triple-Tier Ecosystem
Continuity provides three levels of depth in governance:
- Border Control: Strict validation of commits against the project's logical heritage.
- DNA Integrity: Automated file synchronization of documentation and source code.
- Global Awareness: Full documentation and CLI support localized in 9 languages.
- Diamond Sanitization: Deep purge of encoding errors (mojibake) and streamlined terminal-friendly directory structures.
- [NEW] Token Sentinel (v1.0): Integrated telemetry to monitor project "Cognitive Weight" and optimize LLM context consumption.
📊 Technical Specifications (Hardware Profiles)
Each edition is optimized for specific resource footprints:
| Edition | RAM (Min) | Storage | Dependencies | Best For |
|---|---|---|---|---|
| Lite | < 100 MB | < 5 MB | Zero | Local Dev / CI-CD |
| Pro | 4 GB | 50 MB | Standard | Industrial Handoffs |
| Omega | 16 GB+ | 500 MB+ | RAG/Graph | Enterprise Strategy |
⏱️ 30-Second Quickstart (The Onboarding Experience)
example-project/is a pre-configured sandbox included in this repository. It simulates a real project already managed by Continuity Legacy.
- Navigate to the example environment:
cd example-project
- Verify the DNA Parity:
python ../continuity-lite/run_continuity_lite.py check
- Expected Outcome: You will see a green
[✔] Parity Confirmed.
🚀 Quick Installation
# 1. Clone the repository
git clone https://github.com/SteveBlackbeard/CONTINUITY-LEGACY-by-Ethernium.git
cd CONTINUITY-LEGACY-by-Ethernium
# 2. Install from PyPI (when published)
pip install ethernium-continuity-lite
# Or install locally in editable mode
pip install -e continuity-lite
# 3. Activate the Sentinel Guardian (auto Git-Hooks + DNA init)
continuity-lite init
# 4. Verify your DNA parity
continuity-lite check
🏛️ Architecture: Memory Core
Continuity Legacy uses a Total Decoupling design. Editions are not a monolithic block, but independent tools operating on a single source of truth:
- Absolute Independence: Using
Litedoes not consumeProorOmegaresources. Engines only consume RAM/CPU on demand. - Common Substrate: All editions share the
.continuity/STATE.jsonandPROJECT_CONTEXT.md. - Passive Interoperability: A change registered by one edition is immediately visible to others, ensuring the logical lineage flows without friction.
📊 The NEXUS v2.10.0 Sovereign Audit Cycle
sequenceDiagram
participant D as Developer (Architect)
participant SDK as SDK Identity (ED25519)
participant HG as Hub Guardian (GHOST_MODE)
participant TC as THE_CHOSEN_ONES (Registry)
participant DNA as DNA Ledger (STATE.json)
D->>SDK: Sign Context Seed
SDK->>HG: Verify Sovereign Identity
HG->>TC: Audit Collaborator Key
alt Identity Verified
TC->>HG: Grant Access (Open Nucleotides)
HG->>DNA: Update Merkle Root
HG->>D: Green Badge (v2.10.0)
else Identity Missing
HG->>D: REJECT (v2.10.0-SDK_ERROR)
Note over HG: Context stays LOCKED
end
🚀 Operating Modes
Continuity Legacy can be integrated into your workflow in three main ways:
- Autonomous Mode (CLI): Run
continuity-lite statusorcheckmanually. - Sentinel Mode (Automatic Guardian): Use
continuity-lite initto install Git-Hooks automatically. - Auditor Mode (Manual DNA): Use the parity script to generate drift reports.
🧠 Key Features (Industrial Symphony)
- Metabolism Optimization: Typ-Rich engine with <100ms startup and lazy-loading of cores.
- DNA Synthesis: Merkle Tree cryptographic protection (SHA-256).
- Sovereign Identity: Digital signing of Project DNA using ED25519 (v2.6.0+).
- Dual Bridge Portals: Symmetric Identity for ZIP files (
Ethernium_Portal_Inside/Outside). - Token Sentinel: Context telemetry and x10 optimization via ENE.
- Governance: Sentinel Guardian with automatic Git-Hooks and session logging.
- Global Symmetry: Industrial-grade documentation and CLI support in 9 languages.
- Industrial Sanitization: Full purge of UTF-16 files and tactical debris.
🧩 Core Infrastructure (The Cognitive Core)
Continuity organizes project intelligence into structured nodes:
- .continuity/: The memory core with
TIMELINE.mdandDECISIONS_LOG.md. STATE.json: State snapshot protected by SHA-256 signature.PROJECT_CONTEXT.md: Defines the rules and the strategic soul of the system.
🪐 Tokenator v2.9.3: Information Physics & SDK Sealing
Tokenator is the cognitive engine that manages context density and security. It operates on the principles of Information Theory to minimize token cost while maximizing logical purity.
🔍 The Quality Flow (The Border Guard)
Continuity actúa como un "Socratic Firewall". Protege tu intención de diseño mediante un bucle de validación determinista.
🧪 Technical Flow: The Synthesis Engine
graph LR
subgraph "Input Layer"
RAW[Raw Context/Code]
end
subgraph "Processing Layer (NEXUS)"
RAW --> H[Shannon Entropy Audit]
H -- "H < 5.0 (Pure)" --> ENE[ENE v3.0 Mapping]
H -- "H > 5.0 (Noisy)" --> REF[Suggest Refactor]
ENE --> SYMB[Symbolic Equations]
end
subgraph "Security Layer (THE_CHOSEN_ONES)"
SYMB --> SDK[SDK Sealing]
SDK -- "GHOST MODE" --> LOCK[Encrypted Nucleotide .locked]
end
⚛️ Conceptual Flow: Information Physics (Singularity)
graph TD
A[Context Gravity] -- "Raw Fragments" --> B((Entropy Reduction))
B -- "Minimizing H(X)" --> C[Logic Density Maximized]
C -- "NEXUS Core" --> D{Sovereign Persistence}
D -- "Authorized" --> E[Instant Context Restoration]
D -- "Unauthorized" --> F[Semantic Silence]
🧬 Guardian DNA (Technical Specification)
Continuity Legacy utiliza un algoritmo de hashing "Nucleótido" determinista para generar la identidad única de un proyecto.
- Nucleotide Hashing: Cada artefacto canónico (
.md,.json) es procesado usando SHA-256. - DNA Synthesis: El sistema agrega estos segmentos en un Merkle Tree jerárquico.
- The Merkle Root: El hash final que representa el Estado Absoluto.
🌌 Origins: The Ethernium Heritage
🤝 Community & Governance
The NEXUS Phase is governed by the THE_CHOSEN_ONES protocol. Open source contributions are welcomed, but critical logic and symbolic DNA are protected.
- How to Collaborate: See CONTRIBUTING.md for keys and access.
- Support: Reach out via X (@ethernium) or Email
Continuity Legacy was born from the systemic need within the Ethernium Ecosystem, an evolving frontier of cognitive computing and autonomous systems. Where session resets occur millions of times, the risk of "Semantic Entropy" was critical. We needed to ensure that the soul of a project transitioned from one cognitive instance to the next without loss or drift.
Continuity Legacy: Protecting the logical lineage of your software.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ethernium_continuity_legacy-3.0.0.tar.gz.
File metadata
- Download URL: ethernium_continuity_legacy-3.0.0.tar.gz
- Upload date:
- Size: 88.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8c86ef2c24504efeb2eb140af23d263cfb11ead84bc8897dcb3cc066ef7a6a
|
|
| MD5 |
d3b495c6f939957c58901b8e7f3bb9fa
|
|
| BLAKE2b-256 |
a171c5ed93330e0e55db3e727c524f9728b20748065321c0081cd4d53c7d5e2c
|
Provenance
The following attestation bundles were made for ethernium_continuity_legacy-3.0.0.tar.gz:
Publisher:
pypi-publish.yml on SteveBlackbeard/CONTINUITY-LEGACY-by-Ethernium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ethernium_continuity_legacy-3.0.0.tar.gz -
Subject digest:
1b8c86ef2c24504efeb2eb140af23d263cfb11ead84bc8897dcb3cc066ef7a6a - Sigstore transparency entry: 1247494124
- Sigstore integration time:
-
Permalink:
SteveBlackbeard/CONTINUITY-LEGACY-by-Ethernium@46a0cf3e3fc93c62b19a46b2f1330d3f657effe4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SteveBlackbeard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@46a0cf3e3fc93c62b19a46b2f1330d3f657effe4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ethernium_continuity_legacy-3.0.0-py3-none-any.whl.
File metadata
- Download URL: ethernium_continuity_legacy-3.0.0-py3-none-any.whl
- Upload date:
- Size: 111.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9df778d74aa85601e58c499b4e3dcee8e63b741fab138eb25bc2fc180fd74c6
|
|
| MD5 |
1c284e1bca84e9f59b42a3cb095d3faa
|
|
| BLAKE2b-256 |
7c9597316944d38e6d744f2aabcbbe65f192acb78c59067b8780c63a3c3fe81a
|
Provenance
The following attestation bundles were made for ethernium_continuity_legacy-3.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on SteveBlackbeard/CONTINUITY-LEGACY-by-Ethernium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ethernium_continuity_legacy-3.0.0-py3-none-any.whl -
Subject digest:
d9df778d74aa85601e58c499b4e3dcee8e63b741fab138eb25bc2fc180fd74c6 - Sigstore transparency entry: 1247494146
- Sigstore integration time:
-
Permalink:
SteveBlackbeard/CONTINUITY-LEGACY-by-Ethernium@46a0cf3e3fc93c62b19a46b2f1330d3f657effe4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SteveBlackbeard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@46a0cf3e3fc93c62b19a46b2f1330d3f657effe4 -
Trigger Event:
workflow_dispatch
-
Statement type: