Repository navigation
Description
Lane: openRepoProject-5
Governing issue for a new OpenSpec change, add-project-clean-cache-disposal, proposed on Brett Heap's word "usage reset, resume all. read handoff and resume and fan out wide and do as much as possible in parallel" (2026-10-11), which lanes openRepoProject-4 and openRepoProject-5 read as a go for the candidate list they had put to him, lane 5 taking the project-maintenance design packet's separately governed extensions (ideation/brainstorm/next-session-project-maintenance-fix-handoff.md:47-50 at da33d92). If that reading is wrong, closing this issue ends the change. Refs #6, the record of the packet.
Problem
The batch removes only worktrees with no ignored files, so a merged, clean worktree that holds nothing but Python bytecode caches (__pycache__ directories, .pyc and .pyo files) is excluded as ignored-local-files and stays on disk run after run. The council's survey found 102 of 561 rows excluded for ignored files and, in one repository, 20 of 29 merged worktrees excluded for caches alone (openspec/changes/add-project-clean-all-safe/proposal.md:73-75, :697-699; tasks 2.1). The ratified change names cache disposal "the first follow-on change". The packet keeps it out of the MVP and fixes its contract (project-maintenance-batch-cleanup.md:1314-1337 at da33d92): a symlink candidate or ancestor is ineligible; descriptor-relative, no-follow deletion with the opened directory's identity checked against the planned device and inode, failing closed where the platform cannot guarantee it; each cache path reported separately; a partial phase recorded as permanent partial completion with retry guidance; stop before any worktree or branch mutation when the cache preflight fails; hard caps on entries and bytes, counted in the plan estimate. The closed PR #2's commits 1789ad9 and bb91a49 are the harvest source; bb91a49's fd-relative deletes match part of that, but it checks no planned identity, has no caps, enumerates ignored files unbounded, and its whole-list preflight thread (3989548481) was open at the close.
Intended scope (for the proposal to settle)
A bounded cache stage before the removal of each selected worktree, inside the same deadline, with its own plan rows (paths with planned device and inode), caps in limits, a per-target sub-record in the versioned JSON, the whole-list preflight before the first unlink, and the ladder treating a worktree whose only ignored files are listed caches as removable; the allowlist is the two bytecode forms only.
Out of scope unless the proposal argues otherwise
Any other cache kind (.pytest_cache, .mypy_cache, node_modules, virtual environments); paired branch retirement and remote merge status (their own changes); the doctor and overview beyond what the shared ladder gives them; the CI matrix.
Sibling search
No open issue, PR, branch or active OpenSpec change covers this surface (searched for "cache", "pycache", "disposable", "ignored"). add-project-clean-all-safe (#9, PR #11, draft PR #19) and add-project-overview (#10, PR #12) are lane openRepoProject-2's; this change is written against their delta text and archives after change 1, before add-project-clean-branch-retirement. Draft PR #16 (lane 3) revises the packet; citations here pin da33d92. #20 (lane 1) touches project new only. PR #2 (closed) is the harvest source and is not reopened.
Activity
brettheap commentedon Oct 11, 2026
CLAIMED — lane openRepoProject-5, session 01e99fe7-bec0-4838-8159-eae2b41ad4ea@Eagle, 2026-10-11T16:34:17Z, for #24
Logged in
lanes/log/openRepoProject-5.mdatf1afa5ce3020ddcfcf893968884e75b9141eb42e.The three reads (lane-collision-protocol Rule 1):
Spec 005: correct Q2-Q15 from four reviews; add Q16 (D1's signal-bloc…
Spec 005: fold lane 3's delta findings D1-D12 (004 fails closed on du…
Spec 005: correct the questions after lane 3's delta read (M1-M6, L1-L9)
Spec 005: Dependencies name Q16's reach into #25 and #24's re-copy be…
Spec 005: Q17 A names its departure in the #24-first order (lane 3's …
Spec 005: fold lane 3's R3-2 to R3-4 and R3-9, align Q16's #25 trigge…
Spec 005: fold lane 3's R4 and R5 findings (Q17's divergence in every…
Spec 005: feature 004 at 6ae927f (lane G's follow-up built), and lane…
Spec 005: re-pin to feature 004 at 96a08d4, #24 at ca34644 and #25 at 1…
Spec 005: re-pin #24 to fe5b245 and #25 to 129a4e2 (final heads)
Spec 005: fold Brett Heap's answers to Q1-Q17 (all recommended) as C-…
Spec 005: re-check against feature 004 (2cf34d3) and #25 (e11d755); R…
Spec 005: align with A1 revision 6 (d644517); lane 3's W25
Spec 005 commit 3h: A1 revision 7; lane 3's W29 L2 and L3; #19 round …
Spec 005 commit 3i: #24 re-checked at #27's round B10 (d4e960b)
Spec 005 commit 3m: #24 re-checked at #27's round B12 (25f7333)
Spec 005 commit 3n: lane 3's W39 (LOW-1, LOW-2, LOW-4, O1); #19 round…
Spec 005 commit 3o: #24 re-checked at #27's round B13 (bced895)
Spec 005 commit 3r: #24 at #27's round B14 (69cb7a1) and #25 at #29's…
Spec 005 commit 3v: #24 at #27's B15 (8d34525); #19's round (g) at 4f…
Spec 005 commit 3y: #24 at #27's B16 (57bfc15)
Spec 005 commit 3aa: #19's round (j) (e14ada0); #24 at #27's B17; R-2…
Spec 005 commit 3ac: #24 at #27's B19 (dc39ec3); lane 3's W88 LOWs
Spec 005 commit 3ae: #19's round (m) (20084cd); #24 at #27's B21 (04b…
Spec 005 commit 3ag: lane 3's W105 (C-72's ordering sentence; LOW-A t…
Spec 005 commit 3ai: lane 3's W105 read of 3ah; #24 at #27's B23 (288…
Spec 005 commit 3al: his word on O12-O16; W127's three LOWs; owed gaps;
Spec 005 commit 3au: O19's outcome and O21's case at 004's 904aefc; O…