Project

Roadmap

The complete composition layer, batteries included, is designed end to end and released in stages, each measured before the next. Phases 0–9 are complete and on main; the clamp CLI and its installer are the newest release.

No dates. A stage is released when its source is public and its examples run from main. Phase completion records prototype work. It does not mean an API is stable, a package is on crates.io, or production use is supported. Package publication has separate license, ownership, compatibility, and consumer checks.

Stages#

StageWhat it deliversStatus
1 · FoundationsPico entrypoint, typed capabilities, modules, contributions, process projection, freeze and inspection — phases 0–4Released
2 · LifecycleOpt-in phase contracts, ordered start and shutdown, readiness and health, task supervision, optional Tokio — phase 5Released
3 · ServicesHTTP on Axum and Tower, PostgreSQL on SQLx, one operation behind console and HTTP — phase 6Released
4 · MessagingVersioned envelopes, JetStream workers with retry and dead-letter, transactional outbox, durable inbox, clock-driven scheduler — phase 7Released
5 · LoopsDeterministic tick loop under the runtime, replay, fake device and CAN target, a no_std Core consumer — phase 8Released
6 · Tooling and releaseclamp inspect, why and doctor with versioned JSON, documentation, package validation and independent launch gates — phase 9. Install with one line; see Clamp CLI. Crates.io publication waits for the 1.0 gates.Released
7 · IntegrationsWebSocket, gRPC, MQTT, SQLite, Redis, auth, mail and storage on the same boundariesNext
8 · AI and MCPAdapters over inspection — never the source of truth, never required to build or runLater
9 · 1.0Profiles and recipes for each kind of software, a license, packages on crates.ioLater

Optional AI/MCP and site publication are independent Phase 9 workstreams. None is a prerequisite for the other; package release has its own acceptance gates.

Build phases 0–9#

Phases record the prototype work and evidence. Completion alone does not establish stable APIs or package publication.

PhaseWhat it provedExamplesEvidence
0 · WorkspaceIndependent repositories, a generated local workspace, dependency-boundary fixtures, isolated package checks—phase0
1 · PicoClamp::run adds 0 B and no allocations over plain Rust00phase1
2 · CapabilitiesTyped capabilities and modules; ambiguity, cycles and missing providers as structured errors; qualifiers and cardinality01, 02phase2
3 · ContributionsDomain-owned targets assembled from modules; the CLI target owns its own rules03phase3
4 · ProcessesOne blueprint, separate CLI and Worker projections, reachability, projection-scoped config, freeze and inspection04phase4
5 · LifecycleDependency-ordered start and reverse stop, readiness, drain, managed and caller-owned resources, task supervision, optional Tokio05phase5
6 · ServicesAxum routes as contributions, PostgreSQL pools and migrations, one Users operation behind console and HTTP06phase6
7 · MessagingVersioned envelopes, JetStream API and Worker processes, bounded retry and dead-letter, outbox and inbox under crash tests, scheduler07–10phase7
8 · LoopsDeterministic replay under the runtime, fake device and CAN target, no_std Core consumer, projection scale to 500 modules11, 12phase8
9 · ToolingThe clamp CLI: init, Cargo pass-through, inspect/tree/graph/why/doctor over schema-v1 JSON checked against real projections; a one-line installer; a Rust-served copy of these sites04, 05, 09, 11, 13phase9

Numbers from every phase are collected on Evidence.

How a stage is built#

  • From the ground up. Contracts land in Core first, coordination in Kernel, then the integration package, then an example that uses it the way an application would.
  • Measured against a control. Build time, binary size, dependencies and hot-path cost are compared with plain Rust or the direct crate.
  • Optimised as we go. A cost that shows up in the evidence is addressed in its own stage, not deferred to a rewrite.

Release status#

  • Public source: all nine package repositories — rustclamp, core, kernel, runtime, http, postgres, messaging, worker, scheduler. Examples 00–13 and the clamp CLI are on main. Public source is not a stable package release.
  • crates.io: with 1.0, after the licensing decision and registry ownership. Packages are 0.1.0 with publish = false until then.
  • Local verification: checks run through tools/check.py. Hosted CI status is tracked separately and has not been established by local runs.