Skip to content

docs(release): codify the repeatable live-history release transaction #3104

Closed

Description

@EffortlessSteven

Problem

The live-history 0.11.0 transaction is now governed across issues and verifier specs, but the ordinary release lifecycle is not yet documented in one canonical operator runbook. That leaves future releases vulnerable to reviving candidate-only projections, flattening the useful swarm squash-PR history, proving a nearby tree instead of an exact merge object, or treating publication as implied by green CI.

The standard cycle must be easy to repeat:

develop in swarm
-> bounded release cleanup
-> immutable live-head pin
-> exact-head qualification and exact-pair preflight
-> ancestry-preserving source promotion
-> source metadata and artifact qualification
-> explicit publication authorization
-> publication and verification
-> ancestry-preserving source-to-swarm back-sync
-> resume swarm development

Governing invariants

  • Ordinary ripr-swarm feature/fix PRs remain squash-merged. Each resulting main-branch commit is valuable change history.
  • Promotion preserves the complete selected swarm commit graph in ripr through an ordered two-parent join J; it never squash-merges, rebases, cherry-picks, or reconstructs that range.
  • Back-sync preserves the complete released source graph in ripr-swarm through an ordered two-parent merge object K; it is never squashed.
  • ripr-swarm remains development authority. ripr remains release and distribution authority.
  • Publication is a separate, explicit, channel-specific authorization boundary.
  • Exact swarm qualification, exact J proof, versioned source artifact proof, and public verification are four distinct green states.

Target seam

Create or consolidate one canonical runbook linked from the documentation index and release-control surfaces. Reconcile existing source-promotion and back-sync documents rather than duplicating their detailed verifier contracts.

The runbook must cover:

  1. Truthful release-authority reset and historical-receipt supersession.
  2. Source PR disposition and source-main hold.
  3. Bounded final swarm cleanup admission rule.
  4. Exact SOURCE_PARENT / SWARM_PARENT selection, immutable direct ref, denominator/digest receipt, and deliberate repin rule.
  5. Parallel exact swarm qualification and exact-pair source preflight.
  6. Conflict authority, source survivors, swarm exclusions, and reviewed resolution manifest.
  7. Exact J construction, proof, expected-head guarded merge-commit transport, and post-merge ancestry receipt.
  8. Separate metadata-only 0.11.0 change.
  9. Source-built crate, installed CLI, server archive, VSIX, Linux, Windows, consumer, readiness, and badge proof.
  10. Immutable ship packet and explicit #1470 authorization.
  11. Channel-by-channel publication, verification, rollback, and receipt.
  12. Exact K construction and proof, expected-head transport, temporary merge-policy exception/restoration if required, and authority-surface retention.
  13. 0.11.1 re-baseline from the published release, reopening development, and lane-created worktree/cache cleanup.

Acceptance criteria

  • One indexed canonical lifecycle tells an operator what to do from release boundary through reopened swarm development.
  • It explicitly distinguishes ordinary squash PR commits from the two ancestry-preserving repository-sync merges.
  • It states why the complete swarm graph is preserved: it is the reviewable history of squashed development PRs.
  • It gives copyable command templates for identity capture, immutable ref verification, J/K shape checks, expected-head guards, ancestry checks, publication verification, rollback, and cleanup.
  • Every command identifies which repository/worktree it runs in and whether it is read-only, mutating, or externally publishing.
  • Inputs, outputs, invalidation rules, repin rules, failure recovery, and stop conditions are explicit.
  • The current verifier commands from source test(typescript): record real repair dogfood receipt #1493 and swarm release(control): verify ancestry-preserving post-publication back-sync #3100 are linked rather than reimplemented in prose.
  • Historical C -> T artifacts are labeled historical and cannot be mistaken for active authority.
  • No text implies that green proof authorizes publication.
  • No floating main reference is used where an exact SHA/ref is required.
  • Release claims are re-audited from the selected tree rather than copied from an older receipt.

Proof

Use repository-local documentation, traceability, generated-clean, and command-catalog checks. Add a focused policy/fixture check if the repo has no existing automated oracle for these invariants. At minimum:

cargo fmt --all -- --check
cargo xtask check-doc-artifacts
cargo xtask check-traceability
cargo xtask check-generated-clean
git diff --check

Run the substantive exact-head review procedure before merge. Review must falsify the parent ordering, graph preservation, publication boundary, policy restoration, and floating-ref claims—not merely read the prose.

Non-goals

  • Selecting the final 0.11.0 pins in this documentation PR.
  • Constructing J or K.
  • Changing product code, dependencies, versions, changelog, workflows, repository settings, or publication state.
  • Rewriting or deleting historical release receipts.

Rollback and cleanup

This is documentation/source-truth only. Revert the PR if the runbook is materially wrong. After merge, remove only the lane-created clean worktree/branch and retain shared caches. Future transaction-specific receipts remain separate immutable evidence.

Source truth

Activity

  1. coderabbitai commented on Aug 10, 2026

    @coderabbitai
    🔗 Related PRs

    #3095 - feat(release): add offline release-target manifest and check (#3013) [merged]
    #3099 - release(control): supersede C/T with live-head authority [open]
    #3101 - docs(release): document history-preserving promotion and back-sync [open]
    #3102 - release: add exact source-promotion preflight [open]
    #3103 - release(control): verify ancestry-preserving back-sync [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added
    release-check
    status/needs-work
    on Aug 10, 2026
  3. EffortlessSteven commented on Aug 10, 2026

    @EffortlessSteven
    MemberAuthor

    Resolved by #3105, merged as 685be47 after terminal substantive review of exact head 15265f2, all applicable hosted proof green, and all review threads reconciled. The repository now carries the standard repeatable live-history transaction for exact W, J, source metadata/artifacts/publication, and exact K back-sync, while retaining explicit authorization/settings boundaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-checkstatus/needs-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions