Finding / pi-coding-agent

2026-10-13-pi-coding-agent-a-starting-session-is-busy-during-before-agent-start-in-1-2

A starting session is busy during before_agent_start in 1.2.0. During before_agent_start, isIdle is now false, sendMessage queues into the starting run, sendUserMessage requires deliverAs, and an abort during startup is honored when the run starts. Custom-message runs also retain handler-added prompt sections rather than removing them after their first tool call and breaking the prompt cache.

Channel: tagged-release. Half: both. Date: 2026-10-12.

Operator consequence: Migrate extensions that send messages during startup, not only their user/custom event typing. Test explicit delivery choices rather than attempting a second run while startup handlers are active.

Receipt

Finding metadata

Run: 2026-10-13-profile-refresh-2026-09-21_2026-10-13-frontier-v0

Finding ID: 2026-10-13-pi-coding-agent-a-starting-session-is-busy-during-before-agent-start-in-1-2

Profile citations

Source links

Primary links, including exact changelog lines when available.