Repository navigation
Merge authority follows declared Consequence tier (2026-10-02) - #452
Merged
Merged
Conversation
AUTONOMY.md gains the dated section "Merge authority follows Consequence — 2026-10-02": declared notify merges in-turn on green CI and runs the /prm close-out; glance does the same only when its Witness passed and feeds the re-scoped Shadow window (20 clean rows confirm, any revert demotes); judge or no declared header stays a human /prm. Plan approval at start_dev (or the --auto/batch launch) is the merge authorization; never auto-merged: decision-taken, Heart RED-override/corrective ships, red/pending/conflicting CI, SKIPPED legs. Checkpoint, levels and invariant rows updated to match. ship_library/ship_workspace gain the post-PR-open tiered-merge step handing off to the /prm procedure; prm documents the bounded in-turn wait (one background gh pr checks --watch, ~60 min, no timers/wake-ups) and the glance-tier shadow row; start_dev's plan states tier + merge mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HGSSTEegN9Sbd2TJ6hj1XL
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.
Doctrine change approved by the human on 2026-10-02. This PR is judge-tier: a human merges it with
/prm, never an auto-merge. Companion: PyAutoLabs/PyAutoMind#467, which re-scopes the Shadow window and changeslifecycle.py. Merge this one first.What changes
AUTONOMY.mdgets a new dated section, "Merge authority follows Consequence — 2026-10-02":Consequence:notify/prmclose-out itself.glancenotify, but only if theWitness:check passed. The human reads a post-merge summary. Each auto-merge appends a Shadow-window row: 20 clean rows confirm the tier, and any revert sends it back to a human/prm.judge/ no header/prm, as before. A tier the sizing faculty infers never counts.start_devauthorizes the merge, and the plan must state the tier and the merge mode. Under--autoor a batch, the launch or slot approval is the authorization. A multi-phase epic moves to its next phase without asking again. It stops at a judge-tier phase, a failure, Heart RED or new scope.decision-takenPRs, ships under the Heart RED override or the corrective-PR exception, red, pending or conflicting CI, and SKIPPED test legs (skipped ≠ green). The library-first, sibling-branch and data-worktree guards from/prmapply word for word.gh pr checks --watch, capped at about 60 minutes. No timers, wakeups or subscriptions, soend_at_deliverablestays as written. If the cap is reached, or the surface has nogh(mobile/web), the session checks CI once, merges only if it is already green, and otherwise hands back to the human for/prm.gh pr mergemust be a bare Bash call with nothing chained to it. If it is denied, the session stops and reports.--automerge.Skills
ship_library(new step 6) andship_workspace(new step 4b): after the PR opens, merge by declared tier and hand off to the/prmprocedure. For a library PR whose workspace work is still pending, the session merges but runs no close-out.prm: a new "Tiered merge" section (the details are inreference.md, to keep the mandatory-load size down). Skipped legs now count as not green. The bare-call rule is added.closeout.mdnow explains the in-turn wait. The shadow row is nowglanceonly: an auto-merge recordsmerged-unchangedand asks nothing, and the human amends the row afterwards if needed.start_dev: the plan must include a "Tier + merge mode" line. Updated the--autotext to match.policy/end_at_deliverable.mdis deliberately untouched. The end-at-deliverable hook only matches the timer tools, not Bash.Evidence
autonomy_log.mdcalibration: 120 merged-unchanged / 12 amended / 2 rejected / 2 reverted.notifyShadow window stood at 13/40, all clean.notifyis granted early by this dated edit, and the window is re-scoped toglance.Validation
pytest -q -n auto: 1132 passed, 10 failed. The 10 failures are all intests/test_skill_install.pyand fail the same way on unmodifiedmainin this container (symlink/discovery environment). An earliertest_gh_surfacefailure caused by this branch is fixed.git diff --checkis clean.check_skill_line_counts.shis report-only: prm is at 207 lines (budget 200) and start_dev was already over before this change.Revert (one command)
🤖 Generated with Claude Code
https://claude.ai/code/session_01HGSSTEegN9Sbd2TJ6hj1XL