Commit Graph

7 Commits

Author SHA1 Message Date
meeks dfdd8c0931 fix: improve prompts, error messages, and workspace concurrency
- Externalize coordinator, notification, and planning prompts to separate files
- Add workspace mutex for concurrent file operations
- Improve error messages across file_tools, issue_tools, and pr_tools
- Add logging to tool modules for better debugging
- Update tests to match new error message strings
2026-08-01 20:01:46 +02:00
meeks e91780169e refactor: extract focused clients from GiteaClient (Slices 1-6)
- Create gitea/issues_client.py with IssuesClient class (9 methods)
- Create gitea/prs_client.py with PullRequestsClient class (17 methods)
- Create gitea/files_client.py with FilesClient class (4 methods)
- Create gitea/notifications_client.py with NotificationsClient class (2 methods)
- Create gitea/repos_client.py with ReposClient class (2 methods)
- Create gitea/__init__.py to export all client classes
- Remove delegation methods from GiteaClient (now ~70 lines)
- Update all callers to use sub-clients (client.issues, client.prs, etc.)
- Update test files to mock sub-client attributes

GiteaClient is now a facade that provides access to focused sub-clients:
- repos: Repository operations (ReposClient)
- issues: Issue operations (IssuesClient)
- prs: Pull request operations (PullRequestsClient)
- files: File and git ref operations (FilesClient)
- notifications: Notification operations (NotificationsClient)

Refs: #godclass-refactor
2026-07-17 07:37:41 +02:00
meeks 24ca1c2898 Refactor WorkspaceManager.sanitize_repo to stash changes and raise errors on failure, add unit tests 2026-07-16 12:46:27 +02:00
Michael Ingvarsson f08c7b64c1 Enforce authenticated user and login validation in workspace operations, crashing program on failure instead of fallback defaults 2026-07-16 12:36:54 +02:00
Michael Ingvarsson b99730f9a4 fix usename exposure 2026-07-16 12:00:16 +02:00
meeks dfae518f0c feat: implement WorkspaceManager to handle local Gitea repository cloning and configuration and document identified codebase vulnerabilities 2026-07-16 11:41:15 +02:00
mi222eh 5f35f56edc Refactor code structure for improved readability and maintainability 2026-07-06 21:37:20 +02:00