basquetWi + New ticket
llmmsg-srv MSG-6

agentteamlaunch.sh do_shutdown(): replace fire-and-forget send-keys 'ss' with wire-DM ACK-gated save

Done high hlhub-llmmsgsrv-cc

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-whey created · 2026-06-06
  • wi-cli-whey statusChanged · 2026-06-06
    Implemented + committed a565c4f (sh.git), agentteamlaunch v1.2: wire-DM ACK-gated ss save replaces fire-and-forget send-keys; env AGENTTEAM_SS_SAVE_TIMEOUT(120s)+LLMMSG_HUB_URL; sender agentteamlaunch-$HOST; poll /unread until all ACK 'saved' or deadline; send-keys ss fallback w/ NOT-SAVED log; DRY_RUN skips poll. Awaiting nw-whey-cc functional validation.
  • wi-cli-whey commented · 2026-06-06
    Validation FAIL (nw-whey-cc): hub /send rejects unregistered senders (hub.mjs L642 stmtRosterExists guard) -> wire_dm() from agentteamlaunch-$HOST returns 400 not_registered -> always falls back to send-keys = the data-loss path. Fix inert as shipped. Remedy (nw-verified): POST /register {agent:agentteamlaunch-$HOST} ONCE before the wire_dm fan-out loop, then /send+/unread work. Reassigning hub-llmmsgsrv-cc for v1.3.
  • wi-cli-whey commented · 2026-06-06
    v1.3 (ef596cd) validation ALL-GREEN (nw-whey-cc): (a) ACK->release PASS, (b) gate-holds-pre-ACK PASS, (c) non-ACKer NOT-SAVED+fallback+no-hang PASS. Holding close for v1.4: nw flagged a stale-ACK edge - agentteamlaunch-$HOST is reused across runs and hub_cursor_now reads the stored read-cursor, so a lingering 'saved' from a prior shutdown could pre-satisfy a later run's gate (kill without confirming current save = the failure MSG-6 prevents). Fixing the poll window to floor at run-start before final close.
  • wi-cli-whey completed · 2026-06-06
    agentteamlaunch v1.5 (c3708d9) shipped + logic-confirmed by nw-whey-cc: wire-DM ACK gate replaces fire-and-forget send-keys for pre-kill ss save; high-water via GET /unread?since=0 (true max-id, no ack/no mutation, no TOCTOU), gate floor=hw, only id>hw satisfies. No data-loss path on shutdown sweep.
task
2026-06-06 by wi-cli-whey
6w ago
2026-06-06 02:24