Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .agents/skills/drive-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
go-ahead sits with the dispatcher. A worker inventing a check it cannot perform would only
launder that responsibility rather than discharge it.
- **A brief is never itself the authorization**, which binds the dispatching seat. What authorizes
a merge is what the maintainer said. It is recorded where the skill that carries the grant states
its scope, the way `backlog-burndown`'s own "What Invoking This Skill Authorizes" does.
Writing an approval into a brief creates none, since an agent cannot widen its own permission by
writing itself one. And a merge is the outward-facing act this skill's own "What Invoking This Skill
Authorizes" keeps tied to something the maintainer actually said.
a merge is what the maintainer said, recorded where the skill that carries the grant states its
scope. `backlog-burndown`'s own "What Invoking This Skill Authorizes" is one such place. An agent
cannot widen its own permission by writing itself an approval. A merge is also the outward-facing
act this skill's own "What Invoking This Skill Authorizes" keeps tied to something the maintainer
actually said. So writing an approval into a brief creates none.
- A repo on the operational workflow model (registry `workflowModel: operational`) has no
standing promotion PR expectation. Confirm whether a promotion PR is even wanted before opening
one, per branching-and-release-model's "Operational repositories (the complete delta)"
Expand Down Expand Up @@ -106,7 +106,7 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
so the hosted review runs once per change, at the promotion in step 6.
4. Merge the feature PR into
develop, `gh pr merge <number> --squash --repo <owner>/<repo>`. Never `--delete-branch` on this
call. That is because it is run from inside the task's own worktree per step 1, where the
call. It is run from inside the task's own worktree per step 1, where the
feature branch is checked out. `gh pr merge --delete-branch` needs to switch that worktree to
the base branch to delete it. That fails when `develop` is already checked out somewhere else,
the ordinary case in this layout. Instead run repo-worktree's post-merge cleanup with
Expand Down Expand Up @@ -164,7 +164,7 @@ maintainer when".
raised, not once it recurs. Take the fix through `local-strict-review` the same way the push
that opened the pull request went, per `pr-review-conduct` "Expected review loop". Then reply
with the fixing commit SHA. A branch already reviewed once has not been reviewed for the fix.
The fix is the round the `local-strict-review` pass gets dropped on, and the churn
That is the round the `local-strict-review` pass gets dropped on, and the churn
`local-strict-review` exists to stop. For a finding on platform-specific code (PowerShell, a macOS- or WSL-only
path), "fixed" means executed on that platform, per
`agent-conduct` "Before Claiming Done". A fix reasoned out by analogy to a tested equivalent
Expand Down
18 changes: 9 additions & 9 deletions .agents/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
partial coverage. So a pull request that ever had a partial round goes to the maintainer.
`coverage=none` and `coverage=UNKNOWN` leave this item unsatisfied and decide no exit code,
so read the field rather than the exit.
The coverage this item requires is Copilot's, or the attested local pass above. CodeRabbit
The coverage this item requires is Copilot's, or the attested local pass above, and CodeRabbit
and Qodo are advisory. That is because the hub's `docs/pr-reviewer-evaluation.md` "Status"
names Copilot the incumbent and says no candidate is a required reviewer. An advisory
reviewer's absence blocks nothing, while its findings owe item 3 exactly as Copilot's do.
`pr_review.py`'s `review_on_head` names Copilot's own coverage specifically, not "no review of
any kind covers this head". Take an advisory reviewer carrying the exact head under
`other_reviewed`, with an empty review body and no new threads. That is its own ordinary
"reviewed, nothing to flag" shape, not a missing review.
any kind covers this head". An advisory reviewer carrying the exact head under
`other_reviewed`, with an empty review body and no new threads, is not a missing review. It is
its own ordinary "reviewed, nothing to flag" shape.
A refusal is not that coverage, so this item stays unsatisfied under one, and the loop clears
it where it can. A file-count refusal is cleared by splitting the pull request, which is the
only cause on record that the loop can clear. `pr_review.py wait` exits `41` on every refusal
Expand Down Expand Up @@ -167,7 +167,7 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
since a resync writes the whole text there. It declines the finding under
that section's outcome 2, ownership sitting elsewhere, and files it on the same tracker.
A finding on an intent unit is filed there too, since the defect is still fixed at the source.
The carrier adapts its own copy meanwhile. Every other finding, a `style`
The carrier adapts its own copy of an intent unit meanwhile. Every other finding, a `style`
remark on untouched text included, takes its own outcome in that section.

