Skip to content

AA-152843 [amplitude-ai-node] Buzz forwarder: order same-second messages by ms; re-pin to block/buzz@7e7ec73 - #153

Merged
vinaygoel merged 2 commits into
mainfrom
vinaygoel/AA-152843-buzz-ms-repin
Nov 19, 2026
Merged

vinaygoel merged 2 commits into
mainfrom
vinaygoel/AA-152843-buzz-ms-repin

Conversation

@vinaygoel

Copy link
Copy Markdown
Contributor

What

  • docs/integrations/buzz.mjs adds Buzz's sub-second ms tag (0-999, added to kind 9 in fix(sdk): timestamp channel messages with millisecond offsets block/buzz#9548) to a message's time, so messages in the same second keep Buzz's order. Without it, a delegation and a fast reply could swap, which gives wrong Turn IDs and parent agent.
  • A missing or invalid ms counts as 0, so older archives behave as before.
  • Guide and manifest re-pinned to block/buzz@7e7ec73 (source re-checked 2026-11-19). The guide now says Builderlab cloud-run agents are not covered by the desktop-archive forwarder.
  • CHANGELOG entry under Unreleased.

Verification

  • test/buzz-forwarder.test.ts: 16 passing. The same-second ordering test fails on the previous buzz.mjs and passes with this change. The invalid-ms fallback and metric-binding tests are regression guards.
  • Dry run of the fixture through check-agent-events.mjs: 10 events, 0 errors, 0 warnings.
  • Full vitest run: 12 failures in 8 files (hook-cursor, coding-agents, hook-codex, hook-codex-parity, doctor-init, doctor-agent-context, agent-protocol-propagation, smoke). The same 12 fail on the untouched base, so they predate this change. Not investigated here.
  • goose pre-check (v1.28.0 vs v1.60.1): the messages columns and the toolRequest / toolResponse shapes that the forwarder reads are identical. In v1.60.1, the Developer shell sets AGENT_SESSION_ID from the session ID (crates/goose/src/agents/platform_extensions/developer/shell.rs).

Not in this PR

  • Live capture from a Buzz desktop install. The guide still says Last verified: pending live capture.

Refs AA-152843

Made with Cursor

…ges by the ms tag; re-pin to block/buzz@7e7ec73

- buzz.mjs adds the sub-second ms tag (0-999, block/buzz#9548) to message time; missing or invalid counts as 0
- tests: same-second ordering, invalid ms fallback, metric binding with an ms offset
- guide and manifest re-pinned to block/buzz@7e7ec73; cloud-run agents stated as not covered
- CHANGELOG Unreleased entry

Co-authored-by: Cursor <cursoragent@cursor.com>
@vinaygoel
vinaygoel requested a review from a team as a code owner November 19, 2026 20:58
@linear-code

linear-code Bot commented Nov 19, 2026

Copy link
Copy Markdown

AA-152843

goose 1.60.1's Developer shell set AGENT_SESSION_ID to the sessions.db session id, and gooseToolCalls read that database's tool call and commit_sha.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vinaygoel
vinaygoel merged commit 70b1fb7 into main Nov 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants