Skip to content

Overview — Project 7: Mosaic

Mosaic is the capstone platform. It exposes the evidence, harness, model, evaluation, storage, and policy capabilities built through the earlier products behind a CLI, HTTP API, and durable worker.

The goal is not maximum features. It is one complete vertical slice that can survive malformed input, cancellation, restart, duplicate delivery, overload, provider failure, and rollback.

CLI / HTTP
↓ validated task
admission + policy
↓ durable run/job
worker ─▶ evidence ─▶ retrieval ─▶ harness ─▶ model/tools
↓ events/receipts/artifacts │
database + content-addressed store ◀────────────┘
replay / eval / quality-cost-latency dashboard
DayBuildProduction proof
29workspace composition and Axum boundaryone request reaches typed domain code
30SQL state, leases, idempotency, artifactsrestart and duplicate delivery preserve one outcome
31bounded uploads, queues, SSE, cancellationoverload degrades predictably
32identity, tenant scope, quotas, injection defensescross-tenant and unauthorized effects fail closed
33logs, metrics, traces, release identitybad release is detected and reversible
34container, health, shutdown, final drilldeploy, operate, recover, explain

Run the current service boundary:

Terminal window
cd rust/rust-ai-engineering
cargo run -q -p mosaic-api --bin mosaic-service

The service intentionally reports an unavailable model path until a configured adapter is connected. A placeholder success would teach the wrong operational lesson.

Start with Day 29 — Workspace and API →.