feat(governance): harden governance rules, hook guards, and CI pipeline for epic branching (#17) - #18
Merged
nicolasvd merged 1 commit intoSep 25, 2026
Conversation
…ne for epic branching (#17)
nicolasvd
merged commit Sep 25, 2026
d199362
into
epic/issue-12-jit-sealing-epic-protocol
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17
📌 Summary
Branch:
feat/issue-17-harden-governance-rules→epic/issue-12-jit-sealing-epic-protocolType:
feat(governance)Related Issue: #17 feat(governance): harden governance rules, hook guards, and CI pipeline for epic branching
Parent Epic: #12 epic(governance): establish just-in-time issue sealing, native project metadata sync, and isolated epic branching protocol
AGENTS.md,agent.md,agent-lifecycle.md,backlog-planner.md,git-workflow.md,p1-product-planner.md,p4-system-architect.md, and skillsplan-issue/open-pr..agent/hooks/branch-guard.mjsandplan-guard.mjsto block direct writes, commits, and merges onepic/*integration branches while permitting child task branching and upstream initial pushes..agent/hooks/post-merge-dual-sync.shto dynamically query the PR target base branch (epic/**ormain), check it out, pull latest commits, and prune merged branches..agent/hooks/pre-invocation-anchor.shto contextually recognizeepic/*integration containers..github/workflows/delivery-pipeline.ymlto trigger onpull_request: [main, 'epic/**']and compare changed files dynamically againstorigin/${{ github.base_ref || 'main' }}...HEAD.singleSelectOptionIdinscripts/sync-project-metadata.mjsto eliminate GraphQL type coercion errors, and added conventional commit type mapping inscripts/seal-issue.sh.📂 Affected Files
AGENTS.md(andagent.md)+14 / -10.agent/rules/agent-lifecycle.md+26 / -33.agent/rules/backlog-planner.md+23 / -26.agent/rules/git-workflow.md+14 / -24.agent/personas/p1-product-planner.md+8 / -14.agent/personas/p4-system-architect.md+4 / -3.agent/skills/plan-issue/SKILL.md+19 / -34./scripts/seal-issue.sh.agent/skills/open-pr/SKILL.md+6 / -5.agent/hooks/branch-guard.mjs+5 / -7epic/*integration branches.agent/hooks/plan-guard.mjs+6 / -5epic/*branches.agent/hooks/post-merge-dual-sync.sh+15 / -0.agent/hooks/pre-invocation-anchor.sh+7 / -1epic/*branchesscripts/sync-project-metadata.mjs+1 / -4singleSelectOptionIdmutationscripts/seal-issue.sh+8 / -1scripts/test-runtime-guardrails.mjs+20 / -0.github/workflows/delivery-pipeline.yml+4 / -2epic/**trigger & dynamicbase_refdiffing✅ Quality Airbag — Pre-Commit & Local Verification
./scripts/validate-docs.sh./scripts/test-runtime-guardrails.mjs./scripts/quality-check.sh📸 UI Snapshots / Roborazzi Visual Diffs
N/A — No UI composable or visual changes in this governance hardening feature.
Caution
Zero Auto-Merge — Explicit approval required (Gate 3.5).
This PR targets the Epic integration branch
epic/issue-12-jit-sealing-epic-protocol.Persona 6 presents this PR link and stops. Merge is a deliberate human action.