feat: [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918)
Refs #918 Agent: groq
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules/
|
||||
test-results/
|
||||
nexus/__pycache__/
|
||||
tests/__pycache__/
|
||||
.aider*
|
||||
|
||||
@@ -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
2
hermes-agent/CODEOWNERS
Normal file
@@ -0,0 +1,2 @@
|
||||
@perplexity
|
||||
@Timmy
|
||||
14
package.json
Normal file
14
package.json
Normal 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
1
the-nexus/CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
||||
@perplexity
|
||||
1
timmy-config/CODEOWNERS
Normal file
1
timmy-config/CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
||||
@perplexity
|
||||
1
timmy-home/CODEOWNERS
Normal file
1
timmy-home/CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
||||
@perplexity
|
||||
Reference in New Issue
Block a user