Implement gitea_coder Role #11

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

Objective

Implement the gitea_coder role with full file/branch operations and commit message generation.

Role Definition

gitea_coder → reads ticket → understands issue → creates/modifies branch → commits with detailed messages

Required Capabilities

  • Create branches (with scope gating - prevent main pushes)
  • CRUD files (unified update_file vs replace_file handling)
  • Generate detailed commit messages with ticket references
  • Create PRs from branches
  • Read ticket requirements
  • Scope enforcement (branch naming conventions)

Technical Notes

  • Cache chat_id with TTL for default branch
  • Gate LLM to specific task/branch
  • Consider unified diff approach for file updates
  • Tool naming: Function naming is critical (update_file vs replace_file)

Dependencies

  • Requires Ticket #1 (Project Setup) completion

Testing Criteria

  • Can create feature branch from ticket
  • Can modify files according to ticket requirements
  • Can generate commit messages with issue references
  • Can create PR for review
## Objective Implement the gitea_coder role with full file/branch operations and commit message generation. ## Role Definition ``` gitea_coder → reads ticket → understands issue → creates/modifies branch → commits with detailed messages ``` ## Required Capabilities - [ ] Create branches (with scope gating - prevent main pushes) - [ ] CRUD files (unified update_file vs replace_file handling) - [ ] Generate detailed commit messages with ticket references - [ ] Create PRs from branches - [ ] Read ticket requirements - [ ] Scope enforcement (branch naming conventions) ## Technical Notes - Cache chat_id with TTL for default branch - Gate LLM to specific task/branch - Consider unified diff approach for file updates - Tool naming: Function naming is critical (update_file vs replace_file) ## Dependencies - Requires Ticket #1 (Project Setup) completion ## Testing Criteria - Can create feature branch from ticket - Can modify files according to ticket requirements - Can generate commit messages with issue references - Can create PR for review
xcaliber added this to the Gitea Project Details for Role Refactoring project 2026-01-17 13:44:32 +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#11
No description provided.