Repository navigation
feat(analytics): track product events and issue identity tokens - #89
Open
thedogwiththedataonit wants to merge 4 commits into
Open
thedogwiththedataonit wants to merge 4 commits into
thedogwiththedataonit wants to merge 4 commits into
Conversation
thedogwiththedataonit
force-pushed
the
codex/product-analytics-support
branch
from
November 1, 2026 07:22
9a05b71 to
7a8478b
Compare
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.
Server-side product analytics should be usable from the CLI with the same input contract as the SDK. Add typed event-tracking and browser identity-token commands, including confirmation for live tracking, non-replayed identity proofs and generated command/API documentation.
Validation: 933 tests across 68 files, typecheck, lint, generated-doc freshness, builds, executable help/version checks and signal/regression smokes passed. Paired platform: https://github.com/GetBrew/brew-v2/pull/2514. Hold for coordinated merge; no package publication or version bump.
Reviewed with sol-loop: 3 rounds with GPT-6.1 Sol. Sol verdict: approved.
Created with GPT-6 in Codex.
Need help on this PR? Tag
@codesmith-botwith what you need.

Confidence Score: 5/5
The reviewed code appears safe to merge once the coordinated platform change is ready.Summary
Adds
analytics trackandanalytics identity-token, with matching API types and command docs.Diagram
%%{init: {'theme': 'neutral'}}%% flowchart TD A[analytics track] --> B[Read and prepare events] B --> C{Confirmed?} C -->|No| D[Return confirmation command with events] C -->|Yes| E[POST events with retry key] F[analytics identity-token] --> G[Read four identity fields] G --> H[POST without retry key] E --> I[Print API response] H --> IReviews (4) · Last reviewed commit: "docs(api): align analytics token no-repl..." · Reviewed by Greptile