Skip to content

docs(sandboxes): add workflow patterns page#25228

Open
dvdksn wants to merge 2 commits into
docker:mainfrom
dvdksn:worktree-iterative-swimming-quill
Open

docs(sandboxes): add workflow patterns page#25228
dvdksn wants to merge 2 commits into
docker:mainfrom
dvdksn:worktree-iterative-swimming-quill

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Jun 2, 2026

Summary

Adds a new Workflows page to the sandboxes manual covering the patterns that
don't fit cleanly in the mechanical usage reference: git strategies (single-agent
feature branch and multi-agent parallel branches in clone mode, direct mode),
commit signing via SSH agent forwarding, authenticated CLI tools (gh, Docker
registry, 1Password via op read), and CI/headless use.

Generated by Claude Code

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a6b6ef2
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a1e8d033f17e2000861aa5c
😎 Deploy Preview https://deploy-preview-25228--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.

@dvdksn dvdksn added the status/review Pull requests that are ready for review label Jun 2, 2026
@dvdksn dvdksn requested a review from a team June 2, 2026 07:04
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

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

Assessment: 🟡 NEEDS ATTENTION

Comment thread content/manuals/ai/sandboxes/workflows.md Outdated
Comment thread content/manuals/ai/sandboxes/workflows.md Outdated
@dvdksn dvdksn force-pushed the worktree-iterative-swimming-quill branch 4 times, most recently from e4ba411 to 770be53 Compare June 2, 2026 07:45
Adds workflows.md to the sandboxes manual covering git strategies
(single-agent feature branch, multi-agent parallel branches, direct mode),
commit signing via SSH agent forwarding, authenticated CLI tools (gh,
Docker registry, 1Password), and CI/headless use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dvdksn dvdksn force-pushed the worktree-iterative-swimming-quill branch from 770be53 to d7cd0ad Compare June 2, 2026 07:48
Add missing --username flag to GHCR registry secret example, and remove
erroneous trailing `.` from sbx create CI example to match other clone-mode examples.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dvdksn dvdksn force-pushed the worktree-iterative-swimming-quill branch from ffa45ef to a6b6ef2 Compare June 2, 2026 07:57
touched. When the agent is done, you either fetch its branches to the host or
ask the agent to push directly to your fork.

Clone mode is designed for parallelism: a single clone-mode sandbox can hold
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Parallelism is accurate, but wondering if we should simplify this? No strong opinions here.


### Direct mode

The simplest approach. The sandbox mounts your host working tree directly —
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.

Suggested change
The simplest approach. The sandbox mounts your host working tree directly
The simplest approach. The sandbox mounts your host working tree directly and

### Direct mode

The simplest approach. The sandbox mounts your host working tree directly —
the agent edits files in place and changes appear immediately. You manage
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.

Suggested change
the agent edits files in place and changes appear immediately. You manage
the agent edits files in place. Your changes appear immediately. You manage


### Host worktree

You can create a Git worktree on your host and point the sandbox at it. The
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.

non-blocking: should git be capitalized every time?

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.

4 participants