A finding the pull request's own body lists also needs an outcome before merge, under
Expand Down Expand Up @@ -258,7 +258,7 @@ that says only "open a PR" is not such an instruction.
Run every `scripts/pr_review.py` command below from a hub checkout. The script is hosted there and
is never carried into a downstream repository.

Run `local-strict-review` against the branch's current diff before every push this loop makes. The pass is owed before the push that opens the pull request in step 1 and each one after it. It is owed whatever finding a push answers and whether or not the branch was reviewed once already. A push that delivers content no pass has read is the case the rule is about. So a re-push of a tree a recorded pass already covers needs no second pass. The receipt is keyed on the branch's net content rather than on its commit series. A rebase that leaves the tree alone keeps the receipt only while the merge base holds. Rebasing onto a target that has moved retires the receipt although no file changed. That push owes a pass like any other. Follow that skill's own ordering and record each pass, which is what a capture point reads. The hub's own `pre-push` hook is one, and a repository has none until such a hook is carried to it. A push that hook refuses, where one is present, is the gate working rather than an obstacle to route around. That skill's refusal table says what each refusal means and what clears it.
Run `local-strict-review` against the branch's current diff before every push this loop makes. The pass is owed before the push that opens the pull request in step 1 and each one after it. It is owed whatever finding a push answers and whether or not the branch was reviewed once already. A push that delivers content no pass has read is the case the rule is about. So a re-push of a tree a recorded pass already covers needs no second pass. That is because the receipt is keyed on the branch's net content rather than on its commit series. A rebase that leaves the tree alone keeps the receipt only while the merge base holds. Rebasing onto a target that has moved retires the receipt although no file changed. That push owes a pass like any other. Follow that skill's own ordering and record each pass, which is what a capture point reads. The hub's own `pre-push` hook is one, and a repository has none until such a hook is carried to it. A push that hook refuses, where one is present, is the gate working rather than an obstacle to route around. That skill's refusal table says what each refusal means and what clears it.

1. Push changes to the PR branch and open the pull request when it does not exist. Once the push
lands, run `uv run --no-project --script scripts/pr_review.py attest <number> --repo <owner>/<repo> --checkout <worktree>`.
Expand Down Expand Up @@ -291,7 +291,7 @@ Run `local-strict-review` against the branch's current diff before every push th
8. Re-run the loop after every fix push until the checks are green, the current head is covered,
and no finding remains open.

The review effort setting is user-controlled. The workflow never selects or changes it. `status` reports `effort=lite`, `effort=balanced`, or `effort=max`, lowercased, when the completed review exposes that metadata. It names an inherited setting apart from a chosen one in a separate `effort_source=default|explicit` field. Both read `unknown` when no effort line parses. Missing effort metadata reports `unknown` and does not change coverage or completion. A pending effort-labeled request can complete without a `copilot_work_started` timeline event, so absence of that event never proves the request is abandoned. The bounded timeout reports `PENDING` when no review or terminal answer arrives. `requested=yes` reports that the request was accepted rather than that a round is coming. An accepted request can sit unpicked, printing the same digest as one about to be served. So a driver reading that field as progress is waiting on evidence it does not hold. After a timeout carrying it, rerun `wait` for another bounded interval by default, because the request may still be active. Where a second bounded wait times out as well, read the pending set. Clear it only where no human or team reviewer is requested alongside the bot. That is because the clear replaces that set rather than adding to it, and nothing restores a request it drops. A stall on a pull request that has a human or team reviewer requested goes to the maintainer instead. So does one still pending after the wait that follows a clear. The clear leaves the next `wait` nothing outstanding to defer to, so that run requests afresh. Its own auto-request line is what says so. That is because `wait` reads the reviewer's node id out of the repository's recent reviews, and polls without requesting where it finds none. The hub's `docs/pr-reviewer-reference.md` carries the mutation, and an agent seat can run it. By contrast, removing and re-adding the reviewer in the pull request UI is a step only the maintainer can take. This recovery replaces only the review request and never changes the effort setting. A `wait` ending `REQUEST_NOT_RECORDED`, exit 40, is a different state and takes none of this recovery. The request returned success and left neither a pending reviewer nor a review-request event. That is how an exhausted Copilot allowance has shown itself. So clearing and requesting again does not clear this state, and it goes to the maintainer.
The review effort setting is user-controlled. The workflow never selects or changes it. `status` reports `effort=lite`, `effort=balanced`, or `effort=max`, lowercased, when the completed review exposes that metadata. It names an inherited setting apart from a chosen one in a separate `effort_source=default|explicit` field. Both fields read `unknown` when no effort line parses. Missing effort metadata reports `unknown` and does not change coverage or completion. A pending effort-labeled request can complete without a `copilot_work_started` timeline event, so absence of that event never proves the request is abandoned. The bounded timeout reports `PENDING` when no review or terminal answer arrives. `requested=yes` reports that the request was accepted rather than that a round is coming. An accepted request can sit unpicked, printing the same digest as one about to be served. So a driver reading that field as progress is waiting on evidence it does not hold. After a timeout carrying it, rerun `wait` for another bounded interval by default, because the request may still be active. Where a second bounded wait times out as well, read the pending set. In that case, clear it only where no human or team reviewer is requested alongside the bot. That is because the clear replaces that set rather than adding to it, and nothing restores a request it drops. A stall on a pull request that has a human or team reviewer requested goes to the maintainer instead. So does one still pending after the wait that follows a clear. The clear leaves the next `wait` nothing outstanding to defer to, so that run requests afresh. Its own auto-request line is what says so. That is because `wait` reads the reviewer's node id out of the repository's recent reviews, and polls without requesting where it finds none. The hub's `docs/pr-reviewer-reference.md` carries the mutation, and an agent seat can run it. By contrast, removing and re-adding the reviewer in the pull request UI is a step only the maintainer can take. This recovery replaces only the review request and never changes the effort setting. A `wait` ending `REQUEST_NOT_RECORDED`, exit 40, is a different state and takes none of this recovery. The request returned success and left neither a pending reviewer nor a review-request event. That is how an exhausted Copilot allowance has shown itself. So clearing and requesting again does not clear this state, and it goes to the maintainer.

Drive to green, a review confirmed on the latest head SHA and every actionable finding closed,
then apply the Merge Gate above. **Never exit this PR-hosted loop early.** Its pre-push
Expand All @@ -311,7 +311,7 @@ After an authorized merge, run the `repo-worktree` post-merge cleanup procedure
raised, not once it recurs. Take the fix through `local-strict-review` the same way the push
that opened the pull request went, per `pr-review-conduct` "Expected review loop". Then reply
with the fixing commit SHA. A branch already reviewed once has not been reviewed for the fix.
The fix is the round the `local-strict-review` pass gets dropped on, and the churn
That is the round the `local-strict-review` pass gets dropped on, and the churn
`local-strict-review` exists to stop. For a finding on platform-specific code (PowerShell, a macOS- or WSL-only
path), "fixed" means executed on that platform, per
`agent-conduct` "Before Claiming Done". A fix reasoned out by analogy to a tested equivalent
Expand Down Expand Up @@ -398,7 +398,7 @@ never against its confidence label. Classify before responding:
class's sites in the touched files onto it. File the other sites as one issue naming each, and
an extension a helper in another repository needs as an issue in that repository.
- **Style or convention**. If the cited rule matches the existing tree, fix the code. If the rule
contradicts the tree or industry norm, **fix the rule, not the code**. Take the rule to the
contradicts the tree or industry norm, **fix the rule, not the code**. Take such a rule to the
maintainer (outcome 5) rather than bouncing the same code across rounds.
- **Architectural opinion**, a proposed redesign. Surface it with a recommendation, never apply
it unilaterally.
Expand Down
3 changes: 2 additions & 1 deletion .agents/skills/python-codestyle/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ engine.

