Skip to content

fix(goal): shorten user-grace auto-resume countdown to 10s - #682

Merged
code-yeongyu merged 1 commit into
mainfrom
fix/goal-grace-resume-10s
Aug 3, 2026
Merged

fix(goal): shorten user-grace auto-resume countdown to 10s#682
code-yeongyu merged 1 commit into
mainfrom
fix/goal-grace-resume-10s

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented Aug 3, 2026

Copy link
Copy Markdown
Owner

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 of goal 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_MS 60_00010_000
  • goal/AGENTS.md: behavioral doc updated (60-second → 10-second)
  • goal-continuation-verdict.test.ts: constant assertion 60_00010_000
  • goal-monitor-continuation.test.ts: countdown-label expectations updated (1m10s, 30s5s)

Verification

  • Affected goal test suite: 5 files, 96 tests — GREEN
  • npm run check — exit 0 (biome, pinned-deps, ts-imports, shrinkwrap, install-lock, tsc, browser-smoke)
  • QA evidence: 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.

Review in cubic

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.
@code-yeongyu
code-yeongyu merged commit b05697e into main Aug 3, 2026
12 checks passed
@code-yeongyu
code-yeongyu deleted the fix/goal-grace-resume-10s branch August 3, 2026 13:17
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