singularity-forge/src/resources
Jeremy McSpadden b2befe3628 fix: prevent summarizing phase stall by retrying dropped agent_end events (#1072) (#1074)
When handleAgentEnd dispatches a sub-unit (via hooks, triage, or quick-task
early-dispatch paths) and that unit completes before handleAgentEnd returns,
the resulting agent_end event is silently dropped by the reentrancy guard.
This leaves auto-mode active but permanently stalled — no unit running, no
watchdog set, process at high CPU doing nothing.

Add a pendingAgentEndRetry flag to AutoSession that the reentrancy guard sets
when it drops an agent_end event. The finally block in handleAgentEnd checks
this flag and schedules a deferred retry via setImmediate, ensuring the
completed unit's agent_end is always processed.
2026-03-17 22:01:58 -06:00
..
agents fix: type errors in claude-import.ts and marketplace-discovery.ts 2026-03-16 14:46:31 -04:00
extensions fix: prevent summarizing phase stall by retrying dropped agent_end events (#1072) (#1074) 2026-03-17 22:01:58 -06:00
skills feat: add 10 bundled skills for UI, quality, and code optimization (#999) 2026-03-17 17:23:39 -06:00
GSD-WORKFLOW.md feat: meaningful commit messages from task summaries (#803) 2026-03-16 23:30:33 -06:00