Each document under docs/ says in its front matter what it is (scripts/src/bin/docs.rs). Superseded ones are left out here; each names what replaced it. docs/upstream/ holds others' text, as fetched.
How blaze is now. Kept true: CI checks their links, paths and settings against the tree.
- compiletest.md: rustc's own test suites under blaze: which suites matter and why, and what of a test is held; the runner was deleted on 2026-11-15.
- contributing.md: How to build, test and change blaze: AI use, where new code goes, rules for code, working in parallel, landing.
- gc.md: What
blaze gcdoes: the store's byte budget and its two settings, compaction and root eviction in the plain store, removal of other-form stores and stale side files, and the background run a command starts after its answer. - harness.md: The harnesses that test blaze (real crates' own tests, and blaze held to itself), what each checks, and how CI runs them.
- install.md: Installing blaze: the install script, the release channels and what gets installed.
- macos.md: Which macOS interfaces blaze uses where a private, undocumented or Apple-only call beats the portable one (rule macos-private-apis), what each buys, its risk, and what is still to measure.
- no-rustc.md: The no-rustc rule, what counts as running rustc, the end state, and the live list of the places that still name rustc or cargo.
- release.md: Releases: what release.yaml builds and publishes, the R2 layout, the smoke corpus and installing a channel.
- remote-cache.md: The remote cache, an option that is off unless chosen: what crates/blaze-remote does today (the read path from a named origin, the published set and its publish, a bucket push and pull no command calls) and its settings.
- terminal.md: What blaze shows while it works: the run line blaze-cli draws while
runworks (built), and the design of the region, the stableblaze:lines and the footer, whose core was deleted unused (not built). - toolchain.md: blaze's own pinned nightly: what it is, how it is fetched and checked, and how its pin moves.
- usage.md: Getting started: using blaze on a project, in short.
- future/harness-chat-library.md: Open and search Harness, Claude and Codex conversations with Command-O.
- future/harness-model-cues.md: Quiet completion sounds and readable model capability and effort in Harness.
- future/harness-questions-overlays.md: A native question view and Harness-owned hover cards.
- v2/plan/invariants.md: Every invariant, refinement and reference model blaze states in its code, with the test that checks it and the planted bugs that prove the check; generated by scripts/src/bin/invariants.rs.
- v2/plan/proofs.md: Every theorem blaze claims is proved in Lean, with its statement as its module states it and its group (its
rowin lean/theorems.json); generated by scripts/src/bin/lean_gate.rs from lean/theorems.json, and held by the gate to the axioms listed. - v2/plan/design/auto-perf.md: Blaze's automatic performance stack: explicit-allocator stdlib primitives, OS-in-the-types Dir<P, S> and comptime IO capabilities, Profile-Guided Linting (PGL) with newtype/tuple-return discipline, and closed-loop cross-run decayed PGO driving LIR bottom-up SCC LTO, live JIT tier-up, and
blaze exportby default. - v2/plan/design/blaze-git-engine.md: Full sans-IO, Git-wire-compatible VCS engine (
crates/blaze-git) with pluggable storage backends, a macOS-optimized native.bgitformat (mmap'd Zstd/Raw object slabs, binary fanout index, single-file binary reftable,CGPHcommit-graph), ORT-style O(changed) 3-way merge, Git protocol v2 + v1 push server & client (Smart HTTP + stdio/stream), andbgit infectto convert existing.gitrepos in place. - v2/plan/design/cad-pbr-flecs.md: Reusable blaze-pbr library, semantic UVs + tangents, analytic SDF attribute & normal-map baking, full glTF 2.0 PBR + Flecs v4.2 prefab emission, and photoreal GGX + 1-bounce GI + NEE + Bloom previewer across blaze-pbr, blaze-cad-mesh, blaze-cad-out, blaze-cad-picture, and blaze-cad.
- v2/plan/design/coroutines.md: The coroutine transform - what turns an
async fnorasyncblock into a state and onepollfunction built as ordinary code. Which locals are saved (crates/blaze-flow/src/suspend.rs), the split intopollanddropand the state's layout (crates/blaze-lir/src/coroutine.rs), the builder's three functions per instance (crates/blaze-build/src/coroutine.rs), the checker's capture rows and the run path's facts; drop on cancel as a per-point cancel path; the decisions where the Reference is silent; the simulation proof; what is refused by name. - v2/plan/design/ctx.md: "blaze-ctx (crates/blaze-ctx): a 3-level context tree over the repository's crates, docs and agents/howto notes, searched by BM25 + char 3-grams + optional dense embeddings + 1-hop graph expansion, printed as token-budgeted blaze-tab tables or JSON from an incremental BLAKE3/CBOR index."
- v2/plan/design/git-status.md: Sans-IO, hardware-floor git prompt and status engine (
crates/blaze-git) with its capability-basedbstd::gitdriver overbstd::fs. Covers everything a Starship-class shell prompt needs (branch, detached HEAD, tag, repo state, ahead/behind, conflicted, staged, modified, deleted, typechanged, untracked, stashed) using batched IO, single-passgetattrlistbulkdirectory walks, zero-copy.git/indexand binarycommit-graphparsing, cache-tree subtree pruning, and bounded progress. - v2/plan/design/http3-sans-io.md: "blaze's HTTP/3 and WebTransport stack (blaze-http
h3): a sans-IO core over quinn-proto and rustls (static-only QPACK, SETTINGS, extended CONNECT, WebTransport streams and datagrams, plain GET/HEAD requests with tickets and 0-RTT) and one driver on blaze-core's effects. Built, not wired: its one user, blaze-remote's HTTP/3 bucket, has no caller outside tests (the explorer it was written for went with ix-prof on 2026-11-27). Covers its users, the contracts, the browser's requirements, the losing designs, cost and tests." - v2/plan/design/lints-stage.md: "blaze's lints: crates/blaze-lint's one pass over an item's own tokens (units with holes, scopes, findings as columns, fixes by a pure function), the rule sets a project opts into (
rust,suggest,edition,strict,lints-add), and the Lints stage of the engine (D135) in blaze-cli: one task a file, a unit relinted only when its key moved, its record the findings with fixes and a deterministic per-rule cost; typed lints in the body check; levels at print time;blaze check --fix." - v2/plan/design/model-checker.md: blaze's model checker for lock-free code (crates/blaze-check): std-shaped shims for atomics, locks, threads and cells, model threads as coroutines on one OS thread, loom's bounded DPOR over interleavings, every value a load may read under C11, a byte-exact race and use-after-free check for raw buffers, and happens-before linearizability against a sequential model.
- v2/plan/design/named-locks.md: Every lock in blaze is a named blaze_core::lock::{Lock, ReadLock, Signal} on blaze's own word locks, recording who waited, behind whom and for how long, on the slow path only; raw std and parking_lot locks are banned in .clippy.toml; each contended wait goes to
blaze_meter::lock_waitedand to an installed probe (none since the profile crate was deleted). When a lock may exist at all is lock-policy.md's. - v2/plan/design/sh.md: "blaze-shell: blaze's own shell. A nushell-like language (
crates/blaze-sh: structured values through pipelines, O(1) CoW forkable state, sans-IO,no_std, on bstd's owning types) and a native macOS app (crates/blaze-shell) that draws values with blaze's own renderer (Metal, blaze-ui's Rust-authored shaders), not a TUI. External programs run on a PTY inside an output block through blaze-vt; full-screen programs take the window. The prompt is Rust in-process andrust { ... }/:rscells execute live viablaze run." - v2/plan/design/solve.md: blaze's trait solver, crates/blaze-solve, called by blaze-typeck: Rust's semantics as the pinned nightly's next-generation solver implements them (vendor/rustc_next_trait_solver is the reference, ported rule by rule), on a data-oriented engine: goals, obligations and candidates as fixed-size rows in columns, an explicit stack in place of recursion, the reference's search graph for cycles, wake lists for stalled obligations, a ground fast path through canonical bytes and marker bits, a SIMD fingerprint prefilter over impl buckets, ground goals shared across a request's bodies, and what is not ported.
- v2/plan/design/sota-a64-architecture.md: V3 SOTA AArch64 compiler architecture — destination-passing lowering (walk.rs), unified MemorySSA (memssa.rs), pure-SSA typed SoA Machine IR (MFunc/misel/mopt/msched/mra/mencode/mfmt replacing deleted 9,523-line u32-disassembling mach_a64.rs), whole-program Zero-ABI (InternalFast 15-GPR/16-FP args + ColdPreserveAll + bottom-up Tarjan SCC IPRA), PGO branch-entropy if-conversion, and local Mach-O N_SECT function symbols.
- v2/plan/design/toolchain.md: How blaze gives every crate its standard libraries with nothing in the manifest. The toolchain is records (crates/blaze-toolchain): one source pack per crate (core, alloc, std and what they are built from, bstd and the crates beneath it) in blaze-fetch's pack form, listed by one manifest record whose id is
crates/blaze-toolchain/PINNED, cut by scripts/src/bin/toolchain_cut.rs. blaze reads them from a per-user read-only shelf,<home>/.blaze/v2/toolchain/, verified when opened (crates/blaze-cli/src/toolchain.rs); the implicit dependencies are one rule, blaze-unit-graphimplicit; a blaze-edition manifest that still names bstd gets Cli rule 9 with its fix. - v2/plan/design/typeck.md: "The per-body type checker (crates/blaze-typeck): one body in, one record out, a pure function that returns its result or the facts it lacks; every fact from outside the body read through one sealed recorder, so a result cannot depend on what its read list does not hold; the walk an explicit work stack in rustc's order; results and diagnostics in portable columns; pattern types, closure identity and async witnesses as records."
- v2/plan/design/units.md: The unit graph (crates/blaze-unit-graph): which crates a request compiles and with which features and cfgs, by cargo's documented rules, without cargo; a sans-IO function from the lock, the manifests, two platform descriptions and the ask to units, each crate once per configuration; its record; what the driver's Units task calls; what is not covered.
Designs not (fully) built, newest first.
- v2/plan/design/ladder-split.md (2026-11-27): "How crates/blaze-ladder (166k lines, one 127-module strongly connected group) is split: its module dependency picture, the target crates (blaze-symbols, blaze-poly-canon, blaze-body-checker, blaze-code-builder new; blaze-facts, blaze-borrow, blaze-export, blaze-lir, blaze-native, blaze-rungs joined), each seam, the waves with disjoint files, the fixture move to blaze-rungs, what the open switches delete, and when the crate disappears."
- v2/plan/design/sans-io-machines.md (2026-11-27): "Proper sans-IO for bstd: logic returns typed requests and is resumed with their answers; explicit state machines with their edges in each state's signature (
type Asks,type Next = A | B | Fail<E>), handles in place of names, capability methods that build a request and never wait, one driver loop, and the order in which bstd and the IO-doing crates move." - v2/plan/design/drop-with.md (2026-11-27): "Contextual teardown (
DropWith<C>) on#[blaze::linear]types resolved by unique invariant-branded scope bindings, comptime composite derivation, hardware-floor 16-byte unmanagedFrameVec/UnmanagedVecparameterized byI: LenIdx = u32(u16/u32/usize), generalization to GPU/slab/IO handles, and the#[blaze::capability]firewall for#![blaze::sans_io]data." - v2/plan/design/cli-split.md (2026-11-27): "The blaze-cli split: its module dependency picture (one 88-module knot, 15 leaves), the target crates each group joins or becomes, the seams (a typed error per crate, a request value and a per-driver context for the 12-argument signature), the waves with disjoint files, what stays in blaze-cli, and the risks."
- v2/plan/third-party.md (2026-11-26): What replaces each third-party package a workspace crate still names directly, and the hard ones with their options; the counts and the order are the gate's ratchets (scripts/src/bin/thirdparty.rs) and end-state.md's D180.
- v2/plan/bounds.md (2026-11-26): Every speed-of-light bound blaze is held to, one machine-read block each, read by harness/v2/bounds.py; no program measures the two kept today, so neither is held yet.
- v2/plan.md (2026-11-26): The plan for blaze, whole, on one page. The goal, the rules, the one design every part shares, the targets, and how the work is run; decisions are the rows of plan/decisions.json.
- v2/plan/design/vt.md (2026-11-24): "
crates/blaze-vt: a terminal emulator core in Rust, sans-IO,no_std, on bstd's owning types, that accepts every sequence, mode and protocol ghostty's terminal core does (vt-inventory.md, 433 rows) and encodes keys, mouse, focus and paste as ghostty does. Bytes in; a screen, replies and effects out as data. For the native shell app's full-screen programs (vim, htop, less) and anything else that hosts a PTY. Built: every module below, used by blaze-shell; not built: thebstd::vtre-export, the per-row coverage test, the fuzz-corpus replay and the floor benchmark." - v2/plan/design/vt-inventory.md (2026-11-24): "Every sequence, mode, protocol and encoding ghostty's terminal core accepts (433 rows in 12 sections, each with ghostty's file:line), the bar crates/blaze-vt is held to: each row has a test (vt.md)."
- v2/plan/design/symbolic-algebra.md (2026-11-22): "blaze-algebra (
bstd::algebra), built: ano_stdsans-IO symbolic algebra library (hash-consed expression DAG, forward, reverse and second-order differentiation, bounded e-graph simplification, equation and linear-system solving, exact polynomials,const fnexpression graphs and a CSE Rust emitter), and blaze-body-flow's algebra module, which lifts a verified pure body into the DAG, transforms it and splices a verified body back: built, not wired (called only from tests). Not built: theexpr_of/splice!seams that let a#[blaze::pure]function reach the transform." - v2/plan/design/hvbox.md (2026-11-21): hvbox, an experimental sandbox that runs a macOS build step's Mach-O as a Hypervisor.framework guest with no guest kernel, every system call and fault answered by a host-side Sentry that names each refusal and records every read, miss and listing.
- v2/plan/design/base-tools.md (2026-11-21): The one pinned set of tools a sandboxed build step may run, so nothing comes from the machine unless it has to (D192).
- v2/plan/design/states.md (2026-11-20): "The implicit state machines found on blaze's live path (165, by six read-only audits on 2026-11-20), the eight forms that encode a state in a type, and the 33 of them still open that can give a wrong answer, lose data or hang, in the order they are built."
- v2/plan/design/end-state.md (2026-11-20): "The end state the audits of 2026-11-20 agree on, as three switches to complete and the layers each deletes: regions inside types with one call rule (D156), one driver whose tasks are kinds (D157), names at module grain under one crate key with cfg read (D158). Also what a request plans and what is lazy (under D157), and how compile-time code runs: blaze's own wasm64 modules under Wasmtime, native tools in the micro-VM (D175). The order, the oracles and the rule that a piece is not done while the old path exists."
- v2/plan/design/comptime-native.md (2026-11-20): The grants and typed protocol every compile-time run is answered through (crates/blaze-roots, crates/blaze-comptime) and the native run's C-name system layer (crates/blaze-comptime-sys), built; the path today is wasm64 under in-process Wasmtime, so the native run is built, not wired. Left to build - the wasm hosts answering through the same host machine.
- v2/plan/design/c.md (2026-11-20): C in blaze without a build script. One pinned C toolchain shipped as records and run natively as blaze's own hermetic tool; a header is imported by a built-in macro whose expansion is a record of Rust declarations keyed by the headers it read; C sources are units compiled per file, lazily, to code records; existing crates'
ccandbindgencalls are answered by the same machinery. Built, not wired: the declaration model and seam (crates/blaze-c) and the clang helper and its driver (crates/blaze-cc); the macro in expansion, C units and the existing-crate answers are not built. - v2/plan/design/one-front-end.md (2026-11-18): "Three programs answer the back half's seam (crate::seam::FrontEnd): the old Front, the whole Front2Program and the lazy LazyProgram. This page is their inventory (who makes each, which answers are one shared rule and which are written twice and how they differ, what only one of them can do), the test that holds the whole and the lazy program equal (tests/front_equal.rs), and the order in which the shared rules are made one and the two older programs are deleted, leaving the lazy program alone (rules 30, 78)."
- v2/plan/design/native.md (2026-11-18): Native code in a blaze program (C, C++ and assembly from -sys crates); an inventory of tempo's lock, native objects as records made behind an abstract ToolRun effect, one image per links component built when its first symbol is bound, and blaze's own in-process loader that places an image from a pure load plan, binding TLS, unwind, initializers and system libraries. The readers, resolver and layout are built (crates/blaze-native); the plan, the binding and the driver are not.
- v2/plan/design/world.md (2026-11-17): "The world interface, W0: a world is a value (a tree digest), and seven calls (open, patch, read, check, diff, commit, explain) on it, one request and one response a connection, in one versioned schema of deterministic CBOR, the same bytes over a Unix socket or HTTP POST. The schema and a TypeScript client are in tools/world/, with golden vectors; the Rust schema crate, which nothing called, was deleted on 2026-11-27; W1-W3 and the helper fill the calls in behind it."
- v2/plan/design/token-keys.md (2026-11-17): "Plan row X4: an item's keys from its normalised tokens, not its bytes, so re-formatting a file or editing a plain comment enters no task. Built for item keys: blaze-file-items feeds every outline entry's
hashandsignature_hashby its tokens (parser::token_key::joined), except an item that calls a macro or carries a non-inert attribute, which is still fed by its bytes; stored places areTokenPlace. The line-map and adjacency cells are built, not wired. Here: the token digest's encoding, the token-relative place, the two layout cells, the table of twelve edits, and what the digest must not merge." - v2/plan/design/runtime.md (2026-11-17): "The runtime's end state (the owner, 2026-11-17: "make a plan for the sota runtime"), under end-state.md where they differ. One page over the engine (end-state.md D157), the store, names, heads, bodies, lints, tests, run and the remote read: what must hold (incremental after a restart first, with lints as fast; then memory, cold time, cleanup, disk; a remote cache supported and not ranked), the floor of each number, the ten design points with their evidence, the answer's stored form (crates/blaze-answer), the ideas past the surveyed state of the art, and the pieces by the ids code cites."
- v2/plan/design/published.md (2026-11-17): "Row H0 of runtime.md, an option that is off unless chosen (a new checkout is served by the machine's own content-deduplicated store, and no build depends on a fetched record): what blaze publishes (the settled classes only, by one predicate on a record's lifetime class and namespace), the origin's layout (a directory of digest-named immutable objects and one signed prefix that a reader over-asks in one read), the trust chain every byte passes before it is parsed, the reader's three round-trip waves, the publish job that lays a set out the same bytes whatever order it is given, and what stays out of this piece."
- v2/plan/design/parallel.md (2026-11-17): How one command uses every core and holds little memory: one work-stealing thread pool and no fibers; item-grain tasks that never block (a task that lacks a fact returns
Need, parks, and resumes when the producers have merged; nothing starts over, D157, D161); no global interner; a frame per worker reset per item; records as the only thing that outlives a task; footprint as the one measure; a refused allocation as a typed failure of one job; determinism by sorting at record boundaries; then the pieces still to build. - v2/plan/design/certificates.md (2026-11-17): "A trait goal's check result kept as a checkable certificate (runtime.md rows V1 and X2): a derivation DAG of steps (goal, by) in columns, a checker that proves it by matching only, and the questions the solver's choice rested on, so a moved content read costs one linear check instead of a solve and a fetched certificate is checked, not believed. Built, not wired, in crates/blaze-cert; expression-level certificates are spec only."
- v2/plan/design/test.md (2026-11-16): What a test is on the rebuilt path. A test unit is a unit like any other with
testin its cfg and its own key; its tests are one record per unit built from attributes alone (crates/blaze-scope/src/tests_record.rs); the runner is blaze's own, one forked process per test over the suite's shared code area; a result is a record read-addressed by the functions the test entered and the outside reads it made, so an edit reruns only the tests that entered what changed, found by a postings record. Built: the tests record, the plan machine, head, postings, results and Flaky findings (crates/blaze-run), the zygote and child, the suite as one program (blaze-ladder front2/program/suite.rs), D191's full view (blaze-drive view.rs) andblaze test's drive loop (blaze-cli test_loop.rs, test_run.rs). Not built: D152's one crate key, the launcher's recording wrappers, the not-kept precheck from effect facts, doc tests, shared results. A second end state decides property tests as a kind the runner knows (case board, failing tapes as shared records, background search), differential tests (in-treediffer, the previous version byprevious(f)), end-to-end tests (traced spawns, step traces, snapshots as reads) and judge-changed findings. - v2/plan/design/run.md (2026-11-16): "
blaze runandblaze testfrom checked bodies to a running program, with no executable written;blaze buildexports one from the same records. End state (corrected 2026-11-16): a code record per instance and tier, position-independent, every outside reference through an import word that is the run's slot word; a stub a slot until its first call, which places a known record in-process or asks the parent (blaze runitself) over a socket pair, the record made then if absent; one placement, one release store, every waiter woken; callees compiled behind on idle cores; dependency bundles mapped in place; a repeat places the last run's records ahead ofmainin about 5 ms. Then the pieces and what of them is built. Below: blaze-run's sans-IO machines (Parent, Slots, FirstCall, Heat, Tier, Registry, Tests), the run path's." - v2/plan/design/remote-read.md (2026-11-16): The shared cache's read path (crates/blaze-remote/src/read, blaze-cli's store.rs), built, off unless chosen; without it a new checkout is served by the machine's own content-deduplicated store. A command that misses a record locally reads it by byte range from an origin that lists and writes nothing. It checks each byte against a digest chain that starts at a signed head, writes the record through, and computes nothing the origin holds. Covers the sans-IO reader, the trust steps, what an origin must give, the first numbers, and what is not built.
- v2/plan/design/read-addressed.md (2026-11-16): "How a body, a surface and a unit manifest are found: by what their work read, not by their text and everything reachable from it by name, so an unrelated edit moves no key, nothing is refiled or copied, and correctness rests on one claim (the read set is complete). Decided as D39 and built in blaze-keyed. The change, why it is sound, its cost against the floor, tests, and the end state of what an edit costs, with the pieces of it built and left."
- v2/plan/design/producer-id.md (2026-11-16): A producer's identity (decision D105) is a digest handed down from the entry in one table, never a version string a person bumps. Subject keys say what is asked; the producer enters where a result is cached (the drive's task key, the kept-expansion key, the code key), taken as an argument. Piece 1 derives a row from the binary's build id; piece 2 from the source of the crates its producer is made of, found from the manifests at build time (built for the code builder's row; the other rows wait for their producing functions to leave blaze-cli); when blaze builds blaze, from the producer function's code identity by reflection. A ratchet counts typed-in producer strings and only falls.
- v2/plan/design/flow.md (2026-11-16): The flow, one mid-level form per body (decision D61), and the move and borrow checks over it (crates/blaze-flow). Places, points and statements; move paths and the two initialization dataflows; origins, subset constraints and loans; the two tiers (a location-insensitive pass, then the precise one only when the first cannot accept); the per-body record and its proof; the questions to other layers; the floor; what is left out.
- v2/plan/design/fetch.md (2026-11-16): How blaze obtains the sources of a project's dependencies itself (crates/blaze-fetch). A Cargo.lock becomes a plan of units (a crates.io crate pinned by its SHA-256, a git commit pinned by its id); a sans-IO machine asks for each over HTTPS, checks it before a byte is unpacked, and asks the store to keep one content-addressed record of its files. Covers the plan, the machine, the trust steps, the record and its key, what the driver's Fetch task calls, the first numbers on tempo's lock, and what is not built.
- v2/plan/design/extensions.md (2026-11-16): The ledger of blaze's language extensions on the new item layer. 61 features from three sources (docs, the old front end's code, blaze's own uses), each probed through the new layer's stages on 2026-11-16 (crates/blaze-real/examples/extensions.rs, one fixture each); what blaze's code uses, where the old layer built it, what the new layer does today, the item-grain design and its floor, a proposed better form, and the port order. Replaces the 2026-11-10 page on extension crates (blaze-ext), whose crates were deleted in 8e87a017ff.
- v2/plan/design/consteval.md (2026-11-16): The rebuilt constant evaluator, crates/blaze-consteval. It interprets the checker's typed body form with an explicit work stack, step, memory and call-depth bounds, and memory with provenance. A value leaves as a record of bytes plus relocations, keyed from text. The seams are
eval_lenandeval_discriminantfor the checker andvalue_offor the builder. - v2/plan/design/build-scripts.md (2026-11-16): How blaze obtains a build script's outputs (cfgs, generated files, rustc-env values, link instructions) for
checkwithout rustc and without running third-party code outside the sandbox. The census of tempo's 106 build-script units by class, from reading alone; the design, decided per class (a pure-Rust script as a wasm module under Wasmtime, a C-linking script native and confined, the environment Cargo documents computed from the unit graph, the compiler answered by blaze,gitanswered from the checkout, C compilation deferred incheck); the record and its key (crates/blaze-build-script); what is built and what is not. - v2/plan/design/watch.md (2026-11-15): "The monitor's plumbing (bottom.md section 14): per-thread wait-free seqlock rings in every blaze process, the flight recorder over the same rings, a framed transport with credit flow control and resume by sequence number, and the viewer helper's core (live runs from the registry, pages on ix.dev over loopback HTTP/1.1 and server-sent events, pairing by a code a person compares, one permitted action, an opt-in relay uplink), with a fixed expiry. Built as sans-IO machines with simulations in crates/blaze-watch; not built: the drivers."
- v2/plan/design/store-next.md (2026-11-15): blaze's plain store (crates/blaze-cas/src/plain) against Relax's store, row by row, for a repeat after a restart that reads few pages, and for records fetched from a static origin by byte range (an option, off unless chosen). Where each adopted piece lives (the sealed exit tail and its background pass, the lookup, the startup image, per-worker puts, the machine scan, batches, the per-segment Bloom filter, the D182 block bottom); what was left and why; what is still to build (the scrub in the helper, blaze-run reading the startup image, held descriptors, two writers on one device); the digest decision.
- v2/plan/design/drive.md (2026-11-15): The drive's names, keys, records and task types on the new item layer (crates/blaze-drive), which the one driver in blaze-engine (end-state.md D157) and the
blazebinary (crates/blaze-cli) build on. Built - names and keys from text, the record envelope, the answer table with its readers, part reads by cell, conditions, the task types, verified bytes, what did not run by cause, a unit's view, the last-answer pointers, the content-id table and the profile. Not built - the plain store under the command, findings mapped through expansions, the crate list as a record, marks carried by every token, item-position expansions read from their token record. - v2/plan/design/conditions.md (2026-11-15): "How records use presence conditions (crates/blaze-cond) so one
blaze checkanswers for every target, feature set and switch: an entry carries aCond(a hash-consed decision diagram over atoms with stable keys), a task runs under a path condition and forks only on distinct outcomes of a lookup, a record is stored with the condition it holds under and that condition's support as its cfg read list. crates/blaze-cond is built; left to build is the switch of crates/blaze-drive/src/condition.rs's fork-per-variableConditionand its caps (16 atoms, 64 conditions) to it. Also not built: features as conditions in the unit graph, and the reachability lints (blaze::dead,blaze::test_only,blaze::cfg_only) over a record's condition. Open: checking one body under several outcomes." - v2/plan/design/columns.md (2026-11-15): How blaze's records compress without leaving the page cache. The lightweight column encodings read in place are built (crates/blaze-columns/src/enc); left to build are the record format's column field kind and the item rows as columns; block compressors (crates/blaze-zstd) only for cold segments and transfer.
- v2/plan/design/bottom.md (2026-11-15): "The item layer and the commands above it, rebuilt from scratch, one consolidated spec: goal order, principles, keys and records, files, the name rules R1 to R11, expansion, signatures and bodies, commands, code rules, Relax, the ladder and floors. Pull at item grain; names, the driver and the store are as decided in end-state.md (D157 to D161), linked from sections 6, 9 and 10. run, test, check and build run code records in the program's own process. Zero third-party crates, no std or alloc in blaze's own code, with dated exceptions."
- v2/plan/design/backend-next.md (2026-11-15): Code generation on the item layer (D97, amended by D98 and D100, built straight at the end state by D99; the fast tier as the real lowest tier by D195) and the one lowering (D119). One
Tierseam with three tiers tested equal; the fast tier as a template composer with registers; the optimizing tier as LLVM over an offer set blaze chooses; heat by sampling; loops tier up above their frame; one typed body that the check, the evaluator and the builder all read. What is built, what is built but not wired, and what is not built. - v2/plan/design/type-of.md (2026-11-13): "
type_of!(desc), a type computed by const code (row Q7 of sql.md; phase 3 of comptime.md). A description is a value of core'sreflect::TypeDesc;type_of!names<Described<'a, {desc}, Args> as TypeOf>::Type, an associated type the trait solver normalizes by reading the description's value tree. No new syntax, no new kind of type: a described record is core'sRecord, so identity is by the description's value. blaze-sql's checker runs in aconst staticblock and returns a description; a SQL error is the block's panic. Built: core's items and the vendored solver's candidates; blaze-solve and blaze-typeck do not read them, so notype_of!use checks yet." - v2/plan/design/trust.md (2026-11-13): Secure by default for dependencies. Every crate that is not a workspace member is denied
unsafeand every ambient capability (fs, net, process, env, clock, thread, global state, randomness, FFI, build script, proc macro) unless the root manifest's[workspace.metadata.blaze.trust]grants it by name, with a reason and optionally an exact version. Theblaze::trustlints read this off the effect walk with one shortest witness each;blaze audit grantsprints the table a workspace needs today. Built:workspace_unsafeonly (blaze-lint); thedependency_*lints are declared in blaze-lint-defs with no check behind them, and nothing reads the table. - v2/plan/design/sql.md (2026-11-13): blaze-sql, typed SQL with no injection. A query is a const string checked at compile time against a schema made of Rust structs; its parameters are named (
$name), bound by a record, and its row type is computed (type_of!). One sans-IO checker (parse, infer, render) incrates/blaze-sql, drivers for C SQLite (crates/blaze-sqlite) and Postgres (crates/blaze-pg, a sans-IO wire protocol). The checker and the drivers are built (the drivers not wired: nothing outside their tests calls them); the typed surface waits on its language pieces. - v2/plan/design/sim.md (2026-11-13): blaze owns its test engine. A test case is a function of one tape of labelled, bounded choices in which 0 is always the calm choice;
crates/blaze-simdraws the tape from a seed, shrinks a failing tape to the fewest and smallest choices that still fail, prints it and replays it exactly, and holds the pieces every simulation re-implemented by hand (in-flight answers delivered by choice, planted-bug controls, reach points). Built and in every crate's tests;blaze_core::sim::Sim's own generator andblaze-check's random schedules are still to draw from the same tape. A model is held to the real service by one conformance suite. - v2/plan/design/refined-values.md (2026-11-13): Correct by construction for values. Narrow integer types,
Int<LO, HI>as a library overwhere const,#[blaze::invariant(..)]on private-field structs, andrequires/ensuresthat the compiler proves at every site or refuses with the missing relation. Pattern types (T is PAT) for single-value refinements (their type algebra built in blaze-ty). One prover (a forward abstract interpreter over MIR with linear facts, not built on the item layer), one deny lint (blaze::refinement), and std measures (len) with a table of how std calls change them. - v2/plan/design/proofs-for-sans-io.md (2026-11-13): Lean proofs for sans-IO Rust, extra evidence on top of its deterministic-simulation tests, never in their place (rule 43). A theorem is an ordinary Rust function marked
#[blaze::theorem]that returnsbool; its statement is that it returnstruefor every argument, and returns. A state machine is proved by three of them over a well-formedness predicate written in Rust (it holds at the start, each step keeps it, it implies the property), and one Lean lemma gives every run. Worlds (clock, file system with crashes, locks, later atomics) are Rust predicates saying which answers the kernel may give; a theorem takes the answers as arguments. The translator that emitted the models from the Rust (hir-ty-lean) andblaze proveare not in the tree: the models it generated stay checked in under lean/BlazeModel, the pinned Lean checks them and their proofs (scripts/src/bin/lean_gate.rs), and agents write the proofs. - v2/plan/design/loop-match.md (2026-11-13): "
#[loop_match]/#[const_continue](feature loop_match): a constant state transition lowered to a jump into its arm, past the loop head's chain of arm tests; malformed uses refused with rustc's messages. Not built on the new layer: the attributes are accepted and the loop lowered plain." - v2/plan/design/implied-bounds.md (2026-11-13): "Two opt-in gates. blaze_implied_bounds: the bounds a type or trait declares hold in every function, impl and trait whose header names it (struct C<A: X> gives impl C the bound A: X). blaze_anon_params: a
_type argument in a function's parameter types or an impl's header is a parameter of its own, bounded by its position (fn len(v: &Vec<T, _>)); it turns on implied bounds." - v2/plan/design/effect-summary.md (2026-11-13): One interprocedural effect summary per monomorphized instance (effects.md's walk, extended with sync and lock kinds, the lock classes taken, held-while-taking edges and guards held across a block), and the lints on it - loop_turn_effects and sync_on_answer_path (deny, on marked functions), lock_order and lock_across_wait (internal, allowed). Not built - the four lints are declared in crates/blaze-lint-defs and their attributes are known to blaze-surface, but no walk computes the summary and no checker reports them.
- v2/plan/design/claims.md (2026-11-13): A promise in a doc comment is derived by the compiler, checked by an attribute, or points at what proves it; never only asserted. The one written form (
# Guarantees/# Invariantsitems ending inEvidence:orUnverified:), the six lints that would enforce it (declared in blaze-lint-defs, not built), and the ledger in scripts/src/bin/invariants.rs (built) that lists every claim with its evidence and level and that the gate holds. - v2/plan/design/audit.md (2026-11-13): Dependencies are untrusted by default. A git source builds only from a tree whose BLAKE3 digest
blaze.lockpins, since a SHA-1 commit id is no pin.blaze auditchecks every locked package against a pinned RustSec database and against yanked versions, and every source for a strong pin, with one finding per package and reason, each with its chain, fix and manifest line. - v2/plan/design/proved-unreachable.md (2026-11-12): "blaze::unreachable!(): a site the compiler must prove no path reaches, by one abstract interpretation of a function's MIR (known variants, integer bounds, length relations, nonzero); the same proof takes dead panic sites off what #[blaze::nopanic] and the panic lints count. Also blaze::todo: a typed hole that warns locally and is an error in the merge gate and a release."
- v2/plan/design/launcher.md (2026-11-12): "How a program runs under the
editgoal (D18, D21): a launcher in the program's own process places code records behind one slot word a function, appends and never overwrites, retires old bodies by per-thread epochs, takes an edit as one gated transaction, and is to run many tests in one process as domains. Built - the core (crates/blaze-launch), the drivers (crates/blaze-launch-rt) and the binary (crates/blaze-launcher), whose run mode is the process ofblaze runandblaze test(run.md); the edit transaction and retirement are built, not wired. Not built - the scan of a thread from outside, the back-edge poll, x86-64 runs, domains, selection by marks, promotion." - v2/plan/design/explicit-overflow.md (2026-11-12): "blaze::implicit_overflow: integer + - * << >>, unary -, compound forms and value-losing casts must say what overflow means (checked_, wrapping_, saturating_, overflowing_, try_from) unless the reach prover shows they fit; one proof, the same in both profiles."
- v2/plan/design/error-sets.md (2026-11-12): Error sets (edition change 2). A function's error type is the exact set of failures it may return, written
A | Bunder#![blaze::error_unions].?widens a member or a smaller set into a larger one, a set the body's failures do not fit is an error naming the call, the member and the set, amatchcovers every member,Result<T, _>infers the set, and the set costs what the hand-written enum costs. Built on the new layer: the type, widening, parsing, matching and inferred sets. Left: the diagnostic's words, the bstd port (its signature list is here) and a member order that survives a rename. - v2/plan/design/effects.md (2026-11-12): "#[blaze::expect(..)]: a function says exactly what it does (panic, alloc, block, diverge); what it leaves out is checked absent and what its own list has is checked present, over MIR on pure's walk. The old spellings (nopanic, noalloc, nonblocking), which loops are known to end, and where #[blaze::constant_time] would sit."
- v2/plan/design/caches.md (2026-11-12): The inventory of every place blaze keeps a result to avoid work, with the grain of each key, how it is invalidated and bounded, its defect and owner; and every hash function by use. The
domainsscript holds each hash domain and each non-BLAKE3 hasher in the tree to a row here. - v2/plan/design/bstd-sim-test.md (2026-11-12): "
#[bstd::test]runs a test on the deterministic simulation under 256 seeds by default, with IO failures, delays and power cuts on unless the test leaves one out by name, and a failure prints a seed that replays byte for byte. A test names its grants by type, asmaindoes (D109). Built: the runner (blaze_core::sim::seeds) and the attribute (crates/blaze-std/src/simtest.rs). This spec keeps what is not built." - future/const-macros.md (2026-11-12): Const macros: proc macros written inline as const fn over flat syntax trees, run by the const evaluator. Not built beyond crates/const-ast's views.
- v2/plan/design/scripts.md (2026-11-11): Python leaves the repository: Rust scripts run by blaze (
blaze run script.rs, bstd, typed input, stage 0) replace every remaining.pyfile, in two tiers, with the order of the ports, the guard that the list only shrinks, and each port's parity check. - v2/plan/design/sys.md (2026-11-10): The bottom of bstd. One crate, blaze-sys, is the only home of system calls (Linux by raw call with no libc, macOS through libSystem, Windows through ntdll and kernel32; all three modules exist, Windows's keeping the seam's place while Windows is out of scope); the runtime pieces Rust's std provided each get an owner in
bstd::rt(not built: bstd's rt.rs still takes them from std); blaze-core moves onto blaze-sys call by call behind a ban list, harness/v2/nostd.json, that is the progress meter; wave 4 puts the users' std on blaze-sys. - v2/plan/design/std.md (2026-11-10): blaze's own standard library, written from scratch on core alone (
no_stdwithoutalloc; no global allocator is reachable, D173). No ambient authority (main names each capability it uses and every function touches only what it is handed), sans-IO underneath (one Io over io_uring, kqueue, IOCP and the simulation), records read in place with the page cache as the only cache, and every blaze crate moves onto it. Built so far: blaze-core's drivers and bstd's S1 interface; the efficiency pieces, the file model and the rest are marked built or to build where they are described. - v2/plan/design/simd.md (2026-11-10): Portable SIMD in blaze. The vector types are the pinned nightly's
core::simd, with no feature gate under#; blaze adds one macro,simd::native_lanes!, and#[blaze::multiversion], which compiles a function once per CPU level and picks one when the program starts; how the differentiator and the GPU kernels use the same types. - v2/plan/design/records.md (2026-11-10): Records and named arguments (edition change 4). Under
#![blaze::records],{ a: T, b: U }is a structural type (core'sRecordover the tuple of its fields sorted by name),{ a: x, b }its value and{ a, b: p }its pattern; a record parameter whose fields have defaults is how arguments are named and left out. What the edition page left open is decided here. - v2/plan/design/ownership.md (2026-11-10): Ownership properties derived by compile-time reflection. One const walk over what a type owns answers reachability questions (
Acyclic, no capability, no secret, no cell);where const { COND }makes a blanket impl of its answer; generic const expressions put arithmetic in types;Sharedover an acyclic type andShares<T, K, N, D>hold linear values. The library is written in crates/blaze-std/src/own; on the new layerwhere constis checked and generic const expressions and the linear checks are not. - v2/plan/design/formal-verification.md (2026-11-10): The verifier: blaze translates its own borrow-checked MIR to Lean 4 and the pinned Lean checks proofs of specs written once in blaze's extensions. v0 (safe Rust by functional translation) is not built on the new layer: its goldens (lean/BlazeModel) and first proof are in the tree, its translator is not; built: the theorem gate (lean/theorems.json, lean_gate), the no_std Lean kernel checker in blaze-cert and #[blaze::theorem] proofs; lean/Blaze/Mir is the executable Lean semantics of MIR for a first subset that models, passes and the evaluator are held to, with its trusted base listed; the Verus tier was retired on 2026-11-10. Planned: v1 unsafe and interior mutability in an Iris-style logic, v2 atomics (SC, then RC11), v3 crashes on files and mmap (Perennial-style, sharing the DST's kernel model), v4 compiler correctness. A proof is extra evidence on top of the simulation test and never replaces it (rule 43; proofs-for-sans-io.md). A second package, lean/analysis, proves blaze-diff's derivative rules and fast_math rewrites over the reals with Mathlib, from the rule table the Rust differentiator runs (blaze-diff is not on main: commit d12e99d15a holds it).
- v2/plan/design/facts.md (2026-11-10): "Facts: what blaze proves about an item is one record, read by the optimizer and codegen through facts_of and covered by keys. Built: Ref32, ProgramArena and the ProgramLifetime trait in blaze-mem. Not built on the new layer: facts_of, the spends (unwind edges, repeated pure calls), the facts record and the could_be_ref32 lint."
- v2/plan/design/early-drop.md (2026-11-10): Edition change 11,
#![blaze::early_drop]. A value whose destructor only frees memory is dropped after its last use, not at the end of its scope; guards and everything else keep Rust's drop. Which values, where the drop goes, raw pointers, order, what the borrow checker newly accepts, theunused_guardlint, what is built and what is not. - v2/plan/design/debug-side-file.md (2026-11-10): The debug info of an image
blaze buildexports goes in a side file every debugger and std's backtrace find unaided (ELF<name>.debugby.gnu_debuglinkwith a CRC that is a function of the build id, Mach-O<name>.dSYMbyLC_UUID), kept as per-function records so an edit rewrites only its functions' records; a build id of what the image holds, not of its directory. Not built: crates/blaze-export writes no debug info today. A programrunplaces is described to a debugger by the GDB JIT interface (crates/blaze-launch-rt/src/jit_debug.rs) instead. - v2/plan/design/tasks.md (2026-11-09): Tasks in the agent app. Every agent belongs to a task, the sidebar lists tasks with their agents under them, and a task says what it waits on, what it costs and how it ended.
- v2/plan/design/reflect.md (2026-11-09): Twelve things built as libraries on compile-time reflection (keys that cannot miss a field, checked persisted layouts, reachability assertions, state-keeping hot reload, pure functions as cached queries, record and replay, contracts as property tests, derived layouts, tree operations, memory by type, one outward schema, UI from types), where each lives, what it waits on and the order.
- v2/plan/design/lir.md (2026-11-09): "LIR, blaze's own low-level IR (Andrew's decisions, 2026-11-09), built in crates/blaze-lir and read by blaze-emit (the baseline tier) and blaze-export's wasm64 emitter, whose modules run in-process under Wasmtime. Keeps the decisions it rests on: defined by default, facts as promises, meanings and hints; exactly rustc's facts, no TBAA; the unwinding model; const eval not on LIR; a new IR, not lowered MIR. Still to build: LIR to LLVM IR directly, LLVM's own allocations through blaze's allocator with a context per compile, the copy-and-patch stencil tier, kept LIR records; ranked risks."
- v2/plan/design/edition.md (2026-11-09): The blaze edition. Rust with eleven opt-in changes (handles that copy themselves, error unions, view types, records, contexts, effects at the border, values that must be used up, contracts and pattern types, compile-time reflection,
&uniq, early drop), what it removes, the lints that get a crate ready for it, and the order it is built in. - v2/plan/design/comptime.md (2026-11-09): Compile-time reflection in blaze. Phase 1 answers nightly
core::mem::type_infoin blaze's const evaluator (built, crates/blaze-consteval); phase 2 is the opt-inblaze_comptimeextension (for const f in fields_of::<T>(),self.[f],for<F: Field<T>>bounds,fn_info), and 2b addsdynand fn-pointer calls in const checked at evaluation andconst static { .. }blocks that run any code at compile time; phase 3, types from const code, is type-of.md. The port to the item layer is tracked in extensions.md. - future/gpu/shaders.md (2026-11-06): Vertex and fragment shaders, and compute kernels with inline ray query, written in Rust and compiled by blaze (MIR to naga IR, then MSL, SPIR-V or WGSL), replacing the harness app's Slang, with a binding table generated from the Rust signatures.
- v2/plan/design/structured-output.md (2026-11-04): "Everything blaze says to a person or an agent is data first: a
Report(headline, rule, facts, fixes, blocks, causes) in crates/blaze-report, drawn by one pure renderer as styled text, plain text or JSON; the rendering rules, the build-scriptcargo:blaze-report=directive,blaze explain, and terminal capabilities with the[terminal]config. The record, renderer and directive reader are built, not wired: the CLI draws its findings through blaze-report'sframeand detects the terminal throughterminal::detect. Progress while a command works is end-state.md D181." - v2/plan/design/lock-policy.md (2026-11-04): "Two kinds of lock. Lock files (not built): CI refuses any change to them, naming each move, why and the fix; locally a build writes them but never silently;
blaze.lockbesideCargo.lockpins the blaze release and its nightly, the index's newest publish time and every pinned native input's digests;lock = requiredrefuses locally too. In-memory locks (D179, built): when aLockearns its place, the#[blaze::lock_exception]attribute, the lint and the ratchet, the contention record and itslocks:section, and what every lock in shipped code becomes." - v2/plan/design/deadline-waits.md (2026-11-04): Every blocking kernel wait goes through one blaze-core primitive that takes an absolute deadline on the injected clock and recomputes the time left on every retry; each wait's form is chosen from probed kernel facts, with no kernel floor; the profile sampler interrupts no thread with a signal. What is built and what is not.
- v2/plan/design/vecreport.md (2026-11-02): Lint
blaze::vecreport- report what LLVM's optimized code still does in a loop (a bounds, overflow or panic check that survived, a loop left scalar and why) at the source line, read from the IR after every pass and the loop vectorizer's remarks, hot loops only under a profile; prior art, the design, the guarantee it rests on. Built, not wired: the IR walk in vendor/llvm-sys's C++ wrapper and the lint's id; nothing in Rust calls the walk. - v2/plan/design/specialization.md (2026-11-02): Sound specialization as an opt-in blaze extension,
#![blaze::specialization]with#[blaze::specialization_trait], built on rustc's always-applicable rule (min_specialization) without its unsafe markers; rustc's min_specialization checks are ported for std and the crates that enable the feature. - v2/plan/design/sealed-orphan.md (2026-11-02): Relaxing the orphan rule soundly as an opt-in blaze extension:
#[blaze::sealed]traits whose crate may writeimpl<T: Sealed> ForeignTrait for T(the attribute and the solver's knowability rule are on the item layer; the checks are not built), and the ranked alternatives, including a whole-workspace coherence domain (designed, not built). - v2/plan/design/polymorph.md (2026-11-02): Polymorphization - one copy of a generic instance for every set of type arguments its code cannot tell apart (unused, used only behind thin pointers, used only by size, alignment and ABI shape), decided by canonical arguments before code is made. Built in crates/blaze-ladder/src/front2/poly_canon.rs and used by the ladder's code records; also what rustc's polymorphization did and why it was removed, the guarantee relied on, and the dictionary-passing design left for later.
- v2/plan/design/lint-borrow-workarounds.md (2026-11-02): blaze's
blaze::borrow_workaroundandblaze::nll_workaround— code written around a weaker borrow checker than blaze's (a second lookup, a clone to end a borrow, an index loop for a cursor, take and put back), found only when the direct form passes blaze's checker on the rewritten MIR and behaves the same; the double lookup designed first, how a rewrite is checked, how published crates are kept building on stable Rust, and the other shapes; no rule implements them yet. - v2/plan/design/linear.md (2026-11-02): "#[blaze::linear]: a type whose values may not be dropped implicitly, to be checked with the borrow check (not built on the new layer); generic code admits one only through a
#[blaze::linear]type parameter,OptionandResultdo, and an error exit abandons a value through its type'sDrop." - v2/plan/design/icf.md (2026-11-02): Identical code folding in blaze. Built - one round in blaze-export's layout places records with equal bytes once and gives every folded symbol the kept copy's address. Still to build - the fixpoint (a caller of two folded callees folds a round later), and the functions that never fold (significant addresses, slot-reached live code, counted code, statics). Also the guarantee folding relies on.
- v2/plan/design/heap-to-stack.md (2026-11-02): HeapToStack, blaze's own pass: a Box::new, Rc::new or small vec! whose allocation never leaves its function lives in the function's frame instead, only in programs whose allocator is std's, capped per value and per frame, and never in a frame that can recur. A LIR-level escape pass exists, built, not wired, without the allocator gate or the recursion rule.
- v2/plan/design/doctests.md (2026-11-02): "Doctests built and run by blaze with its own front end, never rustdoc: rustdoc's rules for finding examples, writing their programs (line-aligned to the docs) and judging them, ported; each example is its own unit (its own crate, binary and process, kept and rebuilt per example like any blaze test), never merged, in any edition. Not built on the item layer: blaze test runs no doctest today."
- v2/plan/design/devirt.md (2026-11-02): Whole-program devirtualization. A final binary's program lists every vtable it makes, so the set of types behind each object type is closed; a
dyncall with one possible type becomes a direct call, with two to four a vtable compare per type, keyed by the facts each body read. What makes a set closed, the guarantees relied on, vtable identity and keys. Built - the profile-guided half (speculative devirtualization of hot indirect calls in crates/blaze-lir). Not built - the closed-world half. - v2/plan/design/contracts.md (2026-11-02): Function contracts in blaze (Verus's
requires/ensuresas native grammar, nightly's#![feature(contracts)]kept for parity) - the same as the pinned nightly first, then checked by default in dev and test profiles, tested by generated blaze-sim property tests, proved in Lean (formal-verification.md), and used by the optimizer only once proved. Not built on the item layer except the profile setting (blaze-manifest). - v2/plan/design/constspec.md (2026-11-02): Specializing functions on constant arguments - a copy of a callee compiled knowing a constant argument it branches on, with the decided branches gone; when a call gets one, the budgets, why
#[inline(never)]callees get copies and addressed or exported ones do not, the keys and the guarantees relied on. Not built on the item layer; the LIR clone (specialize_body_const_paramin crates/blaze-lir/src/lto.rs) is built, not wired. - v2/plan/design/bits.md (2026-11-02):
#[blaze::bits]: Zig-style bit-packed structs with ordinary field syntax. Layout is the backing integer's; a field's width comes from its type; field places stay places through the borrow check and are lowered to integer ops by one body-to-body pass before evaluation and code building, so neither the evaluator nor the code builder sees a new projection. On the new layer only the attribute's name and the derives' packed handling are built. - v2/plan/design/arbitrary-ints.md (2026-11-02): Integers of any width,
u1..u128andi1..i128, as Zig has them, behind the crate attribute#![blaze::arbitrary_ints]. They are real primitive types, shadowed likeu8, stored in the smallest power-of-two container with the unused high bits as a niche, overflow at their width, and get their trait impls from blanket impls in core over a solver-builtin marker trait. Built on the new layer - names, core's impls, the cast intrinsic. Not built - the checker's type, the solver's marker, layout, literals and lowering. - future/gpu/raytracing.md (2026-11-02): Ray tracing in blaze GPU kernels, built on inline ray query, typed pipeline payloads and acceleration structures that carry lifetimes.
- future/gpu/plan.md (2026-11-02): Rust kernels in the same crate as the host code, compiled by blaze for Metal, Vulkan, CUDA and the CPU, launched through one typed API.
- future/gpu/README.md (2026-11-02): Index of the plans for compiling Rust kernels to GPUs with blaze.
- future/bootstrap.md (2026-11-02): Bootstrap blaze from a wasm seed (blaze's own source plus blaze compiled to core WebAssembly), so blaze is built only by its seed and by blaze, never rustc or cargo, and its source may use blaze-only Rust.
- future/autodiff.md (2026-11-02): Differentiation in blaze on CPU and GPU, from automatic differentiation on MIR, to symbolic derivatives of pure functions, to e-graph simplification shared by both.
- v2/plan/design/proc-macros.md (2026-11-01): How blaze runs proc macros and pure-Rust build scripts (compiled by blaze itself to wasm64 (memory64) modules and run in-process under Wasmtime, sandboxed; native tools and C-linking build scripts go to the hypervisor micro-VM sandbox), and how it keys and keeps the expansions.
- v2/plan/design/unsafe.md (2026-10-29): blaze v2: unsafe where it makes code measurably faster, safe Rust everywhere else, and every unsafe line proved sound by our own tools (a Miri of our own, sanitizers in our code generator, model checking). Built: the SAFETY lints and model checking (crates/blaze-check); the UB checker, the sanitizers and the fuzz targets are not built.
- v2/plan/design/memory.md (2026-10-29): blaze manages memory like a game engine: allocators by lifetime (frame, request, view's revision, kept blocks, the program's root), virtual-memory-reserved arenas with stable addresses, pools, generational handles, and zero allocations from a general-purpose heap in the warm loop. Built in crates/blaze-mem; the warm-loop proof is not.
- v2/plan/design/codegen.md (2026-10-29): The code builder's rules (crates/blaze-build), as built, with what is left to build - drop flags for a match by value on an enum that needs drop, trait objects (vtable layout, dynamic calls, what a key holds of a trait), closures and the rust-call convention.
Research, reports and measurements, true on their date and not brought up to date. Newest first.
- v2/plan/parked.md (2026-11-20): "The twenty crates that were parked (kept on disk, out of the build) from 2026-11-15 and deleted on 2026-11-20: where each is in git history."
- v2/plan/design/tempo.md (2026-11-16): How far each of blaze's stages gets on tempo (tempoxyz/tempo at 1200580) and what stops it, from crates/blaze-real's
stagesexample and the realblaze check; regenerated as stages move. - language.md (2026-11-12): Each language change of Rust 1.80 to 1.100 checked against blaze's front end on 2026-11-12, with the test that holds it and what was fixed or is still missing.
- v2/plan/design/verus.md (2026-11-10): The spec form blaze kept from lane verus (Verus's clause syntax as native grammar, gated by
#![feature(blaze_verify)], lowered to clause groups in hir-def), and the record of the Z3 tier that proved it until 2026-11-10, when it was retired for Lean. - support.md (2026-10-30): What blaze v1 supported, cell by cell, each pointing at the report or harness run behind it. v2 has none of these measurements yet.
- platforms.md (2026-10-30): The state of each platform under blaze v1 (rustc's link line, the splice,
blaze-engine weaken), from v1's last CI run that covered them all. v2 has not been run on any platform yet. - fn-cache.md (2026-10-30): #[blaze::cache]: results of pure functions kept across runs, keyed by the code they reach. Its library crates were deleted on 2026-10-30.
- doc.md (2026-10-30): blaze doc as blaze v1 did it (the engine's doc.rs, over a workspace loaded into rust-analyzer): HTML documentation written from the front end's HIR, with no rustdoc. v2 has no
blaze docyet. - rename.md (2026-10-28): The rename from ra-jit and cargo blaze to blaze (#270), and what its script, tools/rename.py (deleted 2026-11-11), changed.
- results.md (2026-10-27): Results: every number with the harness, commit and report it came from.
- flat-syntax.md (2026-10-22): Flat syntax trees for files nobody edits (#42): the design and its memory and time, measured.