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#
| Stage | What it delivers | Status |
|---|---|---|
| 1 · Foundations | Pico entrypoint, typed capabilities, modules, contributions, process projection, freeze and inspection — phases 0–4 | Released |
| 2 · Lifecycle | Opt-in phase contracts, ordered start and shutdown, readiness and health, task supervision, optional Tokio — phase 5 | Released |
| 3 · Services | HTTP on Axum and Tower, PostgreSQL on SQLx, one operation behind console and HTTP — phase 6 | Released |
| 4 · Messaging | Versioned envelopes, JetStream workers with retry and dead-letter, transactional outbox, durable inbox, clock-driven scheduler — phase 7 | Released |
| 5 · Loops | Deterministic tick loop under the runtime, replay, fake device and CAN target, a no_std Core consumer — phase 8 | Released |
| 6 · Tooling and release | clamp 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 · Integrations | WebSocket, gRPC, MQTT, SQLite, Redis, auth, mail and storage on the same boundaries | Next |
| 8 · AI and MCP | Adapters over inspection — never the source of truth, never required to build or run | Later |
| 9 · 1.0 | Profiles and recipes for each kind of software, a license, packages on crates.io | Later |
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.
| Phase | What it proved | Examples | Evidence |
|---|---|---|---|
| 0 · Workspace | Independent repositories, a generated local workspace, dependency-boundary fixtures, isolated package checks | — | phase0 |
| 1 · Pico | Clamp::run adds 0 B and no allocations over plain Rust | 00 | phase1 |
| 2 · Capabilities | Typed capabilities and modules; ambiguity, cycles and missing providers as structured errors; qualifiers and cardinality | 01, 02 | phase2 |
| 3 · Contributions | Domain-owned targets assembled from modules; the CLI target owns its own rules | 03 | phase3 |
| 4 · Processes | One blueprint, separate CLI and Worker projections, reachability, projection-scoped config, freeze and inspection | 04 | phase4 |
| 5 · Lifecycle | Dependency-ordered start and reverse stop, readiness, drain, managed and caller-owned resources, task supervision, optional Tokio | 05 | phase5 |
| 6 · Services | Axum routes as contributions, PostgreSQL pools and migrations, one Users operation behind console and HTTP | 06 | phase6 |
| 7 · Messaging | Versioned envelopes, JetStream API and Worker processes, bounded retry and dead-letter, outbox and inbox under crash tests, scheduler | 07–10 | phase7 |
| 8 · Loops | Deterministic replay under the runtime, fake device and CAN target, no_std Core consumer, projection scale to 500 modules | 11, 12 | phase8 |
| 9 · Tooling | The 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 sites | 04, 05, 09, 11, 13 | phase9 |
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 theclampCLI are onmain. Public source is not a stable package release. - crates.io: with 1.0, after the licensing decision and registry ownership. Packages are
0.1.0withpublish = falseuntil then. - Local verification: checks run through
tools/check.py. Hosted CI status is tracked separately and has not been established by local runs.