The docs checks on #3197 and #3199 failed because the OpenAI Toolset
guide has TypeScript and Python examples but no Go SDK. The rule
required all three Stagehand SDK languages on every page, with a one-off
exception for Claude's toolset.
Allow pages under `v4/integrations/` to use the SDK languages documented
on that page. Keep all three languages required for core guides and
references. Validate each tab group directly to preserve consistent
language choices and reject duplicate tabs, while allowing repeated
single-language groups.
Validation: all 45 docs unit tests pass, including seven language-policy
cases; targeted lint, formatting, and whitespace checks pass. Local
tests used the existing installed Vitest 4.1.9; CI uses the locked
dependencies.
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Fixes the docs language-policy test so integration guides no longer
require SDK snippets they don't cover.
- Integration pages under `v4/integrations/` now only require the SDK
languages documented on that page, instead of all three.
- Core guides and references still require TypeScript, Python, and Go.
- Language tabs are now validated per tab group, preserving consistent
language choices within a page and rejecting duplicate tabs.
<sup>Written for commit a186be03ab9848589a4d6732a9102b84e84532a1.
Summary will update on new commits.</sup>
<a
href="https://cubic.dev/pr/browserbase/stagehand/pull/3201?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/browserbase/stagehand/3201?returnTo=https%3A%2F%2Fgithub.com%2Fbrowserbase%2Fstagehand%2Fpull%2F3201&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->