This is a public sandbox repository for trying Permission Protocol without putting a real production repo at risk.
The repo looks like a small Node billing service: it has a billing API entrypoint in src/api/billing.ts, a database migration in migrations/, API docs in docs/, and GitHub workflows that make the pull request checks feel real. The point is to show the Permission Protocol activation loop quickly: AI can move fast, but consequential changes still need explicit human authority.
Permission Protocol reads .pp-policy.yml and applies the required GitHub check:
docs/**, markdown files, andsrc/lib/utils.tsare safe paths that auto-clear when tests pass..github/workflows/**,migrations/**, andsrc/api/billing.tsare protected paths that require a human signer.- blocked patterns like unsafe migrations or hardcoded secrets are denied until the diff is fixed.
The required check appears in GitHub as Permission Protocol. The API status context is permission-protocol/approval.
Sandbox onboarding creates two AI-authored PRs from pp-demo-bot:
docs: clarify API auth flowtouchesdocs/api.mdonly, so it auto-clears.feat: add staging deploy triggertouches.github/workflows/permission-protocol.ymlandsrc/api/billing.ts, so it is held for signing.
After signing the held PR, you get your first authority receipt and the GitHub check turns green. That is the "speed with brakes" moment: routine AI changes keep moving, but changes to deploy, billing, and migrations require a named human decision.
.pp-policy.ymlis the starter policy you edit as your rules mature..github/workflows/permission-protocol.ymlinstalls the Permission Protocol gate.src/api/billing.tsis intentionally protected because billing logic is consequential.migrations/is protected because schema changes need rollback discipline.docs/api.mdis intentionally safe so documentation-only PRs can move quickly.
Use this repository as a template, connect it from the Permission Protocol dashboard, and follow the sandbox flow. Once the aha lands, graduate to a real repository from the dashboard and keep the same policy shape.
AI-generated pull requests should not force teams to choose between speed and control. Permission Protocol gives teams a visible approval layer for consequential agent work, with receipts that prove who authorized what.
Learn more at permissionprotocol.com.