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
Bootstrap: no test executes the kept skills tree swap and rollback #1780
The kept skills tree swap in host-setup/bootstrap.sh and host-setup/bootstrap.ps1 works like this: extract to .new, move the current tree aside to .old, rename .new into place, and remove .old last. If a swap stops between the two renames, the old tree is put back.
No automated test runs that sequence. scripts/tests/test_bootstrap.py only checks static loader invariants and spec coverage. A reordered step, or a regression in the rollback, could pass CI while breaking the guarantee that a failed run leaves the previously registered tree intact.
A test should run the swap against a temporary directory, inject a failure at each step, and assert what tree is left on disk. The Bash loader can be covered on Linux CI. The PowerShell loader needs a native Windows run, which is the same boundary #1756 has.
Activity
Promote the Bootstrap's Kept Skills Tree to Main (#1774)
ptr727 commentedon Sep 24, 2026
Duplicate of #1767, which already tracks an executed test of the kept-tree swap and rollback. The two file:line locations are copied there.