multica/server/pkg
yushen 828b75c76d fix(daemon): resolve codex app-server deadlock after turn completion
The codex backend spawns a long-running app-server process that doesn't
exit after completing a turn. The lifecycle goroutine was waiting on
<-readerDone which blocks on scanner.Scan() until stdout closes — but
stdout never closes because the process stays alive. This caused the
entire poll loop to freeze, preventing any further task processing.

Fix: explicitly close stdin and cancel the context after the turn
completes, which terminates the codex process and unblocks the reader.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:37:52 +08:00
..
agent fix(daemon): resolve codex app-server deadlock after turn completion 2026-03-24 17:37:52 +08:00
db feat(workspace): add context field for AI agent background info 2026-03-24 15:59:11 +08:00
protocol feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00