How dhruv-techdev/continuum works
Continuum is a local-first platform for preserving AI-work transcripts and carrying their state into a fresh session. Its documented available workflow imports transcripts into canonical events, appends them to a per-session ledger, verifies ledger integrity, extracts evidence-linked working state, and generates layered bootstrap context. The graph also preserves major documented planned capabilities. Source evidence is partial; edges without direct source excerpts rely on the README’s workflow description, and planned integrations are marked optional.
Main entry points: src/index.ts Continuum CLI · event-ledger.ts Append-only Ledger · persistence.ts Working State · dashboard/index.ts Dashboard Data
Components 26
CLI and Workspace
- Continuum CLI
packages/cli/src/index.ts - Local Workspace
packages/core/src/workspace.ts - Projects and Sessions
packages/core/src/projects - Transcript Import
packages/cli/src/commands/import.ts - Capture Command
packages/cli/src/commands/capture.ts - State Command
packages/cli/src/commands/state.ts
Event Recording
- JSON and Markdown Parsers
packages/core/src/import - Provider Adapters
packages/core/src/adapters - Canonical Events
packages/core/src/events/types.ts - Append-only Ledger
packages/core/src/ledger/event-ledger.ts - Ledger Integrity
packages/core/src/events/validation.ts - Live Capture
packages/core/src/capture/ingest.ts
State and Context
- State Extraction
packages/core/src/state-engine/extractor.ts - Working State
packages/core/src/state-engine/persistence.ts - Tasks, Decisions, Attempts
packages/core/src/tracking - Layered Bootstrap
packages/core/src/state-engine/bootstrap.ts - Context Builder
packages/core/src/context/builder.ts
Planned Extensions
- Transfer Verification
packages/cli/src/commands/verify.ts - Verification and Repair
packages/core/src/verification - Capsule Commands
packages/cli/src/commands/capsule.ts - Portable Capsules
packages/core/src/capsule - Search and Retrieval
packages/core/src/db - MCP Tools and Server
packages/mcp/src/tools.ts - Dashboard Data
packages/core/src/dashboard/index.ts
Other components
- Engineer
- Fresh AI Session
Connections 29
- Engineer → Continuum CLI: runs commands
README.md - Continuum CLI → Local Workspace: initializes
README.md - Continuum CLI → Projects and Sessions: creates sessions
README.md - Continuum CLI → Transcript Import: invokes import
packages/cli/src/index.ts - Transcript Import → JSON and Markdown Parsers: parses transcript
README.md - JSON and Markdown Parsers → Canonical Events: normalizes events
README.md - Provider Adapters → Canonical Events: maps provider data
packages/core/src/adapters/coverage.ts - Canonical Events → Append-only Ledger: appends events
README.md - Append-only Ledger → Ledger Integrity: verifies events
packages/core/src/ledger/event-ledger.ts - Continuum CLI → Capture Command: invokes capture
packages/cli/src/index.ts - Capture Command → Live Capture: ingests input
- Live Capture → Append-only Ledger: appends events
packages/core/src/capture/ingest.ts - Append-only Ledger → State Extraction: supplies events
README.md - State Extraction → Working State: derives state
README.md - Continuum CLI → State Command: invokes state
packages/cli/src/index.ts - State Command → Working State: refreshes state
README.md - Working State → Layered Bootstrap: provides state
README.md - Working State → Tasks, Decisions, Attempts: records work items
- State Command → Layered Bootstrap: generates context
README.md - Layered Bootstrap → Fresh AI Session: orients session
README.md - Continuum CLI → Transfer Verification: invokes verification
packages/cli/src/index.ts - Transfer Verification → Verification and Repair: runs checks
- Continuum CLI → Capsule Commands: invokes capsules
packages/cli/src/index.ts - Capsule Commands → Portable Capsules: exports or imports
- MCP Tools and Server → Context Builder: builds context
packages/mcp/src/tools.ts - MCP Tools and Server → Search and Retrieval: queries index
packages/mcp/src/tools.ts - Dashboard Data → Append-only Ledger: reads events
packages/core/src/dashboard/index.ts - Dashboard Data → Working State: reads state
packages/core/src/dashboard/index.ts - Dashboard Data → Tasks, Decisions, Attempts: reads tasks
packages/core/src/dashboard/index.ts