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
4 changes: 2 additions & 2 deletions .agents/skills/backlog-burndown/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,11 @@ the issues it fixes in a `Closes on promotion:` line in its own commit message,
yields by handing the file over. A holder that already pushed and has an open pull request
yields by having that pull request wait, its branch untouched. It also yields by the promotion
fix taking the file, since the two must not be in flight on one file at once. Once the fix
lands, that pull request waits untouched until the freeze lifts. Reconciling its content is the
lands, that pull request waits untouched until the next round dispatches. Reconciling its content is the
next round's worker's job rather than the orchestrator's, which opens no branch and edits
nothing. The orchestrator retires that group's worktree, the branch and its pull request left
standing. That is the worktree-only disposition "Cleanup Is the Orchestrator's" separates out,
and the retire-then-dispatch shape "Raising a Blocked Question" uses. The orchestrator then
and the retire-then-dispatch shape "Raising a Blocked Question" uses. That next round
dispatches a fresh worker on that same branch. That worker is briefed either to merge develop in
to pick the fix up, or to narrow the change to drop the file. Never rebase it, since its branch
is already pushed and a rebase there needs what `GOVERNANCE.md` "Git and Commit Rules" forbids.
Expand Down
9 changes: 6 additions & 3 deletions .agents/skills/drive-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
one per "Disposing of Every Finding" and wait again. Read `state=` in every digest `wait` or `status` prints.
A peer can merge or close the pull request mid-drive. A digest carrying `state=MERGED` on a feature PR into develop means the merge has landed.
Skip the merge in step 4 and go on to its post-merge path.
A finding still open there keeps its outcome owed. That covers an unresolved thread and every finding step 4 names, whether or not `merge` would refuse on it.
Give each one per "Disposing of Every Finding" before that path's cleanup, a fix landing as a fresh feature -> develop pass.
On a promotion PR it means the drive's end state is passed, so stop and report it merged.
A digest carrying `state=CLOSED` is a stop to report, with its `closed_at=`.
On such a PR `state=` decides the next step over any exit code `wait` or `status` returns. A promotion re-reviews content its feature PRs already carried.
Expand Down Expand Up @@ -130,9 +132,10 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
line's route here. The hub's `scripts/README.md` "`pr_merge.py`" gives each route in full.

