Skip to content

Re-scope the Shadow window to tier glance; notify auto-merge granted (2026-10-02) - #467

Merged
Jammy2211 merged 1 commit into
mainfrom
ccr-ac1d5073-k5qrn8
Oct 3, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
ccr-ac1d5073-k5qrn8

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

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 classify says it waits for a human because it touches scripts/ and tests/.

What changes

  • autonomy_log.md: a dated doctrine entry heads the Shadow window. notify is granted early at 13/40, all clean, with the evidence cited. The window is re-scoped to count tier-glance auto-merges toward 20 clean rows. Each auto-merge is recorded merged-unchanged at merge, and the human amends the row if they find something substantive. Any reverted row sends glance back to a human /prm. The notify rows stay listed and are named as uncounted (14). The new count line is generated from the table.
  • REFERENCE.md: the Consequence: 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. The close verb notes now say --tier glance.
  • scripts/lifecycle.py:
    • close_shadow_task, the close row and the shadow-row --tier default no longer hard-code notify. They now use SHADOW_TIER = "glance".
    • SHADOW_TARGET changes from 40 to 20, and SHADOW_REOPENED is set to 2026-10-02.
    • reverted is added to the action vocabulary.
    • A new shadow_counts(row) helper counts only glance rows in stage 1 or 2 dated from the re-scope.
  • Tests:
    • test_a_tier_that_is_not_notify_appends_nothing becomes test_a_tier_that_is_not_glance_appends_nothing, parametrised over notify and judge.
    • The glance append and missing-gate tests are updated.
    • The test_autonomy_log_shadow.py fixtures and count assertions are moved to the new window.

policy/end_at_deliverable.md is deliberately untouched.

Validation

  • pytest -q -n auto: 618 passed, 1 failed. The failure is test_session_bootstrap.py::test_the_hook_survives_an_unwritable_tools_dir, which fails the same way on unmodified main in this root container.
  • lifecycle.py check: OK (one existing warning about a batch record).
  • git diff --check is clean.

Revert (one command)

git revert --no-edit 354ab494

🤖 Generated with Claude Code

https://claude.ai/code/session_01HGSSTEegN9Sbd2TJ6hj1XL


Generated by Claude Code

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
@Jammy2211
Jammy2211 merged commit 01141db into main Oct 3, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the ccr-ac1d5073-k5qrn8 branch October 3, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants