meeks 9b63fbbcfc refactor: remove GiteaTools facade, use focused tool classes directly
- Removed gitea/tools/gitea_tools.py (useless facade layer)
- Removed tests/test_gitea_tools.py (tests for removed facade)
- Updated core/dispatcher.py to use IssueTools, PRTools, FileTools, GitTools directly
- Updated core/orchestrator.py to use individual tool instances
- Updated main.py to create individual tool instances

This eliminates the triple layer of indirection (Issue 2.2 from bad_code.md)
where GiteaTools just delegated to IssueTools/PRTools/etc with zero added value.
2026-07-16 13:15:18 +02:00
2026-07-02 19:03:58 +02:00

Agent Instructions

  • Prefer using dataclasses when using data structures or similar objects to represent complex data.
  • Follow all instructions provided in the system prompt.
  • Keep responses concise and direct.
  • Minimize output tokens.
  • Use the Task tool for complex multi-step tasks.
  • Verify solutions with tests if possible.
  • Run lint and typecheck commands if provided.
  • Do not commit changes unless explicitly asked.
  • Use GitHub-flavored markdown for formatting.
  • Answer concisely with fewer than 4 lines of text.
  • ALWAYS use uv to run python commands. Do not use python3 directly.
  • Always commit and push changes at the end of a task.
  • NEVER push to the master or main branch.

Running the Agent

# Activate the virtual environment
uv sync

# Run the agent
uv run src/main.py

Resolved Issues

  • #2: Test issue for agent - Resolved by agent.
S
Description
No description provided
Readme MIT 625 KiB
Languages
Python 100%