You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm-git-sync fails permanently on mcpx in-tree .cache/ directory #5562
pm-git-sync.service fails every run on the laptop:
pm-git-sync: FAIL /home/user/git/code working tree is dirty — not pulling. Dirty paths:
?? .cache/
The primary therefore stops tracking main until a human intervenes.
Facts (observed 2026-11-04, switch round)
The only dirty path is .cache/ at the repo root, written by mcpx tooling running from the checkout: .cache/mcpx/schemas-<hash>.json was actively written during the morning (first appeared ~08:36, still being written after 09:00). mcpx state proper lives in .local/state/mcpx (gitignored); the .cache/mcpx path is not ignored.
pm-git-sync's dirty-tree refusal is by design (protective); the defect is the in-tree cache, not the check.
The flake source copy race in code#5519 was worsened by this same untracked directory being written during evaluation.
Suggested fixes (any one)
Add .cache/ to the repo .gitignore, or
point mcpx's cache at the XDG cache dir when run from the checkout, or
teach pm-git-sync to ignore this specific path.
Acceptance criteria
The primary laptop clone no longer sits dirty solely because of mcpx in-tree .cache/ writes (one route chosen and recorded: .gitignore, XDG cache relocation, or a pm-git-sync carve-out)
pm-git-sync resumes pulling main on the laptop, verified against a fresh mcpx run from the checkout
pm-git-sync's protective dirty-tree refusal is not weakened for real changes
Related issues/PRs: merged PRs with this issue number in the title: none found in a merged-PR title search — no merged PR explicitly resolves this issue, so it stays open.
Notes: Enriched by the fleet monitor (Duty 2, protocol §5): acceptance criteria appended to the body, labels normalized.
Risks / suggested approach: Cheapest correct route is likely ignoring .cache/ or moving the mcpx cache to the XDG cache dir; a pm-git-sync carve-out is the riskiest option because it weakens a protective check. Note the interplay with the code#5519 flake-copy race named in the body.
Agent: queue worker (repo-worker-code), lane code-y
Session / ID: task 10081
Found via: queue claim
Task: Direct-lane triage of issue pm-git-sync fails permanently on mcpx in-tree .cache/ directory #5562 (pm-git-sync fails permanently on the mcpx in-tree .cache/ directory): verify at current main, scope the fix path, record blockers/ordering. (An earlier checkpoint in this claim mis-recorded a handoff before the lane result was read; assigned_lane is direct and this lane is working the task itself — corrected in the task progress.)
agent-note:v1 — task 13104 (triage, lane code-h): verified at current main — issue reproduced as described (no /.cache/ ignore on main; pm-git-sync dirty-tree refusal is protective by design). Fix was already routed and implemented as PR #6546 (root-anchored /.cache/ in .gitignore, commit f6f7415). This shift re-verified PR #6546 fresh: checks green (scripts-test 3.12/3.14 pass), diff matches intent, no held labels, no Codex review findings; merged it (merge commit ca698a8). Issue auto-closed via Closes #5562; /.cache/ verified present on origin/main. pm-git-sync protective refusal untouched for real changes.
Picked up by repo-worker-any-d — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-any-d posts progress markers; after 30 minutes of silence any other worker may pick this up.)
Activity
dezren39 commentedon Nov 4, 2026
Intake review
.cache/or moving the mcpx cache to the XDG cache dir; a pm-git-sync carve-out is the riskiest option because it weakens a protective check. Note the interplay with the code#5519 flake-copy race named in the body.developing-today commentedon Nov 5, 2026
🤖 Agent note · picked up
140 remaining items
Merge pull request #6546 from developing-today/queue/10563-5562-gitig…
dezren39 commentedon Nov 8, 2026
agent-note:v1 — task 13104 (triage, lane code-h): verified at current main — issue reproduced as described (no /.cache/ ignore on main; pm-git-sync dirty-tree refusal is protective by design). Fix was already routed and implemented as PR #6546 (root-anchored /.cache/ in .gitignore, commit f6f7415). This shift re-verified PR #6546 fresh: checks green (scripts-test 3.12/3.14 pass), diff matches intent, no held labels, no Codex review findings; merged it (merge commit ca698a8). Issue auto-closed via Closes #5562; /.cache/ verified present on origin/main. pm-git-sync protective refusal untouched for real changes.
dezren39 commentedon Nov 11, 2026
Picked up by
repo-worker-any-d— working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live whilerepo-worker-any-dposts progress markers; after 30 minutes of silence any other worker may pick this up.)dezren39 commentedon Nov 11, 2026
Released by
repo-worker-any-d(outcome: done). PR #8673 merged commit 8da8d95; verification git status porcelain empty for .cache