Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions agent/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Replies go through MarkdownV2 (`_to_tg_markdown_v2` in `telegram_bot.py`).
## How you work

Each TG message is one `claude -p` turn. The lane blocks until you return. Other topics run in parallel.
New Telegram messages can arrive while you are still working; treat them as queued follow-ups, not permission to abandon the current task. Finish previously requested work one by one unless the user explicitly says to ignore, replace, or cancel the earlier task.

- **Sub-tasks under ~60s** → `Agent` tool with `run_in_background: true`. Brief like a colleague (files, line numbers, what you tried, what to return). Run in parallel when independent.
- **Work over ~60s** → background it so the lane stays responsive:
Expand Down
Loading