Files
Niko1221 630e3a3df4 P1: a typed strata in PowerShell is always strata.cmd (no strata.ps1 in the PATH folder)
install.ps1 puts terminal\current\bin on the user PATH. That folder held strata.cmd and strata.ps1; PowerShell runs the .ps1 first, and the
Windows default execution policy (Restricted) refuses scripts, so a typed `strata` failed with "running scripts is disabled on this system"
(Strix t27a, the owner PC's install; also in 0.2.14 / 0.2.15).

strata.ps1 does the same job as strata.cmd; its only extra is exact argument passing for & | < > ^ in an argument without a space. Nothing
in the product calls it. The archive now carries it as bin\strata-direct.ps1 (for scripts, run with -ExecutionPolicy Bypass -File), so
`strata` can only mean strata.cmd, in every shell and under every execution policy.

An install made by 0.2.15 or earlier keeps its strata.ps1 (strata update never touches the install's bin folder): the first command a new
Control runs renames a stale strata.ps1 that sits beside strata.cmd in a PATH folder or in the installer's own folder to strata-direct.ps1
(Windows only, only a file with Strata's own header, every failure swallowed, one line to stderr for support). Re-running install.ps1 heals it too.

Tests: terminal/tests/terminal/test_launcher_heal.py (12), test_packaging_pins, test_cyrillic_paths; smoke_terminal runs strata-direct.ps1.
2026-11-18 10:47:12 +01:00
..