event_type: claimed

issue_id: rook-bfj

title: Project scaffolding: pyproject.toml, src layout, uv setup

description: Initialize Python project. pyproject.toml with deps (anthropic, elevenlabs, python-telegram-bot, dearpygui). Set up src/rook/ package. Configure uv.

status: open

issue_type: task


event_type: closed

status: closed


title: Core agent loop: asyncio, Claude API, tool dispatch

description: Main agent turn loop. Claude Haiku 4.5 primary, Sonnet 4.6 fallback. Tool call dispatch. Asyncio event loop with background daemon thread support.


title: Policy engine: allowlists, confirm gates, backup-before-edit

description: Core policy module. Allowlists per capability (file, shell, git). confirm_spawn() gate for risky ops. backup_before_edit() helper. Approved working dirs enforcement.


title: Shell capability: safe subprocess execution

description: Run shell commands with policy checks. Allowlist of approved dirs and commands. confirm_spawn() gate. Log all subprocess calls with timestamps.


title: File capability: read/write/edit with backup

description: File operations with backup-before-edit. Allowlist for working dirs. No destructive deletes without confirmation. Type-hinted API.


issue_id: rook-wka

title: Git capability: git ops with policy allowlist

description: Git operations (status, diff, add, commit, log). Allowlist gates on push/reset/force ops. Confirmation required for destructive git commands.