Repository navigation
fix(telemetry): tighten analytics privacy and add v0.11 feature events - #1068
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 23, 2026
This branch was previously deployed
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.
PostHog analytics missed several features added for v0.11.0 and had privacy and consent gaps, including leaking custom account slugs on thread forks, classifying newer public models as
custom, counting historical persisted bindings on shutdown, and failing open whensettings.jsonwas corrupt or unreadable.What changed
usageAnalyticsEnabledfromServerSettingsServicein memory, re-verifysettings.jsonon disk before outgoing batches, fail closed on malformed or unreadable settings in both server and desktop, clear buffered events and counters on opt-out, skip buffering without a PostHog key, cap re-queued batches on flush failure, and back off on consecutive flush errors.grok-code-*, and OpenAIo1/o3/o4models while rejecting arbitrary numeric aliases and invalid calendar dates.DailyCounter) for local outside-agent tools, assistant relay tools, device tools, secret scrubbing redactions (including cross-chunk streaming), and server stalls. Add events and properties for assistant connections after persistence, provider runtime maintenance, thread moves without retry duplicates, device simulator opens usingdevicePlatform, secret request settlements, room turn lanes, side-turn settlements, multi-agent council reviews counting actually started reviewers, restart recovery, usage-limit auto-continues, goal wait syncs, VS Code theme origin, active shutdown session counts,resumeFailedacross all session recovery branches, and enriched startup heartbeat counts.docs/telemetry.mdto match the collected payloads and caveats, and update/add server and desktop tests covering consent, daily rollups, model sanitization, heartbeat counts, and secret scrubbing.