Skip to content

Hand a Spent Edit Budget to the PR, and Narrow a Blocked Promotion to Develop - #2549

Merged
ptr727 merged 6 commits into
developfrom
feature/auto-2534
Oct 9, 2026
Merged

ptr727 merged 6 commits into
developfrom
feature/auto-2534

Conversation

@ptr727

@ptr727 ptr727 commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes on promotion: #2534

An unattended run should park a question and move on rather than stop. Two rules made it stop where no maintainer choice was involved, and this changes both.

  • A spent edit budget goes to the pull request, not the maintainer. In local-strict-review "Disposing of Findings", when the second round leaves an introduced finding open, editing stops. The pull request body lists each remaining finding with its class, and the review loop gives each an outcome under pr-review-conduct before merge. A spent budget is not an escalation. pr-review-conduct "Escalate to the maintainer when" keeps its four cases unchanged.
  • A blocked promotion narrows the round to develop. The unattended-handoff picker no longer returns STOP when a decision issue blocks the open promotion. The worker reads that state before promoting. When blocked, it merges its own pull request to develop, opens, merges, and releases no promotion, adds Fixes #<issue> to the open promotion body, and closes its lane out. STOP stays for a missing label, an exhausted reviewer quota, or a refused push.
  • "The Worker" step 5 states once that a worker parks only on a choice the maintainer alone can make, and anything with a determined outcome is applied or handed to the pull request's review.

The picker's steps are renumbered after removing its promotion check, and the scope rationale for main now names the blocked-promotion case as the one where develop merges queue. Generated copies are regenerated with build_dist.py.

Verification

  • build_dist.py --check, spec/validate.py, the diff-scoped prose gate, ruff, mypy, and the EOL gate pass.
  • Three local strict-review passes. The first raised 4 substantive findings (a fix-or-escalate bullet missing the new route, nobody named to dispose of listed findings, the main rationale contradicting the narrowing, and the issue never closing because no Fixes line reached the promotion), all fixed. The second raised 2 that the first round's fix introduced (a dropped condition and an ambiguous "this issue"), both fixed. The third raised none beyond the style findings below.

Remaining local findings, for this pull request's review

The edit budget is spent, so these are listed per the rule this change writes. Each is class style: the opt-in prose_lint.py --check sentence-length check, not part of the default gate, flags a sentence over 25 words.

  • .agents/skills/local-strict-review/SKILL.md:144, two 30-word sentences.
  • .agents/skills/unattended-handoff/SKILL.md:132, 29 words (the STOP list).
  • .agents/skills/unattended-handoff/SKILL.md:219, 43 words (the blocked-promotion condition).
  • .agents/skills/unattended-handoff/SKILL.md:261, 65 words, pre-existing in length, one word changed.

After merging develop

Decision #2556 was answered with option 1: merge this pull request to develop as it stands. The branch was behind develop and conflicted only in a generated source digest, so develop was merged in, the digest was regenerated with build_dist.py, and build_dist.py --check reports the copies current. The branch's own content did not change.

A fourth local strict-review pass ran over the merged branch and is attested on this head. Since the maintainer chose to merge this as it stands, no further edits were made here. Each finding has an outcome:

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 8, 2026 09:00
… Develop

A spent local-strict-review edit budget now hands its remaining
introduced findings to the pull request body for the hosted review,
rather than to the maintainer. Escalation stays for the cases
pr-review-conduct "Escalate to the maintainer when" lists.

The unattended-handoff picker no longer returns STOP when a decision
blocks the promotion. The worker reads that state, merges its own pull
request to develop, opens no promotion while the decision is open, and
closes its lane out. The Worker also states that a worker parks only on
a choice only the maintainer can make.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Name the pull request hand-off as a route beside fix and escalate,
state that the review loop gives each listed finding an outcome, and
have a worker under a blocked promotion add its Fixes line to the open
promotion body. Reconcile the scope rationale with the narrowing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The narrowing applies only where a decision issue states it blocks the
open promotion, and the Fixes line names the fixed issue rather than
the handoff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 8, 2026 16:32
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

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

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6bdc98a-557c-4025-95a4-f3665dc5b289
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.25%. Comparing base (38f2c91) to head (6fcba8c).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2549   +/-   ##
========================================
  Coverage    59.25%   59.25%           
========================================
  Files           16       16           
  Lines         8263     8263           
========================================
  Hits          4896     4896           
  Misses        3367     3367           
Flag Coverage Δ
python-3.13 59.25% <ø> (ø)

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

Unresolved critical promotion-ordering and moderate issue-reference/closure findings remain.

1 open finding
What changed in this PR

Updates unattended workflows to continue past spent review budgets and blocked promotions, with regenerated skill distributions.

Changes:

  • Routes spent findings to pull-request review.
  • Narrows blocked promotions to merges into develop.
  • Regenerates GitHub and Claude skill copies and digests.
File Summary
.github/​skills/​unattended-handoff/​SKILL.md Regenerated unattended-handoff rules.
.github/​skills/​local-strict-review/​SKILL.md Regenerated local-review rules.
.claude-plugin/​fleet-skills/​skills/​unattended-handoff/​SKILL.md Regenerated Claude unattended-handoff copy.
.claude-plugin/​fleet-skills/​skills/​local-strict-review/​SKILL.md Regenerated Claude local-review copy.
.claude-plugin/​fleet-skills/​.source-digests/​unattended-handoff Updated source digest.
.claude-plugin/​fleet-skills/​.source-digests/​local-strict-review Updated source digest.
.agents/​skills/​unattended-handoff/​SKILL.md Updates blocked-promotion behavior; unresolved ordering and issue-closure findings remain.
.agents/​skills/​local-strict-review/​SKILL.md Updates spent edit-budget handling.

🧠 Review effort: Lite


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Move the decision-issue check ahead of the promotion path, so a worker
never opens or drives a promotion before finding it blocked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

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

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

Critical findings remain around preserving all promotion issues and paging through every decision issue.

2 open findings
1 resolved since last review

🧠 Review effort: Lite

A worker under a blocked promotion now completes the promotion body Fixes
list rather than adding only its own issue, so a fix another session
merged meanwhile also closes when the promotion merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

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

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.

🔵 Needs a closer look

A remaining behavior-description inconsistency warrants human review.

0 open findings

2 resolved since last review

🧠 Review effort: Lite

# Conflicts:
#	.claude-plugin/fleet-skills/.source-digests/local-strict-review
@ptr727

ptr727 commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

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

@ptr727
ptr727 merged commit 7b81b9b into develop Oct 9, 2026
13 checks passed
@ptr727
ptr727 deleted the feature/auto-2534 branch October 9, 2026 02:04
ptr727 added a commit that referenced this pull request Oct 9, 2026
…d Promotions (#2616)

## Summary

Promotes develop to main.

- #2549: hand a spent local edit budget to the pull request's review
rather than the maintainer, and narrow an unattended run to develop when
a `decision` issue blocks the promotion.
- #2615: let a develop -> main promotion whose head round states no
coverage satisfy the Merge Gate's coverage item where every constituent
change was covered, every thread is resolved, every check passes, and
exit `45` is the only shortfall.

Fixes #2534
Fixes #2583

🤖 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