name: ucx-github-governance description: | Hermes governance skill for GitHub issue and PR lifecycle control aligned to governance/GOVERNANCE_RULES.md and UCX V3 round-based gate policy. version: 1.1.0 category: governance author: UCX Framework Team requires: []
UCX GitHub Governance Skill
Purpose
Manage issue->plan-set->PR governance flow in GitHub while preserving UCX V3 control-plane/execution-plane separation.
Canonical Label Flow
Use governance label progression exactly:
ai:ready -> ai:in-progress -> ai:review-requested
Rules:
- Only
ai:readyissues are eligible for autonomous execution. - Do not use
ai:approvedorai:rejected. - Transition to
ai:in-progressonly after required plan artifacts are approved. - Use
ai:review-requestedwhen acceptance criteria verification is complete and PR is ready for review.
Mandatory Issue Workflow
Before coding:
- Initialize project context when required (
sdd_init, thensdd_preflight). - Complete issue analysis.
- Create planning-first artifacts (layer roadmap, planning index, changelog plan).
- Review planning artifacts for gaps.
- Fix gaps or record explicit deferrals with rationale.
- Create required plan artifact(s): document-layer IPLAN and/or permanent development plan (
PLAN-NNN_*, preferred). - Review plan artifact(s) for step clarity and acceptance-criteria mapping.
- Record explicit plan approval (human reviewer or independent LLM-as-judge session).
- Start implementation by transitioning issue to
ai:in-progress.
Before review request:
- Verify linked-issue acceptance criteria with evidence.
- Update issue checkboxes based on verified evidence only.
- Add direct PR link (number + URL) to linked issue.
After review round:
- Post review outcomes back to linked issue.
- If re-review required, post delta findings and next actions.
Round-Based PR Governance (Mandatory)
For autonomous execution PRs, run two-round maximum gate policy:
sdd_validatesdd_reviewsdd_remediate- post-remediation
sdd_validate - Hermes final blocker-gap/inconsistency review
If Round 1 fails, run Round 2 with same sequence.
If Round 2 fails, mark escalation REQUIRED, block merge, require human review.
GitHub PR Policy
- Ensure branch naming follows governance conventions.
- Ensure PR body links issue and traceability tags.
- Ensure AI review status labels are recorded (
ai:review-passed/ai:review-failed) when enabled by workflow. - Do not merge while escalation is active.
UCX V3 Boundaries
- Document-layer lifecycle decisions remain UCX MCP-gated.
- This skill manages GitHub governance state and policy transitions.
- Implementation execution remains owned by execution agents.
Failure Handling
If governance state is inconsistent:
- Stop autonomous transition.
- Record mismatch (label/state/evidence gap).
- Request human/operator resolution.