Skip to Content

Check and install

Test a core against a project, then install it.

pitafix core test cores/my-core --project /path/to/a/repo
pitafix core test cores/my-core --project /path/to/a/repo --timeout 5m --keep --json
pitafix core test cores/my-core --option key=value     # repeatable; sent at initialize

core test runs the core the way the app will, in a throwaway copy of the project, and checks everything this guide just described: every record against pitafix.trace/1, every artifact's shape and SHA-256, every tree against pitafix.tree/1, cancel mid-job, crash recovery, and that nothing was left running when it ended. It grants nothing and installs nothing. A real toolchain needs --project and usually a longer --timeout; --keep leaves the throwaway folders so you can look at what the core wrote.

When it passes:

pitafix core install cores/my-core

which shows the manifest, the commands and the permissions, asks, and only then copies the core into PitaFix's data folder. In the window, File > Install Core… does the same.

People approve two things separately: installing a core, and running a project's code through it. PitaFix asks again when a core's files or command change — so expect a changed core to re-prompt, and treat the permissions block as a promise you keep, not a fence someone else holds.

On this page