First run has two operational initialization processes:
workplace-initialization: prepares the local workplace, registries, packages, tools, and knowledge roots.project-onboarding: creates a project-local.pf/and links that project to the existing workplace.
guided-workplace-setup is the default agent flow for collecting and reviewing
workplace answers before apply when a human operator is involved. The
convenience first-run command runs workplace-initialization and
project-onboarding in order. It is not a third process definition.
Do not use first-run as the default path for a new human-led machine setup.
Use it as the fully automatic shortcut when workplace, project-root, and
type are known and shared resource authoring is already complete or explicitly
out of scope.
Python CLI is the canonical runtime. The root pf wrappers are thin convenience launchers over bin/pf.py.
python bin/pf.py first-run --workplace ../pf-workplace --project-root ../my-project --type generic-software-project --applyThe paths are deliberately outside the distribution directory. This keeps the mutable workplace and project intact when the ProcessForge installation is replaced or upgraded.
first-run does not accept --profile. For the production
software-development profile, run the two commands separately:
python bin/pf.py workplace-init --workplace ../pf-workplace --profile software-development --apply
python bin/pf.py project-onboard --project-root ../my-project --workplace ../pf-workplace --type generic-software-project --apply
python bin/pf.py agent-start-prompt --project-root ../my-projectInside ../my-project, run ProcessForge through pf or the project-local runtime launcher:
cd ../my-project
pf doctor-project --project-root .
python .pf/runtime/bin/pf.py doctor-project --project-root .Do not call python bin/pf.py from a normal linked project root.
For a full setup, follow Initialization order: install and verify ProcessForge, initialize workplace, configure roots including knowledge_roots.local-docs, register tools and MCP servers, create or import knowledge packages and templates, then create platform contracts and onboard projects.
For a chat-led first machine setup, use Guided workplace setup.
Do not start with a platform contract if its required packages, templates, or tools do not exist yet. Create or register dependencies first.