Skip to content

Backfill ​

/blueprint-backfill [domain <name> | fold [domain ...] | finish]

Backfill brings an existing repo fully under blueprint. It covers domains, every capability with its anchors, specs drafted from the code and reviewed scenario by scenario, test tags and artifacts. It works in passes that can run in separate sessions, and progress is kept in .blueprint/backfill/, so any session picks up where the last one stopped.

Setup suggests it for repos with more than about 15 capabilities.

The passes ​

PassRunsWhat it does
1. Survey and domainsonceSplits the repo into domains and records the plan.
2. Capabilities and anchorsper domainNames each capability and the globs for its code, and writes the domain's overview page.
3. Spec drafts and reviewper domainDrafts each spec from the code, then you review it one scenario at a time: accept, amend or reject.
Foldwhen domains finish pass 3Adds the reviewed capabilities to blueprint.json.
4. Test tagsper folded domainTags existing tests with the scenarios they claim.
5. Artifactsper folded domainRecords outside docs that describe each capability as artifacts.
FinishonceDeletes .blueprint/backfill/.

Each domain's passes 2 to 4 can run in their own session, on their own branch. With the review pane installed, pass 3's scenario review runs there as cards, and each decision is saved before the next card.