Skip to content

fix: M3.1 live-shift findings — re-dispatch reserve, parked tasks, repo claims, backlog reach ruling, close-out clean-up #637

Closed

Description

@Jammy2211

Overview

Fixes from the M3.1 live shifts of 2026-11-14 (PyAutoLabs/PyAutoMind#570 and #571, Brain 7be8e94), epic autonomous-orchestrators, before the M3.2 shifts. Full detail: PyAutoMind draft/bug/pyautobrain/m31_live_shift_findings.md (items 1–9), plus items 1–2 of draft/bug/pyautobrain/closeout_cleanup_followups.md.

  1. Re-dispatch reserve. A killed worker must be re-dispatchable even when backlog dips have used max-sessions. Reserve one session, or let a re-dispatch go +1.
  2. Killed and not re-dispatched reads as crashed with the reason, never "Not started".
  3. A parked-on-question task is not startable until answered. This includes a prompt still in draft/.
  4. Repo claims across shifts: the planner skips tasks whose repos are claimed in active.md on origin/main, unless the claim records human-authorized coordination.
  5. Calibration-gate lag: a freshly pushed review-minutes-actual counts within one tick.
  6. Human ruling 2026-11-16 (backlog reach): backlog: scoped takes queue.md first, then only Difficulty: small single-repo backlog tasks. Anything bigger must be queued by the human. Add one dated sentence to AUTONOMY.md recording the ruling (authorized). Change no other doctrine.
  7. Organ excludes by rule: the planner never dips PyAutoBrain/PyAutoMind/PyAutoHands targets. A shift never changes its own watcher, writer or release path.
  8. Token reservation maths: the token cap binds before the session cap when it is sized to.
  9. PR keys: a worker's active.md row must use library-pr:/workspace-pr:. Enforce this in the template or the writer's validation.
  10. (closeout-cleanup 1) An unattended merge removes the task's worktree and local branch, the way /prm does, or says why not in the digest.
  11. (closeout-cleanup 2) In-turn notify merges retire their queue.md entry too.

Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary

Witness

  • One offline test per item that fails on 7be8e94.
  • Re-run the M3.1 tonight dry-run harness (Science/scratch/m3_1_prep/tonight/) on the branch. Show that items 1–4 behave as fixed: the re-dispatch happens after an early dip, no re-pick of a parked task, and no repo-claimed pick.
  • The full Brain suite passes.

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions