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
Lab: corpus run of a +dirty build skips the blowup trees instead of refusing the whole run #87
Lab issue (neospector lua/myemmylabcli.lua, corpus_run / unsafe_at). Part of #17.
What happened
AGENTS.md "Measuring": judge an engine experiment with gndx emmylua build . (uncommitted changes included) → corpus run LABEL <its emmylua_check> → corpus diff BASE LABEL. A +dirty build has no commit (stamp_commit reads +dirty as none, #55), so unsafe_at treats every lab.BLOWUPS tree as unsafe, and corpus run stops before the first tree with exit 2 because mason.nvim is in the corpus. The documented path fails every time; the hint says to add --skip=mason.nvim by hand (2026-11-24, #86).
Why
corpus run fails early for an unknown commit on purpose (2026-11-21 retro 1): a blowup refused only at its turn ends an hour's run with exit 1. Failing early fixed that, but a +dirty build always lands in the failure.
Proposed (unprobed)
When the commit is unknown, drop the unsafe trees as --skip would and say so in the run's first lines. The run is then a subset run, and corpus diff counts mason as skipped, not as a refusal. Recording mason as refused instead would make corpus diff against a base where mason finished exit 2 (refused vs finished). That is the step this path exists for. A known commit without the fix (0.25.1 over mason) still records the tree as refused, which the bases need.
lab.blowup_plan(names, unsafe, known) replaces lab.refusals. A known commit without the fix records the tree as refused, as before (0.25.1 over mason, which the bases need). An unknown commit leaves its unsafe trees out as --skip would and prints the skip before the first tree. If that leaves no tree, it fails with exit 2.
--skip now builds its kept list through pick, the same path the plan uses.
The corpus diff SUBSET line no longer says "outside --trees" (a skipped blowup makes a subset too).
Driven on the real +dirty build in worktrees/main (7f7ae3a+dirty): corpus run scratch87-1124 … --trees=mason.nvim,nui.nvim printed skipping mason.nvim (OOM: …) for unknown commit: a +dirty build on 7f7ae3aa45 …, ran nui (2613 hits) and exited 0. corpus diff fix86-1124 scratch87-1124 exited 0 with 0 changed lines, the rest counted as SUBSET. --trees=mason.nvim alone exited 2 with no tree to run. The scratch label was dropped.
Tests: blowups/theRefusalsOfARunAreKnownUpFront (rewritten) and anUnknownCommitSkipsTheUnsafeTreesAndRunsTheRest (new; red before the change). gndx gate PASS (1276 nodes).
Not done (option): a +dirty stamp could record at build time which blowup markers the worktree had, so a dirty build that carries the fix could run mason. That adds to the stamp format, so it waits for a need.
Activity
gndx emmylua, Lua-side gates) #17mareklangiewicz commentedon Nov 24, 2026
Fixed: neospector myvi 15f6589, fork docs ce4156a (both unpushed).
lab.blowup_plan(names, unsafe, known)replaceslab.refusals. A known commit without the fix records the tree asrefused, as before (0.25.1 over mason, which the bases need). An unknown commit leaves its unsafe trees out as--skipwould and prints the skip before the first tree. If that leaves no tree, it fails with exit 2.--skipnow builds its kept list throughpick, the same path the plan uses.corpus diffSUBSET line no longer says "outside --trees" (a skipped blowup makes a subset too).+dirtybuild inworktrees/main(7f7ae3a+dirty):corpus run scratch87-1124 … --trees=mason.nvim,nui.nvimprintedskipping mason.nvim (OOM: …) for unknown commit: a +dirty build on 7f7ae3aa45 …, ran nui (2613 hits) and exited 0.corpus diff fix86-1124 scratch87-1124exited 0 with 0 changed lines, the rest counted as SUBSET.--trees=mason.nvimalone exited 2 withno tree to run. The scratch label was dropped.blowups/theRefusalsOfARunAreKnownUpFront(rewritten) andanUnknownCommitSkipsTheUnsafeTreesAndRunsTheRest(new; red before the change).gndx gatePASS (1276 nodes).Not done (option): a
+dirtystamp could record at build time which blowup markers the worktree had, so a dirty build that carries the fix could run mason. That adds to the stamp format, so it waits for a need.docs: a +dirty corpus run skips mason.nvim, and corpus diff counts it…