desktop-telemetry-architect
Architect-level desktop telemetry — crash reporting and symbol upload per platform, opt-in consent and privacy expectations, session and performance metrics, release health gates for staged rollouts, and the offline buffering a desktop app needs. Use when you must know what the app does on users' machines.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- desktop-telemetry-architect
- license
- MIT
- metadata
- { "crusor-path": "desktop-architect/quality-architect/desktop-telemetry-architect", "crusor-domain": "desktop-architect", "crusor-origin": "original", "crusor-sources": "docs.sentry.io/platforms/native; chromium.googlesource.com/crashpad; learn.microsoft.com/windows/win32/wer", "crusor-triggers": "desktop telemetry, crash reporting, crashpad, sentry native, symbol upload, release health, usage analytics desktop, opt in telemetry, desktop crash, crash reports, usage analytics", "crusor-verified-on": "2026-10-30" }
- description
- Architect-level desktop telemetry — crash reporting and symbol upload per platform, opt-in consent and privacy expectations, session and performance metrics, release health gates for staged rollouts, and the offline buffering a desktop app needs. Use when you must know what the app does on users' machines.
- compatibility
- Sentry, Crashpad, Backtrace, custom endpoints
03 SKILL.md 正文
Desktop Telemetry Architect
Desktop users are guests on their own machines. Telemetry here is a consent and privacy problem before it is a monitoring problem.
When to use
- Shipping to end users outside a managed fleet.
- Crash reports that cannot be symbolicated.
- Staged rollout that needs a health signal.
When NOT to use
- Fully air-gapped or regulated deployments where collection is prohibited — provide local logs instead.
Decision 1 — Consent model
- Opt-in (or clearly disclosed opt-out) depending on jurisdiction and product type; enterprise deployments often require off-by-default.
- A visible setting that actually works, plus a documented data list.
- No telemetry before consent is recorded, including crash handlers if the policy says so.
- Provide an export/log path for users who decline.
Decision 2 — Crash reporting
- Native crash handler (Crashpad/Breakpad/WER) plus the language runtime's handler; both are needed for native and managed crashes.
- Symbol files uploaded per build (PDB/dSYM/DWARF); unsymbolicated reports are noise.
- Minidumps with privacy scrubbing: memory dumps can contain user data — scrub or disable full dumps.
- Correlate crashes with app version, OS build, and the last logged action.
Decision 3 — Product telemetry
- Event taxonomy as in mobile (
mobile-analytics-architect): named, typed, documented. - Session and performance: startup time, window open time, IPC latency.
- Feature usage to guide investment; no keystroke or content capture, ever.
- Sampling for high-volume events; batch and send on idle.
Decision 4 — Offline behaviour
- Buffer locally with a bounded queue; flush on network availability and on quit.
- Do not block shutdown on a network call; write to disk and send next launch.
- Deduplicate resent events with an id.
Decision 5 — Release health
- Crash-free sessions and startup failures per version, compared against the previous release.
- Staged rollout halted automatically on threshold breach.
- Alert on new crash signatures, not just volume.
Failure modes at scale
- Telemetry on by default in a regulated market; a compliance finding.
- Crashes unsymbolicated because symbol upload was manual.
- Full memory dumps shipped to a third party; user data leaked.
- Shutdown blocked waiting for a flush; app appears hung.
- Rollout continues at 6% crash rate because nobody wired the gate.
Verification receipts
- Consent flow with the exact data collected listed.
- Symbol upload automated and verified against one real crash.
- Dump scrubbing policy documented and tested.
- Offline buffer and resend verified.
- Rollout gate configured and exercised.
04 同仓库更多 Skills
interaction-patterns-architect
Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.
design-system-ops-architect
Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.
design-handoff-architect
Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.
content-microcopy-architect
Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.
ui-ux-implementation-architect
Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.
test-strategy-architect
Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.