Generated files and required permissions
What the compiled package writes into the repository and which App and GitHub permissions those files expect.
Last updated September 27, 2026
Generated files
A compiled GitHub package typically includes:
.canon/runtime, manifest, hooks, and release scripts such as.canon/release.mjsorchestration-pipeline.yml— Start Run dispatches this workfloworchestration-human.yml— ingests nativepull_request_review- supporting Actions workflows, agents, and generated docs
Repository setup is not a file: App installation, rulesets, environments, Actions variables, and reviewers.
Install onto the default branch you inspected. Do not hand-edit generated files to grant tools or skip gates. Change the Blueprint and re-export.
App permissions
The live Canon GitHub App start_run operation expects at least:
actions: writecontents: readissues: write
Canon fails closed if the App is missing, not installed on the bound repo, or orchestration-pipeline.yml is absent.
Privileged jobs also expect the production OIDC broker. Host credentials are CANON_GITHUB_APP_ID and CANON_GITHUB_APP_PRIVATE_KEY. Preview credentials are not enough.
GitHub permissions the package cannot grant
- Copilot and Copilot CLI / coding-agent policy for the workflow actor
- org Actions policy
- a tag-ruleset bypass actor
- production reviewers that exist as real users
If release checks out a v* tag and runs .canon/release.mjs with contents: write, the tag ruleset must be applied and must not be bypassable by an untrusted actor.
Uninstall
Cancel Deploy, then remove Canon-owned paths and uninstall the App from that repository. Leaving the workflow files in place keeps a GitHub dispatch surface. See Cancel Deploy and stop GitHub workflows.
