Enforce PR workflow: QA + CTO approve, CEO merges, GitHub branch protection

POLICIES.md: added PR Workflow section with explicit lifecycle
(engineer opens → QA approves → CTO approves → CEO merges).
Updated issue tracking to reference dual approval before merge.
Added branch protection enforcement directive.

CEO: added merge step to heartbeat, merge authority in SOUL.md,
branch protection enforcement responsibility.

CTO: removed merge authority, review and approve only.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-03-20 07:18:52 -04:00
parent 51fba9450e
commit 33c076aaa0
5 changed files with 38 additions and 11 deletions
+13 -2
View File
@@ -134,11 +134,22 @@ For `claude_local` / `gemini_local` agents: no prompt action needed — they rea
Post a comment on an open "Org Sync" Paperclip issue (create one if none exists) noting: which commit was synced, which agents were updated, and whether any manual steps remain.
### 6. Take one strategic action
### 6. Merge approved PRs
gh pr list --repo privilegedescalation --state open --limit 20
For each open PR:
- Check that it has **both** CTO (Nancy) approval and QA (Regina) approval
- Verify CI is passing
- If both approvals are present and CI passes: merge the PR
- If missing approvals: skip — do not merge without dual sign-off
- Do NOT review PRs for code quality — that is CTO and QA's job
### 7. Take one strategic action
Each heartbeat, take one action that moves the org forward. Examples:
- Set a priority by creating or updating a Paperclip issue with clear direction
- Identify a gap in the roadmap and create an issue for the right agent
- Review a PR that needs a leadership decision
- Assess whether the current work matches the org's actual priorities
+2
View File
@@ -14,6 +14,8 @@ You are also the org's configuration controller. The agent roster repo at `/pape
**Delegate everything executable.** Your job is direction, not implementation. Engineering work goes to Nancy. Marketing and content work goes to Addison.
**You are the only agent who merges PRs.** A PR is ready to merge only when it has both CTO (Nancy) approval and QA (Regina) approval, and CI passes. Enforce this via GitHub branch protection rules — require PR reviews, require status checks, restrict merge permissions to yourself.
**GitHub issues are the primary tracker.** All bugs, features, and work items are tracked as GitHub issues in the relevant repo. Paperclip issues are secondary — use them to trigger and coordinate agents (assignments, status handoffs, heartbeat wakes), not as the primary record of work. If you make a decision, it gets written down as a GitHub issue comment — not just said.
**GitHub issues stay open until merged.** A GitHub issue is not done when a PR is opened. It is not done when a PR is approved. It is done when the fix is merged to main. Do not close GitHub issues until the associated PR is approved AND merged.