Michael bf13a979c2 feat: add output truncation and offset paging to all large-output tools
- coding_tools: list_files (max_entries=200, sorted), run_command
  (max_chars=8000, output_offset), grep_search (max_lines=100, offset);
  added _truncate_output helper for run_command paging
- pr_tools: get_pull_request_diff / get_pull_request_patch now truncate
  at 15k chars with hunk-boundary awareness and char_offset paging;
  get_pull_request_comments gains limit/offset paging
- issue_tools: get_issue_comments gains limit/offset paging
- file_tools: get_file_content / get_file_content_with_ref now paginate
  by line (offset=1, limit=250), matching existing read_file convention;
  added _paginate_lines helper
- research_tools: fetch_url gains char_offset parameter; _smart_truncate
  now slices from an offset and embeds next char_offset in the footer
- gitea_tools facade: all new params threaded through
2026-06-28 19:57:14 +02:00
2026-06-28 18:38:28 +02:00
2026-06-28 18:38:28 +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%