fix(goal): shorten user-grace auto-resume countdown to 10s - #682
Merged
Conversation
GOAL_USER_GRACE_DELAY_MS 60_000 -> 10_000 so the TUI "goal resumes in Ns" countdown ticks down from 10s instead of 60s after a clean accepted user turn. Updates the verdict constant assertion and the monitor-continuation countdown-label expectations (10s/5s) to match.
This was referenced Aug 4, 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
Shorten the goal user-grace auto-resume countdown from 60s to 10s. After a clean accepted user turn, the TUI now renders
goal resumes in 10s(ticking down from 10) instead ofgoal resumes in 1m(from 60).Why
The 60-second grace window was too long for interactive workflows — the goal sat idle for a full minute before auto-resuming. 10s keeps the grace behavior (a real user prompt still cancels the countdown) while resuming the goal promptly.
Changes
continuation.ts:GOAL_USER_GRACE_DELAY_MS60_000→10_000goal/AGENTS.md: behavioral doc updated (60-second → 10-second)goal-continuation-verdict.test.ts: constant assertion60_000→10_000goal-monitor-continuation.test.ts: countdown-label expectations updated (1m→10s,30s→5s)Verification
npm run check— exit 0 (biome, pinned-deps, ts-imports, shrinkwrap, install-lock, tsc, browser-smoke)local-ignore/qa-evidence/20260803-goal-grace-10s/Summary by cubic
Shortened the goal user-grace auto-resume countdown from 60s to 10s to reduce idle time after a clean accepted user turn. The TUI now shows “goal resumes in 10s,” and
GOAL_USER_GRACE_DELAY_MS, docs, and tests were updated to match.Written for commit 340a3f9. Summary will update on new commits.