Repository navigation
feat: merge actor and random audit — AUTONOMY amendment + watcher actor (#606) - #607
Merged
Merged
Conversation
Programme M1.4, finding FLOW-2. Records the human's three decisions
("All three as recommended") as the dated AUTONOMY.md section "Merge actor
and random audit — 2026-11-12", with a revert condition.
- The watcher's stage-2 row now ends in `merge actor` and `read by human`:
`unattended-watcher (mergedBy <login>)` from the gh state it already reads,
and an empty read-by-human cell.
- prm close-out docs pass `--actor <class>` on `lifecycle.py close` and name
the two new columns; audits draw `lifecycle.py audit-sample --seed <n>`.
Pairs with PyAutoMind feature/merge-actor-audit (lifecycle.py + ledger).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pairs with the Mind change that makes `close --tier glance` / `shadow-row` refuse without --actor. The prm close-out docs and AUTONOMY.md no longer show the flag as optional, and each says which class to pass: human-typed /prm -> human-/prm; in-turn merge on the human's explicit merge command -> in-turn-human-commanded; in-turn tiered merge with no human command -> in-turn-autonomous. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Programme task M1.4, the companion to the PyAutoMind PR. Closes #606.
AUTONOMY.mdgets a new dated section, "Merge actor and random audit — 2026-11-12". It records the human's three decisions verbatim:human-/prmandin-turn-human-commanded.read by humancolumn is recorded and does not gate the count.Its revert condition: if an audit finds a tool-written actor wrong, the actor rule is suspended until the writer is fixed. The glance ruling and the stage-2 adversary rules are untouched. Around line 514 the call now shows
--actor.The watcher's
stage2_row(agents/conductors/batch/_orchestrator.py) writesunattended-watcher (mergedBy …)and the new column.skills/prm/closeout.mdandreference.md:--actoris required, with which class to pass.Test plan
pytest tests/: 1662 passed, 1 skipped. The knowntest_grouped_organ_consumersfailure is environmental (PYAUTO_MINDexported byactivate.sh) and also fails on the base.test_orchestrator_closeout: 21 passed, including the actor label.draft/bug/pyautobrain/shift_watcher_followups_after_state_gaps.md(items 10 and 11):mergedBycannot tell who merged while every merge uses one token, and the watcher's no-file merge label.Heart RED override (development only)
Authorization from the live human in the programme session, 2026-11-12: "Override + merge on green". This authorizes the development-only RED override for PyAutoBrain#606 and gives the merge command (Mind PR first, then the Brain PR), conditional on every required check being green within the turn.
Heart verdict RED (
pyauto-heart readiness, ts 2026-11-12T18:29:55Z). The current RED reasons, verbatim: "PyAutoNerves: 2 commit(s) behind origin"; "PyAutoArray: 2 commit(s) behind origin"; "PyAutoGalaxy: 4 commit(s) behind origin"; "PyAutoLens: on branch feature/extra-galaxies-review (not main)"; "PyAutoLens: 2 uncommitted source change(s)"; "PyAutoCTI: 2 commit(s) behind origin"; "install verification FAILED (testpypi; checks F)"; "release validation FAILED (stage integrate)"None of these is in PyAutoBrain or PyAutoMind. Branch gates passed: tests, review CLEAN, smoke not applicable. This PR does not fix Heart, and Heart stays RED for release.
Tier: glance. Merge mode: auto-merge on green if the Witness passes, with a post-merge summary. A RED override additionally needs the human's merge command, which was given in the same turn.
🤖 Generated with Claude Code