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
tests/test_repos_sweep_health_cmd.py fails locally with 6 failures. All are repos_cmd.sweep_run(...) returning 1 instead of 0 inside isolated tmp_path fixtures.
sweep_plan succeeds repeatedly in the same tests; only sweep_run fails. sweep_run is the step that actually executes the configured health command (center-report-build), so the failure is in command execution, not planning.
Not BRIGADE_CLAUDE_SESSION leaking into the test environment. Fails identically with and without the variable set.
Not caused by uncommitted work. Same failures on a checkout without local changes.
Timing note
The full suite passed twice earlier the same day (two ./scripts/verify runs, exit 0, 4218 passed) and then began failing roughly seven hours later on the same machine with no intervening source change to this module. That points at environment- or state-dependence in what sweep_run shells out to, rather than a code regression, but the trigger is not yet isolated.
Impact
./scripts/verify is the documented Definition of Done gate. While this fails, every local completion check fails, and agents following AGENTS.md cannot report a green gate for unrelated work.
What
tests/test_repos_sweep_health_cmd.pyfails locally with 6 failures. All arerepos_cmd.sweep_run(...)returning1instead of0inside isolatedtmp_pathfixtures.Representative assertion:
sweep_plansucceeds repeatedly in the same tests; onlysweep_runfails.sweep_runis the step that actually executes the configured health command (center-report-build), so the failure is in command execution, not planning.Repro
Reproduces on a clean checkout of
mainwith no working-tree changes.Ruled out
init.defaultBranchdefaulting tomaster. The fixture now pinsgit init -b mainexplicitly, and the comment documenting that guard is still in place.BRIGADE_CLAUDE_SESSIONleaking into the test environment. Fails identically with and without the variable set.Timing note
The full suite passed twice earlier the same day (two
./scripts/verifyruns, exit 0, 4218 passed) and then began failing roughly seven hours later on the same machine with no intervening source change to this module. That points at environment- or state-dependence in whatsweep_runshells out to, rather than a code regression, but the trigger is not yet isolated.Impact
./scripts/verifyis the documented Definition of Done gate. While this fails, every local completion check fails, and agents following AGENTS.md cannot report a green gate for unrelated work.