Skip to Content

Install and trust

People decide on a rig apart from its core, in its own gate, install-rig.

People decide on a rig apart from its core, in its own gate, install-rig. Installing or running a core says nothing about a rig, and a rig's grant says nothing about running a project's code.

pitafix rig install .pitafix/rig

shows what the rig does, asks, then copies the folder into rigs/<id>/ in PitaFix's data folder and records a grant for those exact files. Installing runs nothing of the rig. The sheet, which the window shows too, lists:

  • every command the rig has a core run (the app's build and run, a local service's start, seed and reset, a state's prepare), each whole
  • the code it carries, which is its handler files
  • the project's files it preloads into the app
  • every variable it sets for the app, in app.env and each service's env, as written. A variable can load a file into the app as a preload does
  • every host it may reach beyond this Mac, or "none"
  • every question it asks the person at a capture
  • how many journeys and steps it walks, and how many states it claims reached and unreached

A rig with a problem is refused and nothing is copied. A changed rig finds no grant by its new hash, so it asks again, and it leaves the core's grant alone. When a project's own .pitafix/rig/ differs from the rig installed under its id, the app offers the new files for install: on the setup's first page, and on the capture's sheet, which opens to say the capture would run with the installed one. It never reads them as the rig a capture uses. A rig kept outside its project is installed with pitafix rig install, or from File > Install Rig from Folder….

A capture runs the core with the installed rig's folder as the initialize option rig. A project's run grant covers its exact command together with the exact rig, so another rig is another question. The grants are consent and audit, as a core's permissions are: the rig's hosts are what the person read before saying yes, and nothing in PitaFix stops a handler from doing more. Read the handler before you say yes to it.

On this page