Skip to content

feat(berd-call): attribute call usage to its client - #476

Draft
johnmatthewtennant wants to merge 1 commit into
mainfrom
jtennant/catherine/call-client-telemetry
Draft

johnmatthewtennant wants to merge 1 commit into
mainfrom
jtennant/catherine/call-client-telemetry

Conversation

@johnmatthewtennant

@johnmatthewtennant johnmatthewtennant commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Separate standalone call usage by its caller. berd-call start --client terminal|buzz-plugin stamps the same bounded client value on the call's start and end events; omitted attribution defaults to terminal. The flag is start-only and is not saved as a speech preference. The Buzz plugin companion detects CLI support before passing buzz-plugin, preserving older CLI compatibility.

The client emits berd-call-otlp-logs-v3. The companion gateway schema must merge and deploy before a release sends these events. No new events or other telemetry fields are added.

Related issue

Extends standalone call telemetry. The separate per-voice counts use v2; this contract leaves that schema independent.

Testing

The payload regression fails before the change and passes after it. Tests cover both start/end client values, default terminal attribution, invalid/duplicate CLI values and exclusion from child speech settings.

The built companion gateway forwards start/end records for both clients unchanged through both ingestion aliases, rejects unknown client text and the old schema, preserves token validation and collector errors, and drains on shutdown. Real lifecycle validation is incomplete: both retained and fresh test Macs block in CoreAudio default-input configuration with loopback speech services. No successful native start/end attribution is claimed. The current staging gateway rejects v3 with HTTP 400; its new schema has not been deployed, so live ingestion is not verified. These remain release gates.

Signed-off-by: John Tennant <jtennant@block.xyz>
Co-authored-by: Catherine <67d27b10dcca1d5140f1b9e34c5f44ae44ac70530820011b1d2071de5a6a26d3@buzz.block.builderlab.xyz>

This branch has not been deployed

No deployments
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.

1 participant