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
fix(windows): delete again succeeds after a held file is released - #34058
When another program keeps a checkout file open on Windows, Git can unregister the checkout before its folder is gone. Closing that program and choosing Delete again then leaves the workspace behind because the remaining folder no longer proves that it belongs to Git.
Remove checkout files before the checkout marker, remove only the empty root, then release target Git administration. Failed Delete keeps its workspace row and close-and-retry message even when Git marks the markerless checkout prunable. A refused retry and ordinary refresh preserve the existing failure until a successor deletion is accepted or existing cleanup ends it. Delete again checks current ownership, locks and force. Nonempty replacement folders remain protected; no saved identity or wire field is added.
Owning-directory discovery supports ordinary, bare, linked and separate Git layouts, including owning-directory junctions and aliases. Candidate/backlink proof retains its address boundary and accepts only structured missing-path observations. Selected-WSL metadata reads normalize missing-path diagnostics in the existing subprocess while preserving successful contents and refusing unknown errors. Native Windows uses metadata-last removal; POSIX, WSL, SSH and folder-workspace deletion routes retain their existing paths. Marker-last removal and the nonrecursive root operation are intended differences from the common pattern.
Follow-up to #33722 (merged); tracked in #33722. Full review path is required because this change governs deletion ownership, ordering and recovery. Six review rounds are complete. Fixes preserve supported owning-junction discovery, accurate retry advice and failed-row visibility through refusal/refresh. No additional round or production change is proposed.
Independently accepted Windows evidence covers previous-build setup/default terminals through graceful upgrade, browser-held failure, failed/pending restart and released-browser retries on 3a603bf (setup7daa1fa); empty-root retry, terminal-open normal Delete/unrelated workspace continuity and both owning-junction orderings on 85df9a9; and refusal → authoritative Git refresh → refusal on dcb6486, preserving the durable failure, visible row/Delete, replacement sentinel and Git identities. Separate desktop/runtime current-force contracts passed on143da463 (exit0,2passes), through refusal, persisted failure/reload and explicit-force completion. Real-Git long-path desktop Delete passed on242d4fc8 (exit0,1pass), verifying root/admin/registration/default-policy branch and host-qualified metadata removal with a file beyond 260 characters. The handler tests have store/lifecycle fixture seams; they do not establish rendered UI or durable Store behavior. Earlier failed fixture and invalid driver attempts remain excluded and retained; screenshots and underlying receipts, rather than driver exit0, support UI acceptance.
The sixteen-row E4-tsapi admission/registration contract passed on 85 with exactly one loader-provider substitution and unchanged thresholds: wrapper 12≤16, proof calls 12≤12; canonical operations ≤10 per proof is a separate bound. Realpath 0 limits its proof measurements to the lexical corpus. Real native Git/filesystem, injected EBUSY and substituted infrastructure do not prove WSL, physical locks, packaging, branch cleanup or latency/CPU/heap. E3 retains its original isolated-helper/injected-lock limits. Neither E3 nor E4 nor any accepted native/current-force/long-path flow will be rerun.
Selected-WSL CLI integration independently passed on 5b5dd7e74f7f3365fba123d287e71f6b06ad457e. The unchanged contract ran once as native Windows Node under the isolated orcaqa run: Node, wrapper and terminal exited 0; all 13 assertion steps succeeded with zero failed assertion events. All 14 source pins matched before/after, and the diagnostic helper was separately qualified around the same process. Real selected-WSL reads preserved exact bytes and classified genuine absence correctly. Negative cleanup refused before the supplied watcher callback and preserved candidate/marker/sibling; positive production cleanup removed only the genuinely pruned orphan candidate, preserving owner and unrelated registration. The independent audit verified 54 exact originals and 72 comparisons without disagreement.
This proves CLI transport/filesystem/proof/owner-local cleanup composition, not rendered WSL Delete or desktop/runtime force/provenance authorization. Historical server build 7039 supplied transport only; the proof imported exact 5b5d source. Setup required official run-only Python and a same-file loader URI correction; frozen scripts-on install exited 0, while the optional cpu-features build failed and earlier setup failures remain recorded. The serialized lease lost timezone formatting; actual execution was independently within the original explicit UTC admission. 27/28 real-config hash observations were unchanged; Neil's .claude.json changed with no established cause, and contents were not read. Scoped graceful cleanup verified zero recorded survivors/listeners; no machine-wide claim is made. Ticket 2704 is released, and the lead and auditor terminals are closed.
These are actual run heads. Earlier scoped evidence carries through reviewed production 7ddb6b971678e547178adfb5ecbf53775d1fffcb; dcb6486c7f07019ad2165eb42b71e1cfb4f8f6f5 adds a test comment. Main merge 43d30cd9038f181014e138d00a937436336ffe65 preserves all 37 then-owned paths. Test-only 17858a408ae8a8f98be0373e767f0a39568f1419 preserves all 29 production files; test-only 143da corrects the checkout-byte invariant; test-only 38f1 updates obsolete native-route fixtures and the ESM fault fixture. Incoming-main merge 900539ea18c3d6dd5e5f51b5ebb6ce2a3340a6a9 contains main c23 and preserves all 38 then-owned paths, with zero own overlap. Test-only ea829 replaces obsolete fixtures with the real long-path case and corrects two runtime assertions; test-only 242d4fc8a8e4637f0ae1b5c042bc0834129ca5b5 repairs its runner namespace/import seam. All29 production paths remain unchanged through 242d. These merges and test/nonshipped commits do not constitute new whole-app runs.
Current clean head 5b5dd7e74f7f3365fba123d287e71f6b06ad457e includes the permitted conflict-blocking main merge for #34304. The independent merge audit identifies only main's diagnostic import/call in the selected-WSL filesystem adapter; the other 28 production files and all 10 tests match 242d. It preserves this PR's ownership type, raw stderr and definitive absence classification. Native evidence carries without reruns. The fourteen contract source inputs include the merged adapter; the incoming diagnostic helper is a separate before/after pin, outside the immutable contract's fourteen-source receipt.
The complete PR spans 39 paths:29 production files, 965 additions/329 deletions;10 test files, 1100 additions/430 deletions. The historical older-base owned-path count 967/330 production includes incoming main's +2/-1. The programmatic LoC header was regenerated from the current GitHub file list. Test-only maintenance updates inherited runtime fixtures to current native contracts, makes the unknown-error filesystem fixture spyable and repairs the long-path runner seam; it adds no production behavior.
Deferred P3 concerns remain explicit: inherited apply rejection can omit a concurrent lock-loss warning; a narrow external marker-loss race can stop terminals before a later safe refusal. The latter has no proven new main-to-PR user regression or data-loss path, and is neither fixed nor wholly refuted. The duplicate-import CI issue was fixed in 3f1ca14171a8288f4edf1108bd2997347916d78f. The three bot threads were resolved with their dispositions recorded; thread resolution does not turn the two deferred concerns into fixes.
Current source 5b5d is clean and CI passes. The PR is out of draft; final mergeability is checked by the readiness gate. Native cleanup/config receipts retain their historical scope; WSL cleanup is separately qualified above. Local focused tests could not collect without built workspace packages, so no local test pass is claimed; normal commit hooks passed.
…is held open
Node's async recursive rm retries every nested entry separately and orphans
sibling walkers when it rejects, so deleting a workspace holding a live
browser profile multiplied filesystem work per directory level until the
main process hung. Delete Windows host trees with a walker that retries
whole passes from one shared budget and leaves nothing running on failure.
Also bound and log detached worktree removal, and fail a file transaction
whose proper-lockfile lock is compromised instead of throwing from its timer.
…om walker
Replace the hand-rolled tree walker with Node's own recursive rm and no
per-entry retries. Async rm gives each nested entry its own retry counter and
never stops siblings, which is what multiplied the work; with retries off each
pass is one bounded walk, and a transient Windows lock repeats the whole pass
from the existing 250/500/1000/2000 ms budget, checking the job's signal
between passes.
A failed delete now names the file another program holds open instead of
Node's EBUSY/EPERM text. Drop the 30-minute background deadline. The lost-lock
error no longer embeds the library's message and says the write may or may not
have been saved.
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
Walkthrough
The changes add native Windows worktree removal with repeated authorization checks and host-side checkout deletion. They expand filesystem access for Git metadata and orphan-directory proof. Desktop and runtime removal paths now use the native flow where applicable. Failed-removal records, retries, and listing behavior also change, with tests covering removal failures and replacement checkouts.
Priority: Normal
Merge Risk: Low · up to 81fd2
The held-root retry test covers failure and recovery, and the CI import issue is fixed. Two narrower risks remain: callers may miss a lost-lock warning, and a rare marker-loss race may stop terminals before deletion is refused. These warrant owner awareness or follow-up.
Pre-merge checks: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description contains detailed change and validation information, but it does not follow the required template. It omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, A…
Rewrite the description using every template heading. Add a plain-language ELI5 summary, structured change and rationale sections, an explicit linked issue entry such as Fixes #33722 or the applicable issue, Visual Proof with N/A and a …
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the primary Windows retry-removal fix.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description contains detailed change and validation information, but it does not follow the required template. It omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections. The issue reference is mentioned in prose but is not provided in the required Linked Issue section.
Resolution
Rewrite the description using every template heading. Add a plain-language ELI5 summary, structured change and rationale sections, an explicit linked issue entry such as Fixes #33722 or the applicable issue, Visual Proof with N/A and a reason if no UI change exists, a Testing section with completed checklist items and platform coverage, AI disclosure or the applicable internal-contributor omission, Review and Agent skill boundary sections, Notes covering the requested compatibility areas, and the completed Checklist.
Finishing Touches: 💡 1
📝 Generate docstrings
Commit to this branch
Create a new PR
🛠️ Fix failing CI checks: 💡
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This preflight duplicates assertRegisteredLocalWorktreePreflight.
Lines 138-168 match assertRegisteredLocalWorktreePreflight in src/main/ipc/worktrees/removal/registered-local-worktree-preflight.ts, including the orphan-compatible catch. Any fix to native refusal handling must then be made twice. Call the shared helper instead.
Proposed refactor
- try {- if (usesNativeWindowsRemoval(canonicalPath, localOptions)) {- ...- } else if (!markerMissing) {- ...- }- } catch (error) {- if (!isOrphanCompatiblePreflightError(error)) {- throw new Error(formatWorktreeRemovalError(error, canonicalPath, args.force))- }- }+ await assertRegisteredLocalWorktreePreflight(+ repo.path,+ canonicalPath,+ refreshed,+ args.force,+ localOptions,+ args.hasLocalOptions,+ ignoredLinkedPaths,+ markerMissing+ )
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 722e530c-4bc3-4ba9-9b6a-1b08d18c3108
Commits
Reviewing files that changed from the base of the PR and between c2ceb52 and b2dac6d.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
This logs the owning-metadata layout on every run of the layout test. It is a debug artifact. It adds CI noise and does not assert anything. Delete it. If the values matter, assert them with expect.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
When another program holds a checkout file open on Windows, Git can unregister the checkout before its folder is gone. Closing that program and choosing Delete again can then leave the workspace stranded.
This change removes checkout files before the Git marker, removes only the empty root afterward, and releases the target Git administration once the root is absent. A failed Delete keeps its row and close-and-retry advice, including when Git marks the markerless checkout prunable. A refused retry and an ordinary refresh preserve that existing failure; another Delete rechecks current ownership, locks and force. Nonempty replacement folders remain protected. No saved identity or wire field is added. Marker-last removal and the nonrecursive final root operation are intended differences from the common pattern.
Six review rounds are complete. Corrections retain owning-directory junction support, retry advice and the existing failed row through refusal/refresh until a successor deletion is accepted or an existing invalidator ends it.
Selected-WSL CLI integration independently passed on 5b5dd7e74f7f3365fba123d287e71f6b06ad457e. The unchanged contract ran once as native Windows Node under the isolated orcaqa run: Node, wrapper and terminal exited 0; all 13 assertion steps succeeded with zero failed assertion events. All 14 source pins matched before/after, and the diagnostic helper was separately qualified around the same process. Real selected-WSL reads preserved exact bytes and classified genuine absence correctly. Negative cleanup refused before the supplied watcher callback and preserved candidate/marker/sibling; positive production cleanup removed only the genuinely pruned orphan candidate, preserving owner and unrelated registration. The independent audit verified 54 exact originals and 72 comparisons without disagreement.
This proves CLI transport/filesystem/proof/owner-local cleanup composition, not rendered WSL Delete or desktop/runtime force/provenance authorization. Historical server build 7039 supplied transport only; the proof imported exact 5b5d source. Setup required official run-only Python and a same-file loader URI correction; frozen scripts-on install exited 0, while the optional cpu-features build failed and earlier setup failures remain recorded. The serialized lease lost timezone formatting; actual execution was independently within the original explicit UTC admission. 27/28 real-config hash observations were unchanged; Neil's .claude.json changed with no established cause, and contents were not read. Scoped graceful cleanup verified zero recorded survivors/listeners; no machine-wide claim is made. Ticket 2704 is released, and the lead and auditor terminals are closed.
Accepted Windows UI evidence covers browser-held failure, failed/pending graceful restart and released-browser retries on 3a603bf0535750718b33a3302468cf28386aa9be; previous-build setup used 7daa1fa56ee4f5d0520fb5eaf61e1c57a279648c. Empty-root retry, terminal-open normal Delete/unrelated workspace continuity and both owning-junction orderings passed on 85df9a934c05ca8858101b786c5fdfc7af1caa5e (empty-root failure originated on 3a). Final refusal → authoritative Git refresh → refusal passed on dcb6486c7f07019ad2165eb42b71e1cfb4f8f6f5: the same durable failure, row/Delete action, replacement sentinel and Git identities survived. Ordinary/bare real-Git contracts passed separately.
Desktop/runtime current-force integration contracts independently passed on 143da463f097450652e93859723d220587700c11: actual test exit 0,2 passed/0 failed/31 skipped, covering refusal, persisted failure/reload and explicit current-force completion. The exact original checkout Buffer is compared without normalization. The real-Git long-path desktop Delete contract independently passed on 242d4fc8a8e4637f0ae1b5c042bc0834129ca5b5: actual exit 0,1 passed/0 failed/17 skipped. It verifies removal of a checkout containing a file beyond 260 characters, target admin/registration, default-policy branch and host-qualified Orca metadata. These use store/lifecycle fixture seams; they do not establish rendered UI, durable Store, physical-handle, WSL or machine-wide cleanup behavior. Failed fixture receipts remain retained, and terminal-wrapper unknown-stop observations are separate from actual saved test exits.
These are actual run heads. Earlier scoped evidence carries through reviewed production 7ddb6b971678e547178adfb5ecbf53775d1fffcb; dcb6486c7f07019ad2165eb42b71e1cfb4f8f6f5 adds a test comment. Main merge 43d30cd9038f181014e138d00a937436336ffe65 preserves all 37 then-owned paths. Test-only 17858a408ae8a8f98be0373e767f0a39568f1419 preserves all 29 production files; test-only 143da corrects the checkout-byte invariant; test-only 38f1 updates obsolete native-route fixtures and the ESM fault fixture. Incoming-main merge 900539ea18c3d6dd5e5f51b5ebb6ce2a3340a6a9 contains main c23 and preserves all 38 then-owned paths, with zero own overlap. Test-only ea829 replaces obsolete fixtures with the real long-path case and corrects two runtime assertions; test-only 242d4fc8a8e4637f0ae1b5c042bc0834129ca5b5 repairs its runner namespace/import seam. All29 production paths remain unchanged through 242d. These merges and test/nonshipped commits do not constitute new whole-app runs.
Current clean head 5b5dd7e74f7f3365fba123d287e71f6b06ad457e includes the permitted conflict-blocking main merge for #34304. The independent merge audit identifies only main's diagnostic import/call in the selected-WSL filesystem adapter; the other 28 production files and all 10 tests match 242d. It preserves this PR's ownership type, raw stderr and definitive absence classification. Native evidence carries without reruns. The fourteen contract source inputs include the merged adapter; the incoming diagnostic helper is a separate before/after pin, outside the immutable contract's fourteen-source receipt.
For Brennan's review
Each screenshot below is an existing full-frame upload, labelled by its actual run:
Actual run / accepted UI outcome
Existing full-frame screenshot
3a — browser-held child failure
3a — failed state after graceful restart
3a — genuine pending deletion recovered after restart
No literal baseline/main retry frame is established. The historical failed-retry comparator belongs to cf400 and is not presented as main.
The sixteen-row E4-tsapi admission/registration contract passed on 85 with exactly one loader-provider substitution and unchanged thresholds: wrapper 12≤16, proof calls 12≤12; canonical operations ≤10 per proof is a separate bound. Realpath 0 limits its proof measurements to the lexical corpus. Real native Git/filesystem, injected EBUSY and substituted infrastructure do not prove WSL, physical locks, packaging, branch cleanup or latency/CPU/heap. E3 retains its original isolated-helper/injected-lock limits. Neither E3 nor E4 nor any accepted native/current-force/long-path flow will be rerun.
Invalid driver attempts remain excluded: 3a final-ui manifest overwrite, 2588 attachment after failed identity read and 2601 conflicting/stale-ref preparation. The earlier 2588 missing-row failure remains historical; the fresh dcb sequence accepts its correction. Acceptance rests on screenshots, catalog/DOM, disk/Git and durable-record receipts, not driver exit0 alone. Native cleanup audits record 0 owned survivors/listeners and 9 unchanged native config hashes at their specific checkpoints; they establish no broader resource/watcher claim. WSL cleanup is separately qualified above. Local focused-test collection lacked built workspace packages; no local test pass is claimed. Normal commit hooks passed.
Deferred P3 concerns remain explicit: inherited apply rejection can omit a concurrent lock-loss warning; a narrow external marker-loss race can stop terminals before a later safe refusal. The latter has no proven new main-to-PR user regression or data-loss path, and is neither fixed nor wholly refuted. The duplicate-import CI issue was fixed in 3f1ca14171a8288f4edf1108bd2997347916d78f. The three bot threads were resolved with their dispositions recorded; thread resolution does not turn the two deferred concerns into fixes.
The complete 39-path PR has 965 production additions/329 deletions and 1100 test additions/430 deletions against incoming main; the older-base production count 967/330 includes main's +2/-1. CI passes on 5b5d. The PR is out of draft; final mergeability is checked by the readiness gate. Six review rounds and the owed verification are complete; the two P3 concerns remain explicitly deferred.
Three human judgment spots, pinned to reviewed production 7ddb:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When another program keeps a checkout file open on Windows, Git can unregister the checkout before its folder is gone. Closing that program and choosing Delete again then leaves the workspace behind because the remaining folder no longer proves that it belongs to Git.
Remove checkout files before the checkout marker, remove only the empty root, then release target Git administration. Failed Delete keeps its workspace row and close-and-retry message even when Git marks the markerless checkout prunable. A refused retry and ordinary refresh preserve the existing failure until a successor deletion is accepted or existing cleanup ends it. Delete again checks current ownership, locks and force. Nonempty replacement folders remain protected; no saved identity or wire field is added.
Owning-directory discovery supports ordinary, bare, linked and separate Git layouts, including owning-directory junctions and aliases. Candidate/backlink proof retains its address boundary and accepts only structured missing-path observations. Selected-WSL metadata reads normalize missing-path diagnostics in the existing subprocess while preserving successful contents and refusing unknown errors. Native Windows uses metadata-last removal; POSIX, WSL, SSH and folder-workspace deletion routes retain their existing paths. Marker-last removal and the nonrecursive root operation are intended differences from the common pattern.
Follow-up to #33722 (merged); tracked in #33722. Full review path is required because this change governs deletion ownership, ordering and recovery. Six review rounds are complete. Fixes preserve supported owning-junction discovery, accurate retry advice and failed-row visibility through refusal/refresh. No additional round or production change is proposed.
Independently accepted Windows evidence covers previous-build setup/default terminals through graceful upgrade, browser-held failure, failed/pending restart and released-browser retries on 3a603bf (setup7daa1fa); empty-root retry, terminal-open normal Delete/unrelated workspace continuity and both owning-junction orderings on 85df9a9; and refusal → authoritative Git refresh → refusal on dcb6486, preserving the durable failure, visible row/Delete, replacement sentinel and Git identities. Separate desktop/runtime current-force contracts passed on143da463 (exit0,2passes), through refusal, persisted failure/reload and explicit-force completion. Real-Git long-path desktop Delete passed on242d4fc8 (exit0,1pass), verifying root/admin/registration/default-policy branch and host-qualified metadata removal with a file beyond 260 characters. The handler tests have store/lifecycle fixture seams; they do not establish rendered UI or durable Store behavior. Earlier failed fixture and invalid driver attempts remain excluded and retained; screenshots and underlying receipts, rather than driver exit0, support UI acceptance.
The sixteen-row E4-tsapi admission/registration contract passed on 85 with exactly one loader-provider substitution and unchanged thresholds: wrapper 12≤16, proof calls 12≤12; canonical operations ≤10 per proof is a separate bound. Realpath 0 limits its proof measurements to the lexical corpus. Real native Git/filesystem, injected EBUSY and substituted infrastructure do not prove WSL, physical locks, packaging, branch cleanup or latency/CPU/heap. E3 retains its original isolated-helper/injected-lock limits. Neither E3 nor E4 nor any accepted native/current-force/long-path flow will be rerun.
Selected-WSL CLI integration independently passed on
5b5dd7e74f7f3365fba123d287e71f6b06ad457e. The unchanged contract ran once as native Windows Node under the isolatedorcaqarun: Node, wrapper and terminal exited 0; all 13 assertion steps succeeded with zero failed assertion events. All 14 source pins matched before/after, and the diagnostic helper was separately qualified around the same process. Real selected-WSL reads preserved exact bytes and classified genuine absence correctly. Negative cleanup refused before the supplied watcher callback and preserved candidate/marker/sibling; positive production cleanup removed only the genuinely pruned orphan candidate, preserving owner and unrelated registration. The independent audit verified 54 exact originals and 72 comparisons without disagreement.This proves CLI transport/filesystem/proof/owner-local cleanup composition, not rendered WSL Delete or desktop/runtime force/provenance authorization. Historical server build 7039 supplied transport only; the proof imported exact 5b5d source. Setup required official run-only Python and a same-file loader URI correction; frozen scripts-on install exited 0, while the optional
cpu-featuresbuild failed and earlier setup failures remain recorded. The serialized lease lost timezone formatting; actual execution was independently within the original explicit UTC admission. 27/28 real-config hash observations were unchanged; Neil's.claude.jsonchanged with no established cause, and contents were not read. Scoped graceful cleanup verified zero recorded survivors/listeners; no machine-wide claim is made. Ticket 2704 is released, and the lead and auditor terminals are closed.These are actual run heads. Earlier scoped evidence carries through reviewed production
7ddb6b971678e547178adfb5ecbf53775d1fffcb;dcb6486c7f07019ad2165eb42b71e1cfb4f8f6f5adds a test comment. Main merge43d30cd9038f181014e138d00a937436336ffe65preserves all 37 then-owned paths. Test-only17858a408ae8a8f98be0373e767f0a39568f1419preserves all 29 production files; test-only 143da corrects the checkout-byte invariant; test-only 38f1 updates obsolete native-route fixtures and the ESM fault fixture. Incoming-main merge900539ea18c3d6dd5e5f51b5ebb6ce2a3340a6a9contains main c23 and preserves all 38 then-owned paths, with zero own overlap. Test-only ea829 replaces obsolete fixtures with the real long-path case and corrects two runtime assertions; test-only242d4fc8a8e4637f0ae1b5c042bc0834129ca5b5repairs its runner namespace/import seam. All29 production paths remain unchanged through 242d. These merges and test/nonshipped commits do not constitute new whole-app runs.Current clean head
5b5dd7e74f7f3365fba123d287e71f6b06ad457eincludes the permitted conflict-blocking main merge for #34304. The independent merge audit identifies only main's diagnostic import/call in the selected-WSL filesystem adapter; the other 28 production files and all 10 tests match 242d. It preserves this PR's ownership type, raw stderr and definitive absence classification. Native evidence carries without reruns. The fourteen contract source inputs include the merged adapter; the incoming diagnostic helper is a separate before/after pin, outside the immutable contract's fourteen-source receipt.The complete PR spans 39 paths:29 production files, 965 additions/329 deletions;10 test files, 1100 additions/430 deletions. The historical older-base owned-path count 967/330 production includes incoming main's +2/-1. The programmatic LoC header was regenerated from the current GitHub file list. Test-only maintenance updates inherited runtime fixtures to current native contracts, makes the unknown-error filesystem fixture spyable and repairs the long-path runner seam; it adds no production behavior.
Deferred P3 concerns remain explicit: inherited apply rejection can omit a concurrent lock-loss warning; a narrow external marker-loss race can stop terminals before a later safe refusal. The latter has no proven new main-to-PR user regression or data-loss path, and is neither fixed nor wholly refuted. The duplicate-import CI issue was fixed in
3f1ca14171a8288f4edf1108bd2997347916d78f. The three bot threads were resolved with their dispositions recorded; thread resolution does not turn the two deferred concerns into fixes.Current source 5b5d is clean and CI passes. The PR is out of draft; final mergeability is checked by the readiness gate. Native cleanup/config receipts retain their historical scope; WSL cleanup is separately qualified above. Local focused tests could not collect without built workspace packages, so no local test pass is claimed; normal commit hooks passed.