Skip to content

docs: weekly documentation audit — agent-conversation syntax, new command coverage, AGENTS.md update - #1602

Merged
BYK merged 4 commits into
mainfrom
docs/weekly-audit-2026-09-21
Sep 21, 2026
Merged

BYK merged 4 commits into
mainfrom
docs/weekly-audit-2026-09-21

Conversation

@cursor

@cursor cursor Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Weekly Documentation Audit — 2026-09-21

Automated cross-reference of implementation vs documentation, covering commits since the last audit (ca7ef6af3, PR #1579).


Gap Report

A. Undocumented or Missing Commands/Subcommands

Command docs are auto-generated from CLI metadata, so all commands have generated doc pages. However, the hand-written feature pages were missing coverage for recently-added commands:

Command Source Missing From
agent-conversation list/view src/commands/agent-conversation/ agentic-usage.md, agent-guidance.md
wasm-split src/commands/wasm-split.ts (PR #1589) agentic-usage.md, agent-guidance.md
status show src/commands/status/show.ts agentic-usage.md capabilities

Fixed in this PR: Added all three to the Capabilities list in agentic-usage.md and added workflow patterns with bash examples in agent-guidance.md.

B. Undocumented Flags

No new gaps. All non-hidden flags are auto-documented in generated Options tables via generate-command-docs.ts.

C. Missing Usage Examples

All command groups have fragment files in apps/cli-docs/src/fragments/commands/ with bash examples. The new wasm-split.md fragment was added alongside PR #1589.

Bug found: The agent-conversation.md fragment had incorrect positional syntax — it showed sentry agent-conversation view my-org conv-123 (two separate args) but the command accepts a single slash-separated positional [<org>/]<conversation-id>, so the correct form is sentry agent-conversation view my-org/conv-123.

Fixed in this PR.

D. Stale Descriptions

No drift found. The brief strings in code match the auto-generated doc descriptions.

E. Missing Route Mappings in Skill Generator

N/A — the manual ROUTE_TO_REFERENCE map was removed in a prior audit. The skill generator now uses groupRoutesByReference() for automatic 1:1 route-to-file mapping.

F. Installation / Distribution Gaps

No new gaps. The install script, getting-started.mdx, and README.md all document:

  • curl, Homebrew, npm/pnpm/yarn/bun install methods
  • --no-modify-path, --no-completions, --no-agent-skills installer flags
  • SENTRY_INSTALL_DIR, SENTRY_VERSION, SENTRY_INIT env vars
  • Supported platforms (macOS x64/arm64, Linux x64/arm64 glibc/musl, Windows x64)
  • Nightly channel via --version nightly

G. Undocumented Environment Variables

All SENTRY_* env vars accessed via getEnv() are registered in env-registry.ts and appear in the generated configuration.md. Intentionally excluded internal/test-only vars remain unchanged from prior audits:

  • SENTRY_ENVIRONMENT — bash-hook template only
  • SENTRY_CLI_NO_EXIT_TRAP — bash-hook internal
  • SENTRY_SCAN_DISABLE_WORKERS — internal perf tuning
  • SENTRY_CLI_INTEGRATION_TEST_VERSION_OVERRIDE — test-only
  • SENTRY_RN_* — React Native wrapper internals

H. Auth / Self-Hosted Gaps

No new gaps. Self-hosted docs cover OAuth 26.1.0+ requirement, token auth fallback, SENTRY_HOST/SENTRY_URL/SENTRY_CLIENT_ID/SENTRY_CUSTOM_HEADERS, TLS/CA certs, and sentry cli defaults for persistent proxy headers.

I. Plugin/Skills Gaps

The plugins/README.md accurately describes the skill installation flow and supported directories (~/.claude, ~/.agents). The agent detection list in agentic-usage.md is current (includes Cline, Grok, Kimi, Junie, OpenClaw from PR #1571).

No new gaps.

J. README / DEVELOPMENT.md Drift

No drift found:

  • Node.js version: >=22.15 in devEngines, >=20.0 in engines — matches docs
  • pnpm: 10.11.0 — matches docs
  • Build toolchain: esbuild + fossilize — matches GENERATED sections
  • OAuth scopes: auto-generated via GENERATED markers

AGENTS.md drift found: The Architecture section's command group list was outdated — it listed a subset with … ellipsis, omitting agent-conversation, alert, build, code-mappings, dart-symbol-map, debug-files, docs, feedback, snapshots, status, wasm-split, and other groups.

Fixed in this PR: Replaced with the full alphabetical list.


Top 5 Most Impactful Fixes (Prioritized)

  1. agent-conversation view fragment had wrong positional syntax — agents following the example would get a parse error. Fixed.
  2. agent-conversation missing from agentic docs — AI agents had no guidance for browsing conversation transcripts, a feature specifically built for agent workflows. Fixed.
  3. wasm-split missing from agentic docs — a new command (PR feat(wasm-split): port Symbolicator wasm-split #1589) useful for WebAssembly projects had no agent guidance or workflow pattern. Fixed.
  4. AGENTS.md command group list was stale — new contributors and agents referencing the Architecture section saw an incomplete picture. Fixed.
  5. status missing from agentic-usage.md capabilities — the status command was already in agent-guidance.md workflow patterns but wasn't listed in the capabilities section. Fixed.
Open in Web View Automation 

cursoragent and others added 3 commits September 21, 2026 12:04
The fragment showed space-separated org and conversation ID
(`sentry agent-conversation view my-org conv-123`) but the command
accepts a single slash-separated positional (`my-org/conv-123`).
Also added the no-org variant to show auto-detection.

Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
New commands added since the last audit were missing from the agentic
usage and agent guidance pages:

- agent-conversation (list/view): browse AI agent conversation transcripts
- wasm-split: add build IDs to WebAssembly modules (no auth, local-only)
- status: check Sentry service status (no auth)

Added capabilities entries, 'How It Works' example, and workflow
patterns with bash examples.

Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
The Architecture section listed a subset of command groups with an
ellipsis. Replaced with the full alphabetical list so new contributors
find every group and standalone command file at a glance.

Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Sep 21, 2026 12:07pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Sep 21, 2026 12:07pm UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – sentry-local September 21, 2026 12:06 Inactive
@BYK
BYK marked this pull request as ready for review September 21, 2026 13:47
@github-actions github-actions Bot added the risk: low PR risk score: low label Sep 21, 2026
@BYK
BYK merged commit f592a0d into main Sep 21, 2026
38 checks passed
@BYK
BYK deleted the docs/weekly-audit-2026-09-21 branch September 21, 2026 13:50

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — 240e83b6 Deployed Sep 21, 2026 by vercel[bot]
Preview – sentry-local — 240e83b6 Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants