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:52:14 -04:00
parent 37b006d3c6
commit ee6b22b38d
7 changed files with 52 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

@@ -17,3 +17,35 @@ Removal is a first-class contribution. Baseline: 4,462 lines (2026-03-25). Goes
Applies to every contributor: human, Timmy, Claude, Perplexity, Gemini, Kimi, Grok.
Exception: initial dependency config files (requirements.txt, package.json).
No other exceptions. Too big? Break it up.
# Contribution & Review Policy
## Branch Protection Rules
All repositories must enforce:
- Pull Request Required for Merge
- Minimum 1 Approval Required
- CI/CD Must Pass
- No Force Pushes
- No Direct Main Commits
## Review Requirements
All PRs must be reviewed by:
- @perplexity (mandatory on all repos)
- @Timmy (mandatory on hermes-agent)
- Repo-specific owners for specialized areas
## CI/CD Requirements
- hermes-agent: Full CI/CD pipeline required
- the-nexus: CI/CD pending runner restoration
- timmy-home: No CI/CD (manual review required)
- timmy-config: No CI/CD (manual review required)
## Enforcement
Branch protection rules are configured in Gitea under:
Settings > Branches > Branch Protection
For detailed implementation see:
- https://forge.alexanderwhitestone.com/Timmy_Foundation/the-nexus/issues/918

2
hermes-agent/CODEOWNERS Normal file
View File

@@ -0,0 +1,2 @@
@perplexity
@Timmy

14
package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "the-nexus",
"version": "1.0.0",
"private": true,
"config": {
"branchProtection": {
"requiredApprovals": 1,
"requiredStatusChecks": ["ci/cd"],
"restrictions": {
"blockedActions": ["forcePush", "directCommit"]
}
}
}
}

1
the-nexus/CODEOWNERS Normal file
View File

@@ -0,0 +1 @@
@perplexity

1
timmy-config/CODEOWNERS Normal file
View File

@@ -0,0 +1 @@
@perplexity

1
timmy-home/CODEOWNERS Normal file
View File

@@ -0,0 +1 @@
@perplexity