Skip to content

Roadmap

Project Builder is being built in stages, and the order is deliberate: each stage builds on the guarantees of the one before it. Determinism comes first; composition, evaluation, selection, distribution, and orchestration only make sense once the foundation is proven.

Roadmap diagram with six ascending stages: stage 1, local schematics, shipped and being proven in the field by experiments; stage 2, interconnected schematics, shipped; stage 3, evaluation schematics, shipped; stage 4, selection, in progress and marked with a “we are here” pin; stage 5, external schematics from private or public sources, planned; and stage 6, Project Builder as an orchestrator of schematics, the vision.

The base of these docs: authoring typed, testable, deterministic schematics and running them inside your own repository. That includes the seven mutation verbs, templates, AST-aware dialects, and the in-memory testing harness.

Stage 1 is built, and it is being proven in the field. The experiments are real projects running real schematics.

Stage 2: Interconnected schematics (shipped)

Section titled “Stage 2: Interconnected schematics (shipped)”

Schematics that compose: one schematic invoking others, chaining generation into larger flows. The determinism guarantee extends across the chain: a composed run is still all-or-nothing and still reproducible.

This stage shipped with CLI v0.20.0 and @pbuilder/sdk 0.22.0. A schematic can invoke any schematic of the collections its Manifest defines, in real runs as well as in tests, and @pbuilder/sdk 0.24.0 types the call. Schematics of external libraries cannot be invoked yet.

A schematic with the evaluation role reads the workspace and returns findings instead of writing. builder validate runs it in a Dry Run and reports the findings through its exit code, so it works as a CI gate. For a generator, builder validate reports drift.

This stage shipped with CLI v0.18.0 and @pbuilder/sdk 0.20.0, and an evaluation can be invoked by another schematic since CLI v0.20.0. See Write an evaluation schematic and Check code with builder validate.

Finding the schematic that already does what you need, for an AI agent or a person. A generator declares a title, the jobs it does and optional keywords, and a search starts from those declarations before any Dry Run is spent.

The declared metadata and builder describe shipped with CLI v0.21.0, and builder selection shortlist shipped with CLI v0.23.0. It lists the local generators that cover a goal’s jobs. See builder selection shortlist and Selection metadata.

The rest of the stage is designed and has not shipped: the content a Candidate’s Dry Run reports, the registry of Mismatches that removes a Candidate that already failed, and the Resolution that turns a Coverage into a Verdict and Recommendations.

  • invoke in real runs (CLI v0.20.0, @pbuilder/sdk 0.22.0). The CLI hands the Run every schematic of the Manifest’s collections, so a schematic can run another one, also across collections. See Invoke another schematic.
  • Invoking an evaluation returns its Findings to the caller, and its edits are discarded. See Write an evaluation schematic.
  • When several schematics of one Run write a path the Run created, the last write wins instead of failing with path-collision. A file that was already in the workspace is still protected.
  • Every runner starts in its own temporary directory, so a relative write with Node’s fs no longer reaches the workspace. @pbuilder/sdk 0.22.0 and later still name paths relative to the workspace in their messages.
  • builder validate with no positional keeps the findings of every evaluation that ran and names each one that could not run, and the outcome stays an error with that error’s exit code, never 6 (CLI v0.20.1). A finding whose fix names a schematic the Manifest does not have is reported unchanged with the warning warn_fix_schematic_unresolved. See Run every evaluation.
  • @pbuilder/sdk 0.23.0 names the missing schematic when an invoke targets one its collection does not have, and names a failing factory by its folder.
  • A generator is chosen by the title, jobs and keywords its entry declares (CLI v0.21.0). builder new schematic requires --title and --job, builder describe changes them, and builder selection shortlist (CLI v0.23.0) lists the generators that cover a goal’s jobs. See Selection metadata.
  • The CLI hands a generator root its qualified name, so a failing factory outside the workspace is named factory <collection:schematic> instead of by a path of the machine (CLI v0.22.0 with @pbuilder/sdk 0.23.0, cli#260).
  • Parsing a file in the TypeScript and React dialects no longer loads the TypeScript standard library (@pbuilder/sdk 0.23.1, sdk#308). The SDK’s changelog measured parse() going from 37 ms to 0.5 ms per file in typescript and from 36 ms to 0.3 ms in react.
  • A read serves files up to 8 MiB, up from 1 MiB, and a read over that cap rejects with ReadTooLargeError, which a factory can catch (CLI v0.24.0, @pbuilder/sdk 0.24.0, engine#382). See Files over the read cap.
  • withTree and isValidCsharp query a C# tree without a parser of your own (@pbuilder/sdk 0.24.0, sdk#311). See C# dialect.
  • A typed invoke: codegen writes invoke.generated.ts, and a call by a registered name is checked against the child’s Input and Result (@pbuilder/sdk 0.24.0). See Type the call.
  • @pbuilder/sdk 0.24.0 sends frames of up to 64 MiB, so it needs CLI v0.24.0 or later.
  • Every handle carries its workspace-relative path as path, so an evaluation lists its files with glob and puts each handle’s path on a finding (@pbuilder/sdk 0.25.0, sdk#305). It works with CLI v0.24.0 or later. A dialect op named path is now refused. See List the files with glob.
  • A factory that does not catch a read over the 8 MiB read cap fails with its own error code, execute_read_ceiling_exceeded (exit code 5), instead of the generic engine_native_developer_fault, in builder execute and in builder validate (CLI v0.26.0, @pbuilder/sdk 0.26.0, cli#281). See When nothing catches the read.

Work that is planned or under way and not in a released version yet:

  • Selection reads the collections of installed libraries, and hidden and private schematics (cli#273, cli#274).
  • builder new schematic --role, so an evaluation needs no hand edit of project-builder.json (cli#269).
  • The skill builder init installs teaches agents to run builder validate and act on findings and their fixes (cli#268).
  • create rejects an unknown or missing option at the call, with a message that names it. Today a typo such as content for template fails with an unclassified error (sdk#306).
  • The schema.json input contract is published, so editors show that label is required (sdk#307).

Consuming schematics from outside your own repository: private registries for your organization and public packages for the ecosystem. Your team’s proven patterns become installable building blocks.

The full vision, and the reason for the project’s name: an orchestrator of schematics that is, itself, easy to orchestrate. Generation pipelines span projects and teams, with the same guarantee that has held since stage 1: the same input produces the same bytes.