Skip to content

docs: revise Option 1 placements from the tree test results - #52969

Merged
czenko merged 3 commits into
masterfrom
docs/ia-option-1-placement-revisions
Nov 6, 2026
Merged

czenko merged 3 commits into
masterfrom
docs/ia-option-1-placement-revisions

Conversation

@czenko

@czenko czenko commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes DOCS-1473
Closes DOCS-1578

Problem

The tree test results on the live trees found four tasks where agents look in a different place from where Option 1 puts the page:

  • Shared responsibility: agents look in Security and compliance. The page is under Deploy to production, and every arm failed the task.
  • RLS testing: agents look in Local Development and CLI. The page is under Database.
  • Project transfer: with two levels visible, agents open Team, because the task is about organizations.
  • Leaked API key: with two levels visible, agents see Start's "API keys" and choose it. The rotation page sits a level deeper, under Security and compliance.

Solution

Revises four Option 1 placements and labels. Option 1 only. Today's nav, page content, and URLs don't change. No subheads.

Task Change
Shared responsibility Moved from Deploy to production to Security and compliance › Compliance. The docs:compliance flag moves to the SOC 2, HIPAA, and GDPR items so the page shows in every build.
RLS testing New Testing group under Local Development and CLI, with Overview, Test RLS policies with pgTAP, Testing your database, and pgTAP advanced guide. Database's Testing group goes away.
Project transfer "Projects, compute and scaling" becomes "Projects, organizations and compute", in the sidebar and the top nav. "Transfer Project" becomes "Transfer to another organization".
Leaked API key Start's "API keys and key rotation" becomes an "API keys" group with two pages: API keys, and Rotate a leaked API key. The rotation page moves out of Security and compliance.

Each page keeps one home. Every level stays at 7 items or fewer, 5 levels at most, and labels at 35 characters or fewer.

In the tree test on this preview, all four tasks now pass with no wrong turns at two levels. Set-aside tasks score 83% against Option 1's 71% at two levels, and the same within noise at one level.

Preview links

Site Live Preview Search for
Docs Not live until #52735 merges /docs/nav-tree.json Rotate a leaked API key

Additional context

  • The leaked-key move trades views. With two levels visible, as in the top nav dropdown, agents choose the rotation page in 3 of 3 runs, up from 0. With one level at a time, as on mobile, they look in Security and compliance first and find it in 0 of 3, down from 3. A follow-up link from the Security and compliance hub to the rotation page would help one-level readers without listing the page twice.
  • Set-aside tasks: the shared responsibility and project transfer cases are set-aside tasks. A gain on either can't count as unseen-task evidence. Only a fresh holdout set can confirm it.

Review instructions

  1. Open /docs/nav-tree.json?docs-ia-mvp-v1=option-1 on the preview. Check that each moved page appears once, under its new parent.
  2. Open /docs/nav-tree.json without the parameter. Check that it matches docs: restore today's nav entries for six split-out topics #52737's.
  3. Open /docs?docs-ia-mvp-v1=option-1 on the preview and hover Start. Check that API keys shows as a group with Rotate a leaked API key inside.

Checklist

Check all before review:

  • I have read CONTRIBUTING.md
  • If I wrote a new docs topic or edited an existing topic, I used the /write-the-docs or /edit-the-docs skill, which applies the docs style guide

@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview, v0 Nov 6, 2026 7:50pm UTC
7 Skipped Deployments
Project Deployment Actions Updated
studio Ignored Ignored Nov 6, 2026 7:50pm UTC
design-system Skipped Skipped Nov 6, 2026 7:50pm UTC
kb Skipped Skipped Nov 6, 2026 7:50pm UTC
studio-self-hosted Skipped Skipped Nov 6, 2026 7:50pm UTC
studio-staging Skipped Skipped Nov 6, 2026 7:50pm UTC
ui-library Skipped Skipped Nov 6, 2026 7:50pm UTC
zone-www-dot-com Skipped Skipped Nov 6, 2026 7:50pm UTC

Request Review

@supabase

supabase Bot commented Nov 4, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Option 1 documentation navigation changes the placement and feature-flag conditions for testing and compliance links. It also updates API key navigation, removes a deployment link, and revises project menu labels.

Changes: Option 1 documentation navigation

Layer / File(s) Summary
Testing navigation and feature flags
apps/docs/features/IaNav/option1/localDevelopment.ts, apps/docs/features/IaNav/option1/database.ts
Local Development now reads the docs:pgtap flag and adds a Testing section. Database no longer reads that flag or includes its Testing links.
Compliance and shared responsibility links
apps/docs/features/IaNav/option1/runAndManage.ts, apps/docs/features/IaNav/option1/deployment.ts
SOC 2, HIPAA, and GDPR links are individually gated by complianceEnabled. The shared responsibility model link is added to the compliance category without that gate and removed from Deployment. The production security checklist is removed.
API key links
apps/docs/features/IaNav/option1/start.ts
The API keys link becomes a submenu with a separate link to the leaked API key rotation guide.
Project navigation labels
apps/docs/features/IaNav/option1/runAndManage.ts, apps/docs/features/IaNav/option1/topNav.ts
The project category is renamed to “Projects, organizations and compute.” The transfer entry is renamed to “Transfer to another organization.”

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • supabase/supabase#52344: Moves the pgTAP RLS testing link into the Option 1 Testing group and changes its navigation target.
  • supabase/supabase#52737: Removes the testing entry from today’s navigation and keeps the topic Option 1-only.
  • supabase/supabase#52191: Adds the Option 1 navigation modules, feature-flag selection, and rendering integration.

