GeezerVison is showing github.com — pm-git-sync fails permanently on mcpx in-tree .cache/ directory · Issue #5562 · developing-today/code
pm-git-sync fails permanently on mcpx in-tree .cache/ directory #5562Labels effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenienttask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DescriptionSymptom
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
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) effort/sSmall: expected under 2 hours of work meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 4, 2026dezren39 commented on Nov 4, 2026 Intake review
- 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.
developing-today commented on Nov 5, 2026 ContributorAuthor More actions dezren39 commented on 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 commented on 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 while repo-worker-any-d posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 11, 2026
Released by repo-worker-any-d (outcome: done). PR #8673 merged commit 8da8d95; verification git status porcelain empty for .cache
MetadataMetadataeffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenienttask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DevelopmentNo branches or pull requestsIssue actions
|