Skip to content

fix(server): Claude's wake turn after a background task no longer dies to a session release - #37253

Closed
mvanhorn wants to merge 1 commit into
pingdotgg:mainfrom
mvanhorn:fix/claude-wake-killed-by-session-release
Closed

mvanhorn wants to merge 1 commit into
pingdotgg:mainfrom
mvanhorn:fix/claude-wake-killed-by-session-release

fix(server): Claude's wake turn after a background task no longer die…

418b3b4
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check succeeded Nov 15, 2026 in 1m 58s

Approved

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
Claude sessions now remain alive when a buffered task notification matches a recorded wake, preventing premature release before the wake turn starts. The change is narrowly scoped and retains existing idle-pin limits.

Additional Thinking

Your Custom Policy

Default approvability criteria apply. The assessed change repairs pending-work recognition rather than changing product defaults, and adds no static-analysis suppression, so neither additional human-review condition applies.

Code

The scoped diff extends Claude's session-wide pending-work probe to recognize buffered task notifications only when their task ID has a wake report for the same native thread. This preserves the live process while an existing background-task wake begins. Session release already rechecks pending work and limits idle pin duration. Ignored-file contents were not reconstructed.

Review Context

Author mvanhorn was supplied; no ownership requirements or ownership evidence were supplied. There are no unresolved review comments or supplied correctness findings. Two check agents were skipped and UI Consistency was unknown; these impose no supplied prerequisite and did not influence the decision.

Verdict

The change narrowly delays session release for an already-recorded wake on the matching thread. Its resource-retention consequence remains subject to existing idle-pin limits; it changes no permissions, persistent data handling, or product defaults. No obvious material risk requires human judgment.

Notes:
No code owners found in target merge base 256dce7


Agent Credits: 30 credits
Approvability runs at a flat rate of 30 credits whenever the agent is asked for a verdict.