Skip to content

docs(skills): isolate release scope from unrelated PRs - #3137

Merged
EffortlessSteven merged 3 commits into
mainfrom
docs/release-pr-isolation
Aug 11, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
docs/release-pr-isolation

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

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, and finish-pr procedures under both .agents/skills/ and .claude/skills/ require qualification, source preflight, and finalization to consume the reviewed receipt unchanged. Ordinary main or 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

Check Result
PYTHONUTF8=1 quick_validate.py on all six skills 6 valid
git diff --check clean
published head 409794f4

Review 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.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Review Change Stack

Summary by CodeRabbit

  • Documentation
    • Clarified release-scope rules to ensure releases are tied to an exact, immutable revision and verified release contents.
    • Added guidance to prevent unrelated changes from being altered solely to freeze release scope.
    • Clarified that selected changes may only be finalized or closed after their own evidence-based terminal status is confirmed.
    • Removed ambiguity around close-and-reopen workflows during release preparation.

Walkthrough

The 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.

Changes

Release-scope guidance

Layer / File(s) Summary
Immutable release pinning and closure rules
.agents/skills/*/SKILL.md, .claude/skills/*/SKILL.md
The delivery and finishing skills require immutable release membership, prohibit mutation of unrelated PRs, and restrict closure to the selected PR’s evidence-backed terminal disposition.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: enhancement

Poem

A rabbit pins the release tight,
To immutable code in moonlit light.
Unrelated burrows stay unchanged,
The chosen path is clearly arranged.
No close-and-reopen tricks today—
Evidence leads the final way.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and verification, but it omits most required template sections, including scope, proof details, rollback, traceability, and gates. Complete the required template sections and record applicable scope, proof commands and results, rollback steps, traceability, policy impact, and gate status.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: isolating release scope from unrelated pull requests.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/release-pr-isolation

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 Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .agents/skills/deliver-goal/SKILL.md Resolved

@github-actions github-actions Bot 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.

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 EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between b8e9d55 and e402e23.

📒 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

Comment thread .agents/skills/deliver-goal/SKILL.md Resolved
@EffortlessSteven

Copy link
Copy Markdown
Member Author

Addressed the REPAIR_REQUIRED finding from reviewed head 73f46b8ffb3b52d3a8edf219afd614ebf861ec09 in the exact published head e402e232ad163e00542412170309015c7f4507a0.

Added equivalent release-scope and closure guards to Claude's authoritative .claude/skills/deliver-goal/SKILL.md, .claude/skills/deliver-pr/SKILL.md, and .claude/skills/finish-pr/SKILL.md. They bind release membership to exact immutable head SHA, ancestry, and manifests; keep unrelated PRs open and evolving; prohibit post-pin retargeting and close-now/reopen-after-release; and permit closure only for the selected PR's own evidence-backed terminal disposition.

Proof on e402e232: PYTHONUTF8=1 quick_validate.py passed for all six provider skill folders, and git diff --check passed. PR remains open and unmerged.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Addressed the REPAIR_REQUIRED finding from reviewed head e402e232ad163e00542412170309015c7f4507a0 in exact published head 409794f4a17be77d8368f689c7a64699291049f1.

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 main or swarm movement never repins or changes membership. Repinning is permitted only after a release-invalidating exact-candidate qualification or source-preflight failure, with an explicit superseding receipt. Existing unrelated-PR and closure guards remain in force.

Proof on 409794f4: PYTHONUTF8=1 quick_validate.py passed for all six skill folders, and git diff --check passed. PR remains open and unmerged.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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.

1 participant