All Lessons
Why are git worktrees (git worktree add) preferred over git clone for provisioning isolated agent sandboxes in a software factory?
1 / 1
intermediate 35 min
Driving Existing Workflows: Agents, Worktrees, and Issue-to-PR
Run one issue through by hand using tools you already have: opencode run, git worktrees, Claude Code and Codex CLI, and GitHub Actions. No paid accounts required.
Based on Anthropic Claude documentation and the CCA-F exam blueprint. Updated August 2026.
Loading lesson content...
In the driver script below, why is the trap cleanup_on_error EXIT handler essential when orchestrating headless agents in git worktrees?
1 / 1
In the Shipwright issue-to-PR workflow, the worker agent executes pnpm test:unit and pnpm lint locally inside its worktree before opening a pull request. Why does the factory still require GitHub Actions CI to independently execute those same checks on the remote repository?
1 / 1