What problem does it solve? Starting a governed coding session requires verifying repository state, ensuring the canonical review skill exists, and defining which agents may decide, review, implement, or approve. Doing this manually is error-prone and risks granting external reviewers write access or letting memory systems own runtime state. ## Core Features & Use Cases - Repository Preflight: Records branch, exact commit SHA, dirty state, and a RUN_ID for every bootstrap run, refusing to proceed outside a Git repository. - Agent Permission Matrix: Generates an agent-roles.json defining allowed and forbidden actions for 19 actors including Hermes, Devin, OpenCode, Codex, and the policy gate. - Canonical Skill Management: Validates the project-review-orchestrator skill, generates a draft if missing, and installs it only with explicit write approval. - Routing Decision: Classifies work into trivial, standard governed, or high-risk routes with recorded reasons. - Use Case: Before delegating a feature to Devin, run the bootstrapper to snapshot the repo, create the permission matrix, and produce a bootstrap report naming the next required command. ## Quick Start Ask the agent to run /project-agent-bootstrapper Prepare this repository and route agents with your repository path and objective.