26 Commits

Author SHA1 Message Date
889680a7b7 feat(gitea): implement gitea_coder role with scope enforcement (#20)
## Summary

Implements the gitea_coder role as defined in issue #11, providing a complete workflow automation layer for Git operations with scope enforcement.

## Features

### Branch Management with Scope Gating
-  Enforces branch naming conventions (feature/, fix/, refactor/, docs/, test/, chore/)
-  Prevents direct pushes to protected branches (main, master, develop, dev)
-  Auto-appends issue numbers to branch names

### Unified Commit Workflow
-  Automatic create vs replace detection
-  Conventional commits format with issue references
-  Detailed commit message generation

### PR Creation
-  Validates source branch is not protected
-  Auto-references issues in PR description
-  Uses existing gitea/dev.py operations

### Ticket Integration
-  Reads and parses issue requirements
-  Extracts testing criteria and technical notes
-  Suggests branch names from issue content

## Files Added
- `gitea/coder.py` - Complete gitea_coder role implementation

## Files Modified
- `README.md` - Added gitea_coder documentation

## 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

Refs: #11
Reviewed-on: #20
2026-01-18 22:24:53 +00:00
3d8a8190f9 return type fixes (#9)
Reviewed-on: #9
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-01-17 12:31:59 +00:00
dc9f128eb9 Update gitea/dev.py (#8)
Reviewed-on: #8
2026-01-15 20:43:12 +00:00
7f35b8fac4 fix(dev.py): fix CRUD operation bugs
- Fixed redundant __user__ checks in _get_token, _get_repo, _get_branch, _get_org
- Fixed merge_pull_request: proper conflict detection (409), merged status check, and empty response handling
- Fixed update_file: proper 404 handling before raise_for_status
- Fixed delete_file: proper 404 handling before raise_for_status
- Updated version to 1.4.1 with changelog

Refs: bug hunt fix
2026-01-15 17:43:06 +00:00
dbfeca8271 feat(gitea): Add CRUD operations for Issues and Pull Requests (#3) (#4)
**Review Summary**

 PASS - All CRUD operations implemented correctly

**Issues Fixed:**
- `merge_pull_request` output variable bug (early return)
- Duplicate docstring in `_get_branch`
- Namespace refactor for VeniceInfo (from PR comment feedback)

**Changes in this PR:**
- 9 Issue CRUD functions (get, update, close, reopen, delete, comments)
- 7 PR CRUD functions (get, update, merge, comments)
- Version bumped to 1.4.0

Ready to merge. The code follows existing patterns with proper error handling and confirmation dialogs for destructive operations.

Reviewed-on: #4
2026-01-15 13:45:16 +00:00
8903614e84 Add http/client.py 2026-01-15 13:35:29 +00:00
585710bb38 v1.2.0: Fix syntax error in VeniceInfo namespace 2026-01-15 12:20:19 +00:00
8a988c1ded v1.2.0: Add VeniceInfo namespace for helper functions 2026-01-15 12:19:06 +00:00
fe29e792ab v1.7.0: Add VeniceImage namespace for helper functions 2026-01-15 12:17:53 +00:00
5c7394d0cd refactor: add VeniceChat namespace for helper functions
- Added VeniceChat class with get_api_key, truncate, format_error static methods
- Prevents Open WebUI framework method name collision issues
- All tool methods now use VeniceChat.get_api_key() pattern
- Version bump to 1.4.0
2026-01-15 11:35:40 +00:00
1015453feb Update README with detailed descriptions of tools in gitea/ and venice/ directories 2026-01-14 17:38:51 +00:00
434ab2459d Update README with broad description of tools in the monorepo 2026-01-14 15:47:23 +00:00
7b64a69e21 Delete gitea/dev_broken.py 2026-01-14 15:47:20 +00:00
be7d3852b4 Update gitea/dev.py 2026-01-14 15:45:27 +00:00
1b101b2256 Update gitea/dev.py 2026-01-14 15:32:17 +00:00
b3a4887b47 Update gitea/dev.py 2026-01-14 13:55:37 +00:00
7587c9fefe Add gitea/dev.py 2026-01-14 13:55:05 +00:00
67bf06d7d4 Update gitea/dev_broken.py 2026-01-14 13:54:04 +00:00
22e6da917f Add venice/image.py 2026-01-14 10:26:10 +00:00
bb12a3e732 Add venice/info.py 2026-01-14 10:25:06 +00:00
54e60b6fa4 Add venice/chat.py 2026-01-14 10:24:40 +00:00
2a3b615a3b Update gitea/dev.py 2026-01-13 19:15:27 +00:00
d96c439c06 Update gitea/admin.py 2026-01-13 19:08:17 +00:00
673e5d434d Add gitea/dev.py 2026-01-13 18:23:29 +00:00
259fe538d4 Add gitea/admin.py 2026-01-13 18:22:43 +00:00
1c187c20df Initial commit 2026-01-11 23:48:41 +00:00