github / github/copilot-sdk

Clarify model.telemetry event schema and semantics with CLI 1.0.83-5 / Go SDK v1.0.13

未关闭
#2,562 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Java
星标
10.5k
派生
1.5k
平均合并
1 天 14 小时
30 天内合并 PR
129

描述

With GitHub Copilot CLI 1.0.83-5 and the Go Copilot SDK v1.0.13, protocol 3,
one SDK worker session emitted an event named `model.telemetry`. The Go SDK
does not define a typed event with that name and exposes unknown event data
through `RawSessionEventData`.

Our application deliberately fails closed on uncharacterized events. It stopped
that worker on this event. This is our guard's rejection, not evidence that the
SDK itself rejected an otherwise valid model response. We need to characterize
the event before deciding whether to treat it as an irrelevant projection.

The event appeared in a fresh worker configured for `claude-opus-5` with high
effort. Thirty-seven prior worker calls completed in the same application run.
The affected worker had no accepted evidence reads, report or usage observation
before the guard stopped it. The payload was not retained by the guard. A
model-free HTTP 400 response and a synthetic successful Anthropic tool response
both exercised the same CLI/SDK, but neither emitted this event.

Could you clarify:

1. The event's schema and trigger conditions in CLI 1.0.83-5.
2. Whether it is purely diagnostic, or can carry an error, route change,
truncation, cancellation or another execution-significant state.
3. Whether execution-significant states carried by it are also guaranteed to
appear in the typed session, assistant, usage or tool lifecycle events.
4. A deterministic local fixture or injected provider response that emits it
without paid inference.

We are keeping our report schema, required-read checks and lifecycle validation
unchanged while investigating. No prompts, response bodies, credentials or private
repository content are needed for this question.

贡献指南

打开贡献指南

调研方向

先从 Go SDK v1.0.13 对 protocol 3 和 RawSessionEventData 的处理入手,然后将其与 CLI 1.0.83-5 对 model.telemetry 事件的行为进行比较。完成标准是记录事件 schema、触发条件、执行意义、生命周期保证,以及一个无需付费推理即可发出该事件的确定性 fixture。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
api, documentation
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。