Skip to content

CCT 0.2.4 — stop duplicate DM bodies on os idle wakes

Latest

Choose a tag to compare

@cewinharhar cewinharhar released this 11 Nov 10:52
· 2 commits to master since this release

Hotfix on 0.2.3. No other changes.

Fixed

  • os: DM bodies were delivered twice when a DM started an idle session. Since
    Pi #10739 (os 1.3.x), a run started by pi.sendMessage(..., { triggerTurn: true })
    also fires before_agent_start, and the handler drafted the still-unconsumed batch
    again under a new nonce. It now skips that event when the starting message is its
    own cct-inbox batch. Older hosts are unaffected. Deliveries at tool boundaries and
    on human prompts were always single. Regression test in test-os-inbox-pump.ts.