Repository navigation
fix: assert reviewer session cleanup and reject it where it does nothing - #73
Merged
Merged
Conversation
Tests now record that the opt-in cleanup removes the reviewer session, including after a timeout, and that the default never does. reviewer.agent.cleanupSessions uses the shared error prefix, is rejected on OpenCode 1.x and (with any value) on the SDK runtimes, and has a row in the README options table. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QUBBebviXSBQtiRAmDopZ7
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QUBBebviXSBQtiRAmDopZ7
Merged
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.
Closes #64
Summary
removecalls: the opt-in cleanup removes the reviewer session after a verdict, the default never does, and a timed-out review is aborted and removed withisReviewerSessionfalse afterwards.reviewer.agent.cleanupSessionserrors use the sharedInvalid auto-approval plugin options:prefix and "needs" wording.falseon an SDK runtime stays rejected, like the SDK path options for another runtime (any value set for a runtime that ignores it is an error); tests coverclaude-agent-sdkandfalse.cleanupSessions: trueat startup instead of ignoring it (V1-only options check extracted next to theallToolsNativeAsksone from fix: refuse native ask grants for calls rewritten after review #70).Not done: the live OpenCode 2.x check that a
parentID-linked reviewer session still cannot runbash(info item in #64).🤖 Generated with Claude Code
https://claude.ai/code/session_01QUBBebviXSBQtiRAmDopZ7