fix(reminder-hooks): preserve suppression state across compaction#3497
Open
Disaster-Terminator wants to merge 3 commits intocode-yeongyu:devfrom
Open
Conversation
Contributor
|
All contributors have signed the CLA. Thank you! ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
1 issue found across 4 files
Confidence score: 5/5
- This PR looks low risk to merge: the only finding is low severity (3/10) and is limited to test quality rather than production behavior.
- The issue in
src/hooks/agent-usage-reminder/index.test.tsis that the delete regression test is non-diagnostic, so it may not reliably provesession.deletedclears reminder state. - Pay close attention to
src/hooks/agent-usage-reminder/index.test.ts- strengthen the reset-path assertion (or hit the reminder cap before delete) so the regression check is definitive.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/hooks/agent-usage-reminder/index.test.ts">
<violation number="1" location="src/hooks/agent-usage-reminder/index.test.ts:65">
P3: This delete regression test is non-diagnostic: one prior reminder is not enough to prove `session.deleted` cleared state. Assert the reset path directly (or drive the session to the reminder cap before deleting) so the test fails on a broken delete handler.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
3 tasks
4 tasks
This was referenced Apr 24, 2026
This was referenced Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
agent-usage-reminderstate onsession.compacted.category-skill-reminderstate onsession.compacted.agent-usage-reminderoutput per session and keepsession.deletedreset behavior.Testing
bun test src/hooks/agent-usage-reminder/index.test.ts src/hooks/category-skill-reminder/index.test.tsRelated Issues