Compact a waiting worker's session shortly before its prompt cache expires
CI / tests (pull_request) Failing after 3m16s
CI / tests (pull_request) Failing after 3m16s
This commit is contained in:
@@ -58,6 +58,9 @@ there:
|
||||
- /talk: opens the worker's claude session with `claude --resume` on the terminal, to read the diff
|
||||
or discuss first. Once that claude exits, the judge rules on what was typed there.
|
||||
- Enter alone: stops the loop.
|
||||
Where no answer has come 10 minutes before the worker's hour-long prompt cache expires, and its
|
||||
context holds at least 60k tokens, loop-claude compacts the worker's session with
|
||||
`claude -p /compact` and keeps waiting, so the resume doesn't write the whole context again.
|
||||
A release ready to cut opens that claude session on the terminal at once, since only the human may
|
||||
cut it. While claude is open, Ctrl-C reaches it alone, and the loop goes on. Where the project's
|
||||
config sets notifier, loop-claude also sends the human each question, naming its tmux window as
|
||||
|
||||
Reference in New Issue
Block a user