Repository navigation
fix(windows): pre-release audit hardening and cross-CLI parity - #2243
Merged
Merged
Conversation
Close pre-release audit gaps in Mole CLI (Windows):
- Deduplicate Feishu/Lark aha\users\global\profile_global cache leaves between $electron and Clear-FeishuProfileCaches so dry-run does not double-count them.
- Check deep descendant whitelist entries (literal and wildcard), re-query the cache root at the mutation boundary, and accept ExternalScript uv shims in Clear-UvCache.
- Pin GOTOOLCHAIN=local alongside GOFLAGS=-modcacherw in Clear-GoCaches.
- Run bun pm cache / bun pm cache rm from a Mole temp directory holding {} package.json for Bun 1.4 compatibility.
- Normalize forward slashes and leading tilde in Get-UncoveredDefaultSearchPaths.
- List discovered installers and return cleanly when mo installer runs without an interactive console.
- In mo analyze: switch colorGray to ANSI faint (\033[0;2m), invalidate ancestor overviewSizeCache and overview history rows on Downloads refresh, and reserve trailing hint space on 90-121 column terminals.
- Record CLI-SYNC-36 in SYNC.md.
Verified locally with gofmt, GOOS=windows go build ./cmd/..., GOOS=windows go test -c ./cmd/analyze, check_guidance_budget.py, check_source_bans.py --self-test, check_incidents.py, and tests/review_gates_test.py; native PowerShell 5.1, pwsh 7, and Windows Go tests verified by Windows CI on this PR.
tw93
force-pushed
the
fix/windows-pre-release-audit
branch
from
December 5, 2026 02:59
ee48e93 to
03fa8df
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pre-release audit hardening and cross-CLI parity pass for Mole CLI (Windows):
Clear-AppCaches(already covered byClear-FeishuProfileCaches).uv cache dirat the delete boundary inClear-UvCache.GOTOOLCHAIN=localinClear-GoCachesand runbun pmfrom a temppackage.jsondirectory for Bun 1.4./and~inGet-UncoveredDefaultSearchPaths.mo installerruns without an interactive console.Old Downloadsoverview cache/history onrrefresh, and reserve hint width on 90-121 col terminals.SYNC.md(CLI-SYNC-36).