You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide: require Quality Gate checks before merging to main #51
The integration job has been red on main for at least two months, and merges went through regardless. Nothing currently blocks a merge on a failing check.
Options
(a) Branch protection on main: require the Quality Gate checks and a PR.
enforce_admins.enabled: true (gate applies to admins)
allow_force_pushes: false
allow_deletions: false
On enforce_admins: true
The decision is deliberate. The two-month red integration was exactly the kind of thing admin bypass permissions enable. Solo project means "admin bypass" is just "I can skip my own gate." Seven recent green merges prove the gate isn't blocking real work.
Emergency escape hatch (recorded for future reference)
To remove protection in a genuine emergency:
To restore afterwards: re-run the apply command (see decision record).
enforce_admins.enabled: true (gate applies to admins)
allow_force_pushes: false
allow_deletions: false
On enforce_admins true
The decision is deliberate. The two-month red integration was exactly the kind of thing admin bypass permissions enable. Solo project means admin bypass is just "I can skip my own gate." Seven recent green merges prove the gate is not blocking real work.
Activity
amar-python commentedon Oct 25, 2026
Automated verification: FAIL (verify_issues.py, 2026-10-25)
mainhas no branch protection (API returns 404), and no decision recorded: no comment from the owner and the issue is open.Generated by Claude Code
amar-python commentedon Nov 2, 2026
Closed — decided and applied (2026-11-02)
Decision: Option (a). Branch protection on main, require all three Quality Gate checks and a PR, with
enforce_admins: true.Why (a) over (b) or (c)
Applied
Protection set via
gh api --method PUT /repos/amar-python/PostgreDataMigrationAppWithCSVLoader/branches/main/protectionon 2026-11-02:required_status_checks.contexts:python-validator-tests,free-tier (unit, lint, health, evals-p),integration (postgres service)required_status_checks.strict: true (branches must be up to date)required_pull_request_reviews.required_approving_review_count: 0 (solo project)enforce_admins.enabled: true (gate applies to admins)allow_force_pushes: falseallow_deletions: falseOn
enforce_admins: trueThe decision is deliberate. The two-month red integration was exactly the kind of thing admin bypass permissions enable. Solo project means "admin bypass" is just "I can skip my own gate." Seven recent green merges prove the gate isn't blocking real work.
Emergency escape hatch (recorded for future reference)
To remove protection in a genuine emergency:
To restore afterwards: re-run the apply command (see decision record).
Related
DECISIONS/2026-11-02-main-branch-protection.md(to be added)docs: record D8 decision (main branch protection, Quality Gate required)
amar-python commentedon Nov 2, 2026
Closed — decided and applied (2026-11-02)
Decision: Option (a). Branch protection on main, require all three Quality Gate checks and a PR, with enforce_admins true.
Why (a) over (b) or (c)
Applied
Protection set via gh api PUT on 2026-11-02:
On enforce_admins true
The decision is deliberate. The two-month red integration was exactly the kind of thing admin bypass permissions enable. Solo project means admin bypass is just "I can skip my own gate." Seven recent green merges prove the gate is not blocking real work.
Related