Repository navigation
Name a Pull Request Body Draft After Its Repository and Branch - #3422
Conversation
Two concurrent lanes drafting into one shared pr-body.md each published the other's body onto the wrong pull request. drive-pr's drive loop and backlog-burndown's worker brief now say to draft the body in a file named for the branch. 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 |
There was a problem hiding this comment.
🔵 Needs a closer look
The guidance does not yet define a deterministic, filesystem-safe filename mapping for repository and branch names.
No open issues 🎉
What changed in this PR
This pull request updates pull-request body drafting guidance to prevent concurrent lanes from overwriting one another’s drafts by using repository- and branch-specific filenames. It also regenerates the distributed skill mirrors and source digests.
Changes:
- Updates
drive-prto use repository- and branch-specific body draft filenames. - Updates
backlog-burndownworker guidance to use branch-specific draft files. - Regenerates the GitHub and Claude skill distributions and refreshes their digests.
| File | Description |
|---|---|
.github/skills/drive-pr/SKILL.md |
Generated GitHub Copilot mirror of drive-pr. |
.github/skills/backlog-burndown/SKILL.md |
Generated GitHub Copilot mirror of backlog-burndown. |
.claude-plugin/fleet-skills/skills/drive-pr/SKILL.md |
Generated Claude Code mirror of drive-pr. |
.claude-plugin/fleet-skills/skills/backlog-burndown/SKILL.md |
Generated Claude Code mirror of backlog-burndown. |
.claude-plugin/fleet-skills/.source-digests/drive-pr |
Updated digest for the generated drive-pr skill. |
.claude-plugin/fleet-skills/.source-digests/backlog-burndown |
Updated digest for the generated backlog-burndown skill. |
.agents/skills/drive-pr/SKILL.md |
Canonical guidance for repository- and branch-specific body drafts. |
.agents/skills/backlog-burndown/SKILL.md |
Canonical worker guidance for branch-specific body drafts. |
Review effort: Lite
|
Declined with evidence, on the headline "The guidance does not yet define a deterministic, filesystem-safe filename mapping for repository and branch names." Per GOVERNANCE.md "Trust Boundaries and Hardening Effort", a hardening case earns a fix only where its failure is silent or destructive, or one an outsider can trigger. The repository and branch names here are chosen by the driving agent itself, which is trusted input. The one unsafe character a fleet branch name can carry is |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3422 +/- ##
========================================
Coverage 80.81% 80.81%
========================================
Files 23 23
Lines 8859 8859
========================================
Hits 7159 7159
Misses 1700 1700
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:
|
…xes to Main (#3434) ## Summary Promotes the pull requests merged into develop since release 2.0.1158. - [#3422](#3422): `drive-pr` and `backlog-burndown` have every draft of a pull request body go in a file named for its repository and branch. Two lanes sharing one `pr-body.md` had published each other's drafts. - [#3423](#3423): in `pr_review.py`, an earlier partial round outranks a head round reading `unknown`, printing `coverage=PARTIAL` and exiting 42. - [#3427](#3427): the prose gate takes run-block heredoc bodies from its patched Bash lexer's heredoc tokens and lexes each alone, so an apostrophe in a body no longer hides later comments. Inline Markdown comments are numbered with code spans masked. The gate's size ceiling moves from 1800 to 1840 lines, as the maintainer decided on that pull request. Two edge cases are deferred to #3429 and #3430, and a pre-existing one is filed as #3428. - [#3431](#3431): deletes `spec/carried_text.py` and reads carried Markdown regions through markdown-it-py in the new `spec/fidelity_text.py`. `carry.py`, `build_dist.py`, and `canonical_review.py` carry PEP 723 metadata, and every caller runs them as `uv run --no-project --script`. The full audit sweep is identical before and after. The `validate.py` remainder is #3426, and a pre-existing include-marker gap is #3432. - [#3433](#3433): `pr-review-conduct` and `scripts/README.md` say exactly when the earlier-partial path exits 42, following #3423. Closes #3412 Closes #3413 Closes #3414 Closes #3425 ## Constituent coverage Each change this promotion carries had coverage on its own pull request into develop, at its merged head: | Pull request | Merged head | Coverage | | --- | --- | --- | | [#3422](#3422) | `b645b429` | attested local pass, and a Copilot table naming exactly the changed files, `coverage=table` | | [#3423](#3423) | `3f893b65` | attested local pass, and a carried Copilot table, `coverage=carried:table` | | [#3427](#3427) | `2511b62b` | attested local pass, and a carried Copilot table, `coverage=carried:table` | | [#3431](#3431) | `92755285` | attested local pass, `coverage=local` | | [#3433](#3433) | `cceba3af` | attested local pass, `coverage=local` | 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Two concurrent lanes drafted their pull request bodies into one shared
pr-body.md, and agh pr edit --body-filepublished one lane's draft onto the other lane's pull request. That happened twice in one round.drive-pr"The Drive Loop" step 2 now says every draft of a pull request's body, the opening one and each later rewrite, goes in a file named for its repository and branch.backlog-burndown"Dispatching a Worker" has the brief tell each worker to draft its body, and each rewrite of it, in a file named for its branch..claude-plugin/fleet-skills/and.github/skills/are regenerated.Local review
Two
local-strict-reviewpasses at the Opus tier. Round 1 raised five findings (two sentence-length violations, placement at creation only, a branch name not unique across repositories, a broken "it" antecedent), allintroducedand all fixed in b645b42. Round 2 raised none.🤖 Generated with Claude Code