Skip to content

docs(audit): fix missing_docs path resolution and document Vertical Tabs Summary mode#75

Merged
hongyi-chen merged 2 commits into
mainfrom
docs/missing-docs-audit-fixes
May 26, 2026
Merged

docs(audit): fix missing_docs path resolution and document Vertical Tabs Summary mode#75
hongyi-chen merged 2 commits into
mainfrom
docs/missing-docs-audit-fixes

Conversation

@hongyi-chen
Copy link
Copy Markdown
Collaborator

Summary

  • Repairs the missing_docs audit script so it no longer produces false positives. The prior code joined surface-map paths against docs_root.parent (the src/content/ directory), which doubled src/content/docs/... and made every mapped path appear missing. It also only checked for .md even though the live docs are .mdx. The script now resolves paths against the actual repo root, treats .mdx and index.mdx as legitimate alternates of .md and README.md, and falls back to a docs-wide content search before flagging a mapped path as missing.
  • Refreshes feature_surface_map.md so it matches the live Astro Starlight layout: feature flags that previously pointed at the legacy agent-platform/warp-agents/ tree now resolve to agent-platform/capabilities/ and agent-platform/local-agents/.
  • Documents the Summary tab item mode (gated by the VerticalTabsSummaryMode GA flag) on terminal/windows/vertical-tabs.mdx, with a new "Tab item" row in the settings table and an entry in the key-features bullet list. Sources confirm the UI shows two segmented controls: View as (Panes / Tabs) and, when View as is Tabs, Tab item (Focused session / Summary).
  • Marks the OpenWarpLaunchModal flag as ignored. It gates a one-time open-source launch announcement already covered in the 2026 changelog (* Warp is now open source.) and has no recurring surface to document.

After these changes, python3 .agents/skills/missing_docs/scripts/audit_docs.py --severity medium reports zero gaps. npm run build succeeds (318 pages built).

Out of scope (follow-ups)

  • The staleness audit still surfaces 47 low-severity terminology issues (e.g., "warp agent" → use "Agent" or "Oz agent", "agent-mode" → "Agent Mode"). These are real but span 47 files; better handled in a dedicated terminology pass than bundled with audit-tooling fixes.

Test plan

  • python3 .agents/skills/missing_docs/scripts/audit_docs.py --warp-internal /workspace/warp-internal --warp-server /workspace/warp-server --severity medium reports 0 gaps
  • npm run build succeeds (318 pages built)
  • Reviewer spot-checks vertical-tabs.mdx in preview to confirm the new "Tab item" row reads correctly alongside the existing "View as" row

This PR was created by Oz (running Claude Code).

Repair the missing_docs audit script so it no longer produces false
positives, refresh the feature surface map to match the live docs
structure, and document the Vertical Tabs "Summary" tab item mode that
shipped behind the VerticalTabsSummaryMode GA flag.

Changes:
- audit_docs.py: resolve mapped paths against the actual repo root (the
  prior code joined paths against docs_root.parent and double-counted
  src/content/docs/...). Accept .mdx as an alternate to .md and
  index.mdx as an alternate to README.md, matching the Astro Starlight
  layout. Fall back to a content search before flagging a mapped path
  as missing so renamed docs don't get flagged.
- feature_surface_map.md: update mappings that pointed at the legacy
  agent-platform/warp-agents/ tree to the real
  agent-platform/capabilities/ and agent-platform/local-agents/
  locations. Add VerticalTabsSummaryMode -> vertical-tabs.mdx. Move
  OpenWarpLaunchModal to the ignore list (one-time open-source launch
  modal; covered in the 2026 changelog).
- vertical-tabs.mdx: document the new "Tab item" setting with
  "Focused session" and "Summary" options, including the table row and
  the key-features bullet.

After the fix, the audit reports zero medium-or-higher severity gaps.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 13, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment May 18, 2026 3:30am

Request Review

@hongyi-chen hongyi-chen marked this pull request as ready for review May 18, 2026 03:28
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 18, 2026

@hongyi-chen

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates the missing-docs audit surface map to match the current Astro Starlight layout, fixes mapped-path resolution for .mdx and index.mdx pages in feature and CLI audits, and documents the Vertical Tabs Summary tab item mode. I reviewed the changed audit logic, mapped documentation paths, and documentation wording against the annotated diff.

Concerns

  • No blocking concerns found.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@hongyi-chen hongyi-chen merged commit 9f5820c into main May 26, 2026
8 checks passed
@hongyi-chen hongyi-chen deleted the docs/missing-docs-audit-fixes branch May 26, 2026 23:25
hongyi-chen added a commit that referenced this pull request May 26, 2026
…e audit mode

Rebases the original PR onto current `main` after PR #75 shipped overlapping
path-resolution fixes. The structural cleanup from PR #75 is preserved; this
commit reapplies only the additions that PR #75 didn't include.

- full-screen-apps.mdx: add a "Kitty keyboard protocol" section so the
  newly-shipped flag is documented where TUI users will look.
- feature_surface_map.md: point KittyKeyboardProtocol at the .mdx file and
  fix the stale `.warp/skills/...` script-path comment.
- audit_docs.py: add an opt-in `--weak-coverage` flag that, on top of the
  default "mapped == verified" check, also confirms feature keywords
  actually appear in the mapped doc (low-severity, noisy by design).
- SKILL.md: document `--weak-coverage`, the `.md`/`.mdx` resolution
  behavior, and the correct `crates/warp_features/src/lib.rs` source path.

Original author: hongyi-chen <hongyigma@gmail.com>
Co-Authored-By: Oz <oz-agent@warp.dev>
hongyi-chen added a commit that referenced this pull request May 26, 2026
…e audit mode (#52)

Rebases the original PR onto current `main` after PR #75 shipped overlapping
path-resolution fixes. The structural cleanup from PR #75 is preserved; this
commit reapplies only the additions that PR #75 didn't include.

- full-screen-apps.mdx: add a "Kitty keyboard protocol" section so the
  newly-shipped flag is documented where TUI users will look.
- feature_surface_map.md: point KittyKeyboardProtocol at the .mdx file and
  fix the stale `.warp/skills/...` script-path comment.
- audit_docs.py: add an opt-in `--weak-coverage` flag that, on top of the
  default "mapped == verified" check, also confirms feature keywords
  actually appear in the mapped doc (low-severity, noisy by design).
- SKILL.md: document `--weak-coverage`, the `.md`/`.mdx` resolution
  behavior, and the correct `crates/warp_features/src/lib.rs` source path.

Original author: hongyi-chen <hongyigma@gmail.com>

Co-authored-by: Oz <oz-agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants