From 631146f6beb26d5fd2e7c3d90e18ceb8b0c77d8a Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 19 Nov 2026 17:13:33 +0000 Subject: [PATCH 1/2] M3.7e follow-ups: sweep fail streak resets across a gap; digest row names the sweep wait MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - _sweep.observe: a failed run-list read more than SWEEP_STREAK_GAP_S (600 s) after the previous read attempt starts a fresh streak, so the 30-minute unknown rule counts only continuous failures inside one run of ticks. - _digest: a PR in counters["sweep_waits"] reads "waiting: workspace sweep unknown since " in its own row (plain word "Waiting — workspace sweep unknown"), beside the merge-order wait. Workspace sweep section unchanged. - AUTONOMY.md S4 and batch AGENTS.md record the gap rule. - Tests: LateLibs spawner; streak-gap, continuous-hold and digest-row tests; r1_2/r2_1 tests now tick a few minutes apart. Refs PyAutoLabs/PyAutoBrain#694 Co-Authored-By: Claude Opus 5.5 --- AUTONOMY.md | 5 +- agents/conductors/batch/AGENTS.md | 4 +- agents/conductors/batch/_digest.py | 11 +++ agents/conductors/batch/_sweep.py | 14 +++- tests/test_shift_end_sweep.py | 107 ++++++++++++++++++++++++++--- 5 files changed, 125 insertions(+), 16 deletions(-) diff --git a/AUTONOMY.md b/AUTONOMY.md index 21c14eb..5f68597 100644 --- a/AUTONOMY.md +++ b/AUTONOMY.md @@ -592,8 +592,9 @@ Watcher latency (M3.7c, the human's plan decisions of 2026-11-19): failing workspace the watcher cannot map, or a report it cannot read, blocks every library, chain and workspace repo. A run list that has failed on every read for 30 minutes (from the first failure; any good - read resets it) holds those repos' PRs instead: a wait, not a refusal, - as `workspace sweep unknown: run list unreadable since