Skip to content

feat: shift-end cloud workspace sweep, red blocks unattended merges (M3.7e) #692

Closed

Description

@Jammy2211

Overview

M3.7e of the autonomous-orchestrators epic (phase 10, "M3.7 Shift speed"), the last M3.7 task. Ruling S4 (human, 2026-11-19): the watcher dispatches Heart's workspace-smoke.yml once at shift close and reads its runs; the digest says which SHAs the workspaces are verified through; a red sweep blocks unattended merges on the affected repos (this shift and the next) until a later green sweep or the human's /clear-sweep, and files one bug draft naming the failing scripts and the suspect PRs. Nothing is reverted or bisected unattended.

Prompt: PyAutoMind/active/shift_end_cloud_sweep_and_red_block.md

Plan

  • Dispatch at close (early close or review-at), only when the shift merged a library or workspace PR, exactly once (marker before the call); under the human's gh login (human decision b); Heart repo from config.
  • Per tick: one gh run list of the sweep on main; once per run id: the workspace-smoke-shas artifact (M3.7d) and, for a red run, the workspace-validation-report artifact; cached in the orchestrator home.
  • Red block: failing workspaces → repos via Heart smoke.workspaces.<name>.chain (+ the workspace repo; howto* map to their auto* sibling; unknown → every library); PRs on those repos refused for /prm with workspace sweep red: <run url>; running close-outs get a <task>.sweep-red marker checked before merging.
  • Clearing: a later green sweep on main, or the new steer command /clear-sweep (human's login only; clears the latest red run id; recorded in the orchestrator home; acknowledged in the status comment).
  • One bug draft per red run through the one Mind writer (idempotent on run id), with failing scripts and the suspect PRs from one compare read per affected repo.
  • Digest: "workspaces verified through <sha>" per library, "sweep running: ", or the red block and its bug draft.
  • AUTONOMY.md: S4, red handling, /clear-sweep, and the network-surface amendment (one dispatch per shift, one run list a tick, artifact downloads once per run id, compare reads once per repo per red run).
  • Tier + merge mode: effective level: supervised; merge mode: human /prm

Original prompt

See PyAutoMind/active/shift_end_cloud_sweep_and_red_block.md (ruling S4; Witness items 1–7).

Activity

  1. Jammy2211 commented on Nov 19, 2026

    @Jammy2211
    ContributorAuthor

    Shipped

    PR #693 merged to main (730d065, 2026-11-19, human /prm). Ruling S4: the watcher dispatches workspace-smoke.yml once at shift close (under the human's gh login), reads its runs each tick, blocks unattended merges on the repos a red sweep affects until a later green sweep or /clear-sweep, and files one bug draft per red run naming the failing scripts and suspect PRs. Nothing reverts or bisects unattended. Two low follow-ups are listed in the PR.

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