Repository navigation
Re-scope the Shadow window to tier glance; notify auto-merge granted (2026-10-02) - #467
Merged
Merged
Conversation
autonomy_log.md records the 2026-10-02 doctrine change: notify auto-merge granted early at 13/40 (all clean), and the Shadow window re-scoped to count tier-glance auto-merges toward 20 clean rows, with any reverted row demoting glance back to a human /prm. REFERENCE.md says who merges per declared Consequence tier. lifecycle.py's close/shadow-row now key on glance (target 20, `reverted` added to the action vocabulary); the notify rows stay listed and are named as uncounted. Tests updated to match. 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.
Mind half of the tiered auto-merge doctrine change, approved by the human on 2026-10-02. The doctrine itself is in PyAutoLabs/PyAutoBrain#452. Merge that one first. This PR is judge-tier: a human merges it with
/prm.ledger_merge.py classifysays it waits for a human because it touchesscripts/andtests/.What changes
autonomy_log.md: a dated doctrine entry heads the Shadow window.notifyis granted early at 13/40, all clean, with the evidence cited. The window is re-scoped to count tier-glanceauto-merges toward 20 clean rows. Each auto-merge is recordedmerged-unchangedat merge, and the human amends the row if they find something substantive. Anyrevertedrow sendsglanceback to a human/prm. Thenotifyrows stay listed and are named as uncounted (14). The new count line is generated from the table.REFERENCE.md: theConsequence:description now says who merges at each tier. Only a tier written in the prompt carries merge authority. The never-auto-merge list is included. Thecloseverb notes now say--tier glance.scripts/lifecycle.py:close_shadow_task, thecloserow and theshadow-row --tierdefault no longer hard-codenotify. They now useSHADOW_TIER = "glance".SHADOW_TARGETchanges from 40 to 20, andSHADOW_REOPENEDis set to 2026-10-02.revertedis added to the action vocabulary.shadow_counts(row)helper counts onlyglancerows in stage 1 or 2 dated from the re-scope.test_a_tier_that_is_not_notify_appends_nothingbecomestest_a_tier_that_is_not_glance_appends_nothing, parametrised overnotifyandjudge.test_autonomy_log_shadow.pyfixtures and count assertions are moved to the new window.policy/end_at_deliverable.mdis deliberately untouched.Validation
pytest -q -n auto: 618 passed, 1 failed. The failure istest_session_bootstrap.py::test_the_hook_survives_an_unwritable_tools_dir, which fails the same way on unmodifiedmainin this root container.lifecycle.py check: OK (one existing warning about a batch record).git diff --checkis clean.Revert (one command)
🤖 Generated with Claude Code
https://claude.ai/code/session_01HGSSTEegN9Sbd2TJ6hj1XL
Generated by Claude Code