Scope and method
Read-only audit of every Markdown source file recursively under docs/ and dev-docs/. A document here means a .md source file, including indexes, references, tutorials, migration/release records, plans, merge records, and generated Markdown baselines. Static images are inventoried separately.
| Classification |
docs/ |
dev-docs/ |
Total |
| 1. User-facing |
71 |
0 |
71 |
| 2. Developer/internal |
6 |
22 |
28 |
| 3. AI slop / scratch; delete |
0 |
0 |
0 |
| Markdown documents |
77 |
22 |
99 |
There are also 16 documentation assets under docs/assets/ (15 PNG and one SVG), for 115 total inventoried files.
Executive findings
- No whole document meets a defensible deletion threshold for AI slop. Some pages contain duplicated, malformed, or implementation-record material, but should be edited or moved rather than deleted wholesale.
- Six developer/internal documents are misplaced under docs/ and should move to dev-docs/.
- Several nominally user-facing pages are written partly as implementation records and need a user-focused rewrite or split.
- Immediate correctness/safety defects include an uninstall page that names gemini-cli and recommends deleting the entire npx cache, contradictory telemetry instructions, malformed/duplicated hook guidance, and broken relative links.
- No user-facing document is misplaced under dev-docs/.
1. User docs that are not written from a user perspective, but should be
Highest priority
| Document |
Problem |
Recommendation |
| docs/Uninstall.md |
Names gemini-cli and presents deleting the entire npx cache, including unrelated packages, as uninstall. |
Document supported LLxprt install channels separately. Do not make whole-cache deletion the default; clearly warn about collateral deletion if retained as troubleshooting. |
| docs/telemetry.md |
Says telemetry initialization is commented out, gives settings/flags to enable it, then says source changes are required. |
Establish one verified current state. If unavailable, make this a short status/privacy page and move re-enable internals to dev-docs/. Otherwise provide a tested enable/verify/disable flow. Reconcile with telemetry-privacy.md. |
| docs/agent-api.md |
Starts as a public API guide but includes issue/requirement IDs, implementation decisions, package-trim sequencing, and future A2A work. |
Retain supported imports, lifecycle, configuration, events, errors, disposal, stability, and examples. Move implementation history/future work to dev-docs/ and split the remaining large page by user task. |
| docs/hooks/best-practices.md |
Contains an orphaned JavaScript fragment, a broken hooks-design link, and a second security guide that duplicates earlier guidance. |
Remove the fragment, repair the link, merge duplicated security guidance, and link to the API reference instead of repeating schemas. |
| docs/release-notes/2025Q4.md |
Foregrounds plan markers, internal names, doc-production status, and maintainer tests instead of reader impact; links a missing migration page. |
Organize by user-visible changes, affected users, compatibility, required actions, security impact, and valid migration links. |
Structural rewrites or audience splits
| Document |
Recommended change |
| docs/deployment.md |
Keep supported installation/run/deployment guidance. Move running-from-source, package architecture, test runner, and release workflow to dev-docs/. |
| docs/message-bus.md |
Lead with the user task of controlling tool execution with policies. Move event routing, legacy flow, implementation security, and performance internals to dev-docs/. |
| docs/todo-system.md |
Lead with what users see and control. Move model tool schemas and complexity heuristics to internal tool documentation. |
| docs/tools/mcp-server.md |
Rebuild in task order: add, authenticate, verify, use, restrict trust, troubleshoot, remove. Deduplicate management/prompts and move discovery/execution internals to dev-docs/. |
| docs/core/memport.md |
Keep import syntax, path rules, safety, examples, errors, and troubleshooting. Move internal function/type and cross-product comparison material to dev-docs/. |
| docs/migration/stateless-provider-v2.md |
Keep in docs/ only if its imports are supported public contracts; otherwise move it. Remove plan bookkeeping and add affected versions, prerequisites, before/after, verification, and rollback. |
| docs/migration/approval-mode-to-policies.md |
Replace rollout-era phases and engine detail with a current-state user migration: affected users, minimal steps, examples, verification, and rollback. |
| docs/cli/index.md |
Replace package-layout framing with task-oriented navigation. |
| docs/cli/retry-settings.md |
Keep user settings and observable behavior; move the source-file implementation pointer. |
| docs/sandbox.md |
Replace sensational/absolute claims with a neutral threat model, explicit boundaries, platform limitations, and verification steps. |
Smaller user-perspective improvements
- Extract developer API material from docs/debug-logging.md and implementation detail from docs/multiline-input.md.
- Consolidate docs/keyboard-shortcuts.md and docs/cli/keyboard-shortcuts.md around one canonical generated source.
- Consolidate the overlapping hook tutorials in docs/hooks/creating-custom-hooks.md and docs/hooks/writing-hooks.md.
- Split docs/providers/quick-reference.md into a genuinely scannable setup reference and freshness-owned model/pricing guidance.
- Replace hype such as ?excellent support,? ?powerful,? and ?sophisticated? with verified capabilities and constraints.
2. AI slop / scratch docs to delete
None.
This is deliberately conservative. The implementation plan, merge notes, skipped-test analysis, and generated import baseline are traceable engineering records with durable internal value; move/archive them instead of calling them slop. The malformed fragment in docs/hooks/best-practices.md should be deleted from that page, but the document itself remains useful.
If completed plans and historical analyses should expire, first define a repository-wide retention/archive policy rather than deleting selectively based on tone or suspected authorship.
3. Developer docs currently under docs/ that should move
| Current path |
Suggested destination |
| docs/architecture/message-bus-architecture.md |
dev-docs/architecture/message-bus.md |
| docs/hooks/architecture.md |
dev-docs/hooks/architecture.md |
| docs/tool-output-format.md |
dev-docs/tools/tool-output-format.md |
| docs/tool-parsing.md |
dev-docs/providers/text-tool-call-parsing.md, with a short user configuration/troubleshooting page left behind if needed |
| docs/merge-notes/batch21-25-skipped.md |
dev-docs/merge-notes/2026-01-06-batches21-25-skipped.md |
| docs/plans/2026-01-03-welcome-onboarding.md |
dev-docs/plans/archive/2026-01-03-welcome-onboarding.md, or the repository's canonical project-plans archive |
Move these with inbound-link updates or redirects. No user-facing page was found misplaced under dev-docs/.
Additional consistency defects
- docs/release-notes/2025Q4.md links to absent docs/release-notes/stateless-provider.md.
- docs/hooks/best-practices.md links to absent docs/hooks-design.md and contains an orphaned JavaScript fragment outside a code fence.
- docs/cli/profiles.md links to absent docs/cli/sandboxing.md; likely targets are docs/cli/sandbox-profiles.md or docs/sandbox.md.
- docs/tools/mcp-server.md duplicates server-management and MCP-prompt sections.
- The two generated keyboard shortcut references overlap but differ; choose one public canonical path.
4. Proposed documentation style guide
Audience and placement
- docs/ is for product consumers: CLI users, administrators, supported public API consumers, provider integrators, extension authors, and hook authors.
- dev-docs/ is for repository contributors/maintainers: architecture, internal APIs, source paths, tests, release/packaging mechanics, baselines, implementation migrations, design decisions, plans, and historical engineering records.
- Public developer docs stay in docs/ only when they describe a supported contract. Label stability clearly and avoid deep source imports.
- Implementation plans and merge/cherry-pick records never belong in public docs navigation.
- A migration guide belongs in docs/ only when external users or integrators must act.
User-focused writing
- Start with the reader outcome and intended audience.
- Use ?you? for actions and describe what the reader can see, configure, and verify.
- Put a minimal successful path before exhaustive reference material.
- For settings, state scope, persistence, default, precedence, and valid values.
- For commands/examples, state prerequisites, expected result, and verification.
- State limitations and security boundaries before advanced setup.
- Do not lead with source paths, class names, internal state machines, issue/plan IDs, test names, or implementation history.
Tone
- Be direct, neutral, and factual; replace hype with capabilities and constraints.
- Avoid absolute security/privacy/performance claims unless the boundary and evidence are explicit.
- Distinguish guarantees from recommendations and use Warning, Note, and Experimental callouts consistently.
- Use ?LLxprt Code? in prose and ?llxprt? for the command.
Standard structure
How-to/tutorial: goal/audience; prerequisites; quick start; numbered steps; expected result; variations; security/limitations; troubleshooting; related reference.
Reference: purpose/scope; syntax/schema; defaults; precedence/persistence; valid values/errors; minimal examples; related guides.
Migration: status/affected versions/audience; compatibility impact; before/after; migration steps; verification; rollback; deprecation timeline.
Release note: version/date/status; user-visible changes; breaking changes; required actions; security/privacy; valid migration/reference links.
Internal design/record: status/owner/date; authoritative vs historical; context; decision/architecture; source/test locations; verification; tradeoffs; follow-ups/supersession.
Maintenance rules
- Maintain one canonical page per subject and link rather than copy.
- Identify generators and canonical sources for generated sections.
- Run a recursive link check in CI.
- Test commands on stated platforms or label them unverified.
- Give mutable provider/model/pricing tables an ?as of? date and owner, or link to provider-maintained data.
- Remove rollout phases from user docs once migrations ship.
- Add a docs review checklist covering audience, placement, public-contract status, task-first structure, security claims, links, and duplication.
Proposed implementation plan
P0: correctness and safety
P1: audience and placement
P2: consistency and prevention
Acceptance criteria
Complete per-file classification
Every Markdown source appears exactly once below.
1. User-facing documentation (71)
- docs/agent-api.md
- docs/checkpointing.md
- docs/debug-logging.md
- docs/deployment.md
- docs/disabled-tools.md
- docs/EMOJI-FILTER.md
- docs/extension.md
- docs/gemini-cli-tips.md
- docs/getting-started.md
- docs/ide-integration.md
- docs/index.md
- docs/keyboard-shortcuts.md
- docs/llxprt-ignore.md
- docs/local-models.md
- docs/message-bus.md
- docs/multiline-input.md
- docs/oauth-setup.md
- docs/policy-configuration.md
- docs/prompt-configuration.md
- docs/sandbox.md
- docs/settings-and-profiles.md
- docs/shell-replacement.md
- docs/subagents.md
- docs/telemetry-privacy.md
- docs/telemetry.md
- docs/todo-system.md
- docs/tos-privacy.md
- docs/troubleshooting.md
- docs/Uninstall.md
- docs/zed-integration.md
- docs/cli/authentication.md
- docs/cli/commands.md
- docs/cli/configuration.md
- docs/cli/context-dumping.md
- docs/cli/enterprise.md
- docs/cli/google-cloud-auth.md
- docs/cli/index.md
- docs/cli/keyboard-shortcuts.md
- docs/cli/profiles.md
- docs/cli/providers.md
- docs/cli/retry-settings.md
- docs/cli/sandbox-profiles.md
- docs/cli/skills.md
- docs/cli/themes.md
- docs/cli/token-caching.md
- docs/cli/token-tracking.md
- docs/cli/tutorials.md
- docs/cli/tutorials/skills-getting-started.md
- docs/core/memport.md
- docs/examples/proxy-script.md
- docs/features/async-tasks.md
- docs/hooks/api-reference.md
- docs/hooks/best-practices.md
- docs/hooks/creating-custom-hooks.md
- docs/hooks/index.md
- docs/hooks/writing-hooks.md
- docs/migration/approval-mode-to-policies.md
- docs/migration/stateless-provider-v2.md
- docs/providers/quick-reference.md
- docs/recipes/claude-pro-workflow.md
- docs/recipes/free-tier-setup.md
- docs/recipes/high-availability.md
- docs/recipes/index.md
- docs/reference/application-directories.md
- docs/reference/ephemerals.md
- docs/reference/profiles.md
- docs/release-notes/2025Q4.md
- docs/tools/index.md
- docs/tools/mcp-server.md
- docs/tools/memory.md
- docs/tutorials/sandbox-setup.md
2. Developer/internal documentation (28)
- docs/architecture/message-bus-architecture.md
- docs/hooks/architecture.md
- docs/merge-notes/batch21-25-skipped.md
- docs/plans/2026-01-03-welcome-onboarding.md
- docs/tool-output-format.md
- docs/tool-parsing.md
- dev-docs/agents-neutral-gate-allowlist.md
- dev-docs/agents-neutral-gate-baseline.md
- dev-docs/bun.md
- dev-docs/cherrypicking-runbook.md
- dev-docs/cherrypicking.md
- dev-docs/COORDINATING.md
- dev-docs/genai-enclave-boundary-rules.md
- dev-docs/genai-import-baseline.md
- dev-docs/genai-migration.md
- dev-docs/integration-tests.md
- dev-docs/LINTING.md
- dev-docs/npm.md
- dev-docs/PLAN-TEMPLATE.md
- dev-docs/PLAN.md
- dev-docs/profileandsettings.md
- dev-docs/REGRESSION_TESTS.md
- dev-docs/RULES.md
- dev-docs/runtime-loader.md
- dev-docs/schema-guide.md
- dev-docs/SKIPPED-TEST-ANALYSIS-20260327.md
- dev-docs/stryker.md
- dev-docs/tmux-harness.md
3. AI slop / scratch notes to delete (0)
None.
Excluded assets (16)
- docs/assets/connected_devtools.png
- docs/assets/llxprt-screenshot.png
- docs/assets/llxprt.svg
- docs/assets/theme-ansi-light.png
- docs/assets/theme-ansi.png
- docs/assets/theme-atom-one.png
- docs/assets/theme-ayu-light.png
- docs/assets/theme-ayu.png
- docs/assets/theme-custom.png
- docs/assets/theme-default-light.png
- docs/assets/theme-default.png
- docs/assets/theme-dracula.png
- docs/assets/theme-github-light.png
- docs/assets/theme-github.png
- docs/assets/theme-google-light.png
- docs/assets/theme-xcode-light.png
Scope and method
Read-only audit of every Markdown source file recursively under docs/ and dev-docs/. A document here means a .md source file, including indexes, references, tutorials, migration/release records, plans, merge records, and generated Markdown baselines. Static images are inventoried separately.
There are also 16 documentation assets under docs/assets/ (15 PNG and one SVG), for 115 total inventoried files.
Executive findings
1. User docs that are not written from a user perspective, but should be
Highest priority
Structural rewrites or audience splits
Smaller user-perspective improvements
2. AI slop / scratch docs to delete
None.
This is deliberately conservative. The implementation plan, merge notes, skipped-test analysis, and generated import baseline are traceable engineering records with durable internal value; move/archive them instead of calling them slop. The malformed fragment in docs/hooks/best-practices.md should be deleted from that page, but the document itself remains useful.
If completed plans and historical analyses should expire, first define a repository-wide retention/archive policy rather than deleting selectively based on tone or suspected authorship.
3. Developer docs currently under docs/ that should move
Move these with inbound-link updates or redirects. No user-facing page was found misplaced under dev-docs/.
Additional consistency defects
4. Proposed documentation style guide
Audience and placement
User-focused writing
Tone
Standard structure
How-to/tutorial: goal/audience; prerequisites; quick start; numbered steps; expected result; variations; security/limitations; troubleshooting; related reference.
Reference: purpose/scope; syntax/schema; defaults; precedence/persistence; valid values/errors; minimal examples; related guides.
Migration: status/affected versions/audience; compatibility impact; before/after; migration steps; verification; rollback; deprecation timeline.
Release note: version/date/status; user-visible changes; breaking changes; required actions; security/privacy; valid migration/reference links.
Internal design/record: status/owner/date; authoritative vs historical; context; decision/architecture; source/test locations; verification; tradeoffs; follow-ups/supersession.
Maintenance rules
Proposed implementation plan
P0: correctness and safety
P1: audience and placement
P2: consistency and prevention
Acceptance criteria
Complete per-file classification
Every Markdown source appears exactly once below.
1. User-facing documentation (71)
2. Developer/internal documentation (28)
3. AI slop / scratch notes to delete (0)
None.
Excluded assets (16)