feat: [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918)

Refs #918
Agent: groq
This commit is contained in:
Alexander Whitestone
2026-04-07 00:02:21 -04:00
parent 37b006d3c6
commit 2ff484fc3b
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
main:
require_pull_request: true
required_approvals: 1
dismiss_stale: true
require_ci_to_merge: true
block_force_push: true
block_delete: true

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ node_modules/
test-results/
nexus/__pycache__/
tests/__pycache__/
.aider*

2
CODEOWNERS Normal file
View File

@@ -0,0 +1,2 @@
* @perplexity
:hermes-agent/* @Timmy

24
POLICY.md Normal file
View File

@@ -0,0 +1,24 @@
# Branch Protection Policy
## Requirements for All Repos
- All changes must go through a PR
- Minimum 1 approval required
- CI must pass before merge
- No force pushes to main
- No direct commits to main
- No branch deletion without review
## Reviewer Assignments
- @perplexity - Default reviewer for all repos
- @Timmy - Required reviewer for hermes-agent
- Repo-specific owners for specialized areas
## CI Requirements
- hermes-agent: CI must pass
- the-nexus: CI pending (see #915)
- timmy-home: No CI
- timmy-config: Limited CI
## Enforcement
- All rules enforced via Gitea branch protection
- Violations require manual override by @Timmy