Skip to content

Fix backlog-burndown Ranking, Claim, and Cleanup Gaps - #3776

Merged
ptr727 merged 7 commits into
developfrom
feature/burn-3761
Nov 1, 2026
Merged

ptr727 merged 7 commits into
developfrom
feature/burn-3761

Conversation

@ptr727

@ptr727 ptr727 commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fixes gaps in backlog-burndown's ranking, claim tracking, liveness read, and cleanup.

Local Review

The local frontier pass 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

Deferred

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 with scripts/build_dist.py, and --check is clean.

Closes on promotion: #3761, #1275, #1274, #1306, #1301, #3733

🤖 Generated with Claude Code

ptr727 and others added 3 commits November 1, 2026 11:10
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]>
Copilot AI lite review requested due to automatic review settings November 1, 2026 19:19
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

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

Run configuration
  • 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

@ptr727

ptr727 commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 7ec7807c1516b8735b3bbae12488c83959b306ce, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.31%. Comparing base (71194c9) to head (3fe9d12).
⚠️ Report is 2 commits behind head on develop.

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           
Flag Coverage Δ
python-3.13 82.31% <ø> (ø)

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

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

@ptr727

ptr727 commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 71fbfd8b4a7ab67f92485d5cdcfa0469049d16d2, the content this pull request carries at that commit against develop, and it recorded 1 finding.

@ptr727

ptr727 commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 3fe9d125f486d389644db39128704e8cbb55e1d3, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 4dfb00b into develop Nov 1, 2026
13 checks passed
@ptr727
ptr727 deleted the feature/burn-3761 branch November 1, 2026 19:54
ptr727 added a commit that referenced this pull request Nov 1, 2026
)

## 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]>
ptr727 added a commit that referenced this pull request Nov 1, 2026
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants