docs: documentation audit — fix version claims, license, agent coverage, and auth examples - #1350
Merged
Merged
Conversation
…nd auth examples - getting-started.mdx: correct Node.js requirement from 22.15+ to 20+ (matches package.json engines.node >= 20.0; 22.15+ gives native sqlite) - getting-started.mdx, install script, env-registry: update version pin example from 0.19.0 to 0.40.0 - .craft.yml: fix Homebrew formula license FSL-1.1-MIT → FSL-1.1-Apache-2.0 to match package.json and LICENSE.md - agentic-usage.md: expand supported agent list to include all 11 agents detected by detect-agent.ts (was only Claude Code + Cursor) - auth.md fragment: add examples for --read-only, --scope, and --url flags Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
Structured JSON with command_path, brief, fullDescription, flags (name, type, description, hidden, optional, variadic, default), and positional_params for every leaf command. Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
Contributor
|
Contributor
Author
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8de813e. Configure here.
BYK
pushed a commit
that referenced
this pull request
Aug 4, 2026
#1350 merged a ~4800-line `command-metadata.json` at the repo root that wasn't part of the intended documentation fixes. [Cursor Bugbot flagged it](#1350 (comment)) and @BYK asked to clean it up. The file is referenced nowhere in the repo (`git grep command-metadata` → no hits) and its contents are corrupted — literal `n` instead of newlines, mangled defaults like `"900)\""`, and unevaluated template fragments like `${DEFAULT_PORT}`. It's leftover audit scrap, so this just deletes it. Co-authored-by: jared-outpost[bot] <jared-outpost[bot]@users.noreply.github.com>
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.

Documentation Audit Report (2026-08-03)
Weekly automated audit that reads the full codebase and cross-references it against documentation to find gaps.
Changes Made
getting-started.mdxengines.node >= 20.0inpackage.json; 22.15+ gives nativenode:sqlite, 20–22.14 uses WASM fallback)getting-started.mdx0.19.0to0.40.0installscript0.19.0to0.40.0env-registry.tsSENTRY_VERSIONexample from0.19.0to0.40.0.craft.ymlFSL-1.1-MIT→FSL-1.1-Apache-2.0(matchespackage.jsonandLICENSE.md)agentic-usage.mddetect-agent.ts: Claude Code, Cursor, Windsurf, GitHub Copilot, Gemini CLI, OpenAI Codex, Goose, Amp, Augment, OpenCodeauth.mdfragment--read-only,--scope, and--urlflags onsentry auth loginFull Gap Report
A. Undocumented or Missing Commands/Subcommands
No gaps. All 107 commands + 17 hidden aliases have auto-generated doc pages via
generate-command-docs.ts. Hand-written fragments exist for every command group underapps/cli-docs/src/fragments/commands/.B. Undocumented Flags
Fixed in this PR:
sentry auth login --read-only— new flag for requesting read-only OAuth scopes, useful for AI agents and CI. Not previously documented with examples.sentry auth login --scope— new flag for requesting specific OAuth scopes. Not previously documented with examples.sentry auth login --url— existed but examples usedSENTRY_URLenv var syntax instead of the recommended--urlflag.Remaining (low priority — flags are visible in auto-generated Options tables):
sentry auth login --force— re-authenticate without prompting. No example in fragment.sentry auth login --timeout— OAuth flow timeout. No example in fragment (default 900s is rarely changed).sentry help --json— new feature fromfeat(help): support JSON output for --help flags (#1337). Mentioned infullDescriptionbut no dedicated doc section yet.C. Missing Usage Examples
All documented subcommands have bash examples. Minor gaps:
sentry cli fixhas an example but no flags documented in the fragment.sentry release propose-versiononly shown embedded in$(...)subshell, not standalone.D. Stale Descriptions
No meaningful drift detected. The
briefstrings in code match the auto-generated doc descriptions. The doc generation pipeline keeps these in sync automatically.E. Missing Route Mappings in Skill Generator
N/A. The
ROUTE_TO_REFERENCEmap was removed in favor of automatic 1:1 mapping viagroupRoutesByReference()inscript/generate-skill.ts. Every visible route automatically gets its own reference file.F. Installation / Distribution Gaps
Fixed in this PR:
getting-started.mdxclaimed npm packages require "Node.js 22.15+" — actualengines.nodeis>=20.0. Fixed to say "Node.js 20+" with a note about 22.15+ for native sqlite.0.19.0(current release is0.40.0). Updated ingetting-started.mdx,installscript, andenv-registry.ts.Remaining (low priority):
--no-modify-path,--no-completionsare documented ininstall --helpbut not ingetting-started.mdx. These are advanced/niche.SENTRY_INSTALL_DIRenv var is documented ininstall --helpandenv-registry.ts(generated intoconfiguration.md) but not ingetting-started.mdx.cli.sentry.dev/installandsentry.io/get-cli/(the latter redirects — cosmetic only).G. Undocumented Environment Variables
No gaps for user-facing variables. The
env-registry.tscontains all 28 user-facing env vars and they are generated intoconfiguration.md. Variables not in the registry are intentionally excluded:SENTRY_PIPELINE— internal CI variable used bybuild/upload.tsSENTRY_SPOTLIGHT— injected bylocal run, not user-setSENTRY_MONITOR_SLUG— injected into child processes bymonitor runSENTRY_CLI_NO_EXIT_TRAP— bash hook internalSENTRY_STRICT_SILENT_CATCH— dev-only CI enforcement flagH. Auth / Self-Hosted Gaps
Fixed in this PR:
--urlflag syntax (recommended) alongside env var syntax for self-hosted.--read-onlyand--scopeexamples to auth fragment.Remaining:
--scopevalidation details (which scopes are valid) not documented in user docs — available via--help.I. Plugin/Skills Gaps
Fixed in this PR:
agentic-usage.mdnow lists all 11 detected agents instead of just Claude Code + Cursor.Remaining:
agent-skills.tsonly installs to.claudeand.agentsdirectories — Windsurf, Copilot, Gemini, etc. are detected for telemetry but don't have skill installation paths yet. This is a feature gap, not a doc gap.plugins/README.mdmentions Claude Code marketplace commands (claude plugin marketplace add) and Cursor — could mention the broader~/.agentsecosystem.plugin.jsonversion (0.41.0) is ahead of CLI version (0.40.0-dev.0) — likely intentional from the post-release bump.J. README / DEVELOPMENT.md Drift
Fixed in this PR:
.craft.ymlHomebrew formula hadFSL-1.1-MIT; all other files haveFSL-1.1-Apache-2.0.No drift detected in:
README.mdaccurately describes the monorepo structure and delegates topackages/cli/README.md.packages/cli/README.mdcorrectly states Node.js 20+ for npm, 22.15+ for dev, pnpm as package manager.DEVELOPMENT.md(atpackages/cli/DEVELOPMENT.md) has generated sections for prerequisites, env vars, and OAuth scopes — these stay in sync viagenerate-docs-sections.ts.contributing.mdhas generated sections for prerequisites and project structure.Top 5 Most Impactful Fixes (Prioritized)
getting-started.mdxsaid 22.15+ butengines.node >= 20.0. Users on Node 20/21 would skip the npm install path unnecessarily. Fixed..craft.ymlHomebrew formula had wrong license identifier. Every Homebrew install showedFSL-1.1-MITinstead ofFSL-1.1-Apache-2.0. Fixed.0.19.0is 21 releases old (0.40.0is current). Users copying examples would install very outdated versions. Fixed.agentic-usage.mdonly mentioned 2 of 11 supported agents. Users of Windsurf, Copilot, Gemini, Codex, Goose, Amp, etc. wouldn't know skill support exists. Fixed.--read-onlyand--scopeflags had no usage examples, making them hard to discover for users wanting scoped OAuth tokens. Fixed.