You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker/base-image/agent_server/services/claude_code.py (1003 lines) is the agent-side runtime service handling interactive sessions, headless execution, subprocess management, and output parsing. It contains:
Heads-up for whoever picks this up: the file has more than doubled since this issue was filed (1003 → 2137 lines as of 2026-05-09). The 4-module proposal in the issue body is stale and doesn't account for responsibilities the file gained since March (JSONL recovery, signal-exit classification, empty-result diagnostics, drain-budget handling, GUARD-003 timeout layering).
ADR 0001 (PR #743, evaluation for #409) proposes a rescoped 6-module split in §10 that maps cleanly to today's file. Use it as a starting point — disagreement welcome.
Also from #409's evaluation: SDK migration is DEFERRED, so this split has standalone value and won't be invalidated by a near-term rewrite.
Activity
AndriiPasternak31 commentedon May 8, 2026
Heads-up for whoever picks this up: the file has more than doubled since this issue was filed (1003 → 2137 lines as of 2026-05-09). The 4-module proposal in the issue body is stale and doesn't account for responsibilities the file gained since March (JSONL recovery, signal-exit classification, empty-result diagnostics, drain-budget handling, GUARD-003 timeout layering).
ADR 0001 (PR #743, evaluation for #409) proposes a rescoped 6-module split in §10 that maps cleanly to today's file. Use it as a starting point — disagreement welcome.
Also from #409's evaluation: SDK migration is DEFERRED, so this split has standalone value and won't be invalidated by a near-term rewrite.
docs(adr): evaluate Claude Agent SDK migration (#409) (#743)
refactor(agent-server): split claude_code.py into focused modules (#122…
vybe commentedon May 10, 2026
Fixed in PR #750 (ec0e4ef on dev). claude_code.py split into focused modules: executor.py, session_manager.py, output_handler.py, command_builder.py.
Release: v0.6.1 (#1171)
docs(agent-server): record the [ede_diagnostic] fix and its bug class (…
fix(agent-server): never surface Claude Code's [ede_diagnostic] heade…