Repository navigation
Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges - #4449
Conversation
… Merges The agent drives the fix pull request into the target's develop to green, then opens and drives that target's develop -> main promotion to green. The maintainer merges each, and the re-audit runs once the fix is on main. An operational repository confirms a promotion is wanted first, per drive-pr. Applied to AUDIT.md section 10, RESYNC.md section 6, and the resync-a-repo and audit-a-repo Skills, with the generated Skill trees regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The promotion opens once the maintainer merges the fix into develop, or the open one is reused, so it never lacks the fix. The agent, not the repository, confirms an operational repository wants a promotion. The AUDIT.md and RESYNC.md flow diagrams now show the promotion before the re-audit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🔵 Needs a closer look
Human review is needed to validate the fleet-wide audit/resync ownership change and operational-repository promotion checkpoint across repository workflow models.
No open issues 🎉
What changed in this PR
This PR updates the audit and resync procedures so fixes reach main through an agent-driven promotion before re-auditing, while propagating the canonical skill changes to generated distributions.
Changes:
- Updates
AUDIT.mdandRESYNC.mdwith promotion ownership, maintainer merge checkpoints, and re-audit sequencing. - Applies the updated convergence flow to the canonical audit and resync Skills.
- Regenerates the GitHub Copilot and Claude Skill distributions and refreshes source digests.
- The procedure still lacks an explicit direct-commit path for operational repositories.
| File | Description |
|---|---|
| RESYNC.md | Updates the resync flow and promotion procedure, including promotion before measurement. |
| AUDIT.md | Updates audit convergence and re-audit sequencing to require promotion to main. |
| .github/skills/resync-a-repo/SKILL.md | Provides the regenerated GitHub Copilot resync Skill distribution. |
| .github/skills/audit-a-repo/SKILL.md | Provides the regenerated GitHub Copilot audit Skill distribution. |
| .claude-plugin/fleet-skills/skills/resync-a-repo/SKILL.md | Provides the regenerated Claude resync Skill distribution. |
| .claude-plugin/fleet-skills/skills/audit-a-repo/SKILL.md | Provides the regenerated Claude audit Skill distribution. |
| .claude-plugin/fleet-skills/.source-digests/resync-a-repo | Refreshes the source digest for the resync Skill. |
| .claude-plugin/fleet-skills/.source-digests/audit-a-repo | Refreshes the source digest for the audit Skill. |
| .agents/skills/resync-a-repo/SKILL.md | Updates the canonical resync workflow with promotion guidance. |
| .agents/skills/audit-a-repo/SKILL.md | Updates the canonical audit workflow with promotion guidance. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4449 +/- ##
===========================================
- Coverage 81.60% 79.62% -1.99%
===========================================
Files 26 47 +21
Lines 9070 16398 +7328
===========================================
+ Hits 7402 13057 +5655
- Misses 1668 3341 +1673
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:
|
|
@coderabbitai review |
|
/review |
Action performed
|
|
Answer to the Copilot round on 016dfff (#4449 (review)), verdict headline with no counted finding (1):
No change needed. The ownership change is the maintainer's own decision, recorded as his answer on #4406: the agent opens and drives the promotion, the maintainer merges each, and an operational repository confirms that a promotion is wanted first, per |
Summary
Writes the maintainer's answer to #4406 into each unit that states who drives an audit's file fix after review. The agent drives the fix pull request into the target's
developto green. Once the maintainer merges it, the agent opens that target'sdevelop->mainpromotion, or finds the open one, and drives it to green. The maintainer merges that too. The re-audit runs once the fix is onmain. On an operational repository, the agent confirms that a promotion is wanted before opening one, perdrive-pr.AUDIT.mdsection 10: the "Merge only with explicit maintainer approval" bullet. The "Re-audit once the fix reachesmain" bullet already states the re-audit timing. The section 9 flow diagram now shows the promotion before the re-audit.RESYNC.mdsection 6: the "The maintainer merges" bullet, and "Done means measured, not applied" now re-runs the audit once the fix is onmain. The opening flow diagram's step 6 now names the promotion..agents/skills/resync-a-repo/SKILL.mdand.agents/skills/audit-a-repo/SKILL.md: the same sentences, with.github/skills/and.claude-plugin/regenerated byscripts/build_dist.py.Local review
Two recorded
local-strict-reviewpasses. The first raised four findings. Three are fixed in this branch: when the promotion opens, who confirms on an operational repository, and the two flow diagrams. One is declined: what ends a convergence when an operational repository declines the promotion. Theaudit-a-repoSkill already states that an operational repository'sdevelopwork counts once it reachesmain, so the re-audit waits on that promotion. The second pass raised none.Closes on promotion: #4406
🤖 Generated with Claude Code
Summary by CodeRabbit
developtomainafter maintainer approval.main.