Skip to content

feat: retire park-at-ship for supervised --auto runs (decide-and-flag) #363

Closed

Description

@Jammy2211

Overview

Under an explicit --auto launch, an effective-supervised run that reaches the ship checkpoint currently parks (awaiting-input, question on the issue). The human then answers that question and later reviews the same judgement again at merge. This task retires the park for --auto launches only: the ship checkpoint resolves to decide-and-flag (open the PR, never merge, flag the decision in the PR body under the existing one-per-PR rule). The PR review is the human approval the supervised level exists to provide. Interactive supervised runs keep parking; human-required, Unattended: never and Blocked-by: are unchanged. The batch planner stops rejecting supervised prompts as "would park at ship" (human-required stays rejected).

Human direction (2026-08-31): "I dont really want these parked at ship judgements, ideally we send off a batch and then dont think about it again, the parked thing is an annoying middle ground which requires human time."

Plan

  • Edit AUTONOMY.md: the supervised "Ship PR sign-off" cell, the end of "Checkpoint-and-continue", and the decide-and-flag section (rescoped from batch launches to --auto launches, dated 2026-09-07, evidence and revert condition recorded); every existing limit stays.
  • Update skills/start_dev/start_dev.md (--auto supervised bullet) and skills/batch/batch.md (rejection example) to match.
  • Batch planner admits supervised members; rejects only human-required; BatchDecision shows the effective level for supervised members.
  • Tests: rewrite the batch-plan admission test; add a doctrine pin for the new scope sentence and revert condition.
Detailed implementation plan

Affected Repositories

  • PyAutoBrain (primary)

Work Classification

Library (organ repo)

Branch Survey

Repository Current Branch Dirty?
./PyAutoBrain main (65d2006) clean

Suggested branch: feature/batch-no-park-at-ship
Worktree root: ~/Code/PyAutoLabs-wt/batch-no-park-at-ship/

Implementation Steps

  1. AUTONOMY.md levels table, "Ship PR sign-off" / supervised cell: append "— except under an explicit --auto launch, where it resolves to decide-and-flag (below)".
  2. AUTONOMY.md end of "Checkpoint-and-continue" (the "Ship sign-off and merge park the task" sentence): interactive supervised runs park at ship sign-off; under --auto the ship checkpoint resolves to decide-and-flag; merge parks always.
  3. AUTONOMY.md rename ### Decide-and-flag (batch launches only) — 2026-08-30 to ### Decide-and-flag (\--auto` launches) — 2026-08-30, extended 2026-09-07; add a dated paragraph: the PR review is the supervised approval, the mid-run park is a redundant second checkpoint; evidence 2026-08-31 (PyAutoFit#1554, PyAutoMemory#76 decide-and-flag; PyAutoHands#272, PyAutoFit#1552, euclid#47 parked); scope: --autoonly, interactive supervised unchanged,human-required/Unattended: never/Blocked-by:unchanged. Keep all limits (one flagged decision per PR; rejected alternative + one-command revert; never public API / default / error contract / external reporter's file; neverjudgetier;decision-takenlabel). Extend the revert condition: a supervised--auto` run opening a PR the human would have wanted stopped before it existed returns the ship checkpoint to park-and-ask.
  4. skills/start_dev/start_dev.md --auto bullet 3: supervised under --auto takes decide-and-flag at the ship checkpoint (link the section); parks only on a second judgement gate or a hard blocker.
  5. skills/batch/batch.md rejection vocabulary: autonomy human-required — would park at ship.
  6. agents/conductors/batch/_batch.py pool loop: reject only human-required; admit supervised; rewrite the rationale comment; show the level on supervised members in emit().
  7. tests/test_batch_plan.py: test_only_safe_work_is_dispatched becomes test_human_required_work_is_never_dispatched (supervised admitted, human-required rejected with the reason string). New tests/test_autonomy_doctrine.py pins the --auto scope sentence and the revert condition.

Key Files

  • AUTONOMY.md — levels table, checkpoint-and-continue, decide-and-flag
  • agents/conductors/batch/_batch.py — admission rule
  • skills/start_dev/start_dev.md, skills/batch/batch.md — skill text
  • tests/test_batch_plan.py, tests/test_autonomy_doctrine.py — pins

Witness

AUTONOMY.md's supervised ship-checkpoint section states the rule with a dated entry and a revert condition, and pyauto-brain batch plan on the current backlog admits supervised members (the three supervised prompts rejected on 2026-09-07 appear as taken, not rejected).

Original Prompt

Click to expand starting prompt

Retire parked-at-ship under --auto: supervised resolves to decide-and-flag

Type: feature
Target: pyautobrain
Repos:

  • PyAutoBrain
    Themes:
  • mind-workflow
    Difficulty: small
    Autonomy: human-required
    Priority: high
    Status: formalised
    Consequence: judge
    Review-minutes: 15
    Unattended: never
    Filed: 2026-08-31

Human direction (2026-08-31, verbatim):

"""
I dont really want these parked at ship judgements, ideally we send off a batch
and then dont think about it again, the parked thing is an annoying middle
ground which requires human time.
"""

Doctrine change to AUTONOMY.md (human-required — this is a gate edit, to be made
with the human in the loop, not by an unattended run):

Under an explicit --auto launch, an effective-supervised run reaching the
ship checkpoint does not park. It resolves to decide-and-flag: open the PR
(never merge), and flag the decision in the PR body per the existing one-per-PR
rule. The contract already ends every autonomous run at PR-open with merge left
to the human, so the PR review IS the human approval the supervised level
exists to provide
. A mid-run park is a redundant second checkpoint: it costs
the human a GitHub-issue round-trip before a PR even exists, and then asks them
for the same judgement again at merge.

Evidence, 2026-08-31: two supervised-capped --auto runs took the
decide-and-flag branch (PyAutoFit#1554, PyAutoMemory#76) and produced exactly
the desired experience — everything at a PR, one review surface; three runs took
the park branch (PyAutoHands#272, PyAutoFit#1552, euclid#47) and each required a
separate human judgement before a PR existed.

Scope: --auto launches only — interactive supervised runs keep the park
behaviour, because there the human is present and the round-trip is free.
human-required and Unattended: never are unchanged and never run unattended.
Blocked-by: unchanged.

Witness: AUTONOMY.md's supervised ship-checkpoint section states the rule with a
dated entry and a revert condition, and the next --auto run with a
supervised-capped member ends with a PR, not a park.

Activity

  1. Jammy2211 commented on Sep 7, 2026

    @Jammy2211
    ContributorAuthor

    PR opened: #365. Ends at PR-open; merge is human (/prm).

  2. Jammy2211 commented on Sep 8, 2026

    @Jammy2211
    ContributorAuthor

    Shipped — merged in #365 (merge 6383373).

    • AUTONOMY.md: under an explicit --auto launch an effective-supervised run no longer parks at the ship checkpoint; it resolves to decide-and-flag and ends at PR-open. Section rescoped to every --auto launch, dated 2026-09-07, every limit unchanged, second revert condition added. Interactive supervised runs, human-required, Unattended: never and Blocked-by: unchanged.
    • Batch planner admits supervised members, rejects only human-required; start_dev and batch skill text match.
    • Witness (on the PR): the same backlog went from 4 members / 91 supervised rejections to 10 members / 0.

    Completion record: PyAutoMind/complete/2026/09/batch-no-park-at-ship.md.

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