Skip to Content

Blueprints

Import SHA-256 verified blueprint bundles and attach them to projects so every coding agent run follows your stack rules, AGENTS.md templates, skills, gates, and passes.

2 tasks, 2 questions answered.

A blueprint (pitafix.blueprint/1) is a self-contained folder or archive (.zip, .tar.gz) that bundles stack rules, AGENTS.md templates, commit conventions, and skills. It can also include harness packages, verification gates, post-task passes, and starter .pitafix/ capture setups.

Import a blueprint

Imported blueprints are validated, SHA-256 hashed, and stored immutably in your PitaFix data folder.

  1. Choose File › Import Blueprint…, or open Settings › Blueprints and click Import Blueprint….
  2. Select a blueprint folder (containing blueprint.json) or archive.
  3. PitaFix validates every path inside the bundle, hashes the tree, and adds that version to your local library.

Wrong turn? Want to delete an unused version? Open Settings › Blueprints and click Remove, or run pitafix blueprint remove <id>.

Attach and apply a blueprint to a project

Attaching a blueprint binds a project to its active stacks and optional modules, and lets an agent scaffold those files on a dedicated branch.

  1. Open your project and choose File › Project Blueprint… (or click the blueprint control in the Plan header).
  2. Select an imported blueprint, confirm its active Stacks and any Optional Modules, and attach it.
  3. To reconcile AGENTS.md, skills, gates, and capture templates inside the repo, start an apply run with your agent.
  4. PitaFix launches the agent in a worktree on pitafix/blueprint-<id> without touching your current checkout.

Wrong turn? Need to switch versions, toggle modules, or detach? Reopen File › Project Blueprint… anytime.

How it works

How do attached blueprints shape coding agent runs?

Every task run and whole-epic run reads the blueprint first and inherits its post-task passes.

  • PitaFix instructs the agent to call the read-only get_blueprint MCP tool at startup (agent protocol in Work tasks & epics).
  • Enabled post-task passes from the active stacks append automatically to your Settings › After Each Task passes.
  • Only a human can import, attach, update, or detach a blueprint; agents receive blueprint data inside an "untrusted": true envelope.

How does PitaFix verify blueprint integrity?

By blocking unsafe paths on import and re-checking the full tree's SHA-256 digest before every load.

  • Importing rejects symlinks, parent-directory traversal, and non-local paths.
  • Stored bundles live immutably under <DataDir>/blueprints/<id>/<version>/ and refuse to load if any byte changed on disk.

On this page