Skip to content

mini: auto-handoff compacts idle threads instead of writing a handoff - #55

Merged
Jish2 merged 1 commit into
mainfrom
auto-compact-instead-of-handoff
Oct 29, 2026
Merged

Jish2 merged 1 commit into
mainfrom
auto-compact-instead-of-handoff

Conversation

@Jish2

@Jish2 Jish2 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Idle T3 Claude threads now get /compact queued by the relay task instead of a message asking them to write a handoff doc, so the next message re-bills a summary rather than the whole history.

The watcher skips a session whose last prompt was already /compact. The compact restarts the idle clock while the old context is still logged, so without the check it would compact again every idle stretch. Names (fleet.autoHandoff, the launchd label) are unchanged. relay-prompt.md and FLEET.md describe the new relay.

🤖 Generated with Claude Code

The relay task now sends /compact. The watcher skips a session whose last
prompt was already /compact, since the compact restarts the idle clock while
the old context is still logged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Jish2
Jish2 merged commit 652b595 into main Oct 29, 2026
2 checks passed
@Jish2
Jish2 deleted the auto-compact-instead-of-handoff branch October 29, 2026 00:33
@claude

claude Bot commented Oct 29, 2026

Copy link
Copy Markdown

Claude review: skipped (the PR is already merged, so it is closed)

Checked only the PR state. I did not review the diff.

Not approved: the PR is closed, so there is nothing to approve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant