Skip to content

fix(hook): due-reminder list is a start-time snapshot - #12

Merged
roypadina merged 1 commit into
mainfrom
fix/hook-stale-reminders
Oct 28, 2026
Merged

roypadina merged 1 commit into
mainfrom
fix/hook-stale-reminders

Conversation

@roypadina

Copy link
Copy Markdown
Owner

Long-running sessions repeated reminders that other sessions had already cleared: the SessionStart hook's "other sessions have a reminder due" list is computed once, when a session starts or resumes.

The hook now adds one line after that list, telling the model to re-check with agentctl annotations --due before mentioning any of them again. The hook test asserts the new line.

Tests: 199/200 pass. The failing tests/cli/resume.test.ts (spawns sessionhopper instead of claude) also fails on main on this Mac; it is environment-dependent and unrelated.

🤖 Generated with Claude Code

Long-running sessions repeated reminders that other sessions had already
cleared. The hook now tells the model to re-check with
`agentctl annotations --due` before mentioning them again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@roypadina
roypadina merged commit f758fe4 into main Oct 28, 2026
2 checks passed
@roypadina
roypadina deleted the fix/hook-stale-reminders branch October 28, 2026 08:46
@roypadina roypadina mentioned this pull request Oct 28, 2026
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