[PR #117] [CLOSED] Publish staging-first Agent governance to main #818

Closed
opened 2026-10-20 17:31:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/117
Author: @SpicyMarinara
Created: 7/29/2026
Status: ❌ Closed

Base: main ← Head: agent/main-governance


📝 Commits (8)

  • 8f4b46f chore: restore staging-first agent governance
  • 73e1358 security: require developer review for outside changes
  • 92219a2 fix: address staging governance review feedback
  • ba048f6 ci: enforce pull request target policy
  • 8470d8b ci: bind main PRs to trusted staging
  • 06c0719 ci: reconcile promoted issue labels
  • e2ae020 ci: reserve outside PR approval for owner
  • 90344c9 ci: fix review event filtering

📊 Changes

10 files changed (+152 additions, -27 deletions)

View changed files

📝 .coderabbit.yaml (+4 -1)
📝 .github/CODEOWNERS (+3 -1)
📝 .github/agents/chai-workflow.md (+3 -2)
📝 .github/pull_request_template.md (+6 -1)
📝 .github/workflows/issue-status-from-prs.yml (+51 -9)
📝 .github/workflows/pull-request-triage.yml (+67 -0)
📝 AGENTS.md (+4 -2)
📝 CONTRIBUTING.md (+11 -8)
📝 README.md (+1 -1)
📝 SECURITY.md (+2 -2)

📄 Description

Closes #115

Why this change

The default branch must direct contributors to the restored staging lane and load the CodeRabbit and Code Owner configuration that will govern future staging PRs.

What changed

  • Publish staging as the only contribution target.
  • Publish the internal-developer merge boundary, owner-only outside-contributor acceptance gate, and owner-only main promotion policy.
  • Configure CodeRabbit to review ready staging PRs.
  • Add a provenance-aware policy that accepts main promotions only from this repository's staging branch and only when opened by SpicyMarinara.
  • Update issue automation, security guidance, contributor docs, and PR instructions.

Package and security impact

  • Affected package IDs: none
  • Engine compatibility impact: none in this governance-only PR
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Catalog and catalog-lane validation completed locally.
  • Branch-policy promotion, fork-rejection, actor-rejection, and wrong-base paths were exercised locally.\n- Owner-approval behavior was exercised across internal, outside, other-reviewer, stale-approval, and current-owner-approval cases.
  • GitHub CI and CodeRabbit review are required before merge.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

Summary by CodeRabbit

  • Documentation

    • Updated contribution, security, and pull request guidance to use staging as the primary development branch.
    • Clarified review, validation, branch protection, and promotion requirements for publishing changes to main.
  • Workflow Improvements

    • Pull request tracking now supports both staging and main, including a new status for fixes awaiting promotion.
    • Added automated branch-policy checks to validate pull request targets and promotion paths.
  • Repository Maintenance

    • Updated ownership assignments and automated review settings to reflect the revised development workflow.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/117 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `agent/main-governance` --- ### 📝 Commits (8) - [`8f4b46f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8f4b46f2c916306b93d6d72c1328c6bb0463f233) chore: restore staging-first agent governance - [`73e1358`](https://github.com/Pasta-Devs/Marinara-Agents/commit/73e135881896974dd41060127d20c7c836171b00) security: require developer review for outside changes - [`92219a2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/92219a275a35c52c98e941d09410fdcf8e091d2c) fix: address staging governance review feedback - [`ba048f6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ba048f63914cfaf7e2ccd70585dfa07f8c3a707e) ci: enforce pull request target policy - [`8470d8b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8470d8b9323d8a6547bb789a66b8b2e8ffc21bea) ci: bind main PRs to trusted staging - [`06c0719`](https://github.com/Pasta-Devs/Marinara-Agents/commit/06c0719eb9d90c44b5d985b6df0e1de9510e402b) ci: reconcile promoted issue labels - [`e2ae020`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e2ae0204fd0bf3d83decb9f1754b66ca75bf052c) ci: reserve outside PR approval for owner - [`90344c9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/90344c9e58ac0f2259ccf00175275a72785512a2) ci: fix review event filtering ### 📊 Changes **10 files changed** (+152 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `.coderabbit.yaml` (+4 -1) 📝 `.github/CODEOWNERS` (+3 -1) 📝 `.github/agents/chai-workflow.md` (+3 -2) 📝 `.github/pull_request_template.md` (+6 -1) 📝 `.github/workflows/issue-status-from-prs.yml` (+51 -9) 📝 `.github/workflows/pull-request-triage.yml` (+67 -0) 📝 `AGENTS.md` (+4 -2) 📝 `CONTRIBUTING.md` (+11 -8) 📝 `README.md` (+1 -1) 📝 `SECURITY.md` (+2 -2) </details> ### 📄 Description Closes #115 ## Why this change The default branch must direct contributors to the restored staging lane and load the CodeRabbit and Code Owner configuration that will govern future staging PRs. ## What changed - Publish staging as the only contribution target. - Publish the internal-developer merge boundary, owner-only outside-contributor acceptance gate, and owner-only main promotion policy. - Configure CodeRabbit to review ready staging PRs. - Add a provenance-aware policy that accepts main promotions only from this repository's staging branch and only when opened by SpicyMarinara. - Update issue automation, security guidance, contributor docs, and PR instructions. ## Package and security impact - Affected package IDs: none - Engine compatibility impact: none in this governance-only PR - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Catalog and catalog-lane validation completed locally. - Branch-policy promotion, fork-rejection, actor-rejection, and wrong-base paths were exercised locally.\n- Owner-approval behavior was exercised across internal, outside, other-reviewer, stale-approval, and current-owner-approval cases. - GitHub CI and CodeRabbit review are required before merge. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated contribution, security, and pull request guidance to use `staging` as the primary development branch. - Clarified review, validation, branch protection, and promotion requirements for publishing changes to `main`. - **Workflow Improvements** - Pull request tracking now supports both `staging` and `main`, including a new status for fixes awaiting promotion. - Added automated branch-policy checks to validate pull request targets and promotion paths. - **Repository Maintenance** - Updated ownership assignments and automated review settings to reflect the revised development workflow. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:16 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#818
No description provided.