Skip to content

Enforce artifact runtime evidence #75

Closed

Description

@mowind

Part of #70.

Goal

Enforce cross-platform native artifact runtime evidence and release tag/commit identity from the extracted final archives.

Scope

  • Run Python-owned --version and --help probes for forge, cast, anvil, and chisel on every supported target.
  • Require matching-architecture hosts. Move aarch64-unknown-linux-musl to an ARM64 Linux runner and prove the aarch64 macOS runner is native arm64 before cutover; fail host/target mismatch before binary execution.
  • Keep .github/scripts/hashkey-artifact-smoke.sh only as the designated x86_64-unknown-linux-gnu standalone execution helper; basic probes must not depend on Bash 4 or run the helper on macOS/Windows.
  • Define module-owned HashKey stable, ordinary stable, and nightly tag projections.
  • Verify stable tags resolve to checkout HEAD. Verify all four binary version outputs report the expected tag class and a build commit prefix matching the same full HEAD. For nightly, require nightly-<sha>, HEAD, and all four reported commits to agree.

Acceptance Criteria

  • Workflow/module target sets and host-architecture policy match exactly.
  • Every target has native binary-surface evidence; unknown/host-mismatched targets fail closed.
  • Only the designated Linux target adds the current Forge/Anvil/Cast/B20 Factory execution assertions.
  • Linux tar, ARM64, macOS, and Windows release-style ZIP paths have focused execution coverage.
  • HashKey stable, ordinary stable, and nightly tag plus commit identity tests pass for all four binaries.

Activity

  1. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Implemented in commit f0cea37. Added the closed seven-target policy, target/archive mapping, native host compatibility checks, tar/zip suffix enforcement, Python --version/--help probes, stable/HashKey/nightly tag projections, checkout-HEAD and four-binary commit identity validation, and designated Linux standalone execution. Added focused policy and artifact gate tests.

  2. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Closed by f0cea37.

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