Port classis full-test.sh as the Museion verify rail + pre-push hook #190
Notifications
Due Date
No due date set.
Blocks
#191 SwiftLint baseline — the lint gate fails only on NEW violations
AlexKucera/museion
Reference: AlexKucera/museion#190
Reference in new issue
Block a user
What to build
One command verifies a branch. Port classis's
scripts/full-test.sh(matured through classis #649–#729; source commit071966eon AlexKucera/classis) to Museion and adapt it:run/start(detached) /status/summary [run-dir]xcresulttool get test-results summary, never grepped output (#31/#178)-only-testingfilter that matches zero executed tests FAILS the run (#31/#134 vacuous-green trap — bit 2 of the last 10 sessions)--serializedrerun escape hatch: a parallel-load flake settles via a serialized rerun and that green is the record (#30/#147 family, the #179 repoint pin)statuswedge detection (#134 machine-wedge family — the stuck test is named, not held silent)start+statuspolling as the sanctioned long-suite pattern (replaces the #177 build-for-testing / test-without-building split under the delegation timeout cap)-only-testing:MuseionTests), EngineSmokeTests' child-process latency accounted for in timeout defaultsPlus the hook pair:
scripts/install-hooks.sh(git config core.hooksPath) and apre-pushhook — lint gate, no-push-while-a-run-is-live, and the autofix-modified-tree guard (a lint autofix pass that rewrites files after verification fails the push).Context: the 2026-11-16 session retro measured the hand-typed version of this loop at 29% of all terminal calls across the last 10 sessions (77 xcodebuild + 76 hand-rolled xcresult reads in ≥8 incantation variants).
Acceptance criteria
scripts/full-test.sh runon clean main: build + full unit suite; summary prints executed/passed/failed from xcresulttool; exit code agreesstart+statusdetached pattern survives the caller's tool-call timeout;statusexits 3 while a run is live--serializedrerun green is recorded as the run's resultstatusnames the stuck test / flags a wedge during a live runscripts/install-hooks.sh+ pre-push: blocks push while a run is live; fails on lint; fails if the autofix pass modified the treeBlocked by
None (can start immediately).
[Generated by AI]