Repository navigation
Conversation
A completion latch inferred from text (stop phrase, done claim, celebration) could only be cleared by a genuine user message, so one stop phrase parked a live session until a human typed something (ses_e72df2be, 2026-10-30: latched mid-turn, silent 20+ min). - hard latch (task_complete tool, literal TASK COMPLETE tail) never expires - soft latch re-opens once after COMPLETION_LATCH_TTL_MS (5m) with no user message, via the one-shot latchReopened guard - COMPACTION_STALE_TTL_MS 30m -> 5m: a slow or wedged compaction must not mute the watchdog for half an hour
- completionLatchTtlMs option (default 5m) so the TTL is testable and tunable; added to RECOGNISED_OPTIONS so the startup warning stays honest. - softLatchExpired sets pendingRecoveryArmed: the delayed inject drops an idle session's nudge unless a recovery is armed, so a re-opened latch detected the stall every tick and delivered nothing. - new test file: soft latch re-opens and nudges, is one-shot, and a literal trailing TASK COMPLETE never re-opens.
…nter reset on own recovery turns)
…etionText inline, readPausedSet cache, softLatchExpired comment, FEATURE_GATED_OPTIONS comment, isRateLimitReason inline)
Contributor
Author
|
Sorry the bot got trigger happy when I asked for a draft to REVIEW. |
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
Bug fixes and code cleanup for the v2 auto-resume plugin.
Bug fixes
Features
Code cleanup (ponytail)
Testing
Docs
Test plan