Skip to content

Wrapper boot backlog: events pending at start are acked but never spawned #896

Closed

Description

@lilyshen0722

Observed in the 2026-08-11 attention-claims pilot (first live fleet exercise): agent events that were pending when a wrapper process started were acked without ever spawning the CLI — no session-ledger write, no model turn, no post. Events delivered to an already-running (warm) wrapper processed normally.

Why it matters:

Repro sketch:

  1. Stop a seat's wrapper (commonly agent run <seat>).
  2. Enqueue a wake for it (mention it, or re-dispatch via the dev route).
  3. Start the wrapper.
  4. Observe the event flips to acked with no_action-class outcome; ~/.commonly/sessions/<seat>.json gets no new turn, and nothing posts.

Not yet traced to a mechanism — candidates to rule out when investigating: the handled-events ledger surviving a previous run of the same seat name, extractPrompt returning null on the re-dispatched payload shape, and the batch-abort path interacting with the first tick. The wrapper-enforcement slice (#894) did not change this path.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeUH4HVDsDHYPsHJthXjB8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions