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
{{ message }}
Repository navigation
Regression 0.29.0 → 0.34.0: assistant messages from ACP turns no longer persisted to session store (wire.jsonl) #2727
Regression between 0.29.0 and 0.34.0: assistant messages produced during
ACP-driven turns (kimi acp) are no longer persisted to the session store.
In 0.29.0 they were persisted correctly — so the original design intent was
to persist. In 0.34.0, only the user prompts of ACP turns are written.
Two-version control experiment
Same ACP flow (initialize → session/new → session/prompt) compared across
versions, measured by inspecting agents/main/wire.jsonl afterwards:
Version
ACP turn via
assistant content.part persisted
0.29.0
session/new + prompt
✅ 2 events (think + text)
0.34.0
session/new + prompt
❌ 0 events
0.34.0
session/load + prompt
❌ 0 events (4 turns tested)
TUI-driven turns persist both prompt and assistant output in all tested
versions. The regression window 0.29.0 → 0.34.0 should be bisectable.
Resuming the session in the TUI (kimi -S <id>) replays ACP-side user
prompts but not the assistant answers.
Subsequent model context misses ACP-side assistant output — information
produced via ACP is effectively lost to future turns. Side effect: when a
later turn runs from either client, unanswered foreign-side prompts are
treated as pending and get answered again (observed in a concurrent
TUI+ACP test).
Affects ACP integrations generally (editors and remote/mobile clients).
kimi acp → initialize → session/new → session/prompt → answer streams
correctly to the ACP client (streaming itself is fine).
Inspect agents/main/wire.jsonl: the ACP turn contains turn.prompt, context.append_message, step.begin, llm.request — but zero content.part / step.end / turn.ended events for the assistant output.
Resume in TUI: the ACP user prompt is replayed, the assistant answer is
missing.
Repeat on 0.29.0: content.part events are present for the same flow.
Expected
Persist assistant messages from ACP-driven turns as 0.29.0 did.
Notes
turnId appears to be a per-process local counter (collisions observed
between ACP and TUI processes, both used turnId=2); loop events carry a
global uuid, turn-level events do not.
Full event-level logs (one session's 54 events classified by type, plus the
two-version control runs) available on request.
Activity
fix: 16 verified ACP + engine + CLI regressions (post 0.36.0 sync) (#48)