ContextUnity Platform Roadmap🔗
ContextUnity delivers an open-source, modular AI service mesh across five core services (ContextRouter, ContextBrain, ContextWorker, ContextShield, ContextForge) and shared Core, SDK, CLI, and Django packages.
All workspace packages ship under strict lockstep versioning (v0.X.Y) so cross-service contracts, schemas, and runtime invariants remain guaranteed compatible at every iteration. Live dependency waves and readiness are managed via ContextUnity ACDD (acdd roadmap --group-by release).
ContextUnity uses continuous 0.x minor iterations (0.6 → 0.14+) rather than a single monolithic 1.0 cutoff. Each release delivers a small, dependency-ordered, production-verifiable slice across coupled services. Report bugs or share feedback on GitHub Issues.
Planned Release Track (0.6 → 0.14)🔗
Each iteration strictly builds on <= 0.(X-1) dependencies and ships a cohesive vertical capability slice:
0.6 — Hardened Core, Local Brain & Dev Spine🔗
- Core & CLI: Unified token UUIDs (
P-001), secret-safe CLI diagnostics, dead manifest field cleanup, and live BiDi stream contract (P-101). - Router & Testing: Operator-local CLI subscription adapters (
claude/codex/gemini),invocation_gatewaysplit, SQL read-only defense (R-103), and declarative in-process test harnesses (P-203). - Brain: Engram
CellEdgesubject receipts, default-off Synapse Q-value aging, CLI/MCPCellEdgecuration, and default local embeddings (B-001).
0.7 — Durable Runtime Spine (Worker + ShieldVault)🔗
- Worker: Durable CAS-versioned
WorkflowRunRecordwithADR-0008recovery markers, five-actor C0 registry, and HueyPATH Lcron scheduling (W-001). - Shield: ShieldVault PostgreSQL backend, live secret auth parity, canonical
SecurityAudit, persistentRouterShadowerPII keys (S-001), plus production Ed25519/KMS signer and cross-tenant policy authority (S-002). - Trace Artifacts: Verified service-principal execution trace artifacts across Core, Brain, Router, Shield, and Worker (
P-002).
0.8 — Developer Experience, SDK, Live UI & Lab🔗
- Packaging & Protocols: Lightweight
contextunity-sdkwith lazy imports + umbrellapip install contextunitymetapackage (P-205), and AG-UI/A2UI/GridViewSpec protocol alignment (P-204). - Headless Lab: Read-only Brain/Router memory kernel and blueprint indexing over CLI and
lab://MCP surfaces (B-101). - Forge: Legacy
admin.proto/store decommission, bounded Graph Journey / UDB / Context Lineage views (F-001), andForgeLibrariancontinuous documentation sync & drift detection (F-101).
0.9 — Dynamic DAGs, Swarms, Channels & ACP🔗
- Orchestration: Stateless LangGraph 1.2 dynamic
TaskDagPlan,type: parallelbatch nodes,BlackboardSticker/v1admission, andADR-0016durable WorkerRouterGraphDagWorkflow(R-201). - Channels & Coding: Bidirectional
ChannelTransportconnectors with Telegram adapter (R-202), plus coding-graph runtime handles and ACP v1/v2 adapter (R-203). - Planning:
RouterArchitectgoal-to-DAG planning with pre-run Immune Memory Recall,NeuroPathCheckpoint 1, and"verifier"trajectory role tagging (R-301).
0.10 — Citadel Effects, Tenancy & Constitution🔗
- Citadel Security: Paired Effect Authorization and
ADR-0015envelope-encrypted external-object offload (S-101). - Multi-Tenancy: Shield tenant lifecycle state authority, instant suspend revocation, Worker provisioning/drain orchestration, and
contextunity tenantCLI (S-301). - Heavy Jobs & Constitution:
WorkerStrongmanresource budgets and encrypted outputs (W-101), plus ShieldConstitutionAST gate with non-configurableHarmlessInvariantfloor and fail-closed Escalation Protocol (S-202).
0.11 — Sandboxed Execution, Eval Gates & Security Audit🔗
- Key Rotation & Audit: O(1) KEK rotation / shadow swap, signed
_auditfindings,SecurityEvidenceQuery(S-201), plus Shield admin CLI and direct OTLP audit export (S-102). - Sandboxes & Assurance:
WorkerSandmanephemeral Linux sandbox (W-102),WorkerTestManevaluation gates &WorkerAuditorsigned findings (W-201), and autonomous candidate pipelines + Worker CLI/SDK (W-202).
0.12 — Forge HITL, Token Economics & Governed Memory🔗
- Forge Control Plane: Security/Tenant & Worker/TestMan views, deterministic Review Queues emitting Brain
ReportOutcomeObservation(F-201), Supervised Lab Mode, and HITL manifest/policy sync +forgeCLI (F-202). - Economics: Router agent token economics, OTel metrics, reconciliation, and TestMan economics gates (
R-401). - Governed Memory: Signed lifecycle promotion gates,
DualGating, first-classno-changestates, lightweightProblemThread, andMemory Linter(B-201).
0.13 — Adaptive Memory, Encrypted Backups & Path RLS🔗
- Self-Learning Loop: Derived
ContextRank, durableProcedure BrainEngrampromotion & auto-recall, default-offepsilon-greedyexploration inRouterConductor, and evaluation governance CLI (B-202). - Recovery & Isolation:
ContextSnapshot/v1encrypted backup stores and isolated restore drills (B-301), plus Engram path-scope least-privilege PostgreSQL RLS isolation (B-402).
0.14 — Portability, Compression, Retirement & Prod Parity🔗
- Compression & Portability: Production TOON
ContextProjection&EngramIndexpinning (R-501), universalNeuroPath-verifiedContextSeedpackages & local-first Registry (B-501), and bidirectional SQLite ↔ PostgreSQLContextSnapshotmigration (B-502). - Verified Retirement: Multi-owner tenant retirement with legal holds, complete owner erasure receipts,
TenantRetirementProof, andtenant retireCLI (S-302). - Production Parity Gate:
--phasescaffold removal, live no-mocksPATH L/PATH Tparity matrix, and cross-servicep95performance baselines (P-110).
Evolutionary Horizon (0.15+)🔗
Long-term research and decentralized ecosystem capabilities follow the 0.6 → 0.14 foundation and are tracked as backlog specs in docs/plans/backlog/ (acdd roadmap --spec backlog) and detailed in the ContextUnity Manifesto:
- Teacher–Student RLM & LoRA Hot-Swapping: Distilling high-Q-value trajectories into lightweight LoRA adapters served with zero-downtime hot-swapping (
BKL-WORKER-003,BKL-ROUTER-004). - Wire CodecNegotiation & Dialectic Memory: Immutable-envelope payload codec negotiation (
BKL-CORE-008), iterative depth-escalating retrieval with Spreading Activation (BKL-BRAIN-008), and inter-agent Peer Representations (BKL-BRAIN-009). - ContextStorage & Federated P2P Mesh: WAL/CRDT differential edge sync (
BKL-CORE-009), WireGuard/Tailscale P2P transport (BKL-EXT-004), andContextHubgoverned seed exchange (BKL-EXT-002). - M2M Economy & Escrow: Temporal-backed agent hiring, Shield-governed wallets, and experience tokenization (
BKL-EXT-006).