Suggested reviewers: jeremenichelli, awaseem

Merge Risk: Minimal · previous review 08acf

The navigation revisions are mergeable after normal checks; no specific issue requiring a pre-merge fix is established.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly summarizes the main change: revising Option 1 navigation placements based on tree-test results.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the template's Problem, Solution, Preview links, Review instructions, and Checklist sections, and it explains the four placement changes with a clear table. It omits the templa…
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 5 files.

Full details: Description check

Explanation

The description follows the template's Problem, Solution, Preview links, Review instructions, and Checklist sections, and it explains the four placement changes with a clear table. It omits the template's optional Additional context heading, but it fills in that section with the tradeoff data. The Checklist items are checked. The Problem section does not link an issue number directly, but it does cite DOCS-1473 and DOCS-1578 as closed issues. The Preview links section gives a working preview URL but the Live column says the page is not live until another PR merges, which is acceptable. The Review instructions are numbered and actionable. Overall the description is complete and specific to the change.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between d100b40 and 08acf7f.

Files selected for processing: 1

  • apps/docs/features/IaNav/option1/localDevelopment.ts
Files skipped from review as they are similar to previous changes: 1

  • apps/docs/features/IaNav/option1/localDevelopment.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 4, 2026
@czenko
czenko added this pull request to stack #52970 November 4, 2026 18:57
czenko added a commit to supabase/evals that referenced this pull request Nov 4, 2026
@czenko
czenko marked this pull request as ready for review November 4, 2026 22:04
@czenko
czenko requested a review from a team as a code owner November 4, 2026 22:04

@jeremenichelli jeremenichelli 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.

🔥 killer work here, love the data report on this!

@czenko
czenko requested a review from a team as a code owner November 5, 2026 19:00
@czenko
czenko force-pushed the docs/ia-option-1-placement-revisions branch from 08acf7f to 314a0e7 Compare November 5, 2026 19:02
@czenko
czenko removed this pull request from stack #52970 November 5, 2026 19:02
@czenko
czenko changed the base branch from docs/today-nav-pre-split-baseline to docs/ia-option-1-server-render November 5, 2026 19:02
@czenko
czenko added this pull request to stack #53058 November 5, 2026 19:02
@czenko
czenko force-pushed the docs/ia-option-1-placement-revisions branch 2 times, most recently from 399061b to 82fa8c2 Compare November 6, 2026 19:36
Base automatically changed from docs/ia-option-1-server-render to master November 6, 2026 19:46
Move the shared responsibility model into Security and compliance, and
gather the testing pages, RLS testing included, into a Testing group under
Local Development and CLI. Name organizations in the project transfer
labels, and shorten Start's API keys label to match its page.
…Start

With two levels visible, agents choose the API keys page in Start for a leaked key and never see the rotation page under Security and compliance. Nesting both pages in an API keys group puts the rotation page next to the label agents pick.
Every other Option 1 group puts its overview first and labels it Overview.
@czenko
czenko force-pushed the docs/ia-option-1-placement-revisions branch from 82fa8c2 to c6b93fc Compare November 6, 2026 19:46
@czenko
czenko merged commit b1f49ed into master Nov 6, 2026
46 checks passed
@czenko
czenko deleted the docs/ia-option-1-placement-revisions branch November 6, 2026 19:51
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1793994877)

Score Average Improvements Regressions
Completeness 90.6% (+6pp) 3 🟢 1 🔴
Conciseness 66% (-6pp) 4 🟢 4 🔴
Correctness 76.6% (-15pp) - 2 🔴
Docs Faithfulness 51% (-3pp) 2 🟢 1 🔴
Goal Completion 79.9% (+5pp) 4 🟢 2 🔴
Knowledge Usage 97.6% (+1pp) - -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 96.7% - -
Tool Usage 90.2% (-2pp) 3 🟢 1 🔴
URL Validity 100% (+0pp) - -
Time_to_first_token 2.93tok (-0.34tok) 13 🟢 7 🔴
Llm_calls 10.32 (+0.46) 6 🟢 4 🔴
Tool_calls 3.43 (-0.15) 5 🟢 7 🔴
Errors 0.02 (+0.03) - 1 🔴
Llm_errors 0 (+0.02) - 1 🔴
Tool_errors 0.01 (+0) - -
Prompt_tokens 73362.68tok (+23080.76tok) 6 🟢 14 🔴
Prompt_cached_tokens 51881.05tok (+9212.22tok) 11 🟢 8 🔴
Prompt_cache_creation_tokens 21463.5tok (+13867.83tok) 6 🟢 14 🔴
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 1500.93tok (+322.12tok) 9 🟢 11 🔴
Completion_reasoning_tokens 442.2tok (+111.98tok) 9 🟢 10 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 74863.61tok (+23402.88tok) 6 🟢 14 🔴
Estimated_cost 0$ (+0$) 5 🟢 14 🔴
Duration 14.19s (+0.18s) 15 🟢 5 🔴
Llm_duration 27.19s (+0.65s) 15 🟢 5 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants