Skip to content

docs: make sandboxes getting-started more agent-friendly - #446

Open
sophiajwitt wants to merge 2 commits into
mainfrom
sophia/sandbox-docs-agent-content
Open

docs: make sandboxes getting-started more agent-friendly#446
sophiajwitt wants to merge 2 commits into
mainfrom
sophia/sandbox-docs-agent-content

Conversation

@sophiajwitt

Copy link
Copy Markdown
Contributor

What

Two additive edits to sandboxes/getting-started.mdx that reduce first-run friction for developers and coding agents:

  1. Auth surfaced as a prerequisite — a <Note> directly above the quickstarts spells out that PORTER_SANDBOX_API_KEY / PORTER_CLUSTER_ID are needed when running outside the cluster. This info already existed, but under an earlier "Calling from outside the cluster" heading that anyone jumping straight to "Python quickstart" skips — the most common first-run auth failure.
  2. Troubleshooting section — names the two predictable first failures (exec against an already-exited sandbox → links the existing "Keep a sandbox alive for exec" section; auth errors outside the cluster) and links the Python/TypeScript SDK error references.

No example code semantics changed.

Note on stacking

Based on sophia/sandbox-docs-agent-friendly (PR #445). Retarget to main once that merges. Kept separate so the structural move (#445) and this content change review independently.

Not included (already fine / no repo change)

  • llms.txt is already live at docs.porter.run and lists every sandbox page including the SDK subtree — it regenerates automatically, so nothing to change here.

🤖 Generated with Claude Code

Two additive changes to reduce first-run friction for developers and
coding agents copy-pasting from the quickstart:
- Surface authentication as a prerequisite with a Note directly above
the quickstarts, so readers who jump straight to the code know they
need PORTER_SANDBOX_API_KEY / PORTER_CLUSTER_ID when running outside
the cluster (previously only covered in an earlier section that's
easy to skip).
- Add a Troubleshooting section covering the two predictable first
failures - exec against an already-exited sandbox, and auth errors
outside the cluster - and linking the Python/TypeScript SDK error
references.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Base automatically changed from sophia/sandbox-docs-agent-friendly to mainAugust 4, 2026 20:14
The sidebar mixed singular and plural: "Sandboxes Overview / Getting
Started / CLI" alongside "Sandbox Networking" and "Sandbox Capacity".
Make the descriptive guide-page titles consistently plural to match
the section name. The "Sandbox SDK" pages keep the singular product
name (the package is porter-sandbox).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlifyBot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

ProjectStatusPreviewUpdated (UTC)
porter🟢 ReadyView PreviewAug 5, 2026, 8:46 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for freeto 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

@sophiajwitt