workspace-hub-sync-root-churn-catchup
Catch up workspace-hub root changes that continue to appear during repo sync because live review/agent processes keep writing files after commits
Best use case
workspace-hub-sync-root-churn-catchup is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Catch up workspace-hub root changes that continue to appear during repo sync because live review/agent processes keep writing files after commits
Teams using workspace-hub-sync-root-churn-catchup 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/workspace-hub-sync-root-churn-catchup/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How workspace-hub-sync-root-churn-catchup Compares
| Feature / Agent | workspace-hub-sync-root-churn-catchup | 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?
Catch up workspace-hub root changes that continue to appear during repo sync because live review/agent processes keep writing files after commits
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
# Workspace-hub sync root-churn catch-up Use this when `./scripts/repository_sync status all` shows subrepos are clean but the workspace-hub root keeps becoming dirty again during the same session. ## When this applies - `repository_sync status all` reports repos clean/up to date - but root `git status` still shows new `.planning/quick/*`, `scripts/review/results/*`, plan docs, audit outputs, or `.Codex/state/*` - and there are active long-running review/agent processes such as `codex exec` or `gemini exec` ## Key insight This is not necessarily a repo-sync failure. It is often a root-only churn problem caused by still-running processes writing new artifacts after each commit. ## Procedure 1. Run both checks separately: - root: `git -C /mnt/local-analysis/workspace-hub status --short --branch` - repos: `./scripts/repository_sync status all` 2. Inspect live processes before declaring success: - `ps -ef | grep -E '[c]odex exec|[g]emini exec|[c]laude'` 3. If subrepos are clean but root has new files, stage and commit the root changes: - `git add -A` - `git commit -m "chore(sync): ..."` - `git push origin main` 4. Immediately re-run root `git status` again. 5. If new files appeared again, repeat the catch-up loop. 6. Only claim full root cleanliness if `git status` remains clean across a short recheck window. ## Important distinctions - `repository_sync status all` verifies managed repos; it does not guarantee the workspace-hub root will stay clean. - A clean repo-sync result plus a dirty root means: repo sync succeeded, but root artifact churn still needs one or more catch-up commits. - If a repo itself is still dirty, handle that repo directly before treating the situation as root-only churn. ## Common churn sources - `.planning/quick/*.out` - `.planning/quick/*status-comment.md` - `scripts/review/results/*` - plan markdown files under `docs/plans/` - generated audit outputs - `.Codex/state/*` ## Reporting guidance Report these separately: 1. repo-sync status across managed repos 2. workspace-hub root cleanliness status 3. whether active processes are still mutating files This avoids falsely claiming that everything is fully clean when only the subrepos are clean.
Related Skills
worktree-branch-sync-hygiene
Class-level branch, worktree, dirty-main, stash, sync, and hook hygiene for workspace-hub style multi-repo work.
workspace-knowledge-doc-contracts
Class-level workspace knowledge, LLM-wiki, repo mission contracts, stale doc references, semantic taxonomy, and knowledge-source reconnaissance.
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.
repo-sync
Smart repository synchronization across workspace-hub ecosystem — diagnoses and fixes pull failures (detached HEAD, diverged branches, uncommitted changes)
multi-repo-sync-diagnosis-repair
Diagnose and repair failed pulls across multi-repo ecosystems with stale locks, submodule conflicts, and untracked files
multi-repo-sync-diagnosis-and-repair
Systematic approach to diagnosing and repairing failures across a multi-repo workspace
workspace-hub-sync-concurrent-writer-blocks
Handle repository_sync cleanup when workspace-hub root is being mutated by concurrent Codex/Codex/Gemini sessions.
workspace-hub-mission-contract-first-packet
Plan the first repo-mission canonicalization packet for the workspace ecosystem by reusing the existing control-plane issue, locking Wave-1 scope, and making review criteria deterministic.
user-approved-plan-state-sync
Reconcile GitHub and local repo state when a plan has been user-approved, including direct approval messages that require creating the local marker and moving the issue to status:plan-approved.
repo-sync-deleted-remote-branch-and-unrelated-history-recovery
Recover multi-repo sync failures caused by deleted upstream branches, stale git index locks, and local branches with unrelated history to the remote default branch.
workspace-hub-batch-issue-execution
Deprecated alias for gh-work-execution.
plan-rerun-review-state-sync
Keep iterative plan-review reruns truthful by syncing prompt files, canonical review artifacts, and the plan's own review-summary narrative after each adversarial wave.