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
6 changes: 6 additions & 0 deletions .agents/skills/branching-and-release-model/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ stays the same:
bless a known-good snapshot. The `develop` ruleset drops the PR and status-check gate, so direct
signed pushes are allowed (force-push, deletion, and unsigned commits are still blocked). CI
runs on the push as **advisory** feedback that never rejects a commit.
- **The commit is made in place, by the maintainer and an agent alike.** It lands in the live
checkout the running service reads, on `develop`, so the maintainer sees it where he edits. An
agent may take a worktree or a pull request into `develop` instead, and neither is required.
The host write guard allows the in-place commit only once the repository's
`.github/agent-policy.json` on `main` lists `develop` in its `guard` section. The maintainer's
merge to `main` therefore grants the exemption, and until then the guard denies it.
- **A direct push names the issues it fixes in its commit message**, as one line such as
`Closes on promotion: #N, #M`. The words `on promotion:` keep GitHub from reading the line as a closing keyword. The promotion
PR carrying the push puts a closing keyword in its own body for each issue the line names, per the
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
That holds where the whole review history is in view and no round on record states partial coverage. A policy that waits on no Copilot round drops that condition. That is a Copilot that is off, ungated, or past its cap. No refusal or pending request on the head then stands against the attestation either, since no round is coming to settle it. A promotion re-reviews content its feature pull requests already carried.
So under the hub's default review policy, the hosted review runs once per change, at the
promotion. There a pull request into the default branch, a promotion among them, always
carries a Copilot round on its head. A repository's own `.github/pr-review.json` can move,
carries a Copilot round on its head. A repository's own `.github/agent-policy.json` can move,
cap, or hold that round until the head's checks pass. `pr_review.py` applies it, so follow
the digest and the exit code rather than this paragraph's default. A review is matched
by commit SHA rather than assumed from a green merge-state. A push makes checks go green *before* the
Expand Down
6 changes: 6 additions & 0 deletions .agents/skills/repo-worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ are this skill's own content.
by creating a unique worktree (or clone) on its own feature branch. The primary checkout is
the maintainer's own surface, so a session launched there isolates before writing rather than
after noticing contention.
- **An operational repository's live checkout is the exception.** There the standard is a
direct commit in place on `develop`, in the checkout the running service reads, per the
`branching-and-release-model` skill. A worktree stays available and is never required. The
host write guard allows the in-place commit only where the repository's
`.github/agent-policy.json` on `main` lists the checked-out branch. Staging stays by explicit
path, and reset, stash, clean, and a pathspec checkout stay denied there.
- **A continuation re-isolates.** A session resuming prior work finds its branch already checked
out somewhere and naturally resumes there. That instinct is the hazard, because a branch sitting checked out in a shared tree is exactly how two sessions end up in one checkout. Create a
fresh worktree for the continuation and check the branch out there.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4b71d0433e28e36b
5daca42e1358780f
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1beaec523daad9b5
ac0e33cd85a2921f
2 changes: 1 addition & 1 deletion .claude-plugin/fleet-skills/.source-digests/repo-worktree
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ce3bd80330ac6a16
dfe60776b702a9e2
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ stays the same:
bless a known-good snapshot. The `develop` ruleset drops the PR and status-check gate, so direct
signed pushes are allowed (force-push, deletion, and unsigned commits are still blocked). CI
runs on the push as **advisory** feedback that never rejects a commit.
- **The commit is made in place, by the maintainer and an agent alike.** It lands in the live
checkout the running service reads, on `develop`, so the maintainer sees it where he edits. An
agent may take a worktree or a pull request into `develop` instead, and neither is required.
The host write guard allows the in-place commit only once the repository's
`.github/agent-policy.json` on `main` lists `develop` in its `guard` section. The maintainer's
merge to `main` therefore grants the exemption, and until then the guard denies it.
- **A direct push names the issues it fixes in its commit message**, as one line such as
`Closes on promotion: #N, #M`. The words `on promotion:` keep GitHub from reading the line as a closing keyword. The promotion
PR carrying the push puts a closing keyword in its own body for each issue the line names, per the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
That holds where the whole review history is in view and no round on record states partial coverage. A policy that waits on no Copilot round drops that condition. That is a Copilot that is off, ungated, or past its cap. No refusal or pending request on the head then stands against the attestation either, since no round is coming to settle it. A promotion re-reviews content its feature pull requests already carried.
So under the hub's default review policy, the hosted review runs once per change, at the
promotion. There a pull request into the default branch, a promotion among them, always
carries a Copilot round on its head. A repository's own `.github/pr-review.json` can move,
carries a Copilot round on its head. A repository's own `.github/agent-policy.json` can move,
cap, or hold that round until the head's checks pass. `pr_review.py` applies it, so follow
the digest and the exit code rather than this paragraph's default. A review is matched
by commit SHA rather than assumed from a green merge-state. A push makes checks go green *before* the
Expand Down
6 changes: 6 additions & 0 deletions .claude-plugin/fleet-skills/skills/repo-worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ are this skill's own content.
by creating a unique worktree (or clone) on its own feature branch. The primary checkout is
the maintainer's own surface, so a session launched there isolates before writing rather than
after noticing contention.
- **An operational repository's live checkout is the exception.** There the standard is a
direct commit in place on `develop`, in the checkout the running service reads, per the
`branching-and-release-model` skill. A worktree stays available and is never required. The
host write guard allows the in-place commit only where the repository's
`.github/agent-policy.json` on `main` lists the checked-out branch. Staging stays by explicit
path, and reset, stash, clean, and a pathspec checkout stay denied there.
- **A continuation re-isolates.** A session resuming prior work finds its branch already checked
out somewhere and naturally resumes there. That instinct is the hazard, because a branch sitting checked out in a shared tree is exactly how two sessions end up in one checkout. Create a
fresh worktree for the continuation and check the branch out there.
Expand Down
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For every review:

The review automation is `scripts/pr_review.py`, run from a hub checkout. Use its `status`, `wait`, `attest`, `comment`, and `reply --resolve` commands instead of reconstructing GraphQL queries or copying review identifiers by hand. Use `comment` for a suppressed-finding answer in the pull request conversation. Its status gate verifies the current head, diff coverage, output shape, inline threads, body-only findings, and required checks.

A formal review with no findings is complete only when it covers the current head. It also needs full diff coverage of the change set that head has, stated or read from a file table as below. A round covering the head states it. Where none does, a round covering the head whose own file table names exactly the changed files covers it. That is the reading a round at Balanced review effort gives. Where no round covering the head carries its own table, the newest round that does stands in where its table names exactly the changed files. Either table may leave out an added, modified, or deleted file with no changed line, such as a binary. That holds while some changed file has one. A table stands in only where no Copilot round on the pull request, on any commit, states partial coverage. So a pull request that ever had a partial round goes to the maintainer. A round reporting partial coverage of the diff blocks the merge, and so does a refusal. So does a head that no coverage statement, file table, or attested local pass covers. So does an output shape the digest notes and nobody has read by hand, an unresolved thread, or a body-only finding. Where the review policy hands the head to a local pass, an attested local pass covers it, `coverage=local` in the digest. By default that is a pull request into a branch other than the default. A partial round, a truncated review history, or a refusal on the head still blocks that reading. A refusal saying every changed file is in Copilot's default review exclusions is the exception. So is a policy that waits on no Copilot round, Copilot being off, ungated, or past its cap. There none of them blocks the reading, since no round is coming to settle them. Under the hub's default review policy, a pull request into the default branch, a promotion among them, always carries a Copilot round on its head. A repository's own `.github/pr-review.json` can move or cap that round, and the digest reports what it decided. Re-run the loop after every fix push. Never infer review completion from `mergeStateStatus: CLEAN`.
A formal review with no findings is complete only when it covers the current head. It also needs full diff coverage of the change set that head has, stated or read from a file table as below. A round covering the head states it. Where none does, a round covering the head whose own file table names exactly the changed files covers it. That is the reading a round at Balanced review effort gives. Where no round covering the head carries its own table, the newest round that does stands in where its table names exactly the changed files. Either table may leave out an added, modified, or deleted file with no changed line, such as a binary. That holds while some changed file has one. A table stands in only where no Copilot round on the pull request, on any commit, states partial coverage. So a pull request that ever had a partial round goes to the maintainer. A round reporting partial coverage of the diff blocks the merge, and so does a refusal. So does a head that no coverage statement, file table, or attested local pass covers. So does an output shape the digest notes and nobody has read by hand, an unresolved thread, or a body-only finding. Where the review policy hands the head to a local pass, an attested local pass covers it, `coverage=local` in the digest. By default that is a pull request into a branch other than the default. A partial round, a truncated review history, or a refusal on the head still blocks that reading. A refusal saying every changed file is in Copilot's default review exclusions is the exception. So is a policy that waits on no Copilot round, Copilot being off, ungated, or past its cap. There none of them blocks the reading, since no round is coming to settle them. Under the hub's default review policy, a pull request into the default branch, a promotion among them, always carries a Copilot round on its head. A repository's own `.github/agent-policy.json` can move or cap that round, and the digest reports what it decided. Re-run the loop after every fix push. Never infer review completion from `mergeStateStatus: CLEAN`.

