Skip to content

Promote the Lazy Hub Name, Hosting-Window Workspace Rule, Attest-Every-Pass Record, and Write-Guard cd Scoping to Main - #2930

Merged
ptr727 merged 9 commits into
mainfrom
develop
Oct 13, 2026
Merged

ptr727 merged 9 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Closes #2829
Closes #2834
Closes #2835
Closes #2897

🤖 Generated with Claude Code

ptr727 and others added 4 commits October 12, 2026 18:10
Importing spec/audit.py ran a git read at import, before argparse saw
--help or an unknown flag. The hub name is now a cached accessor
resolved on first use, every importer uses it, and the command-line
usage gate records git so each entry point is held to reading nothing
first. The gate was shown to fail with the eager call restored.

Part of #2829

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Part of #2834
Part of #2835

Maintainer ruling implemented: the workspace-edit rule is keyed on
whether a VS Code window that has the file loaded hosts a live agent
session the editing agent knows of, its own included, rather than on
where the editing agent runs.

## Changes

- `GOVERNANCE.md` "Verification Discipline": the `.code-workspace` edit
rule binds while the agent knows a window with the file loaded hosts a
live agent session. An agent treats any window other than its own as
hosting no session unless it knows otherwise, so a standalone-console
agent still edits directly by default, and an agent in one window may
edit a file only another session-free window has loaded. The reload
rationale, the hand-back, the unloaded-file exemption, and the
ask-the-maintainer case are kept. `agent-conduct` carries the section as
a generated include, regenerated with `scripts/build_dist.py`.
- `GOVERNANCE.md` "Editor and Tasks": the pointer bullet restates the
new key, states the ask case, and its last sentence now holds for a
session in the window that opened the folder.
- `python-codestyle`: `references/profiles.md` drops the "VS Code config
home" axis, which said editor settings may live in `.vscode/*.json`
against "Editor and Tasks", and `SKILL.md` stops listing VS Code config
as an adaptation axis.

No other surface states the edit rule (swept with `git grep -n
'code-workspace'` and `git grep -n -i reload`).

## Local review

Recorded `local-strict-review` passes at the frontier tier on every
pushed head. The third pass on the opening head left three findings past
its edit budget (an agent unsure about its own window read as a
direct-edit case, the pointer omitting the default assumption, and the
folder exemption failing where a second window loads the same checkout's
workspace file). Copilot raised the first independently. All three are
fixed in f641b4f, and the pass over the fix head found one orphaned
"too", dropped in 62ea7b0, whose own pass found nothing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary

Areas: skills (`pr-review-conduct`, `drive-pr`, `local-strict-review`),
script (`scripts/pr_review.py`), docs (`scripts/README.md`).

- Merge Gate item 2's promotion fallback now takes the published
`pr_review.py attest` comment as per-file evidence, not a recorded local
receipt. Removing the worktree after merge deletes that receipt.
- The review loop attests after every push a recorded pass covers, the
opening push included (`pr-review-conduct` step 1, `drive-pr` step 2).
- `pr_review.py`: `first_round_done` becomes `round_before_head`, which
needs a genuine Copilot round on a commit other than the head. Both
`holds()` and `local_cover()` use it. Before this, an attested head
whose own first round stated no coverage and carried no table read as
`coverage=local`. It now reads `coverage=unstated` and exits 45. A `wait
--min-rounds 2` on that head also requests a round instead of holding.
- Tests:
  - an attested first-round head stays unstated and is not held
  - `round_before_head` unit cases
  - the attested-opening-head subcase of the first-round request test

## Local-review findings carried to the review loop

The opening push's local pass left the findings below open. Each now has
an outcome:

- `introduced`: item 2 said "It counts only where `status` would read
it". Fixed in fc781f9 and e6bc805. Item 2 now names the author,
marker, and base conditions `attestation()` checks. Copilot raised the
same finding.
- `introduced`: the `round_before_head` docstring sentence ran to 26
words. Fixed in fc781f9. Copilot raised the same finding.
- `style`: step 3's "as that round's coverage". Fixed in fc781f9.

Part of #2897

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…h-write-guard (#2928)

Part of #2821.

## What changed

`gh-write-guard.py` rule 4 read a bare `git push` branch in the session
cwd, ignoring a leading `cd` and `-C`. Shape 1 of the issue (a bare push
after a leading `cd`, joined by `&&` or `;`) is fixed. Shape 2 (heredoc
text naming a push) is deliberately NOT fixed here, because ten review
rounds each found a new bypass in the carve-out that skipped heredoc
bodies, so heredoc bodies are scanned exactly as before and the shape
stays open on #2821.

Tests are in the guard's `--selftest` (`_PUSH_DIR_CASES`), run against
real temporary repositories built from constructed names.

## New allows (each is a push that really runs on a feature branch)

- A bare push after a leading `cd <dir>` joined by `&&` or `;`, when
`<dir>` is a readable directory on a non-protected branch and nothing
else in the command may move the directory or repository.
- A bare push with a `-C <dir>` without a dot-dot component, into such a
directory.
- A push inside `bash -c` / `sh -c` that inherits the outer leading cd,
when no wrapper body holds a cd or anything opaque.

## New denies

- A bare push after a `cd` or `-C` into a missing or unreadable
directory (fail closed).
- `bash -c 'git push'` and the same after a cd: wrapper bodies are now
scanned for pushes, which closes a pre-existing allow of `bash -c 'git
push'` on develop.
- Any push inside a wrapper whenever a wrapper body holds a cd, an
opaque word, or a `git` word that is another command's argument, nested
or not.
- A leading-cd or `-C` push when anything may change the directory or
repository: a second `cd`/`pushd`/`popd`, `eval`, `source`, `builtin`,
`command`, `env`, `trap`, a `.` token, a `$` word (except `$?`), a
backtick, `GIT_*` text, `{`, `[`, `*`, `?` in a word, a `git` word that
is another command's argument, an explicit `--git-dir` or exported git
dir, an attached `-C<dir>`, or a `-C` value with a dot-dot component.
- `--work-tree` no longer redirects where the branch is read.
- A push in a command holding a mid-word backslash-newline.
- Any cd that is not the plain leading `cd <dir>` (`cd -P`, `cd --`,
`cd` with no argument, `pushd`, or a cd in the middle of the command)
makes a later bare push unresolved, in every session including one on a
feature checkout.
- The explicit bypass flags (`--no-verify`, `commit -n`, a `hooksPath`
override) are now also read inside wrapper bodies.

## Residuals

- HEAD changed earlier in the same command (`git switch`,
`symbolic-ref`), a gap the base has with a feature-branch cwd.
- Wrapper scanning gaps the base also had, so not new allows: an
attached `bash -c'git push'` spelling, and a push more than four
wrappers deep.
- Pre-existing and unchanged: `-c push.default=upstream` overrides,
`eval "$(...)"`, a shell wrapper that is another command's argument, a
wrapper's startup files.
- Fail-closed over-denies: `-C` with a dot-dot component, heredoc text
naming a push, and a bare push after a leading cd is denied when the
same command has `git add .`, a `$var`, or glob or brace characters in a
command word. The workaround is an explicit refspec.

## Verification

Opus adversarial review rounds found and fixed 20 regressions in the cd
scoping. Reverting the fix makes the new allow cases fail, and mutation
checks on each safeguard fail a specific deny case. Gates: `--selftest`,
`test_install.py`, the whole `tests` suite, prose_lint, eol,
spec/validate, build_dist, docker_lint, ruff. The installer was not run.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 13, 2026 04:05
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0a3318b2-eaa0-491b-a3e2-afba8711d97c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.96%. Comparing base (1607ba4) to head (4f4ca8c).
⚠️ Report is 375 commits behind head on main.

Files with missing lines Patch % Lines
spec/audit.py 16.66% 10 Missing ⚠️
spec/fidelity_honesty.py 0.00% 1 Missing ⚠️
spec/workflow_reuse.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2930      +/-   ##
==========================================
- Coverage   60.00%   59.96%   -0.04%     
==========================================
  Files          17       17              
  Lines        8773     8777       +4     
==========================================
- Hits         5264     5263       -1     
- Misses       3509     3514       +5     
Flag Coverage Δ
python-3.13 59.96% <29.41%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved critical and moderate findings remain in gh-write-guard.py, plus a stale first-round wait description.

1 open finding
What changed in this PR

Promotes lazy audit identity resolution, workspace safety updates, review attestations, and directory-aware push guarding.

Changes:

  • Defers hub-name reads and expands CLI coverage tests.
  • Updates workspace and Python guidance.
  • Adds attestation and first-round review handling.
  • Extends gh-write-guard parsing for directories and shell wrappers.
File Reviewed change
tests/​test_pr_review.py Tests first-round and attestation behavior.
tests/​test_cli_usage.py Records Git access during CLI checks.
spec/​workflow_reuse.py Uses lazy hub-name access.
spec/​fidelity_honesty.py Uses lazy hub-name access.
spec/​audit.py Adds cached lazy hub-name resolution.
scripts/​README.md Documents attestations and coverage semantics.
scripts/​pr_review.py Handles attestations and prior review rounds.
host-setup/​agent-safety/​claude/​gh-write-guard.py Adds directory-aware push and wrapper parsing.
GOVERNANCE.md Updates workspace-editing rules.
.github/​skills/​python-codestyle/​SKILL.md Updates Python guidance.
.github/​skills/​python-codestyle/​references/​profiles.md Updates Python profiles.
.github/​skills/​pr-review-conduct/​SKILL.md Documents attestation-based promotion evidence.
.github/​skills/​local-strict-review/​SKILL.md Documents durable review records.
.github/​skills/​drive-pr/​SKILL.md Adds opening-push attestation guidance.
.github/​skills/​agent-conduct/​SKILL.md Carries updated workspace rules.
.claude-plugin/​fleet-skills/​skills/​python-codestyle/​SKILL.md Regenerates Python guidance.
.claude-plugin/​fleet-skills/​skills/​python-codestyle/​references/​profiles.md Regenerates profile guidance.
.claude-plugin/​fleet-skills/​skills/​pr-review-conduct/​SKILL.md Regenerates review-contract guidance.
.claude-plugin/​fleet-skills/​skills/​local-strict-review/​SKILL.md Regenerates review-record guidance.
.claude-plugin/​fleet-skills/​skills/​drive-pr/​SKILL.md Regenerates workflow guidance.
.claude-plugin/​fleet-skills/​skills/​agent-conduct/​SKILL.md Regenerates workspace guidance.
.claude-plugin/​fleet-skills/​.source-digests/​python-codestyle Updates the source digest.
.claude-plugin/​fleet-skills/​.source-digests/​pr-review-conduct Updates the source digest.
.claude-plugin/​fleet-skills/​.source-digests/​local-strict-review Updates the source digest.
.claude-plugin/​fleet-skills/​.source-digests/​drive-pr Updates the source digest.
.claude-plugin/​fleet-skills/​.source-digests/​agent-conduct Updates the source digest.
.agents/​skills/​python-codestyle/​SKILL.md Updates canonical Python guidance.
.agents/​skills/​python-codestyle/​references/​profiles.md Updates canonical profiles.
.agents/​skills/​pr-review-conduct/​SKILL.md Updates canonical review guidance.
.agents/​skills/​local-strict-review/​SKILL.md Updates canonical review-record guidance.
.agents/​skills/​drive-pr/​SKILL.md Updates canonical workflow guidance.
.agents/​skills/​agent-conduct/​SKILL.md Updates canonical workspace guidance.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

)

