overnight-wave-pack-worktree-isolation
Safely launch overnight multi-terminal workspace-hub planning packs from isolated worktrees when the main checkout is dirty or prompts share planning/index files.
Best use case
overnight-wave-pack-worktree-isolation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Safely launch overnight multi-terminal workspace-hub planning packs from isolated worktrees when the main checkout is dirty or prompts share planning/index files.
Teams using overnight-wave-pack-worktree-isolation should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/overnight-wave-pack-worktree-isolation/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How overnight-wave-pack-worktree-isolation Compares
| Feature / Agent | overnight-wave-pack-worktree-isolation | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Safely launch overnight multi-terminal workspace-hub planning packs from isolated worktrees when the main checkout is dirty or prompts share planning/index files.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Overnight wave-pack worktree isolation Use when: - an overnight prompt pack is ready to launch - the main workspace-hub checkout is already dirty, or - multiple prompts may touch shared planning surfaces like `docs/plans/README.md` Problem Launching all prompts from one dirty checkout creates avoidable git contention and mixes unrelated working-tree state into the overnight run, even if prompts claim "owned rows only". Reusable approach 1. Inspect the current checkout first: - `git status --short` - `git worktree list` 2. If main is dirty or shared planning files are in prompt scope, create one fresh worktree per terminal from the current HEAD. 3. Copy the master overnight pack and prompt files into each worktree. 4. Rewrite absolute repo paths inside each copied prompt from the original checkout path to that worktree path. 5. Launch Codex from inside each worktree with the copied prompt file loaded into a shell variable. 6. Point logs and expected result artifacts to the worktree-local paths. 7. If a morning monitor job already exists, update it to inspect the worktree result paths instead of the original checkout. Concrete pattern ```bash git worktree add -b nightly/foo-t1 /mnt/local-analysis/worktrees/ws-foo-t1 HEAD cp docs/plans/master-pack.md /mnt/local-analysis/worktrees/ws-foo-t1/docs/plans/ cp docs/plans/overnight-prompts/foo/*.md /mnt/local-analysis/worktrees/ws-foo-t1/docs/plans/overnight-prompts/foo/ perl -0pi -e 's#/mnt/local-analysis/workspace-hub#/mnt/local-analysis/worktrees/ws-foo-t1#g' \ /mnt/local-analysis/worktrees/ws-foo-t1/docs/plans/overnight-prompts/foo/*.md \ /mnt/local-analysis/worktrees/ws-foo-t1/docs/plans/master-pack.md cd /mnt/local-analysis/worktrees/ws-foo-t1 PROMPT=$(< docs/plans/overnight-prompts/foo/terminal-1.md) Codex -p --permission-mode acceptEdits --no-session-persistence --output-format text --max-budget-usd 20 \ "$PROMPT" </dev/null > logs/terminal-1.log 2>&1 ``` Verification - read back the copied prompt file and confirm the worktree path was rewritten - verify all launched processes are running - verify the monitor/cron references the worktree output paths Pitfalls - Do not launch from the dirty main checkout when prompts share `docs/plans/README.md` - Do not leave prompts pointing at the original repo path after copying into a worktree - Do not forget to update the morning monitor job; otherwise it will report false missing artifacts
Related Skills
digitalmodel-worktree-test-execution-with-shared-venv
Run digitalmodel tests from isolated worktrees without uv editable-dependency failures by using the main repo's existing virtualenv and PYTHONPATH.
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
blender-worktree-test-hardening
Recover and harden digitalmodel Blender automation work in isolated worktrees when uv/editable dependency paths break and local machines lack a Blender executable.
worktree-pre-push-bypass-for-tier1-checks
Handle workspace-hub integration-branch pushes from isolated git worktrees when the pre-push hook incorrectly assumes sibling tier-1 repos exist under the worktree path.
worktree-branch-sync-hygiene
Class-level branch, worktree, dirty-main, stash, sync, and hook hygiene for workspace-hub style multi-repo work.
workspace-hub-overnight-plan-monitor
Monitor and reconcile workspace-hub overnight planning or implementation batches, including process status, result artifacts, issue/commit verification, and controlled failed-lane recovery.
plan-gated-issue-execution-wave
Execute a multi-issue architecture/planning wave in a plan-gated repo, then safely transition approved issues into implementation with file-based Codex prompts, local approval markers, subprocess monitoring, and cleanup handling for sandbox/hook edge cases.
orcawave-orcaflex-readiness-audit
Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.
wave-based-parallel-plan-execution
Orchestrate phase execution by discovering dependencies, grouping into waves, spawning subagents, and collecting results with optional wave filtering
git-worktree-cleanup-at-scale
Identify and remove stale git worktrees blocking branch deletion in multi-repo environments
git-worktree-cleanup-and-branch-reconciliation
Systematic process for cleaning up stale git worktrees, resolving merge conflicts in diverged branches, and reconciling branch state across multiple repositories.
git-worktree-cleanup-and-branch-hygiene
Systematic approach to cleaning up stale git worktrees, orphan branches, and branch hygiene at scale across multiple repos