Skip to content

release(control): supersede C/T with live-head authority - #3099

Merged
EffortlessSteven merged 4 commits into
mainfrom
codex/release-authority-reset
Aug 9, 2026
Merged

EffortlessSteven merged 4 commits into
mainfrom
codex/release-authority-reset

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Aug 9, 2026 •

Copy link
Copy Markdown
Member

What this does

The active 0.11.0 release authority now selects the exact ripr-swarm/main SHA 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

Check Result
release-target tests 28 passed, including live 0.11.0 and re-baselined 0.11.1 membership
release-control tests 16 passed
cargo run -p xtask -- check-release-targets pass
cargo run -p xtask -- check-doc-artifacts pass
cargo run -p xtask -- check-spec-format pass
cargo run -p xtask -- check-output-contracts pass
cargo run -p xtask -- check-fixture-contracts pass
cargo run -p xtask -- check-command-catalog pass
cargo fmt --all -- --check, git diff --check clean
cargo run -p xtask -- check-pr not verified: timed out without diagnostics

Review 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.rs and release-control modules: historical tooling wording and non-authority boundary.
  • historical receipts: preserved unchanged as historical evidence; the separate live-head decision records their supersession.

Hosted required proof remains pending on the exact head; publication and source integration are explicitly out of scope.

@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 9, 2026 •

Copy link
Copy Markdown

Review Change Stack

Summary by CodeRabbit

  • Documentation

    • Established the live-head release process for version 0.11.0, including transaction-boundary selection, qualification, publication, verification, and synchronization.
    • Clarified that previous candidate, hard-cut, freeze, and denominator records are historical audit evidence and no longer authorize releases.
    • Documented ancestry preservation, immutable pinning, scope boundaries, and fail-closed release controls.
  • Configuration

    • Added the 0.11.0 release target and updated claim-blocker tracking for 0.11.1.
  • Tests

    • Updated release manifest regression coverage for the new 0.11.0 entry.

Walkthrough

The release process now defines 0.11.0 from an exact transaction-boundary ripr-swarm/main commit. Historical candidate and freeze records remain audit evidence. Release documentation, specifications, manifests, command descriptions, and tests reflect the new authority.

Changes

0.11.0 Live-Head Release Authority

Layer / File(s) Summary
Live-head authority and receipts
docs/release-candidates/0.11.0-live-head-selection.*, docs/release-candidates/0.11.0-hard-cut.*, docs/release-candidates/0.11.0-replacement-freeze.json
Defines immutable live-head selection, qualification, ancestry, branch, publication, and evidence rules. Marks earlier receipts as superseded.
Release execution and reset plan
docs/RELEASE.md, docs/specs/RIPR-SPEC-0144-release-control-lens.md, plans/release-control-0-11/implementation-plan.md
Documents exact-head selection, source promotion, publication authorization, back-sync, and reset requirements.
Historical records and report contracts
docs/IMPLEMENTATION_CAMPAIGNS.md, docs/OUTPUT_SCHEMA.md, docs/specs/*, fixtures/release_control/SPEC.md, xtask/src/reports/*
Reclassifies former C/T release-control, execution-scope, and denominator material as historical or compatibility evidence.
Manifest and governance updates
docs/ROADMAP.md, docs/handoffs/*, policy/release-targets.toml, xtask/src/command.rs, xtask/src/policy/release_targets/tests.rs
Adds the 0.11.0 manifest entry and updates governance references, command descriptions, and regression expectations.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related issues

Possibly related PRs

Poem

A rabbit pins the swarm-head tight,
At transaction dawn, exact and bright.
Old cuts rest in audit snow,
New receipts track what commands show.
Back-sync hops through ancestry’s trail—
Release plans now leave no detail pale.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description explains the main changes and verification, but it omits most required template sections and gate details. Complete the required template sections, including source links, scope classification, claim boundary, rollback, traceability, CI economics, engineering checks, and gates.
✅ Passed checks (3 passed)
Check name Status Explanation
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 identifies the primary change: replacing the historical C/T path with live-head release authority.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/release-authority-reset

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.

@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: 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

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

@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: 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 win

Assert the changed blocker membership directly.

The manifest change in policy/release-targets.toml Lines 66-79 moves claim blockers 2923 and 2963 to 0.11.0 and removes them from 0.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 empty 0.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 -> metric chain.

🤖 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

📥 Commits

Reviewing files that changed from the base of the PR and between 05aed9a and ded0404.

📒 Files selected for processing (22)
  • docs/IMPLEMENTATION_CAMPAIGNS.md
  • docs/OUTPUT_SCHEMA.md
  • docs/RELEASE.md
  • docs/ROADMAP.md
  • docs/handoffs/2026-07-23-0.11.0-replacement-freeze.md
  • docs/release-candidates/0.11.0-hard-cut.json
  • docs/release-candidates/0.11.0-hard-cut.md
  • docs/release-candidates/0.11.0-live-head-selection.json
  • docs/release-candidates/0.11.0-live-head-selection.md
  • docs/release-candidates/0.11.0-replacement-freeze.json
  • docs/specs/README.md
  • docs/specs/RIPR-SPEC-0144-release-control-lens.md
  • docs/specs/RIPR-SPEC-0145-release-execution-scope.md
  • docs/specs/RIPR-SPEC-0146-release-denominator.md
  • fixtures/release_control/SPEC.md
  • plans/release-control-0-11/implementation-plan.md
  • policy/release-targets.toml
  • xtask/src/command.rs
  • xtask/src/policy/release_targets/tests.rs
  • xtask/src/reports/candidate_control.rs
  • xtask/src/reports/release_control.rs
  • xtask/src/reports/release_denominator.rs

Comment thread policy/release-targets.toml Resolved
Comment thread xtask/src/command.rs Resolved
@EffortlessSteven

Copy link
Copy Markdown
Member Author

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

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

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