Repository navigation
AA-152843 [amplitude-ai-node] Buzz forwarder: order same-second messages by ms; re-pin to block/buzz@7e7ec73 - #153
Merged
Conversation
…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>
Leoaqr
approved these changes
Nov 19, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
docs/integrations/buzz.mjsadds Buzz's sub-secondmstag (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.mscounts as 0, so older archives behave as before.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.Verification
test/buzz-forwarder.test.ts: 16 passing. The same-second ordering test fails on the previousbuzz.mjsand passes with this change. The invalid-ms fallback and metric-binding tests are regression guards.check-agent-events.mjs: 10 events, 0 errors, 0 warnings.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.messagescolumns and thetoolRequest/toolResponseshapes that the forwarder reads are identical. In v1.60.1, the Developer shell setsAGENT_SESSION_IDfrom the session ID (crates/goose/src/agents/platform_extensions/developer/shell.rs).Not in this PR
Last verified: pending live capture.Refs AA-152843
Made with Cursor