fix(windows): isolate the ACL verifier from the PowerShell 7 module path (#508)

Supersedes #161 by @michaelhan1208, ported onto the current component layout with fixes from review.

Verified before merge: format, package boundaries, unit suite, build, and the browser tracking suite; a browser harness for the change where one applies; adversarial review applied.

Co-authored-by: michaelhan1208 <[email protected]>
This commit is contained in:
Bilawal Sidhuandmichaelhan1208 authored and GitHub committed 2026-09-14 19:38:28 -05:00
1 parent 70dca86bc1
commit 94f5e4dd45
4 files changed
+169 -2

No files matched your search

+10
View File
@@ -263,6 +263,16 @@ of current runtime behavior, see [`docs/CURRENT-STATE.md`](docs/CURRENT-STATE.md
reported as such instead of as "already up to date", and if the revision to
apply cannot be resolved at all the update stops without installing anything
and exits unsuccessfully. Contributed by Lob26 (#356).
- On Windows, the credential-file hardening step verifies the file's permissions
through the system PowerShell. A side-by-side PowerShell 7 install prepends its
own module directories, which the 5.1 verifier cannot load, so the check failed
and the credential was refused. The verify script now sets its module path from
the running interpreter's own home, and the environment it is launched with
carries that one value and no differently cased alias of it. The tests that
cover it drive a stubbed process launcher, so what they check is the command
and environment the code builds; the Windows onboarding CI job now also runs
this file, where its one Windows-only case exercises the real hardener against
real native tools. Contributed by michaelhan1208 (#161).
- Extract panel disclosure and hover/focus controls into a reusable module;
cancel their listeners and pending work during replacement and teardown.