overnight-plan-wave-artifact-drift-reconciliation
Reconcile overnight planning waves when Codex workers move GitHub issues to status:plan-review but local artifacts are missing, split across sandbox worktrees, or only present on a pushed remote branch.
Best use case
overnight-plan-wave-artifact-drift-reconciliation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Reconcile overnight planning waves when Codex workers move GitHub issues to status:plan-review but local artifacts are missing, split across sandbox worktrees, or only present on a pushed remote branch.
Teams using overnight-plan-wave-artifact-drift-reconciliation 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-plan-wave-artifact-drift-reconciliation/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How overnight-plan-wave-artifact-drift-reconciliation Compares
| Feature / Agent | overnight-plan-wave-artifact-drift-reconciliation | 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?
Reconcile overnight planning waves when Codex workers move GitHub issues to status:plan-review but local artifacts are missing, split across sandbox worktrees, or only present on a pushed remote branch.
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.
Related Guides
SKILL.md Source
# Overnight plan-wave artifact drift reconciliation Use when: - running parallel overnight planning-only Codex workers - workers are supposed to produce `docs/plans/...` files and `scripts/review/results/...` artifacts - a worker claims success and/or advances the GitHub issue to `status:plan-review` - but the orchestrator cannot find the claimed files in the active worktree ## Problem pattern In overnight planning waves, a worker can successfully: - post GitHub comments - add `status:plan-review` - claim plan/review artifacts exist while the orchestrator's active worktree still does not contain those artifacts. Observed causes: 1. the worker ran in a different in-sandbox worktree than the external worktree path named in the prompt 2. the worker pushed artifacts directly to a remote branch without updating the orchestrator-visible checkout 3. shared-index / multi-worker serialization races bundled multiple workers' files into one commit with mixed attribution 4. GitHub state advanced even though local artifact normalization never happened in the expected checkout ## Required verification order For each completed worker, verify these three surfaces separately: 1. GitHub live state - `gh issue view <n> --json number,title,labels,url` - `gh issue view <n> --comments` - confirm whether `status:plan-review` was actually applied - capture the worker's own provenance notes from comments 2. Local active-worktree artifact state - search `docs/plans/*<issue>*` - search `scripts/review/results/*<issue>*` - do not assume success just because the worker log says files were written 3. Remote-branch / commit state - `git ls-remote --heads origin <branch>` - `git log --oneline --decorate -n <k>` - `git show --stat <sha>` - if needed, `git show <sha>:path/to/file` - use this to prove whether the artifacts exist only in the remote branch or in a different commit than expected ## Classification rule After verification, classify each issue as one of: - fully verified - GitHub label/comment correct - local plan + review artifacts present in the active worktree - GitHub-advanced, local-artifact drift - GitHub label/comment correct - local artifacts missing from active worktree - no remote proof yet - remote-branch-only artifact provenance - GitHub label/comment correct - local artifacts missing from active worktree - remote branch / commit proves the artifacts exist there - blocked / not promoted - worker finished but issue correctly stayed out of `status:plan-review` - usually due to MAJOR review findings Do not describe `status:plan-review` items as cleanly verified unless local or remote artifact provenance has been checked. ## Reporting rule When summarizing progress for the user, explicitly separate: - GitHub state verified - local artifact state verified - remote-branch artifact state verified Good summary style: - fully verified: #2459, #2460, #2461 - GitHub label verified, artifact reconciliation still needed: #2458, #2462, #2465 - remote-branch-only artifact provenance confirmed: #2463, #2464 ## Worktree / sandbox lesson If a worker mentions: - in-sandbox worktree relocation - direct remote push - shared-index race - cleanup of a different worktree than the one named in the prompt trust that as a provenance warning and perform branch-level verification immediately. ## Operational response If drift is found: 1. do not relaunch the same issue immediately 2. capture the current GitHub state first 3. prove whether artifacts exist in remote history 4. only then decide whether the issue needs: - governance cleanup only - local checkout reconciliation - re-planning - re-review ## Reusable takeaway For overnight planning waves, GitHub status transitions are not enough. Always audit GitHub, local worktree, and remote branch separately before calling a worker result clean.
Related Skills
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
plan-review-prompt-refresh-after-plan-edits
Refresh reviewer prompt files from the latest on-disk plan before every adversarial re-review. Prevents Codex/Gemini from critiquing stale plan text after local edits.
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.
mixed-ops-vs-repo-fix-plan-boundary
Plan mixed operational-vs-repo remediation issues by proving live-state classification first, then only proposing code changes for confirmed repo-owned failure paths.
wave-based-parallel-plan-execution
Orchestrate phase execution by discovering dependencies, grouping into waves, spawning subagents, and collecting results with optional wave filtering
plan-gated-issue-validation-workflow
Systematic validation pattern for plan-approved GitHub issues with pre-existing deliverables
plan-gated-issue-implementation
Workflow for executing pre-approved GitHub issues with mandatory validation checkpoints
multi-source-tax-document-reconciliation
Verify generated tax forms against source documents by line-by-line comparison, not just totals
multi-file-tax-reconciliation-workflow
Systematic parallel review and reconciliation of multi-document tax filings with cross-reference validation
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.