Repository navigation
Fix backlog-burndown Ranking, Claim, and Cleanup Gaps - #3776
Conversation
Hold an unapproved agent-safety issue out of attended ranking, give the branch-to-claim traversal a command, read an unclaimed branch against its own base, and say why the Closes on promotion line stays inert. Name the claim release's actor and action, call only a merged group finished, retire a dead worker's tree alone over unmerged commits, have a worker report its checkout path so a standalone clone is removed, and let a worker told to abandon discard its own uncommitted edits first. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Filter the claim lookup to visible write-access comments, bound the dead-worker redispatch to once, give the clone check a failure branch, and correct the closing-keyword and discard-grant wording. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
A recorded local strict-review pass covers head |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3776 +/- ##
========================================
Coverage 82.31% 82.31%
========================================
Files 28 28
Lines 9438 9438
========================================
Hits 7769 7769
Misses 1669 1669
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Several critical and moderate issues remain in the backlog-burndown instructions, including incorrect claim detection and cleanup ordering that could miss active work or delete a remote recovery path.
4 open issues
What changed in this PR
This pull request updates the backlog-burndown skill and its generated distributions to improve ranking, claim tracking, worker recovery, and cleanup behavior.
Changes:
- Adds approval handling for agent-safety changes and clarifies promotion-only issue closure.
- Improves claim enumeration, branch-base selection, release handling, and dead-worker recovery.
- Defines standalone-clone reporting and cleanup behavior.
- Regenerates the GitHub and Claude skill distributions and source digest.
- Unresolved issues remain in claim matching and authorization, claim-release marker removal, and standalone-clone cleanup ordering.
This pull request requires changes.
| File | Description |
|---|---|
.github/skills/backlog-burndown/SKILL.md |
Generated GitHub skill distribution. |
.claude-plugin/fleet-skills/skills/backlog-burndown/SKILL.md |
Generated Claude fleet skill distribution. |
.claude-plugin/fleet-skills/.source-digests/backlog-burndown |
Updated source digest for the generated skill. |
.agents/skills/backlog-burndown/SKILL.md |
Canonical backlog-burndown ranking, claim, cleanup, and liveness rules. |
Review effort: Lite
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
) ## Summary The `backlog-burndown` claim lookup read a released claim comment as a live claim, because nothing gave a release a shape the lookup could match. This was raised on #3776 and in two rounds of #3778. - A release edit now opens with the fixed prefix `**Released (<date>):**` and why the claim holds no files, with the claim text kept below it. That is the shape the orchestrator already writes. - The lookup's jq adds `(.body | startswith("**Released") | not)`, so a comment opening with a release no longer counts as a claim. - The generated trees are regenerated with `scripts/build_dist.py`, and `--check` passes. ## Verification The new lookup ran live and read-only through `gh issue list --jq` against the open issues. For a branch whose round-1 claims were released, the old predicate matched every issue holding a released claim. The new one matched only the issues where a write-access comment that does not open with `**Released` still names the branch. ## Pre-existing findings, filed - `.agents/skills/backlog-burndown/SKILL.md:215`, correctness: the lookup selects an issue when any write-access comment names the branch, not only a claim comment, so a state comment naming a released claim's branch still lists the issue. Filed as #3780. Closes on promotion: #1275 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…xcluded-Files Refusal, and Fix backlog-burndown and Prose Gate Gaps (#3778) Promotes the changes merged into `develop` since promotion #3762 to `main`, the first round of a backlog burndown. - [#3764](#3764) reads a bare push whose branch the write guard cannot read as writing every protected default (`main`, `master`, `develop`), as `--all` is. That covers a run-time `cd`, `git -C` or `env -C`, an exported `GIT_DIR`, and a command that can switch the branch before the push. It also drops the unused `_bare_push_branch` parameters. Naming the branch in the refspec is the remedy, per the maintainer's decisions on #3729 and #3730. - [#3765](#3765) has the prose gate's diff mode report what a move adds by checking a moved file at its old path and its new path, replacing the hand-kept `path_readings` table. It also reads a script whole when an edited shebang changes its lexer. - [#3776](#3776) fixes `backlog-burndown`'s ranking, claim, liveness and cleanup gaps: - An attended run holds an unapproved agent-safety issue. - Claim comments name their branch in backticks and are released by an edit. - A silent worker counts as finished only with a merged pull request. - The orchestrator removes a standalone clone after its merge. - An abandoned worker discards its own uncommitted edits. - [#3775](#3775) reads Copilot's excluded-files refusal as its own `excluded` kind, which an attested local pass covers on a pull request into a non-default branch. It aligns Merge Gate item 2 with the code on an earlier-head refusal, adds two Copilot label spellings, and states the lineless-file allowance where the prose describes table coverage. - [#3779](#3779) deletes an abandoned group's pushed branch with a checked remote delete before its claim is released, and says the claim lookup's `<branch>` is replaced before it runs. It answers this promotion's first review round. - [#3781](#3781) has a release open the claim comment with `**Released (<date>):**`, and has the claim lookup skip a comment that opens with it. It answers this promotion's second review round. - [#3782](#3782) has `pr_review.py wait` poll a pending review request past an excluded-files refusal under `--request` as well. It answers this promotion's second review round. Fixes #3729 Fixes #3730 Fixes #3723 Fixes #3711 Fixes #3714 Fixes #3761 Fixes #1275 Fixes #1274 Fixes #1306 Fixes #1301 Fixes #3733 Fixes #3571 Fixes #2180 Fixes #3732 Fixes #3713 Fixes #3726 🤖 Generated with [Claude Code](https://claude.com/claude-code)


Summary
Fixes gaps in
backlog-burndown's ranking, claim tracking, liveness read, and cleanup.host-setup/agent-safety/until an approval is recorded on it, and asks the maintainer for one otherwise. This matches the hold "Needs the Maintainer" already gives an away run.gh issue listcommand walks from an enumerated branch back to its claim.baseRefNameordevelop, rather than a hardcodedorigin/develop.Closes on promotion: #Ncloses nothing: GitHub reads a closing keyword only where the issue reference follows it directly.backlog-burndownworker merged its group from a temporary standalone clone (therepo-worktreefallback), should the orchestrator remove that clone, or should the worker only report its path? #3742). The worker reports its checkout path, and after a merge the orchestrator removes a standalone clone at that path perrepo-worktree"Listing and Cleanup". It first confirms the clone is clean and at the pull request'sheadRefOid.git worktree removeandgit branch -dthen succeed. No agent-safety edit.Local Review
The local
frontierpass raised 11 findings. The fix commit addresses the introduced ones: the claim lookup now trusts only visible write-access comments, a dead-worker redispatch is bounded to once, the clone check has a failure branch, and the closing-keyword and discard-grant wording is corrected. The second pass raised one wording finding, fixed in the following commit. The third pass, over the first pushed head, raised none. After the Copilot round, later passes found that the release form had to be stated once for every release site and match the promotion-hold test. Those were fixed in e194c98, 71fbfd8, and 3fe9d12, and the last pass raised none.Pre-existing findings, filed
.agents/skills/backlog-burndown/SKILL.md"Bounding the Wait on a Worker" and "Cleanup Is the Orchestrator's": a dead or abandoned worker's standalone clone has no path (pre-existing). Filed as Give backlog-burndown a Path to a Dead or Abandoned Worker's Standalone Clone #3771..agents/skills/backlog-burndown/SKILL.md"Grouping and File Claims": the agent-safety hold is not reapplied when a group's file set grows (pre-existing). Filed as Apply backlog-burndown's Agent-Safety Hold When a Group's File Set Grows #3772.Deferred
.agents/skills/git-commit-conventions/SKILL.mdandGOVERNANCE.md"Git and Commit Rules" do not name the abandon-discard exception this change adds. Fixing that is outside this change's files, so it is filed as Name the Abandon-Discard Exception in git-commit-conventions #3773.Dropped findings
.agents/skills/backlog-burndown/SKILL.md"Ranking", the stopped-group release sentence names no actor (wording, untouched text)..github/skills/and.claude-plugin/are regenerated withscripts/build_dist.py, and--checkis clean.Closes on promotion: #3761, #1275, #1274, #1306, #1301, #3733
🤖 Generated with Claude Code