docs: zombiectl telemetry — supabase-aligned envs + default-ON + AI tool attribution#60
Merged
Merged
Conversation
…ool attribution Document the M74-001 telemetry contract for zombiectl users: - changelog.mdx — May 18 entry covers the breaking env-var renames (DISABLE_TELEMETRY → ZOMBIE_TELEMETRY_DISABLED, ZOMBIE_POSTHOG_* → ZOMBIE_TELEMETRY_POSTHOG_*) and the default flip from opt-IN to opt-OUT, plus the new ai_tool event property - cli/configuration.mdx — env-var table grows to cover the five telemetry knobs; new Telemetry section documents the on-by-default posture, the two opt-out signals (ZOMBIE_TELEMETRY_DISABLED=1 and DO_NOT_TRACK=1), and the telemetry.json persistence path Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e3ea7-6690-748f-9d75-ca21ee6a36e0 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e3ea7-6690-748f-9d75-ca21ee6a36e0 Co-authored-by: Amp <amp@ampcode.com>
…upabase-telemetry-alignment Amp-Thread-ID: https://ampcode.com/threads/T-019e3ea7-6690-748f-9d75-ca21ee6a36e0 Co-authored-by: Amp <amp@ampcode.com> # Conflicts: # changelog.mdx
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.
Summary
Companion docs for
usezombie/usezombie#332(M74_001 Effect-TS substrate migration + supabase telemetry alignment).cli/configuration.mdx— env-var table grows by 5 rows (telemetry knobs) + new Telemetry section explains the on-by-default posture, the two opt-out signals (ZOMBIE_TELEMETRY_DISABLED=1andDO_NOT_TRACK=1), the persistent~/.config/zombiectl/telemetry.jsonpath, and what is and isn't collected.changelog.mdx— May 19 entry taggedBreaking / CLIflags the env-var renames + default flip + newai_toolevent property. Upgrading section is explicit about each rename.Test plan
mintlify devrenderscli/configuration.mdxwithout broken linksDISABLE_TELEMETRY/ZOMBIE_POSTHOG_*names elsewhere in the docs tree (rg -n 'DISABLE_TELEMETRY|ZOMBIE_POSTHOG_(KEY|HOST)' --type mdxreturns zero)🤖 Generated with Claude Code
Greptile Summary
This PR adds companion documentation for the
zombiectltelemetry overhaul: a new Telemetry section and six env-var rows incli/configuration.mdx, and aBreaking / CLIchangelog entry for May 18 2026.cli/configuration.mdxgainsZOMBIE_STATE_DIR+ five telemetry knobs (ZOMBIE_TELEMETRY_DISABLED,DO_NOT_TRACK,ZOMBIE_TELEMETRY_POSTHOG_KEY,ZOMBIE_TELEMETRY_POSTHOG_HOST,ZOMBIE_TELEMETRY_DEBUG) in the env-var table, plus a Telemetry prose section with per-command, per-shell, and persistent opt-out examples.changelog.mdxadds an upgrade guide covering the renamed vars, the default-ON flip,ai_toolevent attribution, and the newly documentedZOMBIE_STATE_DIR; section order follows the AGENTS.md convention (Upgrading → What's new → CLI).ZOMBIE_STATE_DIRchangelog entry, hardcoded~/.config/zombiectlpath) are resolved in the current commit.Confidence Score: 5/5
Documentation-only change; no executable code is modified.
Both files add or update documentation prose and a changelog entry. The env-var names, opt-out semantics, and file paths are internally consistent across the table, the Telemetry section, and the changelog. All three issues flagged in the previous review round have been addressed in subsequent commits.
No files require special attention.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[zombiectl invoked] --> B{Env vars checked} B --> C{ZOMBIE_TELEMETRY_DISABLED=1\nor DO_NOT_TRACK=1?} C -- Yes --> D[consent = denied\nno telemetry sent] C -- No --> E{Read $ZOMBIE_STATE_DIR/telemetry.json} E --> F{consent value?} F -- granted --> G[Send telemetry event] F -- denied --> D F -- missing/first run --> H[Bootstrap file\nconsent = granted] H --> G G --> I[Attach ai_tool property\nvia @vercel/detect-agent] I --> J[PostHog ingest\nZOMBIE_TELEMETRY_POSTHOG_HOST]Reviews (4): Last reviewed commit: "Merge branch 'main' of github.com:usezom..." | Re-trigger Greptile