Repository navigation
docs(skills): isolate release scope from unrelated PRs - #3137
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Summary by CodeRabbit
WalkthroughThe change adds release-scope rules to mirrored delivery and finishing skills. Pinned releases must use immutable commit identity, ancestry, and manifests. Unrelated PRs must not be mutated. Only the selected PR may close for its terminal disposition. ChangesRelease-scope guidance
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73f46b8ffb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Reporter summary
Docs-only change adds a release-scope law across three skill files; refuter lane skipped with no candidates, so this distillation rests on a manual read of the diff. The three additions are consistent: each pins membership to exact immutable head SHA/ancestry/manifests, forbids mutating unrelated PRs, forbids post-pin retargeting, and forbids close-now/reopen-after-release. No factual, link, or overclaim issues were found in the documentation text; artifact-verifier failed but this is a markdown-only change unrelated to that sensor's domain, and cargo-test landed ok late. Residual risk is process-only: the law is normative prose with no machine enforcement, so its effectiveness depends on agent adherence and any future workflow guard.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED (reviewed head 73f46b8ffb3b52d3a8edf219afd614ebf861ec09)
Blocking finding: the release-scope guard is provider-incomplete. CLAUDE.md explicitly says Claude must not import AGENTS.md or .agents/skills/** and routes Claude to .claude/skills/**. At this exact head, .claude/skills/deliver-goal/SKILL.md, .claude/skills/deliver-pr/SKILL.md, and .claude/skills/finish-pr/SKILL.md have no corresponding rule prohibiting closing, drafting, locking, relabeling, or retargeting unrelated PRs to freeze release scope, nor the immutable head-SHA/ancestry/manifest boundary or close-now/reopen-after-release prohibition. A Claude-driven release can therefore still perform the lifecycle mutation this PR claims to prevent. Add equivalent guards to all three Claude procedures (or otherwise update the Claude provider's authoritative route), then re-run exact-head review. This is a source/contract blocker, not a CI issue.
Inspected: PR diff and body; AGENTS.md; CLAUDE.md; all six provider procedure files; release-control specs 0144/0145; current PR checks and branch protection. Required check Ripr Rust Small Result is green. droid-review is queued and ub-review is in progress, so remote proof is incomplete; those checks do not establish semantic completeness.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact hosted W4 qualification completed successfully in run 31461179893.
SWARM_PARENT = 544a34a4b0f6fc9d2bcacb6453bc502ca059dad3
artifact = 9090144394
artifact SHA = sha256:942fb30e662c565eabb64c9788979fd50d4b687bf6d020ac6dbc79c277e3b915
The retained ripr.hosted_exact_head_qualification.v1 receipt binds the existing CI, Routed Rust, and Windows Advisory workflow-dispatch runs to headSha W4 and branch release-qualification/0.11.0-w4. Every run completed successfully. The downloaded Windows statuses are zero for no-default check/test, all-features check, and both repeated full-workspace observations.
This control PR remains unmerged. Closing it authorizes only exact-head qualification evidence—not J, release metadata, public v0.11.0, publication, signing, marketplaces, secrets, or K.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Correction: the preceding W4 qualification note was posted here because another PR was created concurrently and I used a stale numeric identifier. It does not review, approve, reject, or otherwise classify this PR’s skill changes. This PR was immediately reopened; its branch and contents were never modified. Further release-control actions will resolve PRs by exact head branch before mutation.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.agents/skills/deliver-goal/SKILL.md:
- Around line 42-45: Bind release membership exclusively to the reviewed pin
receipt, preserving its immutable ref, ancestry, ordered SHA digest, PR
dispositions, and manifests unchanged. In .agents/skills/deliver-goal/SKILL.md
lines 42-45, .agents/skills/deliver-pr/SKILL.md lines 49-54,
.agents/skills/finish-pr/SKILL.md lines 55-58,
.claude/skills/deliver-goal/SKILL.md lines 46-49,
.claude/skills/deliver-pr/SKILL.md lines 49-54, and
.claude/skills/finish-pr/SKILL.md lines 48-51, prohibit repinning due solely to
main or swarm movement; permit repinning only after a release-invalidating
exact-candidate or source-preflight failure, and require all qualification,
preflight, and finalization flows to consume the reviewed receipt unchanged.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 1416f479-3875-4b5c-9843-4873032179f3
📒 Files selected for processing (6)
.agents/skills/deliver-goal/SKILL.md.agents/skills/deliver-pr/SKILL.md.agents/skills/finish-pr/SKILL.md.claude/skills/deliver-goal/SKILL.md.claude/skills/deliver-pr/SKILL.md.claude/skills/finish-pr/SKILL.md
|
Addressed the Added equivalent release-scope and closure guards to Claude's authoritative Proof on |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED (reviewed head e402e232ad163e00542412170309015c7f4507a0)
Blocking finding: the six provider laws now cover both authoritative routes and correctly prohibit unrelated PR close/draft/lock/relabel/retarget mutations, preserve unrelated PR evolution, forbid close-now/reopen-after-release, and permit evidence-backed closure only for the selected PR. However, they still do not make the reviewed pin receipt the sole immutable membership authority or prohibit movement-only repinning. A workflow could satisfy the prose by creating a new exact SHA/ancestry/manifest pin after ordinary main or swarm movement, silently changing release membership. Accepted RIPR-SPEC-0144 requires qualification and source preflight to consume the pin receipt unchanged, and permits repinning only after a release-invalidating exact-candidate or source-preflight failure; movement alone must never repin. Add this receipt/no-movement-repin rule consistently to all six procedures, then rerun exact-head review.
Inspected exact diff: only the expected six provider skill files changed (4/6/4 additions in each provider). Required branch-protection check Ripr Rust Small Result is green. Coverage, tests-junit, source-of-truth, docs gate, routed Rust, security, and CodeRabbit are green; ub-review is still pending and is not semantic completion evidence. No repository files were mutated by this review.
|
Addressed the All six provider procedures now make the reviewed immutable pin receipt the sole release-membership authority. Qualification, source preflight, and finalization consume its exact ref, ancestry, ordered SHA digest, PR dispositions, and manifests unchanged. Ordinary Proof on |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY (exact head 409794f4950de182c99abc8bc8189553431f92d2)
Re-reviewed all six authoritative provider procedures. The release-scope law now establishes:
- the reviewed immutable pin receipt as sole membership authority;
- unchanged consumption of exact ref, ancestry, ordered SHA digest, PR dispositions, and manifests;
- no movement-only repinning or membership changes;
- repinning only after release-invalidating exact-candidate qualification or source-preflight failure, with an explicit superseding receipt;
- no close/draft/lock/relabel/retarget/other mutation of unrelated PRs to freeze scope;
- unrelated PRs remain open/evolving, later merges do not retarget the release;
- close-now/reopen-after-release is forbidden, while evidence-backed closure of only the selected PR remains allowed.
The exact diff contains only the expected six skill files (4/7/4 additions in each provider), with no unrelated delta. Required Ripr Rust Small Result is green; docs, routed Rust, source-of-truth, security, coverage, tests-junit, and CodeRabbit are green. ub-review is still in progress and is not required-status evidence. Existing unresolved review threads remain a separate merge-preparation obligation; this semantic review found no remaining source or contract blocker.
What this does
Release-scoped workflows can accidentally change membership by repinning after ordinary repository movement. This change makes the reviewed immutable pin receipt the sole membership authority across both provider routes while preserving unrelated PR lifecycles.
Change: the
deliver-goal,deliver-pr, andfinish-prprocedures under both.agents/skills/and.claude/skills/require qualification, source preflight, and finalization to consume the reviewed receipt unchanged. Ordinarymainor swarm movement never repins; only a release-invalidating exact-candidate qualification or source-preflight failure permits repinning with an explicit superseding receipt. The existing guards keep unrelated PRs open and evolving and prohibit close-now/reopen-after-release.Verification
PYTHONUTF8=1 quick_validate.pyon all six skillsgit diff --check409794f4Review map
.agents/skills/{deliver-goal,deliver-pr,finish-pr}/SKILL.md: Codex receipt authority and repin boundary..claude/skills/{deliver-goal,deliver-pr,finish-pr}/SKILL.md: Claude receipt authority and repin boundary.