Review effort is user-controlled. The automation observes `Lite`, `Balanced`, or `Max`, including an inherited `Default (<level>)`, and never selects or changes the setting. Effort does not determine coverage or completion. A request can complete without a `copilot_work_started` event, so absence of that event is not a stalled-review verdict. When `wait` returns `PENDING` with `requested=yes`, report the state and rerun `wait` for another bounded interval by default. Read that field as acceptance of the request rather than as delivery of a round. Do not clear the request on that first timeout, because it 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, and rerun `wait`. That rerun then has nothing outstanding to defer to and requests afresh. Where it finds no reviewer node id to request with, it polls instead and says so on its own auto-request line. The clear replaces that set rather than adding to it, and nothing restores a request it drops. So a stall on a pull request that has a human or team reviewer requested goes to the maintainer. So does one still pending after the wait that follows a clear. That clear is a recovery step the script does not implement, and `docs/pr-reviewer-reference.md`, in the hub checkout the script is run from, carries it. 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.

Expand Down
6 changes: 6 additions & 0 deletions .github/skills/branching-and-release-model/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ stays the same:
bless a known-good snapshot. The `develop` ruleset drops the PR and status-check gate, so direct
signed pushes are allowed (force-push, deletion, and unsigned commits are still blocked). CI
runs on the push as **advisory** feedback that never rejects a commit.
- **The commit is made in place, by the maintainer and an agent alike.** It lands in the live
checkout the running service reads, on `develop`, so the maintainer sees it where he edits. An
agent may take a worktree or a pull request into `develop` instead, and neither is required.
The host write guard allows the in-place commit only once the repository's
`.github/agent-policy.json` on `main` lists `develop` in its `guard` section. The maintainer's
merge to `main` therefore grants the exemption, and until then the guard denies it.
- **A direct push names the issues it fixes in its commit message**, as one line such as
`Closes on promotion: #N, #M`. The words `on promotion:` keep GitHub from reading the line as a closing keyword. The promotion
PR carrying the push puts a closing keyword in its own body for each issue the line names, per the
Expand Down
2 changes: 1 addition & 1 deletion .github/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
That holds where the whole review history is in view and no round on record states partial coverage. A policy that waits on no Copilot round drops that condition. That is a Copilot that is off, ungated, or past its cap. No refusal or pending request on the head then stands against the attestation either, since no round is coming to settle it. A promotion re-reviews content its feature pull requests already carried.
So under the hub's default review policy, the hosted review runs once per change, at the
promotion. There a pull request into the default branch, a promotion among them, always
carries a Copilot round on its head. A repository's own `.github/pr-review.json` can move,
carries a Copilot round on its head. A repository's own `.github/agent-policy.json` can move,
cap, or hold that round until the head's checks pass. `pr_review.py` applies it, so follow
the digest and the exit code rather than this paragraph's default. A review is matched
by commit SHA rather than assumed from a green merge-state. A push makes checks go green *before* the
Expand Down
6 changes: 6 additions & 0 deletions .github/skills/repo-worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ are this skill's own content.
by creating a unique worktree (or clone) on its own feature branch. The primary checkout is
the maintainer's own surface, so a session launched there isolates before writing rather than
after noticing contention.
- **An operational repository's live checkout is the exception.** There the standard is a
direct commit in place on `develop`, in the checkout the running service reads, per the
`branching-and-release-model` skill. A worktree stays available and is never required. The
host write guard allows the in-place commit only where the repository's
`.github/agent-policy.json` on `main` lists the checked-out branch. Staging stays by explicit
path, and reset, stash, clean, and a pathspec checkout stay denied there.
- **A continuation re-isolates.** A session resuming prior work finds its branch already checked
out somewhere and naturally resumes there. That instinct is the hazard, because a branch sitting checked out in a shared tree is exactly how two sessions end up in one checkout. Create a
fresh worktree for the continuation and check the branch out there.
Expand Down
Loading
Loading