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.792
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.799
Choose a head ref
  • 8 commits
  • 27 files changed
  • 2 contributors

Commits on Oct 1, 2026

  1. Track Qodo's Open-Source Login and State Its Star Gate (#2253)

    The paid Qodo app is uninstalled. Qodo now reviews only through its
    open-source app, `qodo-free-for-open-source-projects`, which covers
    public repositories with more than 200 stars. In this fleet that is
    `PlexCleaner` alone, and the app offers no trigger below the gate.
    
    - `scripts/pr_review.py` now tracks the open-source login instead of the
    paid one, so that app's threads count toward `unresolved=` and its
    findings comment is read again. One test fixture carries the literal
    login, so a wrong constant fails the suite.
    - `docs/pr-reviewer-reference.md` states Qodo's star gate, says Qodo is
    absent below it with nothing to request, names the login, and notes that
    the hub's `.pr_agent.toml` currently reaches no reviewer here.
    - `docs/pr-reviewer-evaluation.md` limits the Qodo half of "record every
    finding" to repositories past the gate.
    - In `pr-review-conduct`, the skip-notice bullet no longer offers Qodo's
    `/review`. It now says to comment the trigger the notice names.
    
    Not in this PR: with the open-source login tracked, `qodo_open`
    double-counts that app's threaded findings and never clears them. That
    error is loud, never silent, and it's filed as #2252. Three attempts at
    matching findings to threads were backed out, and the issue records why.
    #1404's decided "count every unresolved thread" fix also remains its own
    change.
    
    Closes #1465.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **Documentation**
    * Clarified when Qodo and CodeRabbit review pull requests, including
    Qodo’s public-repository eligibility threshold.
      * Updated review guidance to use the trigger specified in the notice.
    * **Chores**
    * Updated Qodo reviewer identification in review tracking and related
    tests.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    1030f12 View commit details
    Browse the repository at this point in the history
  2. Give install-tools a JSON Report Mode a Program Can Read (#2259)

    ## Summary
    
    Addresses #1645. `install-tools.sh --json` and `install-tools.ps1 -Json`
    write the report as one JSON object, so a scheduled reporter can read it
    without parsing the table.
    
    - **Shape:** `schema` (1), `platform`, a `tools` list, and a top-level
    `notes` list for what belongs to no tool. Each tool row carries `tool`,
    `installed`, `available`, `source`, `mechanism`, `status`, and that
    tool's own `notes`. Windows rows also carry `scope`. A version that was
    not read is `null`.
    - **`mechanism`:** like `source`, it names how the script manages the
    tool. On Linux it is `apt`, `binary`, or `docker-desktop` (docker inside
    WSL). On Windows it is `winget`.
    - **Encoding:** both sides write ASCII only. Bash has a pure-bash UTF-8
    encoder, since `jq` is one of the tools the script installs and glibc
    `iconv -c` passes some malformed sequences through. It drops bytes that
    do not decode. PowerShell uses `-EscapeHandling EscapeNonAscii`.
    - **Refusal:** the flag is refused beside any other action, before the
    host is read.
    - **Table output:** byte-identical to `develop` on a live host.
    
    ## Verification
    
    - `tests/test_install_tools.py` (new, 8 tests) drives each installer's
    own report functions with host reads stubbed. Every guard in the encoder
    and in the note slicing was mutated, and a test failed for each one.
    - On this Linux host, a live `--json` run parses as valid ASCII JSON,
    and an unsupported locale adds no stderr noise.
    - The encoder gives the same output on bash 4.4, 5.1, and 5.2.
    - shellcheck, shfmt, PSScriptAnalyzer, markdownlint,
    editorconfig-checker, cspell, ruff, mypy, pyright, the prose gate, and
    `spec/validate.py` are all clean.
    - **Windows is not natively verified.** The PowerShell report was
    exercised under pwsh on Linux with winget stubbed. A native check is
    `install-tools.ps1 -Json | ConvertFrom-Json` on a Windows host.
    
    ## Filed Along the Way (pre-existing)
    
    - #2256: naming a tool other than the last makes `install-tools.sh` exit
    1 silently, so `--json <tool>` fails today.
    - #2257: under a minimal cron `PATH`, the managed binaries in
    `/usr/local/bin` are missed.
    - #2258: a winget version token such as `Unknown` is carried forward as
    the installed version.
    - #2260: a Linux note prints a path under the home directory as it is,
    where the Windows script hides it.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **New Features**
    * Linux and Windows setup tools can now generate structured JSON reports
    with tool versions, availability, installation source and method,
    status, and relevant notes.
    * The existing table report remains the default. JSON reporting is
    limited to report mode; combining it with install, upgrade, or list
    actions is rejected.
    * **Documentation**
    * Setup guides now describe the JSON report fields, including
    platform-specific details.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    b52ab3e View commit details
    Browse the repository at this point in the history
  3. Keep the Fork Iteration PR Open and Let a Fork Host a Handoff Chain (#…

    …2265)
    
    Refs #2264
    
    ## Summary
    
    Two fork sessions ran `upstream-contribution-workflow` and
    `session-handoff`, and hit two gaps.
    
    **The fork-internal iteration PR.** The skill never said what happens to
    it, so an agent offered to merge it into the fork's base branch once it
    was green. The skill now says:
    
    - The fork's copy of the upstream base branch is a mirror. It moves only
    by syncing from upstream.
    - The iteration PR targets that mirror. It stays open for the life of
    the contribution and is never merged.
    - Upstream changes are merged into the dirty branch, not rebased, and
    the fallout is fixed in the iteration PR.
    - The clean branch is a plain branch, cut fresh from the mirror tip.
    - The iteration PR is closed, unmerged, only once upstream merges or
    declines the upstream PR.
    
    A constructed example (upstream moves from `A` to `B`) anchors this.
    
    **A fork keeping state in a handoff chain.** When the `handoff` label
    was missing, `handoff.py` refused and pointed at `configure.sh apply`.
    That command would put the whole fleet label set and repo config on
    someone else's project. When the label is missing:
    
    | Repository | Behavior |
    | --- | --- |
    | Registered fleet repo | Refuses, unchanged |
    | Another owner | Refuses before any further call |
    | Unregistered repo of the owner's, not a fork | Refuses as registry
    drift |
    | Unregistered fork under the owner | Reads warn and answer as an empty
    chain does. `new` refuses until given `--create-label` |
    
    `--create-label` creates only the `handoff` label, using the definition
    in `repo-config/labels.json`, reads it back to confirm, then files the
    first link. If the fork has issues turned off, it stops before any
    write.
    
    `session-handoff`, `scripts/README.md`, and the carried `AGENTS.md`
    "Session Scope" sentence are updated to match. The `AGENTS.md` section
    is carried at verbatim fidelity, so fleet repos pick the change up on
    their next resync.
    
    ## Verification
    
    - `tests/test_handoff.py`: 134 tests, 18 of them new. Mutation checks
    (owner guard, fork guard, label read-back, dry run, case-insensitive
    compare, label definition) each fail a named test.
    - The full `unittest discover` run passes (1937 tests).
    - ruff, mypy, `prose_lint --diff origin/develop`, `spec/validate.py`,
    `build_dist.py --check`, and `docker_lint.py` are all clean.
    - `local-strict-review`: three passes. The first two raised 8 and 6
    findings. All were fixed except one race, which is declined because it
    is safe and visible. The third pass raised none, and its receipt is
    recorded.
    - Live read-only check: `handoff.py tracks --repo
    ptr727/liquidraver-ZephCore` still lists its open handoff.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    15c70b1 View commit details
    Browse the repository at this point in the history
  4. Declare Python and Codecov on Blog's Registry Entry (#2263)

    ## Summary
    
    Blog adopted the hub Python profiles (Blog #364, promoted via #366,
    closing Blog #356). This brings its registry entry into line:
    
    - `types` gains `python`.
    - `requiredSecrets` becomes `["CODECOV_TOKEN"]`, which the `python`
    type's codecov mechanism requires. The token is in both the actions and
    Dependabot stores.
    - `pythonDirectories` becomes `["checks", "scripts"]`, matching what
    every validate-task caller passes.
    - The environment-secrets driftNote no longer says `requiredSecrets`
    stays empty.
    - A new driftNote records the maintainer's decision in Blog #356 to keep
    `capture/` undeclared, and the obligations that decision forgoes.
    
    ## Verification
    
    - Every claim above checked against live `ptr727/Blog` main.
    - `spec/validate.py` passes.
    - `spec/audit.py Blog` reports 0 defect/letter/error findings. The only
    Python drift left is the expected one naming the `capture/` files. That
    check has no driftNote suppression on a repo that declares `python`.
    - Local review pass recorded over the final content (three rounds; the
    first two found wording problems in the new driftNote, now fixed).
    
    ## Pre-existing, not addressed here
    
    - The `Deploy credentials...` driftNote says the environment secret
    names are declared in Blog's own `secrets.json` environments block, and
    that `spec/secrets.json` has no vocabulary for them. Blog carries no
    `secrets.json`, and `spec/secrets.schema.json` does define an
    `environments` block.
    - Blog declares no Python `profiles` while `checks/` is lint-only and
    `scripts/` is the pip build shape. No rule says what a mixed-shape repo
    declares, and several other Python entries also omit it.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    e0aeb72 View commit details
    Browse the repository at this point in the history
  5. Bound handoff.py's Writes Whatever the Label State (#2266)

    ## Summary
    
    Copilot's review of promotion PR #2254 (High) found that `handoff.py`
    checked the owner and fork status only when the `handoff` label was
    missing. That came in with #2265. So `new` or `link` against another
    owner's repository still wrote there whenever that repository happened
    to carry a `handoff` label. An unregistered non-fork under the owner
    slipped past the registry-drift refusal the same way. These writes run
    as `gh` subprocesses, which the calling agent's write guard never sees,
    so the script has to enforce the boundary itself, the way `pr_review.py`
    refuses its own cross-owner writes.
    
    `require_write_scope` now runs in `main` before the label is read, and
    only for the two writing subcommands, `new` and `link`:
    
    | Repository | Writes |
    | --- | --- |
    | Under another owner | Refused, with no `gh` call at all |
    | Registered in `registry/repos.json` | Allowed, with no extra request |
    | Unregistered under the owner, a fork | Allowed, after one `gh repo
    view` that the missing-label path reuses |
    | Unregistered under the owner, not a fork | Refused as registry drift |
    
    The write scope bounds no read. `scripts/README.md` and
    `session-handoff` are updated to match.
    
    ## Verification
    
    - `tests/test_handoff.py` passes all 141 tests. A module-level patch now
    makes `o/r` a fleet repository by default, so existing write cases keep
    testing what they name. The new `WriteScopeCase` covers:
      - a labeled repository under another owner, for `new` and `link`;
      - a labeled, unregistered non-fork, for `new` and `link`;
      - a labeled, unregistered fork, which still files;
      - reads, which stay unbounded;
      - a registered repository, which costs no extra request.
    - Mutation checks each fail named tests: removing the scope call, the
    owner check, or the fork check; applying the scope to reads; dropping
    the cache.
    - The full `unittest discover` run passes (1944 tests). mypy, ruff,
    `prose_lint --diff origin/develop`, `spec/validate.py`, `build_dist.py
    --check`, and `docker_lint.py` are all clean.
    - `local-strict-review`: the first pass found 2 prose overclaims, both
    fixed. The second pass found nothing, and its receipt is recorded.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    18be0e9 View commit details
    Browse the repository at this point in the history
  6. State the Install-Tools JSON Report in the Host Contract (#2267)

    ## Summary
    
    Copilot's review of promotion PR #2254 raised a "previously missed"
    finding against #2259's install-tools JSON report. `add-host-tool`'s
    procedure says a change to report behavior must update
    `docs/host-setup.md` as well as the platform READMEs, and #2259 updated
    only the READMEs.
    
    `docs/host-setup.md` now has one paragraph saying:
    
    - the flags are `--report --json` on Linux and `-Report -Json` on
    Windows, and the JSON flag applies to no other action;
    - the output is one object with a `schema` number, the `platform`, a
    `tools` list, and a top-level `notes` list;
    - a change to what a field means raises `schema`.
    
    For the shared fields it links to the Linux README, and for its one
    added field and the values that differ it links to the Windows README.
    It doesn't restate them, so a third copy of the field list can't drift.
    
    ## Verification
    
    - `local-strict-review` checked each claim against both installers and
    both READMEs and found nothing. Its receipt is recorded.
    - `prose_lint --diff origin/develop`, `docker_lint.py` (markdownlint,
    cspell, editorconfig), and `spec/validate.py` are all clean. The full
    `unittest discover` run passes.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    3fec4f8 View commit details
    Browse the repository at this point in the history
  7. Drop Two False Pointers From Blog's Deploy-Secret Drift Note (#2269)

    Refs #2268
    
    ## Summary
    
    Copilot's Balanced review of promotion PR #2254 raised a "previously
    missed" finding on Blog's deploy-secret drift note, which #2263
    reworded. The note made two claims, and both are false:
    
    - that `spec/secrets.json` has no vocabulary for per-environment
    secrets, although `spec/secrets.schema.json` defines an `environments`
    object;
    - that the names are declared in Blog's own `secrets.json` environments
    block, although Blog's `main` has no `secrets.json`.
    
    The note now says only what holds: environment-scoped deploy credentials
    are not checked by the audit, so `requiredSecrets` leaves them out, and
    listing them there would make the audit demand them in the repository
    actions store.
    
    The same two false claims come from `spec/secrets.json` and
    `spec/project-types.json`. Those predate this change and are filed as
    #2268, rather than widening this one-line fix.
    
    ## Verification
    
    - `local-strict-review` checked every clause against `spec/audit.py` and
    `repo-config/configure.sh`, and against Blog's real environment and
    actions stores (read-only). Its two wording points are taken, and the
    confirming pass found nothing. The receipt is recorded.
    - `spec/validate.py`, `prose_lint --diff origin/develop`, and
    `docker_lint.py` are all clean. The full `unittest discover` run passes.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    ptr727 and claude authored Oct 1, 2026
    Configuration menu
    Copy the full SHA
    73b9f77 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2026

  1. Promote develop to main: Fork Handoff Chains, Qodo Login, JSON Report (…

    …#2254)
    
    ## Summary
    
    Promotes develop to main, carrying the pull requests below. Each was
    already reviewed and merged into develop.
    
    - [#2253](#2253): Track
    Qodo's open-source login and state its star gate.
    - [#2259](#2259): Give
    install-tools a JSON report mode a program can read. Copilot could not
    review it, since Copilot code review has reached its weekly rate limit
    (#2261). CodeRabbit reviewed its head with no findings, and recorded
    local passes covered every push.
    - [#2263](#2263): Declare
    Python and Codecov on Blog's registry entry.
    - [#2265](#2265): Keep the
    fork iteration PR open and never merged in
    `upstream-contribution-workflow`, and let an unregistered fork under the
    owner host a handoff chain, with `handoff.py new --create-label`
    creating only the `handoff` label there.
    - [#2266](#2266): Bound
    `handoff.py`'s writes whatever the label state, refusing `new` and
    `link` against another owner's repository, or an unregistered non-fork,
    before the label is read. This answers Copilot's High finding on this
    promotion.
    - [#2267](#2267): State
    the install-tools JSON report in `docs/host-setup.md`, answering
    Copilot's previously-missed finding on #2259's report mode.
    - [#2269](#2269): Drop two
    false pointers from Blog's deploy-secret drift note, and recast every
    semicolon in the registry's driftNotes, answering Copilot's
    previously-missed finding on #2263's note.
    
    With the open-source login tracked, `qodo_open` double-counts that app's
    threaded findings and never clears them on PlexCleaner. That is a known,
    loud error, accepted for this promotion and tracked in #2252.
    
    Closes #1465
    Closes #1645
    Closes #2264
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **Documentation**
    * Clarified which review commands to use when a reviewer posts a skip
    notice.
    * Updated reviewer evaluation guidance to reflect when CodeRabbit and
    Qodo findings are recorded, including Qodo’s repository eligibility
    requirements.
    * **Bug Fixes**
    * Updated Qodo reviewer tracking to recognize its current open-source
    app identity, improving how its reviews and findings are identified.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    ptr727 authored Oct 2, 2026
    Configuration menu
    Copy the full SHA
    7e4eb6d View commit details
    Browse the repository at this point in the history
Loading