From a5aec34060aea0a71a8a8eac7999397fd385ea18 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Tue, 7 Apr 2026 02:42:40 -0400 Subject: [PATCH] feat: [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) Refs #918 Agent: groq --- CODEOWNERS | 8 ++++++++ CONTRIBUTING.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/CODEOWNERS b/CODEOWNERS index 82d645a..2b2eb2e 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -18,3 +18,11 @@ timmy-config/ @Timmy # Optional: Add repo-specific owners for specialized areas # e.g., "hermes-agent/agent-core/ @Rockachopa" +@perplexity +@Timmy + +# Repo-specific owners +hermes-agent/ @Timmy +the-nexus/ @perplexity +timmy-home/ @perplexity +timmy-config/ @Timmy diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 566252a..54fdbd8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -109,3 +109,49 @@ These rules are enforced by Gitea branch protection settings. Direct pushes to m ## Abandoned PRs PRs not updated in >7 days will be labeled "stale" and may be closed after 30 days of inactivity. +# Contributing to the Nexus + +**Every PR: net ≤ 10 added lines.** Not a guideline — a hard limit. +Add 40, remove 30. Can't remove? You're homebrewing. Import instead. + +## Branch Protection Policy + +All repositories enforce: +- ✅ Require Pull Request for merge +- ✅ Require 1 approval +- ⚠� Require CI to pass (CI runner pending) +- ✅ Dismiss stale approvals on new commits +- ✅ Block force pushes +- ✅ Block branch deletion + +## Review Requirements + +- Mandatory reviewer: `@perplexity` for all repos +- Mandatory reviewer: `@Timmy` for `hermes-agent/` +- Optional: Add repo-specific owners for specialized areas + +## Implementation Status + +- ✅ hermes-agent: All protections enabled +- ✅ the-nexus: PR + 1 approval enforced +- ✅ timmy-home: PR + 1 approval enforced +- ✅ timmy-config: PR + 1 approval enforced + +> CI enforcement pending runner restoration (#915) + +## What gets preserved from legacy Matrix + +High-value candidates include: +- visitor movement / embodiment +- chat, bark, and presence systems +- transcript logging +- ambient / visual atmosphere systems +- economy / satflow visualizations +- smoke and browser validation discipline + +Those +``` + +README.md +```` +<<<<<<< SEARCH -- 2.43.0