The guard normalized a leading `cd` before resolving it, so a symlinked
path with a `..` component could land the shell in a primary checkout
while the guard read the normalized feature worktree branch. A bare push
after a `cd` with a `..` component is now unresolved and denied,
matching the existing `-C` rule.

Self-test cases cover `cd <feature>/sub/..`, a trailing-slash form, and
a relative `cd ../<feature>`. Reverting the check makes the first and
last fail.

Part of #2821.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Two moderate findings remain in wrapper command-position handling and missing-head review coverage; a stale import rationale also needs updating.

0 open findings

1 resolved since last review

🧠 Review effort: Lite

ptr727 and others added 2 commits October 12, 2026 22:11
…t Module Scope (#2933)

round_before_head compared every review oid against an empty head when
headRefOid was unreadable, so any review counted as an earlier round and
wait requested nothing. It now returns False, matching its docstring.

The comment justifying a function-local import of audit in the spec
tests became false when hub_name() went lazy, so the import moves to
module scope and the comment is dropped.

Part of #2897 and #2829.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…2935)

## Summary

The push finder added by #2928 skipped a push named inside another git
command's arguments, such as the command run by `git bisect run` or `git
submodule foreach`, so its explicit target and force were never checked
and origin/main's denial became an allow.

The argument-by-argument scan origin/main used now runs as well, and a
push it finds that the structured scan did not is evaluated by its
explicit target and force, with a bare one resolving to unresolved
(deny).

## Verification

- Three repro cases plus a bare variant are added to the
directory-scoped push cases, built from constructed temp repos. They
fail with the fix reverted.
- A differential probe ran origin/main's guard and this branch over
every command in the self-test case tables plus the repros. The only
commands origin/main denies and this branch allows are four cases where
a leading `cd` or `-C` into a feature worktree is now read from that
directory, which is the intended #2928 behavior and is identical on
develop before this change.

Part of #2821

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
@ptr727

ptr727 commented Oct 13, 2026

Copy link
Copy Markdown
Owner Author

Answering the round on 1037300, whose headline named three items and counted no finding. Wrapper command-position handling: a real regression, since #2928's push scan skipped a git push inside another git command's arguments (git bisect run, git submodule foreach), which main's guard denies. #2935 restores that detection and fails a bare one closed, with a differential run against main's guard over every self-test command. Missing-head review coverage: round_before_head counted any round as earlier when headRefOid was empty. Not a regression, but #2933 now returns false on an empty head. Stale import rationale: tests/test_spec_validate.py still said importing spec/audit.py runs git, which #2926 made false. #2933 moves the import to module scope and drops the comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two critical guard findings remain unresolved.

2 open findings

🧠 Review effort: Lite

Bumps the actions-deps group with 3 updates:
[actions/upload-artifact](https://github.com/actions/upload-artifact),
[actions/download-artifact](https://github.com/actions/download-artifact)
and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.</li>
<li>Updates <code>@​actions/artifact</code> to v6.3.1.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tunc-d"><code>@​tunc-d</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/821">actions/upload-artifact#821</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2">https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/upload-artifact/commit/cf430e030ddbb5b0abf93d22962f4752f3646cd9"><code>cf430e0</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/822">#822</a>
from actions/tunc-d-prepare-upload-v7-0-2</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/c2acdedd35a8824a1552c7137f8c18288c3ea469"><code>c2acded</code></a>
chore: prepare v7.0.2 release</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/4687c1bbaa0a58abb517d90b4bbade6754c80c1a"><code>4687c1b</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/821">#821</a>
from actions/tunc-d-upload-artifact-package-bump</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/8cbe1bebdb858105d8fdd88f81404d4de4595719"><code>8cbe1be</code></a>
Bump <code>@​actions/artifact</code> to 6.3.1</li>
<li>See full diff in <a
href="https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/download-artifact` from 8.0.1 to 8.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/download-artifact/releases">actions/download-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update the readme by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/download-artifact/pull/473">actions/download-artifact#473</a></li>
<li>Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.</li>
<li>Update <code>@​actions/artifact</code> to 6.3.1 by <a
href="https://github.com/tunc-d"><code>@​tunc-d</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li>
<li>Prepare download-artifact v8.0.2 by <a
href="https://github.com/tunc-d"><code>@​tunc-d</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/493">actions/download-artifact#493</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tunc-d"><code>@​tunc-d</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2">https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/download-artifact/commit/9000827ccba6bdab643e8b6fd33ac0654aef8333"><code>9000827</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/493">#493</a>
from actions/tunc-d-prepare-download-v8-0-2</li>
<li><a
href="https://github.com/actions/download-artifact/commit/e455989ae00f5bdd4054f05d3e972c6bf8a62dc5"><code>e455989</code></a>
Prepare download-artifact v8.0.2</li>
<li><a
href="https://github.com/actions/download-artifact/commit/a00b90c4a2f01d73a8c89552caabca6ea3b43137"><code>a00b90c</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/492">#492</a>
from actions/tunc-d-download-artifact-package-bump</li>
<li><a
href="https://github.com/actions/download-artifact/commit/29bb7ce6af5345aeab5bb4774ce7249ee3ccc27f"><code>29bb7ce</code></a>
Update <code>@​actions/artifact</code> to 6.3.1</li>
<li><a
href="https://github.com/actions/download-artifact/commit/484a0b528fb4d7bd804637ccb632e47a0e638317"><code>484a0b5</code></a>
Update the readme (<a
href="https://redirect.github.com/actions/download-artifact/issues/473">#473</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/download-artifact/compare/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c...9000827ccba6bdab643e8b6fd33ac0654aef8333">compare
view</a></li>
</ul>
</details>
<br />

Updates `astral-sh/setup-uv` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's
releases</a>.</em></p>
<blockquote>
<h2>v10.3.0 🌈 Add Python architecture selection</h2>
<h2>Changes</h2>
<p>This release adds the <code>python-arch</code> input to select a
Python architecture independently of the Python version. With
<code>uv</code> 0.13.0 or later, set <code>python-arch: x86_64</code> to
use x64 Python on Windows ARM64 runners.</p>
<p>It also includes embedded checksums for <code>uv</code> releases
through 0.13.0.</p>
<ul>
<li>Use macOS 15 runners for tests <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1081">#1081</a>)</li>
</ul>
<h2>🚀 Enhancements</h2>
<ul>
<li>Add <code>python-arch</code> support <a
href="https://github.com/zanieb"><code>@​zanieb</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1079">#1079</a>)</li>
</ul>
<h2>🧰 Maintenance</h2>
<ul>
<li>chore: update known checksums for 0.13.0 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1089">#1089</a>)</li>
<li>chore: update known checksums for 0.12.24 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1084">#1084</a>)</li>
<li>chore: update known checksums for 0.12.23 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1082">#1082</a>)</li>
<li>chore: update known checksums for 0.12.22 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1080">#1080</a>)</li>
<li>chore: update known checksums for 0.12.21 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1078">#1078</a>)</li>
<li>chore: update known checksums for 0.12.20 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1076">#1076</a>)</li>
<li>chore: update known checksums for 0.12.19 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1068">#1068</a>)</li>
<li>chore: update known checksums for 0.12.18 @<a
href="https://github.com/apps/github-actions">github-actions[bot]</a>
(<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1065">#1065</a>)</li>
</ul>
<h2>⬆️ Dependency updates</h2>
<ul>
<li>chore(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1077">#1077</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/1c37ad07a6a961277cf70c0d37d6f313000f5884"><code>1c37ad0</code></a>
chore: update known checksums for 0.13.0 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1089">#1089</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/b3c9b5fc56ebc90760c43b1ac9552c0d1705d3ca"><code>b3c9b5f</code></a>
chore: update known checksums for 0.12.24 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1084">#1084</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/b06acff4b6a41bdd9cdac56507ead0bd7734e757"><code>b06acff</code></a>
Add <code>python-arch</code> support (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1079">#1079</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/c84232ca4fde9b022e20a930bfbbecd386b56fdf"><code>c84232c</code></a>
chore: update known checksums for 0.12.23 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1082">#1082</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/51fdd265d38a27ffcbca0da885510bc6fcc0ff55"><code>51fdd26</code></a>
Use macOS 15 runners for tests (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1081">#1081</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/a96208bed1fb5efb8da349c9bcc6cc58af9e7d74"><code>a96208b</code></a>
chore: update known checksums for 0.12.22 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1080">#1080</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/0e3884b860e20d3f4d5daa2347130beb51ccde47"><code>0e3884b</code></a>
chore: update known checksums for 0.12.21 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1078">#1078</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/bcf05803b55ef01a5ec6368521ee1b42f97bc438"><code>bcf0580</code></a>
chore: update known checksums for 0.12.20 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1076">#1076</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/b92a892142bde7280cd163c2abff341413314f9f"><code>b92a892</code></a>
chore(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1077">#1077</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/227a0f6bea25cde3444f52decccf4a18de6635f4"><code>227a0f6</code></a>
chore: update known checksums for 0.12.19 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/1068">#1068</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/setup-uv/compare/c18668ad3cf93ea998bef934396af7bb5c839dc7...1c37ad07a6a961277cf70c0d37d6f313000f5884">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved issues affect attestation pagination, push parsing, Git compatibility, and wait-command documentation.

0 open findings

2 resolved since last review

🧠 Review effort: Lite

…Wait Usage Text (#2939)

Part of #2821 and #2897.

## Why

The develop -> main promotion PR introduced two defects.

1. On Windows (Git Bash), a rooted leading `cd` or `-C` value with no
drive segment, such as `/repos/wt-example`, resolved with Windows Python
semantics onto the session drive. Git Bash resolves it under the Git
install root, so the `cd` fails there, `;` runs the push in the session
branch, and the guard read another branch and allowed.
`_bare_push_branch` now returns unresolved for that value when the MSYS
drive regime is on. POSIX behavior is unchanged.
2. The `wait` usage text and the exit 49 text said "once Copilot has
reviewed it at all" and "after Copilot's first round". Since the attest
change, `holds()` needs a Copilot round on an earlier head. Both now say
so, matching the `status` text. `scripts/README.md` and the
pr-review-conduct skill state it without the stale claim, so they are
unchanged.

## Verification

- New unit tests drive `_bare_push_branch` on POSIX with the Windows
regime patched on. Reverting the two-line fix fails the leading-cd and
`-C` tests, restoring it passes.
- Guard selftest, `test_install.py`, `test_pr_review.py`,
`test_cli_usage.py` and the whole suite pass. The only failure seen is
the known TestAttest timing flake (#2934), which passes alone.
- Not run on Windows natively: no Windows host is available to this
session, so the Git Bash behavior is taken from the existing
`_msys_drive_path` contract.

## Review

Local strict review declined two guard observations as extra denials
only (UNC paths denied, and a deny message that does not name the drive
spelling), since neither allows a push that origin/main's guard denied.
Four sentence-length findings were fixed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
@ptr727

ptr727 commented Oct 13, 2026

Copy link
Copy Markdown
Owner Author

Answering the round on 9ef1357, whose headline named four areas and counted no finding. Attestation pagination: attestation() reads the newest 100 comments, so an older attestation reads as absent. That fails closed (a round is requested), and the query is unchanged here. Push parsing: a destination of HEAD, @ or : is read literally, which main's guard does too, so it is not a regression. It is tracked on #2936 with a here-string wrapper. Git compatibility: on Windows, a rooted driveless cd /x or -C /x was resolved onto the session drive while Git Bash resolves it under its install root. That was a regression, and #2939 now fails it closed. Wait documentation: the wait and exit 49 usage text still said "once Copilot has reviewed it at all". #2939 now says an earlier head, matching round_before_head.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The broad, cross-cutting policy and safety changes warrant final human review.

0 open findings

🧠 Review effort: Lite

@ptr727

ptr727 commented Oct 13, 2026

Copy link
Copy Markdown
Owner Author

Answering the round on 4f4ca8c, whose headline ("The broad, cross-cutting policy and safety changes warrant final human review") names a caution rather than a finding. The merge goes to the maintainer for an explicit go-ahead on this head, with the constituent coverage stated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants