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
- Documentation Quick Index
- Documentation Index
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 |
| Dashboard Guide | HOW_TO_USE_DASHBOARD.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.
Nexus Dashboard (Information Physics)
The Nexus Dashboard is a glassmorphic command center that monitors the project's logic density. You can perform real-world protocols like DNA Synthesis and Industrial Audits directly from the UI.
[!TIP] READ MORE: HOW_TO_USE_DASHBOARD.md
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
[OK] 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 Cryptographic 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 Cryptographic 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).
- Cryptographic 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 acts as a "Socratic Firewall". It protects your design intent through a deterministic validation loop.
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{Cryptographic Persistence}
D -- "Authorized" --> E[Instant Context Restoration]
D -- "Unauthorized" --> F[Semantic Silence]
Guardian DNA (Technical Specification)
Continuity Legacy uses a deterministic "Nucleotide" hashing algorithm to generate the unique identity of a project.
- Nucleotide Hashing: Each canonical artifact (
.md,.json) is processed using SHA-256. - DNA Synthesis: The system aggregates these segments into a hierarchical Merkle Tree.
- 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.
Documentation Quick Index
| Section | What You Will Find |
|---|---|
| Root Documents | Core project docs: changelog, governance, usage, security, DNA, and release materials. |
| Root Translations | Localized root README and release-note variants. |
| Dashboard Documents | Nexus Dashboard runtime, operator guidance, and asset pipeline docs. |
| Lite Edition Documents | Lightweight package docs and handoff references. |
| Pro Edition Documents | Full operational package docs, roadmap, troubleshooting, and examples. |
| Omega Edition Documents | Omega package overview and context docs. |
| Example and Demo Documents | Demo and sample-project walkthrough material. |
| Internal Continuity Core Documents | Internal continuity ledgers, templates, boot protocols, and registry docs. |
Documentation Index
Root Documents
| Document | Purpose |
|---|---|
README.md |
Main overview of Continuity Legacy, its philosophy, architecture, and core capabilities. |
CHANGELOG.md |
Historical record of major releases, hardening milestones, and ecosystem evolution. |
PROJECT_CONTEXT.md |
Strategic and conceptual framing of the project, including its operating intent. |
PROJECT_DNA.md |
Canonical description of project identity and continuity lineage. |
CONTRIBUTING.md |
Collaboration rules, contribution entry points, and protected-logic contribution policy. |
CONTRIBUTORS.md |
Contributor-facing collaboration principles and engineering expectations. |
SECURITY.md |
Security posture, protected logic expectations, and handling of sensitive system areas. |
GOVERNANCE.md |
Governance model, stewardship expectations, and system authority boundaries. |
HOW_TO_USE_IT.md |
Practical guide for installing, running, and using Continuity Legacy. |
HOW_TO_USE_DASHBOARD.md |
Operator guide for the Nexus Dashboard as control surface. |
BENCHMARKS.md |
Performance and measurement notes for the system and its workflows. |
CASE_STUDY_DRIFT.md |
Analysis of drift, continuity failure modes, and why the system exists. |
ETHERNIUM_UNIVERSAL_DNA.md |
Ethernium-wide lineage and identity framing for the broader ecosystem. |
SESSION_LOG.md |
Working-session trace and continuity record for recent development cycles. |
SESSION_TOKEN_REPORT.md |
Token telemetry and session-level reporting artifacts. |
RELEASE_NOTES_MANIFEST.md |
Release-note manifest and documentation map for published versions. |
REPO_AND_PYPI_RELEASE_CHECKLIST.md |
Release checklist for GitHub publication and PyPI packaging. |
RELEASE_STAGING_PLAN.md |
Commit/staging strategy for safe release preparation. |
Root Translations
| Document Set | Purpose |
|---|---|
OTHER_LANGUAGES/README_*.md |
Translated editions of the main root README. |
OTHER_LANGUAGES/RELEASE_v2.1.0_*.md |
Translated release notes for the v2.1.0 release line. |
OTHER_LANGUAGES/RELEASE_v2.1.0-NEXUS_*.md |
Translated release notes for the NEXUS-specific release line. |
Dashboard Documents
| Document | Purpose |
|---|---|
nexus-dashboard/README.md |
Dashboard setup, runtime behavior, local AI bridge, and operator workflow. |
nexus-dashboard/docs/NODE_ASSET_PIPELINE.md |
Asset pipeline guide for node GLBs, centering, top-view readability, and Blender/export rules. |
Lite Edition Documents
| Document | Purpose |
|---|---|
continuity-lite/README.md |
User-facing guide for the Lite edition. |
continuity-lite/PROJECT_CONTEXT.md |
Lite edition context, scope, and intended usage model. |
continuity-lite/LIVE_HANDOFF.md |
Handoff guidance for continuity across active sessions. |
continuity-lite/OTHER_LANGUAGES/README_*.md |
Translated Lite README set. |
Pro Edition Documents
| Document | Purpose |
|---|---|
continuity-pro/README.md |
Main guide for the Pro edition and its richer operational tooling. |
continuity-pro/CHANGELOG.md |
Version history specific to the Pro edition. |
continuity-pro/CONTRIBUTING.md |
Contribution rules specific to the Pro package and workflow. |
continuity-pro/PROJECT_CONTEXT.md |
Pro edition mission, boundaries, and operating assumptions. |
continuity-pro/ROADMAP.md |
Planned feature trajectory and future development priorities. |
continuity-pro/MAINTAINERS.md |
Maintainer responsibilities and project stewardship notes. |
continuity-pro/SECURITY.md |
Security expectations and safeguards for the Pro edition. |
continuity-pro/TROUBLESHOOTING.md |
Problem-solving guide for common runtime and workflow issues. |
continuity-pro/USE_CASES.md |
Representative workflows and intended real-world usage scenarios. |
continuity-pro/AGENT_START.md |
Agent/session bootstrap guidance for Pro operators. |
continuity-pro/examples/README.md |
Example pack overview for Pro usage patterns. |
continuity-pro/examples/sample_project/README.md |
Walkthrough for the sample Pro project. |
continuity-pro/OTHER_LANGUAGES/README_*.md |
Translated Pro README set. |
continuity-pro/OTHER_LANGUAGES/*/README.md |
Language-scoped translated Pro overviews. |
continuity-pro/OTHER_LANGUAGES/*/TROUBLESHOOTING.md |
Language-scoped translated troubleshooting guides. |
continuity-pro/OTHER_LANGUAGES/*/USE_CASES.md |
Language-scoped translated use-case guides. |
continuity-pro/continuity_pro/continuity_legacy/README.md |
Packaged README embedded in the Pro Python distribution. |
Omega Edition Documents
| Document | Purpose |
|---|---|
continuity-omega/README.md |
Main guide for the Omega edition. |
continuity-omega/PROJECT_CONTEXT.md |
Omega edition context and high-level operating frame. |
continuity-omega/OTHER_LANGUAGES/README_*.md |
Translated Omega README set. |
continuity-omega/continuity_omega/continuity_legacy/README.md |
Packaged README embedded in the Omega Python distribution. |
Example and Demo Documents
| Document | Purpose |
|---|---|
example-project/README.md |
Example project showing how Continuity Legacy is applied in practice. |
example-project/DAILY_HANDOFF_SCENARIO.md |
Example of session-to-session continuity handoff. |
demo_folder/README.md |
Demo folder notes for lightweight demonstration material. |
Internal Continuity Core Documents
| Document | Purpose |
|---|---|
.continuity/DECISIONS_LOG.md |
Local architectural decision ledger for this repo. |
.continuity/PROJECT_DNA.md |
Local DNA record for continuity identity. |
continuity-pro/.continuity/README.md |
Overview of the Pro continuity core internals. |
continuity-pro/.continuity/AGENT_ACTIVATION_PROTOCOL.md |
Pro agent activation contract. |
continuity-pro/.continuity/BOOT_SEQUENCE.md |
Boot process for continuity initialization. |
continuity-pro/.continuity/BYPASS_LOG.md |
Record of bypasses, exceptions, or continuity-critical deviations. |
continuity-pro/.continuity/CONTEXT_CONTINUITY.md |
Continuity-memory protocol for Pro. |
continuity-pro/.continuity/DECISIONS_LOG.md |
Pro-specific decision ledger. |
continuity-pro/.continuity/LIVE_HANDOFF.md |
Pro live handoff instructions. |
continuity-pro/.continuity/TIMELINE.md |
Pro continuity timeline. |
continuity-pro/.continuity/templates/README.md |
Template overview for continuity scaffolds. |
continuity-pro/.continuity/templates/external_docs/README.md |
External-document template usage notes. |
continuity-pro/.continuity/registry/README.md |
Registry notes for internal continuity bookkeeping. |
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.2.tar.gz.
File metadata
- Download URL: ethernium_continuity_legacy-3.0.2.tar.gz
- Upload date:
- Size: 94.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d33e49147d1f832c1edc58c2feabea6c8f54ba025549ed68cd4b4dcacef1709d
|
|
| MD5 |
b2379e8b23f167562e19ccebc79186d3
|
|
| BLAKE2b-256 |
604cfa99dccc8c1d9af9002b55c9dbfeccbe429e1c423a14111791418901efd1
|
File details
Details for the file ethernium_continuity_legacy-3.0.2-py3-none-any.whl.
File metadata
- Download URL: ethernium_continuity_legacy-3.0.2-py3-none-any.whl
- Upload date:
- Size: 115.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f43d54c3fd916ca23652cf2e4e64162595f8fd1ba563346c634de63c411441b3
|
|
| MD5 |
0cbf48fec5ecd5753b84676a5fdb23b7
|
|
| BLAKE2b-256 |
0a4b278424c6c9b8c5e95318c4fc254311e115e518afcfbf64f98e6e3dafd839
|