Skip to content

slice(#1726/#1882 PR A): make the swarm server-binary workflow a read-only no-publish rehearsal #1874

Closed

Description

@EffortlessSteven

Parents and current implementation

ripr-swarm is not the public release authority. This slice converts the checked-in workflow into a clearly named, read-only artifact rehearsal. It must not contain a dormant or conditional publication path.

Scope — one swarm PR

Refactor the workflow so:

  1. it is named/documented as a rehearsal, not a release workflow;
  2. it is triggered by workflow_dispatch or another non-publication CI path, not push.tags: v*;
  3. build and manifest/checksum assembly run for all five supported targets;
  4. the complete archive/manifest/SHA256SUMS family is retained as short-lived workflow artifacts;
  5. repository permissions remain read-only for every job;
  6. no job invokes release-upload-assets, creates/mutates a GitHub Release, signs/attests public release subjects, or needs a release/publish secret;
  7. user-controlled version/input values reach shell commands through environment variables, not inline expansion;
  8. checkouts do not persist credentials unnecessarily;
  9. the run emits an exact-SHA promotion handoff suitable for the source-repo release process;
  10. docs distinguish swarm rehearsal from source-repo publication.

Proof before merge

  • cargo xtask check-workflows
  • cargo xtask check-doc-index
  • cargo xtask check-process-policy
  • cargo xtask check-network-policy
  • security/source-of-truth/review checks on the exact head
  • negative static proof that no tag trigger, contents: write, release upload, registry, marketplace, signing, or cross-repo token path remains

The execution receipt is owned by #1875 after this workflow lands on main.

Dependencies

Acceptance

  • The swarm workflow is read-only and no-publish by construction.
  • No v* tag trigger or conditional publication job remains.
  • The complete five-target asset family is retained for inspection.
  • No release/signing secret or cross-repo token is required.
  • Input handling is shell-safe and checkout credentials are not persisted.
  • A deterministic exact-SHA promotion handoff is produced.
  • Documentation names EffortlessMetrics/ripr as the later public release owner.

Claim boundary

After this slice, maintainers may claim swarm can rehearse the server-binary asset graph without publication. They may not claim a real release workflow, tag trigger, attestation, or public asset exists.

Non-goals

  • No tag-trigger proof in swarm.
  • No GitHub Release creation or upload.
  • No signed provenance in swarm.
  • No version bump, tag, release, registry publish, or marketplace upload.

Activity

  1. added
    status/blocked-repo
    on Jul 19, 2026
  2. coderabbitai commented on Jul 19, 2026

    @coderabbitai
    🔗 Related PRs

    #1670 - perf(review-comments): emit bounded phase receipts [merged]
    #1691 - specs(ripr): materialize first RIPR-SPEC v2 requirement [open]
    #1714 - audit(goals): add fail-closed authority audit framework [merged]
    #1845 - fix(ci): unblock authority and policy gates [open]
    #1868 - ci(release): add no-publish server-binary rehearsal [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!

  3. changed the title [-]slice(#1726 PR A): add a no-publish server-binary rehearsal boundary and retain the assembled asset set[/-] [+]slice(#1726/#1882 PR A): make the swarm server-binary workflow a read-only no-publish rehearsal[/+] on Jul 19, 2026
  4. EffortlessSteven commented on Aug 1, 2026

    @EffortlessSteven
    MemberAuthor

    Earnest review (2026-08-01)

    STATUS: Open — premise correct, not resolved. Highest-priority cleanup in this batch.
    PLAN QUALITY: Good. The "no dormant publication path" requirement and env-var-not-inline rule are security-appropriate.
    ASSESSMENT: release-server-binaries.yml retains push.tags: ["v*"], permissions.contents: write, cargo xtask release-upload-assets, and inline ${{ github.event.inputs.version }} expansion. Original PR #1868 is CLOSED UNMERGED. Every acceptance checkbox unmet.
    NEXT STEP: Prioritize this — tag-triggered publish with contents: write in a repo that is not the release authority is the real risk.

  5. EffortlessSteven commented on Oct 31, 2026

    @EffortlessSteven
    MemberAuthor

    Closing as completed. Evidence on origin/main (404a80d):

    This covers acceptance items 1, 2, 5, 6 and 10 as checked against source. The companion execution work (#1875) and the cross-repo items (#1876 to #1878) stay open.


    Generated by Claude Code

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

    status/blocked-repo

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions