Repository navigation
v0.4.0 — overnight-orchestrator milestone
The overnight-orchestrator milestone: bugsweep grows from a single-run bug hunter into a fleet a headless scheduler can drive unattended and tear down cleanly. The trust contract is unchanged — the core run still never touches remotes, and you are still the only merge gate. The worst case is a branch you delete.
Added
- Deterministic, schema-valid
run-summary.json(bugsweep-mu3) —finalize.shalways writes a machine-readable summary (status, coverage, severity counts, fixed/quarantined/confirmed-unfixed) a scheduler can branch on instead of parsing model prose. Falls back to a minimal"degraded": truesummary if full reduction can't run; it always exists after finalize. - Run-summary enrichment + cross-run aggregation (
bugsweep-xdw) —root_cause_clusters, afollow_up"where to look next" frontier, andaggregate-summaries.sh(all backward-compatible optional fields). - Worktree isolation for concurrent runs (
bugsweep-p74) —preflight.sh --worktreeisolates each run in a linked worktree so multiple sibling subagents can hunt one repo at once without colliding or touching your checkout. - Incremental, checkpointed context-build with a deterministic batch plan (
bugsweep-e1r). - Optional static-analyzer seeding, off by default (
bugsweep-042) —analyzers.shfeeds semgrep/gosec/bandit hits to the Referee as corroboration, never a replacement for adversarial review. - Serialized, re-verifying multi-branch merge (
bugsweep-5e8) —integrate.shlands verified fix branches one at a time, re-running the gate after each and stopping cleanly on the first failure. - A deadline that always finalizes (
bugsweep-5ft) — the runtime cap routes straight tofinalize.sh, so a run that runs out of time still restores the branch and writes its report, summary, and handoff. - GitHub Pages marketing page (
docs/index.html) + a refreshed README documenting the above.
Changed
- Flaky-aware revert (
bugsweep-ml7) — a newly-failing test is rerun (default 3×); only a strict majority of passing reruns reclassifies it FLAKY and skips the revert. Reruns share the run's tree/environment (not full isolation), so any fix landing flaky is surfaced loudly, never silently. - Concurrency hardening (
bugsweep-re9) — lease heartbeat + single-winner stale-lock adoption.
Fixed
- Crash-safe teardown (
bugsweep-8d0) — the worktree/branch reaper reclaims only on positive evidence a run is dead/done; anything dirty, unmerged, or ambiguous is preserved. Closes seven data-loss paths found in adversarial re-review.
Verified green: 169 bats · 315 pytest @ 98.89% coverage · shellcheck clean.
Install: curl -fsSL https://raw.githubusercontent.com/shanemhamilton/bugsweep/main/install.sh | bash — or pin this release with --version v0.4.0.
Full changelog: https://github.com/shanemhamilton/bugsweep/blob/v0.4.0/CHANGELOG.md