Home/Docs/Roadmap & Testing/Platform Roadmap (0.6 → 0.14)

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).

Note

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_gateway split, SQL read-only defense (R-103), and declarative in-process test harnesses (P-203).
  • Brain: Engram CellEdge subject receipts, default-off Synapse Q-value aging, CLI/MCP CellEdge curation, and default local embeddings (B-001).

0.7 — Durable Runtime Spine (Worker + ShieldVault)🔗

  • Worker: Durable CAS-versioned WorkflowRunRecord with ADR-0008 recovery markers, five-actor C0 registry, and Huey PATH L cron scheduling (W-001).
  • Shield: ShieldVault PostgreSQL backend, live secret auth parity, canonical SecurityAudit, persistent RouterShadower PII 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-sdk with lazy imports + umbrella pip install contextunity metapackage (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), and ForgeLibrarian continuous documentation sync & drift detection (F-101).

0.9 — Dynamic DAGs, Swarms, Channels & ACP🔗

  • Orchestration: Stateless LangGraph 1.2 dynamic TaskDagPlan, type: parallel batch nodes, BlackboardSticker/v1 admission, and ADR-0016 durable Worker RouterGraphDagWorkflow (R-201).
  • Channels & Coding: Bidirectional ChannelTransport connectors with Telegram adapter (R-202), plus coding-graph runtime handles and ACP v1/v2 adapter (R-203).
  • Planning: RouterArchitect goal-to-DAG planning with pre-run Immune Memory Recall, NeuroPath Checkpoint 1, and "verifier" trajectory role tagging (R-301).

0.10 — Citadel Effects, Tenancy & Constitution🔗

  • Citadel Security: Paired Effect Authorization and ADR-0015 envelope-encrypted external-object offload (S-101).
  • Multi-Tenancy: Shield tenant lifecycle state authority, instant suspend revocation, Worker provisioning/drain orchestration, and contextunity tenant CLI (S-301).
  • Heavy Jobs & Constitution: WorkerStrongman resource budgets and encrypted outputs (W-101), plus Shield Constitution AST gate with non-configurable HarmlessInvariant floor 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 _audit findings, SecurityEvidenceQuery (S-201), plus Shield admin CLI and direct OTLP audit export (S-102).
  • Sandboxes & Assurance: WorkerSandman ephemeral Linux sandbox (W-102), WorkerTestMan evaluation gates & WorkerAuditor signed 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 + forge CLI (F-202).
  • Economics: Router agent token economics, OTel metrics, reconciliation, and TestMan economics gates (R-401).
  • Governed Memory: Signed lifecycle promotion gates, DualGating, first-class no-change states, lightweight ProblemThread, and Memory Linter (B-201).

0.13 — Adaptive Memory, Encrypted Backups & Path RLS🔗

  • Self-Learning Loop: Derived ContextRank, durable Procedure BrainEngram promotion & auto-recall, default-off epsilon-greedy exploration in RouterConductor, and evaluation governance CLI (B-202).
  • Recovery & Isolation: ContextSnapshot/v1 encrypted 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 & EngramIndex pinning (R-501), universal NeuroPath-verified ContextSeed packages & local-first Registry (B-501), and bidirectional SQLite ↔ PostgreSQL ContextSnapshot migration (B-502).
  • Verified Retirement: Multi-owner tenant retirement with legal holds, complete owner erasure receipts, TenantRetirementProof, and tenant retire CLI (S-302).
  • Production Parity Gate: --phase scaffold removal, live no-mocks PATH L/PATH T parity matrix, and cross-service p95 performance 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), and ContextHub governed seed exchange (BKL-EXT-002).
  • M2M Economy & Escrow: Temporal-backed agent hiring, Shield-governed wallets, and experience tokenization (BKL-EXT-006).