From inside a **build**-profile Python project directory in its uv form. A pip-form directory runs
neither `uv sync` nor `uv run`, since either writes a `uv.lock` that, once committed, makes the
directory the uv form. It builds its environment as the pip-form block below shows. A
directory the uv form. A pip-form directory builds its environment as the pip-form block below
shows. A
**lint-only** Scripts profile has no `uv.lock` to sync and no pytest to run. For it, substitute
`uvx` per tool and `unittest` per the Two Profiles section above:

Expand Down
3 changes: 2 additions & 1 deletion .agents/skills/python-codestyle/references/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ review. The axes that commonly vary:
pyright kept editor-only through Pylance), or both. A repo running both runs pyright itself,
per `SKILL.md` "Toolchain". The clean-compile runs every checker CI runs.
- **Dependency declaration**: the uv form declares the dev tools CI runs in the `dev` group of
`[dependency-groups]`. That is the one group a plain local `uv sync` or `uv run` installs. CI's
`[dependency-groups]`. The `dev` group is the one group a plain local `uv sync` or `uv run`
installs. CI's
`uv sync --all-groups --frozen` installs that group too, since the command takes every group and
no extra. PEP 621
`[project.optional-dependencies]` (installed with `uv sync --extra <group>`) suits only a tool CI
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/fleet-skills/.source-digests/drive-pr
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4be8b855c1a071b
958f43d4547b38ed
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e3f7a448c1b31a3a
11eb1ff57dfa9ff1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
74b596deef0546bf
9483de1204fbe3c2
14 changes: 7 additions & 7 deletions .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
go-ahead sits with the dispatcher. A worker inventing a check it cannot perform would only
launder that responsibility rather than discharge it.
- **A brief is never itself the authorization**, which binds the dispatching seat. What authorizes
a merge is what the maintainer said. It is recorded where the skill that carries the grant states
its scope, the way `backlog-burndown`'s own "What Invoking This Skill Authorizes" does.
Writing an approval into a brief creates none, since an agent cannot widen its own permission by
writing itself one. And a merge is the outward-facing act this skill's own "What Invoking This Skill
Authorizes" keeps tied to something the maintainer actually said.
a merge is what the maintainer said, recorded where the skill that carries the grant states its
scope. `backlog-burndown`'s own "What Invoking This Skill Authorizes" is one such place. An agent
cannot widen its own permission by writing itself an approval. A merge is also the outward-facing
act this skill's own "What Invoking This Skill Authorizes" keeps tied to something the maintainer
actually said. So writing an approval into a brief creates none.
- A repo on the operational workflow model (registry `workflowModel: operational`) has no
standing promotion PR expectation. Confirm whether a promotion PR is even wanted before opening
one, per branching-and-release-model's "Operational repositories (the complete delta)"
Expand Down Expand Up @@ -106,7 +106,7 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
so the hosted review runs once per change, at the promotion in step 6.
4. Merge the feature PR into
develop, `gh pr merge <number> --squash --repo <owner>/<repo>`. Never `--delete-branch` on this
call. That is because it is run from inside the task's own worktree per step 1, where the
call. It is run from inside the task's own worktree per step 1, where the
feature branch is checked out. `gh pr merge --delete-branch` needs to switch that worktree to
the base branch to delete it. That fails when `develop` is already checked out somewhere else,
the ordinary case in this layout. Instead run repo-worktree's post-merge cleanup with
Expand Down Expand Up @@ -164,7 +164,7 @@ maintainer when".
raised, not once it recurs. Take the fix through `local-strict-review` the same way the push
that opened the pull request went, per `pr-review-conduct` "Expected review loop". Then reply
with the fixing commit SHA. A branch already reviewed once has not been reviewed for the fix.
The fix is the round the `local-strict-review` pass gets dropped on, and the churn
That is the round the `local-strict-review` pass gets dropped on, and the churn
`local-strict-review` exists to stop. For a finding on platform-specific code (PowerShell, a macOS- or WSL-only
path), "fixed" means executed on that platform, per
`agent-conduct` "Before Claiming Done". A fix reasoned out by analogy to a tested equivalent
Expand Down
Loading
Loading