uc is a next-generation Cairo package manager and build/proving engine for high-performance workflows.
- Deliver materially faster developer and CI loops than Scarb.
- Keep deterministic artifacts and reproducible builds as hard requirements.
- Provide a modern 2026 architecture: sessionized compiler state, content-addressed cache, and measurable performance gates.
The first thing we must prove is that uc beats Scarb on warm rebuild latency while preserving correctness.
- Hypothesis:
uccan reduce warmedit -> buildp95 by at least 40%. - Guardrails: zero artifact hash mismatches and diagnostics parity >= 99.5%.
- Decision gate: continue platform rollout only if proof passes.
See:
docs/FIRST_PROOF.mddocs/BENCHMARK_PLAN.mddocs/ARCHITECTURE_BLUEPRINT.mddocs/COMMAND_SURFACE.mddocs/SPEED_SIGNAL_2026-03-03.md
docs/: product, architecture, roadmap, KPIs, operating model, cutover.docs/research/: imported and synthesized research from the codebase exploration.docs/adr/: architecture decision records.benchmarks/: scenario matrix, harness, fixtures, results, and baselines.scripts/github/: GitHub milestones/labels/issues bootstrap..github/: issue templates, PR template, and benchmark CI workflow.
make bootstrap
make benchmark-local
make benchmark-uc
make compare-local
./benchmarks/scripts/run_stability_benchmarks.sh --matrix research --workspace-root /path/to/compiler-starknet --runs 10 --cold-runs 5 --cycles 5 --gate-config benchmarks/gates/perf-gate-research.json
./benchmarks/scripts/compare_benchmark_results.sh --baseline <scarb.json> --candidate <uc.json> --out <delta.md>
cargo run -p uc-cli -- build --manifest-path /path/to/Scarb.toml
UC_PHASE_TIMING=1 cargo run -p uc-cli -- build --engine uc --daemon-mode off --manifest-path /path/to/Scarb.toml
UC_NATIVE_PROGRESS=1 UC_NATIVE_PROGRESS_HEARTBEAT_SECS=5 cargo run -p uc-cli -- build --engine uc --daemon-mode off --offline --manifest-path /path/to/Scarb.toml
UC_NATIVE_PROGRESS=1 UC_NATIVE_PROGRESS_COMPILE_BATCH_SIZE=1 cargo run -p uc-cli -- build --engine uc --daemon-mode off --offline --manifest-path /path/to/Scarb.toml
cargo run -p uc-cli -- daemon start
cargo run -p uc-cli -- daemon status
cargo run -p uc-cli -- build --engine uc --daemon-mode require --manifest-path /path/to/Scarb.toml
cargo run -p uc-cli -- compare-build --manifest-path /path/to/Scarb.toml
cargo run -p uc-cli -- daemon stop
cargo run -p uc-cli -- migrate --manifest-path /path/to/Scarb.toml --emit-uc-toml /path/to/Uc.tomlscarbjqgitcargo
- Program foundations are set.
- Baseline benchmarking against Scarb is automated and committed.
ucnow has executable commands for build, metadata, benchmark orchestration, daemon lifecycle, and dual-run comparator reports.