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
scripts/run-consolidation.sh:242 leaks .tail-*/.prefix-* staging temp files on msys/Git Bash #526
Found by the gate-3 release audit (v0.25.0..HEAD) ahead of the 0.26.0 release, priority:low.
rm -f "${staging_path}".tail-* "${staging_path}".prefix-* (line 242, .prefix-* added in this same delta by #509) globs a staging_path that inherits REMEMBER_DIR's backslashes on msys/Git Bash, in the same file whose snapshot sweep 134 lines above was already normalized into _remember_consolidate_glob_dir by #517.
On msys the cleanup glob never matches, so one stray .tail-XXXXXX/.prefix-XXXXXX file accumulates per failed consolidation split, indefinitely.
This is not covered by any row in the ranking table (skills/manager/SKILL.md): nothing is destroyed (the defect is that a cleanup silently never fires), nothing is lost that must be preserved (the audit that found this confirmed these temps are inert -- the filename does not end in .md and nothing else globs them), and nothing is reported wrongly (no receipt mentions them at all). Reported unranked rather than forced into the nearest row.
Consequence, stated plainly since no row weighs it for the release gate: bounded and non-destructive -- one small stray file accumulates per failed split, on one platform.
The fact that would settle it: count today-*.md.tail-*/.prefix-* files in a Git Bash store after a forced split failure.
Fix: normalise staging_path (or the glob pattern) through the same helper the snapshot sweep above already uses.
Cross-platform claim above is reasoned, not observed.
Activity
fix: 3 more Windows glob sites survive #517's sweep (#524, #525, #526) (