Implement gitea_pm Role #15

Open
opened 2026-01-17 13:36:06 +00:00 by xcaliber · 0 comments
Owner

Objective

Implement the gitea_pm role with merge authority, ticket management, and human escalation path.

Role Definition

gitea_pm → reads commit messages (pre/post-squash) and PR/MR messages → updates tickets → closes if complete → escalates if issues exist

Required Capabilities

  • Read commit messages and PR descriptions
  • Update issue status (open/closed)
  • Add comments to issues on merge
  • Merge PRs (with selected strategy: merge, rebase, squash)
  • Escalate to humans when issues detected
  • Final state validation before merge

Escalation Triggers

  • Reviewer flagged issues not resolved
  • CI checks failing
  • Scope creep detected
  • Undocumented code changes
  • Quality gates not met

Post-Merge Actions

  • Close linked issue
  • Comment with PR reference
  • Add merged label (if applicable)

Technical Notes

  • PM role handles final check and escalation to humans if issues exist
  • Must validate all previous roles completed successfully

Dependencies

  • Requires Ticket #4 (gitea_reviewer) completion

Testing Criteria

  • Can merge clean PRs
  • Can update/close tickets correctly
  • Can escalate when issues detected
  • Validates pre-merge state properly
## Objective Implement the gitea_pm role with merge authority, ticket management, and human escalation path. ## Role Definition ``` gitea_pm → reads commit messages (pre/post-squash) and PR/MR messages → updates tickets → closes if complete → escalates if issues exist ``` ## Required Capabilities - [ ] Read commit messages and PR descriptions - [ ] Update issue status (open/closed) - [ ] Add comments to issues on merge - [ ] Merge PRs (with selected strategy: merge, rebase, squash) - [ ] Escalate to humans when issues detected - [ ] Final state validation before merge ## Escalation Triggers - Reviewer flagged issues not resolved - CI checks failing - Scope creep detected - Undocumented code changes - Quality gates not met ## Post-Merge Actions - Close linked issue - Comment with PR reference - Add merged label (if applicable) ## Technical Notes - PM role handles final check and escalation to humans if issues exist - Must validate all previous roles completed successfully ## Dependencies - Requires Ticket #4 (gitea_reviewer) completion ## Testing Criteria - Can merge clean PRs - Can update/close tickets correctly - Can escalate when issues detected - Validates pre-merge state properly
xcaliber added this to the Gitea Project Details for Role Refactoring project 2026-01-17 13:44:33 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui-automation/tools#15
No description provided.