Skip to content

docs(nav): add missing 3.2 pages to navigation and guard coverage - #7720

Merged
bokelley merged 1 commit into
mainfrom
docs/nav-3-2-coverage
Sep 29, 2026
Merged

bokelley merged 1 commit into
mainfrom
docs/nav-3-2-coverage

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

The docs site runs with seo.indexHiddenPages: false, so any page missing from the sidebar is also missing from Mintlify search, sitemap.xml, and /_llms/*. The 3.2 findability audit found 38 docs/ pages missing from the 3.2-rc nav, including every Reliable Reporting task. This PR fixes that and adds a test so it can't happen again.

1. Nav (only the 3.2-rc page lists change; no version, default, or tag flags). These 23 pages are added using their existing dist/docs/3.2.0-rc.6/... paths:

Group Pages
Release notes & migration reference/migration/reliable-reporting-status-loop (after 3.1→3.2)
L3 Protocol semantics async-identity-and-convergence
L0 Wire & transport a2a-profile-extension, protocol/sync_principal, protocol/get_principal
Accounts accounts/tasks/list_account_changes
Media Buy → Building reporting-core-implementation-guide (Reliable Reporting)
Media Buy → Reference get_reporting_status, sync_reporting_status, sync_reporting_receipts (after get_media_buy_delivery)
Creative → Formats and Assets canonical-formats, canonical-formats-migration (first), representation-sets, published-post-reference-creatives, sponsored-placement-adapter-contracts, tracker-execution-contracts
Creative → Channel Guides ctv-experiences (after CTV), channels/ooh (after DOOH)
Governance sell-side-governance, creative/policy-backed-rejections
Trusted Match identity-match-implementation, impression-tracker-implementation
Certification → Supplements learning/shared-account-change-feed

2. Nav-coverage test (in tests/docs-nav-validation.test.cjs, which runs as part of npm run test:docs-nav):

  • It picks the live-source version: an entry that routes to docs/ directly, or else the entry with the newest snapshot by semver. Today that's 3.2-rc; after GA it's 3.2.
  • It fails when a docs/**/*.md(x) page exists in that entry's snapshot but isn't in its nav and isn't in NAV_COVERAGE_ALLOWLIST.
  • A page added to docs/ after the snapshot was cut can't be linked yet, so the test prints a warning for it. The page becomes required on the auto chore: snapshot docs for vX PR, and broken-links.yml runs this test on that PR.
  • The allowlist requires a reason for every entry. It fails on stale entries (no matching page, or the page is already in nav). Entries cover contributing/, runbooks/, snippets/, aao/aao-admins (noindex), curation/coming-soon, learning/test-personas, and media-buy/advanced-topics/index (a legacy hub whose children are listed individually).
  • I checked that it fails: removing creative/canonical-formats from the nav makes the test fail and name that page.

3. Frontmatter. The description of these six task pages now starts with the task name: get_reporting_status, sync_reporting_status, sync_reporting_receipts, sync_principal, get_principal, list_account_changes. Titles were already the bare task name. I did not add keywords: scripts/check-seo-metadata.cjs rejects that field in this repo.

Testing

  • npm run test:docs-nav: 58/58 (the 55 existing tests plus 3 new ones)
  • npm run test:release-docs-nav: 17/17
  • npm run test:owned-links: 24/24
  • node scripts/check-seo-metadata.cjs: passes
  • node scripts/check-changeset-protocol-scope.cjs origin/main: passes. No changeset: nothing under docs/reference/**, schemas, or compliance changed.
  • The pre-commit hook passed test:unit (71 files, 1081 tests). Its precommit:server-unit step then hit the 1500s with-timeout because the shared sandbox was under load, so I ran server/tests/unit/docs-indexer.test.ts (35/35) and committed with HUSKY=0. CI runs the full server suite.

Notes / follow-ups

  • The frontmatter edits reach the live 3.2 sidebar only when the next snapshot (rc.7 or 3.2.0) is retargeted. The nav additions are live as soon as this merges, because rc.6 already contains these pages.
  • list_account_changes is being marked experimental in a separate PR. This PR only changes its nav placement and the description line, so a small frontmatter conflict is possible.
  • Not in scope here: splitting "Release notes & migration" and the GA default flip (audit S1 and M1).

🤖 Generated with Claude Code

Add the 23 source pages missing from the 3.2-rc sidebar (Reliable
Reporting tasks and guide, sync_principal/get_principal,
list_account_changes, Canonical Formats and related creative pages,
governance, Trusted Match, L0/L3 building pages, and the shared-account
lab). Mintlify runs with indexHiddenPages: false, so these pages were
absent from search, sitemap.xml, and the llms indexes.

Add a nav-coverage check to test:docs-nav: every docs/ page present in
the live-source version's snapshot must be in that version's nav or in
an allowlist with a reason. Internal pages (runbooks, contributing,
snippets, aao-admins, curation placeholder, test personas, legacy
advanced-topics hub) are allowlisted.

Lead the 3.2 task page descriptions with the task name so exact-name
searches match.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — clean docs-findability PR, no blocking or medium findings.

Checked:

  • Adds 23 existing dist/docs/3.2.0-rc.6 pages to the 3.2-rc sidebar; all 23 nav references verified to resolve in the rc.6 snapshot.
  • No dist/ artifact was mutated — released-artifact immutability respected.
  • New nav-coverage regression test (+190 lines) has sound semver-precedence and pending-vs-missing logic.
  • Six description frontmatter lines updated (task-name prefixes) — editorial, no wire-shape/schema impact.
  • Changeset correctly out of scope (no schema/normative-reference/compliance surface touched).

Decision path: no critical/high/medium findings; gated_paths false; high_risk false; no no-auto-approve team match; fewer than three medium findings. Rows 1–8 do not fire → row 9 approve. (review_decision is REVIEW_REQUIRED, but that only blocks approval when gated_paths is true, which it is not here.)

@bokelley
bokelley merged commit aa7a2a1 into main Sep 29, 2026
37 checks passed
@bokelley
bokelley deleted the docs/nav-3-2-coverage branch September 29, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant