Skip to content

Gate release publication after evidence #76

Closed

Description

@mowind

Part of #70.

Goal

Migrate Make, HashKey CI, and the release workflow to the canonical phase operations and prevent publication before required evidence succeeds.

Scope

  • Make and HashKey CI call only canonical source.
  • Release matrix creates tar/zip first, then calls artifact --archive --target --release-tag, then generates checksum/SBOM/attestation/signature/man assets.
  • Matrix jobs upload complete target asset bundles as GitHub Actions workflow artifacts and do not create or upload to a GitHub release.
  • prepare computes tag/name/changelog and, for HSK tags, produces metadata as a workflow artifact; it does not create or populate a release.
  • release-docker depends on prepare and the complete CLI release matrix.
  • Add finalize-release depending on prepare, every matrix job, and Docker. It validates all downloaded workflow artifacts, rejects any pre-existing draft or published release, creates the draft, and uploads all assets.
  • On finalize failure after creation, best-effort delete the draft. Cleanup failure requires manual deletion before rerun; never reuse an old draft.
  • Stable remains draft/manual publish. Nightly publishes only after finalize.

Acceptance Criteria

  • Source/archive evidence failure prevents Docker and GitHub draft creation.
  • No pre-existing release can be reused or published through this workflow.
  • Ordinary stable, HashKey stable, and nightly lifecycles preserve their intended external publication policy.
  • A narrow structural validator proves matrix target equality, step ordering, job needs, and absence of direct private-helper/mode calls without duplicating source membership.

Activity

  1. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Implemented in commit 18f157c. Make/HashKey CI now call source; release matrices validate final archives via canonical artifact after archive creation, upload complete workflow bundles, Docker waits for the matrix, and finalize-release validates/downloads all evidence, rejects existing releases, creates/populates the draft only after success, and cleans up a newly created draft on upload failure. Nightly publication now depends on finalize.

  2. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Closed by 18f157c.

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

    ready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions