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.
Imported blueprints are validated, SHA-256 hashed, and stored immutably in your PitaFix data folder.
- Choose File › Import Blueprint…, or open Settings › Blueprints and click Import Blueprint….
- Select a blueprint folder (containing
blueprint.json) or archive. - 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>.
blueprint, import, library, blueprint.json, archive, zip, tar.gz, sha256, settings
Attaching a blueprint binds a project to its active stacks and optional modules, and lets an agent scaffold those files on a dedicated branch.
- Open your project and choose File › Project Blueprint… (or click the blueprint control in the Plan header).
- Select an imported blueprint, confirm its active Stacks and any Optional Modules, and attach it.
- To reconcile
AGENTS.md, skills, gates, and capture templates inside the repo, start an apply run with your agent. - 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.
project blueprint, attach, detach, stacks, optional modules, apply, branch, agents.md, passes
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_blueprintMCP 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": trueenvelope.
get_blueprint, mcp, passes, after each task, permissions, untrusted
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.
sha256, integrity, security, symlinks, validation, immutable