Skip to content

ref(seer): Add coding-agent handoff referrer enum#115592

Draft
JoshFerge wants to merge 4 commits into
masterfrom
jferg-codex/ref/coding-agent-handoff-referrers
Draft

ref(seer): Add coding-agent handoff referrer enum#115592
JoshFerge wants to merge 4 commits into
masterfrom
jferg-codex/ref/coding-agent-handoff-referrers

Conversation

@JoshFerge
Copy link
Copy Markdown
Member

Follow-up to #115558. Move the non-Autofix coding-agent handoff analytics referrers into a shared enum so API and RPC launches use named values instead of inline string literals.

Referrer Constants

The organization coding-agent endpoint and legacy Seer RPC launch now read from AiAutofixAgentHandoffReferrer, keeping those attribution labels discoverable next to the analytics event they feed.

Refs #115558

JoshFerge and others added 4 commits May 14, 2026 14:39
Drop the default value on `trigger_coding_agent_handoff`'s `initiator`
parameter so every caller has to make an explicit choice. The
completion-hook caller now passes `automation.explorer` directly
instead of inheriting it from the default.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Remove the coding-agent handoff initiator label and rely on referrer for analytics attribution. Preserve the current autofix referrer when completion-hook automation triggers a coding-agent handoff so automated handoffs can be grouped by their original source.
Move the non-Autofix coding-agent handoff analytics referrers into a shared enum so API and RPC launches use named values instead of inline strings. This keeps follow-up handoff attribution labels discoverable and consistent.\n\nCo-Authored-By: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 14, 2026
Base automatically changed from jferg-codex/explorer-handoff-initiator to master May 14, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant