Skip to content

Content quality fixes for AI Sandboxes docs#25322

Merged
dvdksn merged 8 commits into
docker:mainfrom
dvdksn:worktree-sbx-content-audit-fixes
Jun 10, 2026
Merged

Content quality fixes for AI Sandboxes docs#25322
dvdksn merged 8 commits into
docker:mainfrom
dvdksn:worktree-sbx-content-audit-fixes

Conversation

@dvdksn

@dvdksn dvdksn commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Content-quality audit of content/manuals/ai/sandboxes. Eight focused fixes, one commit each:

  • Fix two broken usage.md#signed-commits anchor links (the content lives in workflows.md#commit-signing).
  • Remove stale --branch references (flag removed in v0.31.0): drop the obsolete "Stale Git worktree" troubleshooting section and update the architecture lifecycle note to clone-mode cleanup.
  • Document commands.startup[].background: true as the supported way to run a kit background service (sbx-releases Fix URL for design proposal PRs #2842, shipped v0.30.0); drop the stale claim that the field alone kills the service, and remove the resolved TODO comment.
  • Use source-relative /manuals/… links for Compose, Engine, Desktop, and Docker Agent instead of absolute docs.docker.com URLs.
  • Clarify that the virtiofs cache tuning applies to direct mode (clone mode caches automatically as of v0.32.0).
  • Replace the banned hedge word "seamless" in the FAQ.
  • Fix subject/verb agreement and spell out "etc" in the kits tip.
  • Promote an orphaned h3 to h2 on the Shell agent page.

Generated by Claude Code

dvdksn and others added 8 commits June 9, 2026 16:55
Two pages linked to usage.md#signed-commits, an anchor that does not
exist. The commit-signing content lives in workflows.md under the
"Commit signing" heading. Point both links there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The --branch flag was removed in sbx v0.31.0 in favor of --clone. Drop
the troubleshooting section about stale host worktrees (clone mode keeps
no host-side worktree, so the scenario can no longer occur) and update
the architecture lifecycle note to describe clone-mode cleanup, which
removes the sandbox-<name> Git remote on sbx rm.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
commands.startup[].background now keeps a service alive and replays on
every container start (sbx-releases docker#2842, shipped in v0.30.0), so the
nohup/& shell workaround is no longer required. Lead the background
service example with background: true, drop the stale claim that the
field alone leaves the service attached to an exiting shell, and remove
the resolved follow-up TODO comment. Update the generic startup example
in the kits reference to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Compose, Engine, Desktop, and Docker Agent pages live on docs.docker.com,
so link to them with source-relative /manuals/ paths instead of absolute
https://docs.docker.com URLs. This matches the dominant convention in the
repo and lets Hugo resolve and link-check the references.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Clone-mode sandboxes enable virtiofs caching automatically as of v0.32.0,
so note that the DOCKER_SANDBOXES_ENABLE_VIRTIOFS_CACHE tuning is only
relevant for direct-mode workspaces.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
"seamless" is on the repo's banned hedge-word list. State plainly that a
Docker account authenticates the requests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
"The templates ... already includes uv" -> "include"; spell out "etc"
as "and so on".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Shell page had "Default startup command" as an h3 with no parent h2,
skipping a heading level. Promote it to h2 so it sits alongside "Base
image", consistent with the other agent pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 3ed5acc
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a29280a3665290008c8f6d9
😎 Deploy Preview https://deploy-preview-25322--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

All eight content-quality fixes look correct:

  • Anchor link fixes (usage.md#signed-commitsworkflows.md#commit-signing): Both credentials.md and troubleshooting.md now point to the correct file and anchor (## Commit signing at line 170 of workflows.md). The old links were the broken ones.
  • background: true fix: The removal of the nohup & workaround and TODO comment is justified — the PR description confirms background: true was fixed in v0.30.0 (sbx-releases #2842). The new guidance is accurate.
  • --branch reference removal: Stale flag (removed in v0.31.0) correctly dropped from troubleshooting and architecture.
  • Relative links: Absolute docs.docker.com URLs correctly converted to source-relative /manuals/… paths.
  • Hedge word removal: "seamless" correctly replaced with factual description in FAQ.
  • Grammar fix in kits tip and heading promotion in shell.md look correct.
  • virtiofs clarification (direct mode only) is accurate.

No vendored files touched. No pages removed or moved, so no redirects needed. Front matter is unchanged across all files.

@dvdksn dvdksn marked this pull request as ready for review June 10, 2026 12:31
@dvdksn dvdksn requested a review from a team June 10, 2026 12:31
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Jun 10, 2026

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

This PR makes eight focused content-quality fixes to the AI Sandboxes documentation. All changes are accurate, well-scoped, and follow the style guide:

  • Broken anchor links fixed correctly (pointing to the right heading in workflows.md)
  • Stale --branch flag references removed cleanly
  • commands.startup[].background: true documented accurately with good examples
  • Internal links correctly converted to source-relative form (the _index.md suffix is the standard Hugo pattern used throughout this repo)
  • Hedge word "seamless" removed per style guide
  • Subject/verb agreement and "etc" expansion are correct
  • Heading hierarchy fix (h3 → h2) is appropriate

No issues found.

@dvdksn dvdksn merged commit c5fea43 into docker:main Jun 10, 2026
18 checks passed
@dvdksn dvdksn deleted the worktree-sbx-content-audit-fixes branch June 10, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ai status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants