Repository navigation
release(control): supersede C/T with live-head authority - #3099
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 release process now defines 0.11.0 from an exact transaction-boundary Changes0.11.0 Live-Head Release Authority
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ded04046f6
ℹ️ 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".
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head review: ded0404 was superseded by 7ce86a9 after the retained-receipt wording clarification; this review is bound to 7ce86a9.
Inspected:
- live-head JSON/Markdown authority and invalidation/ancestry rules;
- release plan, RELEASE.md runbook, specs 0144-0146, output/fixture contracts;
- release-target manifest and its 28 focused tests;
- historical receipts and command/module wording;
- issue amendments on #2379/#2835/#2833/#1609/#2769.
Blocking source/contract findings: none in this bounded docs/control slice.
Local proof: check-release-targets, check-doc-artifacts, check-spec-format, check-output-contracts, check-fixture-contracts, release-target focused tests (28 passed), release-control tests (16 passed), fmt and diff check pass.
Missing evidence: hosted checks are still queued/in progress; aggregate cargo xtask check-pr timed out after 300s without diagnostics. These remain incomplete, not pass.
Disposition: REVIEW_INCOMPLETE pending exact-head hosted proof. The issue graph now explicitly marks C/T acceptance as historical and routes the active train through the transaction-boundary live-head pin.
There was a problem hiding this comment.
Actionable comments posted: 7
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
xtask/src/policy/release_targets/tests.rs (1)
446-463: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick winAssert the changed blocker membership directly.
The manifest change in
policy/release-targets.tomlLines 66-79 moves claim blockers2923and2963to0.11.0and removes them from0.11.1. This test checks only release count, version order, and committed totals. It can pass if the blockers remain assigned to the wrong release.Add assertions for
goal_issue = 2379,0.11.0.claim_blockers = [2923, 2963], and an empty0.11.1.claim_blockers.As per coding guidelines, tests must discriminate the behavior changed by the diff and preserve the
spec -> test or fixture -> code -> output contract -> metricchain.🤖 Prompt for 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. In `@xtask/src/policy/release_targets/tests.rs` around lines 446 - 463, Extend the release-target assertions in the test around outcome.releases to verify goal_issue 2379, that release 0.11.0 has claim_blockers [2923, 2963], and that release 0.11.1 has an empty claim_blockers collection. Keep the existing count, version-order, and committed-total assertions intact.Source: Coding guidelines
🤖 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 `@docs/release-candidates/0.11.0-live-head-selection.json`:
- Around line 6-16: Update the release-candidate metadata wording and reason so
it does not claim 0.11.0 membership or shipment while status is
authority_reset_pending_transaction_pin and no exact SWARM_PARENT is recorded.
Use conditional/future-tense language tied to recording the immutable pin, and
define the resulting status/name transition once selected_swarm_parent,
immutable_ref, and related provenance fields are populated.
- Line 17: Define and publish one machine-checkable live-head pin receipt across
docs/release-candidates/0.11.0-live-head-selection.json (anchor lines 17-17),
docs/release-candidates/0.11.0-live-head-selection.md (lines 29-46),
docs/RELEASE.md (lines 29-48), docs/specs/RIPR-SPEC-0144-release-control-lens.md
(lines 74-79), and plans/release-control-0-11/implementation-plan.md (lines
38-54). Replace null transaction fields with the immutable_ref creation format,
recorded SWARM_PARENT and MERGE_BASE values, ordered digest-range definition,
ordering basis and encoding, and explicit missing/mismatch failure behavior;
ensure qualification and preflight consume the same validated
ordered_swarm_range_sha256 pin.
In `@docs/release-candidates/0.11.0-live-head-selection.md`:
- Around line 17-19: Update the “Superseded evidence” paragraph to distinguish
preserved historical claim content from modified metadata: state that the
receipts’ historical claims remain unchanged, while the hard-cut and
replacement-freeze files now include explicit supersession metadata or notices
and no longer govern publication.
In `@docs/specs/RIPR-SPEC-0144-release-control-lens.md`:
- Around line 257-260: Update the non-goal qualification language in the
release-control specification to apply only to the historical candidate C/T
path, not active live-head qualification. Explicitly state that exact swarm
qualification and source preflight remain required for the live head after
pinning, while preserving the existing restrictions on source, versioning,
tagging, publication, and marketplace mutations.
- Around line 31-35: Update the live release-control authority around `cargo
xtask release-control --live` to resolve the exact `ripr-swarm/main` SHA rather
than relying on `origin/main`. Record the configured `origin` remote URL, verify
it resolves to `EffortlessMetrics/ripr-swarm`, and fail closed when it does not;
preserve immutable pinning and qualification of that same SHA.
In `@policy/release-targets.toml`:
- Line 75: Remove the consecutive duplicate [[release]] header in the
release-targets TOML so version "0.11.1" belongs to a single release entry and
the expected four releases in release-target validation remain intact.
In `@xtask/src/command.rs`:
- Around line 940-946: Update the `command_entry` metadata for `release-control
--live` to use `external_state_read` instead of `report_only`, matching its
GitHub/main observation behavior and the adjacent `release-denominator --live`
entry. Leave the command path, output, flags, and description unchanged.
---
Outside diff comments:
In `@xtask/src/policy/release_targets/tests.rs`:
- Around line 446-463: Extend the release-target assertions in the test around
outcome.releases to verify goal_issue 2379, that release 0.11.0 has
claim_blockers [2923, 2963], and that release 0.11.1 has an empty claim_blockers
collection. Keep the existing count, version-order, and committed-total
assertions intact.
🪄 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: db05e4b1-48e5-4786-abb3-8ad180c8a8c6
📒 Files selected for processing (22)
docs/IMPLEMENTATION_CAMPAIGNS.mddocs/OUTPUT_SCHEMA.mddocs/RELEASE.mddocs/ROADMAP.mddocs/handoffs/2026-07-23-0.11.0-replacement-freeze.mddocs/release-candidates/0.11.0-hard-cut.jsondocs/release-candidates/0.11.0-hard-cut.mddocs/release-candidates/0.11.0-live-head-selection.jsondocs/release-candidates/0.11.0-live-head-selection.mddocs/release-candidates/0.11.0-replacement-freeze.jsondocs/specs/README.mddocs/specs/RIPR-SPEC-0144-release-control-lens.mddocs/specs/RIPR-SPEC-0145-release-execution-scope.mddocs/specs/RIPR-SPEC-0146-release-denominator.mdfixtures/release_control/SPEC.mdplans/release-control-0-11/implementation-plan.mdpolicy/release-targets.tomlxtask/src/command.rsxtask/src/policy/release_targets/tests.rsxtask/src/reports/candidate_control.rsxtask/src/reports/release_control.rsxtask/src/reports/release_denominator.rs
|
Issue graph reconciliation completed before merge review: #2379, #2835, #2833, #1609, and #2769 now carry top-of-body disposition amendments. The active train is exact transaction-boundary SWARM_PARENT; C/T construction and T-bound denominator/qualification are historical audit context. Historical receipt files are retained with explicit superseded status. No source integration, publication, version bump, or #2932 work is included. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head substantive review for d68c575f801264879883ca92fe550f35d00a2312.
Scope reviewed: the complete diff from 05aed9a58f987c5ae319e3d933d97acafffa3dc6, including the live-head authority JSON/Markdown, durable release train, historical C/T boundary, truthful 0.11.0/0.11.1 manifest, command classifications, and focused tests. I also verified the four historical receipt files are byte-identical to origin/main, so supersession is recorded by the separate live-head decision rather than by rewriting historical evidence.
Review result: REVIEW_INCOMPLETE pending the required Ripr Rust Small on GitHub Hosted context and ub-review. Local focused proof is green: release-target tests 28/28, release-control tests 16/16, release-targets/docs/spec/output/fixture/command-catalog checks pass, formatting and diff checks clean. check-pr timed out without diagnostics and is not claimed as passed.
No publication, source join, product work, version bump, or #2932 work is included. The candidate pin fields remain intentionally null until the authority-reset merge; the checked-in recipe fails closed on missing/mismatched pins and binds the future producer to the canonical swarm remote.
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: d68c575
integration_basis: origin/main 05aed9a
claim_boundary: replace active C/T publication authority with a pending transaction-boundary live-head rule; preserve historical evidence; rebaseline merged #2923/#2963 into 0.11.0; document exact-history source promotion/back-sync without selecting the pin or authorizing publication.
changed_surfaces_and_semantic_owners_inspected: live-head JSON/Markdown authority; release target manifest and validator expectations; release plan/spec/index/roadmap; historical receipt handling; release-control/denominator/candidate-control command descriptions; durable docs/RELEASE lifecycle; #2379/#2835/#2833/#1609/#2769 graph.
blocking_findings: none remaining on this head. Earlier historical-status, pending-tense, receipt-recipe, qualification-language, and command-side-effect defects were repaired in d68c575; duplicate TOML-header report was refuted against the exact file.
non_blocking_suggestions: implement the documented deterministic pin/preflight/join/back-sync commands under the existing source-promotion tooling issues before final pin.
refuted_or_stale_findings: duplicate [[release]] header absent; release-control --live remains historical observation and is explicitly not the active pin producer.
proof_and_ci_observed: check-release-targets pass locally on exact head; hosted source-of-truth, rust-tests-junit, rust-coverage, cargo-deny, dependency-review, ub-review, routed Rust Small, Graphite review/mergeability and security checks succeeded; review threads resolved after reply/repair.
proof_or_review_missing: exact pin, qualification, source preflight, join, artifacts, publication and back-sync are intentionally later phases and are not claimed by this PR.
affected_currentness_dimensions: public release authority, historical provenance, generated membership relationships, candidate head identity.
residual_assumptions_and_non_claims: transaction fields remain null until this reset merges and a fresh main reread selects W; source #1470 remains the only publication authorization boundary.
disposition: REVIEW_READY
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head substantive review completed for d68c575f801264879883ca92fe550f35d00a2312.
The full diff from 05aed9a58f987c5ae319e3d933d97acafffa3dc6 is bounded to release authority/control documentation, manifests, command metadata, and focused validation. The historical C/T receipt files are unchanged from origin/main; supersession is represented by the separate live-head decision. The decision is fail-closed while pin fields are pending, defines the exact future pin/ref/digest recipe and canonical remote binding, and records the no-main-merges-until-back-sync rule.
Local proof: release-target tests 28/28; release-control tests 16/16; release-targets, docs, spec, output, fixture, and command-catalog checks pass; formatting and diff checks clean. Hosted Ripr Rust Small Result, routed hosted qualification, and ub-review are green. check-pr timed out without diagnostics and remains unverified, not a release blocker for this docs/control lane.
Review result: REVIEW_READY. No actionable unresolved review threads remain. No product work, version bump, source join, publication, or #2932 work is included.
What this does
The active 0.11.0 release authority now selects the exact
ripr-swarm/mainSHA at the release transaction boundary. The checked-in decision records the future immutable pin and supersedes the historical C/T hard-cut path without erasing its receipts. The release-target manifest moves already-merged #2923/#2963 content into 0.11.0 and removes it from 0.11.1.Change: Mark C/T receipts, specs, denominator tooling, and fixtures as historical audit evidence; document exact-head qualification, source-parent hold, ordered source/swarm join, publication authorization, execution-claim re-audit, and ancestry-preserving back-sync. No product work, version bump, source integration, publication, or #2932 work is included.
Verification
cargo run -p xtask -- check-release-targetscargo run -p xtask -- check-doc-artifactscargo run -p xtask -- check-spec-formatcargo run -p xtask -- check-output-contractscargo run -p xtask -- check-fixture-contractscargo run -p xtask -- check-command-catalogcargo fmt --all -- --check,git diff --checkcargo run -p xtask -- check-prReview map
docs/release-candidates/0.11.0-live-head-selection.{json,md}: transaction-boundary rule, pending/pinned state transition, pin recipe, invalidation, claim audit, and ancestry policy.policy/release-targets.toml: truthful 0.11.0/0.11.1 membership anchors.docs/RELEASE.md, release plan/specs, and command docs: durable live-history train and historical C/T boundary.xtask/src/command.rsand release-control modules: historical tooling wording and non-authority boundary.Hosted required proof remains pending on the exact head; publication and source integration are explicitly out of scope.