- `next=done` is merged and cleaned up.
- `next=cleanup` is a merge that landed with its cleanup still owed. Run the `cleanup` command
below. Report a pull request another hand merged as a merge this run cannot vouch for. The
head that merged may be one the gate never read.
- `next=cleanup` is a merge that landed with its cleanup still owed. Give its open findings the
outcome step 3 owes after a peer merge, then run the `cleanup` command below. Report a pull
request another hand merged as a merge this run cannot vouch for. The head that merged may be
one the gate never read.
- `next=readback` is a merge that may have landed. Read it back with `gh pr view <number> --repo
<owner>/<repo> --json state`. `MERGED` means run `cleanup`, and `OPEN` means treat it as
`redrive`. Only a read that still cannot answer is reported, saying the merge may have landed.
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
whose own file table names exactly the changed files covers it, `coverage=table`. That is the
reading a Copilot round at Balanced review effort gives. Where no round covering the head carries a table of its own, the newest round
that does stands in as `coverage=carried:table`. Its table has to name exactly the changed files.
The bound is that file set rather than file recency. The carry exists for a later head that
changed those files and drew a round with no table of its own.
Either table may leave out an added, modified, renamed, or deleted file with no changed line,
such as a binary. That holds while some changed file has one. On a develop -> main promotion, a
file that only green Dependabot bumps changed is taken out of that comparison. The head reads
Expand Down
6 changes: 4 additions & 2 deletions .agents/skills/repo-worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,10 @@ in the new tree.
own, run the same commands there whatever the setting reads.
- **Python pre-commit:** When `.pre-commit-config.yaml` exists, check for the hook the new tree
will run before installing anything, from the worktree root, with
`test -x "$(git rev-parse --git-path hooks)/pre-commit"`. In a linked worktree with no
`core.hooksPath` set, that path is the base clone's shared hooks directory. So a hook already there is the one every checkout runs, and the step is done. Where none is present in a linked
`h="$(git rev-parse --git-path hooks)/pre-commit"; test -x "$h" && grep -q '^# File generated by pre-commit' "$h"`.
It passes only on an executable hook carrying the framework's own header. Any other executable
there is not the gate this bullet is about. In a linked worktree with no
`core.hooksPath` set, that path is the base clone's shared hooks directory. So such a hook already there is the one every checkout runs, and the step is done. Where none is present in a linked
worktree, the bullet below applies. In a standalone clone the hooks directory is the clone's
own, so run `uv tool install pre-commit` once per host if not already installed, then
`pre-commit install` there. `pre-commit` is never a project dependency, so this is the same
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a47580ef48a9077e
9d55ef77ca21cbcc
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 @@
44df8bd17327ff1d
1a29af0b64a1bc42
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d30ac47c54c4e9a1
0eeaadb384f5001a
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 @@
522d6174bf964ef9
f0e402ea54c9ef17
4 changes: 2 additions & 2 deletions .claude-plugin/fleet-skills/skills/backlog-burndown/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,11 @@ the issues it fixes in a `Closes on promotion:` line in its own commit message,
yields by handing the file over. A holder that already pushed and has an open pull request
yields by having that pull request wait, its branch untouched. It also yields by the promotion
fix taking the file, since the two must not be in flight on one file at once. Once the fix
lands, that pull request waits untouched until the freeze lifts. Reconciling its content is the
lands, that pull request waits untouched until the next round dispatches. Reconciling its content is the
next round's worker's job rather than the orchestrator's, which opens no branch and edits
nothing. The orchestrator retires that group's worktree, the branch and its pull request left
standing. That is the worktree-only disposition "Cleanup Is the Orchestrator's" separates out,
and the retire-then-dispatch shape "Raising a Blocked Question" uses. The orchestrator then
and the retire-then-dispatch shape "Raising a Blocked Question" uses. That next round
dispatches a fresh worker on that same branch. That worker is briefed either to merge develop in
to pick the fix up, or to narrow the change to drop the file. Never rebase it, since its branch
is already pushed and a rebase there needs what `GOVERNANCE.md` "Git and Commit Rules" forbids.
Expand Down
9 changes: 6 additions & 3 deletions .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
one per "Disposing of Every Finding" and wait again. Read `state=` in every digest `wait` or `status` prints.
A peer can merge or close the pull request mid-drive. A digest carrying `state=MERGED` on a feature PR into develop means the merge has landed.
Skip the merge in step 4 and go on to its post-merge path.
A finding still open there keeps its outcome owed. That covers an unresolved thread and every finding step 4 names, whether or not `merge` would refuse on it.
Give each one per "Disposing of Every Finding" before that path's cleanup, a fix landing as a fresh feature -> develop pass.
On a promotion PR it means the drive's end state is passed, so stop and report it merged.
A digest carrying `state=CLOSED` is a stop to report, with its `closed_at=`.
On such a PR `state=` decides the next step over any exit code `wait` or `status` returns. A promotion re-reviews content its feature PRs already carried.
Expand Down Expand Up @@ -130,9 +132,10 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR
line's route here. The hub's `scripts/README.md` "`pr_merge.py`" gives each route in full.

- `next=done` is merged and cleaned up.
- `next=cleanup` is a merge that landed with its cleanup still owed. Run the `cleanup` command
below. Report a pull request another hand merged as a merge this run cannot vouch for. The
head that merged may be one the gate never read.
- `next=cleanup` is a merge that landed with its cleanup still owed. Give its open findings the
outcome step 3 owes after a peer merge, then run the `cleanup` command below. Report a pull
request another hand merged as a merge this run cannot vouch for. The head that merged may be
one the gate never read.
- `next=readback` is a merge that may have landed. Read it back with `gh pr view <number> --repo
<owner>/<repo> --json state`. `MERGED` means run `cleanup`, and `OPEN` means treat it as
`redrive`. Only a read that still cannot answer is reported, saying the merge may have landed.
Expand Down
2 changes: 2 additions & 0 deletions .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
whose own file table names exactly the changed files covers it, `coverage=table`. That is the
reading a Copilot round at Balanced review effort gives. Where no round covering the head carries a table of its own, the newest round
that does stands in as `coverage=carried:table`. Its table has to name exactly the changed files.
The bound is that file set rather than file recency. The carry exists for a later head that
changed those files and drew a round with no table of its own.
Either table may leave out an added, modified, renamed, or deleted file with no changed line,
such as a binary. That holds while some changed file has one. On a develop -> main promotion, a
file that only green Dependabot bumps changed is taken out of that comparison. The head reads
Expand Down
6 changes: 4 additions & 2 deletions .claude-plugin/fleet-skills/skills/repo-worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,10 @@ in the new tree.
own, run the same commands there whatever the setting reads.
- **Python pre-commit:** When `.pre-commit-config.yaml` exists, check for the hook the new tree
will run before installing anything, from the worktree root, with
`test -x "$(git rev-parse --git-path hooks)/pre-commit"`. In a linked worktree with no
`core.hooksPath` set, that path is the base clone's shared hooks directory. So a hook already there is the one every checkout runs, and the step is done. Where none is present in a linked
`h="$(git rev-parse --git-path hooks)/pre-commit"; test -x "$h" && grep -q '^# File generated by pre-commit' "$h"`.
It passes only on an executable hook carrying the framework's own header. Any other executable
there is not the gate this bullet is about. In a linked worktree with no
`core.hooksPath` set, that path is the base clone's shared hooks directory. So such a hook already there is the one every checkout runs, and the step is done. Where none is present in a linked
worktree, the bullet below applies. In a standalone clone the hooks directory is the clone's
own, so run `uv tool install pre-commit` once per host if not already installed, then
`pre-commit install` there. `pre-commit` is never a project dependency, so this is the same
Expand Down
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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, renamed, 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. The `pr-review-conduct` Skill's Merge Gate states the promotion cases outside these. 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`.
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. The bound is that file set rather than file recency. The carry exists for a later head that changed those files and drew a round with no table of its own. Either table may leave out an added, modified, renamed, 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. The `pr-review-conduct` Skill's Merge Gate states the promotion cases outside these. 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
4 changes: 2 additions & 2 deletions .github/skills/backlog-burndown/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,11 @@ the issues it fixes in a `Closes on promotion:` line in its own commit message,
yields by handing the file over. A holder that already pushed and has an open pull request
yields by having that pull request wait, its branch untouched. It also yields by the promotion
fix taking the file, since the two must not be in flight on one file at once. Once the fix
lands, that pull request waits untouched until the freeze lifts. Reconciling its content is the
lands, that pull request waits untouched until the next round dispatches. Reconciling its content is the
next round's worker's job rather than the orchestrator's, which opens no branch and edits
nothing. The orchestrator retires that group's worktree, the branch and its pull request left
standing. That is the worktree-only disposition "Cleanup Is the Orchestrator's" separates out,
and the retire-then-dispatch shape "Raising a Blocked Question" uses. The orchestrator then
and the retire-then-dispatch shape "Raising a Blocked Question" uses. That next round
dispatches a fresh worker on that same branch. That worker is briefed either to merge develop in
to pick the fix up, or to narrow the change to drop the file. Never rebase it, since its branch
is already pushed and a rebase there needs what `GOVERNANCE.md` "Git and Commit Rules" forbids.
Expand Down
Loading
Loading