Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.680
Choose a base ref
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.685
Choose a head ref
  • 6 commits
  • 18 files changed
  • 2 contributors

Commits on Sep 25, 2026

  1. Stop the Prose Gate Reading a Bash Parameter Expansion as a Comment (#…

    …1830)
    
    `extracted_comments` in the prose gate read the `#` inside a bash
    parameter expansion such as `${#items[@]}` as a comment opener, so a
    `run:` line counting an array was judged as prose, and an `echo` string
    holding one failed `comment-wrap`.
    
    A `#` right after `$` or `${` is now skipped as a line comment marker,
    read off the raw line so an escaped `$` still counts. A real leading or
    trailing comment on the same line is still extracted. The wider parser
    carry work for string and heredoc content stays with #1664.
    
    A regression test covers both spellings from the issue, `$#`, the gate's
    own verdict on the `echo` line, and the still-extracted leading and
    trailing comments. It fails with the fix reverted.
    
    Closes on promotion: #1646
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    43da19b View commit details
    Browse the repository at this point in the history
  2. Correct the pr_review.py Quota-Refusal Remedy Comment (#1832)

    Fixes the comment `pr_review.py`'s refusal reader carries, per #1647.
    
    ## What changes
    
    The inline comment above the refusal reader said a quota refusal is
    cleared by waiting, which
    contradicted the module docstring's own exit-code contract for `46`: a
    quota refusal is
    account-level state that no re-request or wait clears, so the caller
    proceeds on the other
    reviewers' coverage instead. The comment now says that. Behavior and
    exit codes are unchanged,
    this is a comment-only fix.
    
    ## Verification
    
    `ruff check` passes on the changed file. The local strict review pass
    found no issues, recorded
    against develop. The prose gate's `comment-added` rule fires on this
    edit as expected, since it
    rewords an existing comment line, and this PR carries the `comments`
    label to stand it down.
    
    Closes on promotion: #1647
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    0a63183 View commit details
    Browse the repository at this point in the history
  3. Accept Absent, Empty, or Wildcard SessionEnd Matchers (#1834)

    ## Summary
    - `registration_problems` rejected any SessionEnd group carrying a
    `matcher` key at all, so an empty matcher or `*` was reported as running
    on one exit reason when it actually runs on every one. Add
    `matcher_covers_every_exit_reason`, the SessionEnd counterpart of
    `matcher_sees_bash`, and use it in place of the bare `"matcher" in
    group` check, so only a matcher naming specific reasons is reported.
    - A local strict review pass over that fix found the installer's own
    group-selection logic (`main`'s reinstall path) still looked only for a
    matcherless group when deciding which SessionEnd group to reuse,
    disagreeing with what the report now calls sound. Route that selection
    through the same `matcher_covers_every_exit_reason` check so
    reinstalling onto an already-sound `*`/`""` group reuses it instead of
    leaving it emptied and adding a duplicate.
    - Tests in `test_install.py` cover all four matcher shapes (absent,
    empty, `*`, reason-specific) on the report side, and reinstall-reuse on
    the `*`/`""` shapes.
    
    Closes on promotion: #1638
    
    ## Test plan
    - [x] `python3 -m unittest host-setup.agent-safety.claude.test_install`
    (65 tests, all pass)
    - [x] Local strict review pass recorded
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    cae3adc View commit details
    Browse the repository at this point in the history
  4. Ask Every Question Through the Interface's Prompt, Blocking or Not (#…

    …1838)
    
    ## Summary
    
    A non-blocking question, or a closing offer of more work, was allowed as
    inline prose ("A single inline question is fine"), so it landed at the
    end of long reports where it was lost, and it carried no recommendation.
    The rule only reached a session through `agent-conduct`, whose triggers
    covered blocking questions but not offers, and the `unattended-handoff`
    orchestrator had no statement about asking at all.
    
    - `GOVERNANCE.md` "Communicating with the User": every question that is
    asked goes through the interface's prompt mechanism, blocking or not, an
    offer included. The numbered list is the fallback where no prompt
    exists, and it opens the message rather than closing it. Whether a
    question is asked now or parked as an issue stays with the parking
    bullet.
    - `agent-conduct`: fires whenever about to ask the user anything or
    offer more work. The description's leading sentence, which duplicated
    the trigger list and carried a stale count, is removed, taking the
    description from 1426 to 1266 characters.
    - `session-handoff`: "The Parked Decision Queue" intro names the
    reordered form bullets by their current openings.
    - `unattended-handoff`: the orchestrator's final message "writes nothing
    else and asks nothing".
    - Generated includes and distributions regenerated.
    
    ## Review
    
    Six local strict review passes recorded. Findings fixed: a stale bullet
    reference in `session-handoff`, a conflict between the new bullet and
    the parking bullet, and three defects in an orchestrator closing-prompt
    design that was then removed on the maintainer's call.
    
    Declined, maintainer's call: the claim that the parking bullet does not
    rule on a non-blocking, unrecorded question. That bullet already says a
    question may be recorded "because the work can continue without the
    answer", which leaves the agent the choice, and either way an asked
    question goes as a prompt.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    1e692d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2026

  1. Describe a SessionEnd Matcher by Its Shape in the Installer Report (#…

    …1841)
    
    ## Summary
    
    The SessionEnd matcher report said the sweep "runs on that exit reason
    alone", but a matcher can name several reasons, and
    `matcher_covers_every_exit_reason` classifies the matcher's shape rather
    than evaluating it, so a `.*` or a non-string matcher names no reason at
    all. The report, the comments above it, the function's docstring
    summary, and a test docstring now describe the shape (anything other
    than absent, empty, or `*`) and hedge the effect ("may not run on every
    exit reason").
    
    Raised by Copilot on the promotion PR #1839.
    
    ## Review
    
    Three local strict review passes recorded. Rounds one and two found the
    replacement wording still over-claiming and two adjacent lines carrying
    the same claim, all fixed. The third found no defect in the changed
    lines. The match-all regex being reported at all is pre-existing
    behavior, filed as #1840.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 26, 2026
    Configuration menu
    Copy the full SHA
    6ae997b View commit details
    Browse the repository at this point in the history
  2. Promote Prompt-Only Questions, SessionEnd Matcher Fix, and Prose Gate…

    … Fixes to Main (#1839)
    
    Promotes `develop` to `main`.
    
    ## Carried
    
    - #1830: stops the prose gate reading a `#` after `$` or `${` as a
    comment marker, per #1646.
    - #1832: corrects the comment on the `pr_review.py` quota-refusal
    remedy, per #1647.
    - #1834: accepts an absent, empty, or wildcard SessionEnd matcher as
    covering every exit reason, per #1638.
    - #1838: routes every question and every offer of more work through the
    interface's prompt mechanism, blocking or not.
    - #1841: describes a SessionEnd matcher by its shape in the installer
    report, following #1834.
    
    Closes #1646
    Closes #1647
    Closes #1638
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    ptr727 authored Sep 26, 2026
    Configuration menu
    Copy the full SHA
    4566946 View commit details
    Browse the repository at this point in the history
Loading