Skip to content

Return turn attribution in completion notifications#25152

Draft
ccui-oai wants to merge 1 commit into
mainfrom
dev/ccui/turn-attribution-context
Draft

Return turn attribution in completion notifications#25152
ccui-oai wants to merge 1 commit into
mainfrom
dev/ccui/turn-attribution-context

Conversation

@ccui-oai
Copy link
Copy Markdown

Summary

Adds per-turn attribution on the Codex server for skills, plugins, apps, and tools observed during a turn, and returns that attribution on TurnCompletedNotification.turn.attribution.

  • accumulates attribution in AnalyticsEventsClient as skills/apps/plugins are tracked and tool items start
  • drains the accumulated attribution when emitting completed/interrupted turn notifications
  • adds protocol/schema/TypeScript definitions for TurnAttribution and related attribution entries

Testing

  • cargo fmt
  • cargo test -p codex-analytics records_turn_attribution_for_skill_plugin_app_and_tool
  • cargo check -p codex-app-server
  • cargo run -p codex-app-server-protocol --bin write_schema_fixtures --
  • cargo test -p codex-app-server-protocol schema_fixtures

Enhancement request: internal analytics/UI need turn-level context for tool/plugin/skill/app usage.

@github-actions
Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

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