You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gate releases on clean Linux and macOS candidate artifact smokes #97
Make the Pickforge release workflow prove the exact candidate artifacts before any publish step. Cover a clean Linux container and the Apple silicon macOS Rust integration path.
Current risk
release.yml builds Rust assets, then the publish job tests the source tree and publishes npm before any built/downloaded artifact is executed. The alpha.1 macOS arm64 binary was never run. The clean Linux smoke was a local substitute rather than a real container gate. The published checklist is pinned to alpha.1 and first-publish steps.
Linux candidate smoke
Pack the npm CLI from the candidate tree without registry publication
Download/use the exact Rust asset produced by the workflow
In a clean Flutter container, run the installer against only those candidate artifacts
Verify all three versions, Flutter project detection, doctor, init, idempotency, config isolation, and a real Dart MCP handshake
Prove the project tree contains only expected Flutter files and no Pickforge state/config pollution
Upload logs and generated evidence as workflow artifacts
macOS arm64 runtime smoke
Assert the runner is Apple silicon (uname -m = arm64)
Download and checksum the exact candidate macOS asset
Execute pickforge --version
Use a disposable real Flutter project to run doctor, transactional/idempotent init, a real Dart MCP handshake, and evidence recording
Use isolated HOME and PICKFORGE_HOME; verify no real runner-home config writes
Upload logs/evidence
Record and enforce the stable signing/notarization policy
Release ordering and docs
Publishing jobs depend on both runtime smokes
A dry-run dispatch builds and executes all gates but cannot publish
The release checklist is version-parameterized and reusable
UNRELEASED.md lifecycle does not leave draft instructions or stale “not executed” claims in public notes
PR #99 (open, not merged) implements this: scripts/candidate-smoke.sh plus a reusable candidate-artifacts.yml that packs the npm tarball, builds the Rust assets, and runs the Linux container and Apple silicon smokes before a publish job that is the only job with contents: write/id-token: write.
Both gates are green on real runners: run 33930949301. The macOS gate downloaded the exact pickforge-macos-arm64 asset, verified its checksum and ad-hoc signature, executed it (pickforge 0.4.0-alpha.1), and ran doctor, dry-run-isolated and idempotent init, a real dart mcp-server handshake (14 tools), and evidence recording under an isolated HOME/PICKFORGE_HOME, with the project tree and the real home unchanged.
A defect this gate closes: strip invalidates the ad-hoc signature Apple silicon requires, so the alpha.1 macOS asset may never have been executable. The workflow now re-signs, verifies with codesign --verify --strict, and executes the asset before publishing.
Report and raw evidence: ~/Projects/Boards/pickforge/0.4-release/candidate-smokes/.
Not done, deliberately: no workflow_dispatch dry run was triggered — a dispatch runs release.yml as it exists on main, which is still the old single job holding write and OIDC permissions, so it would prove nothing about this change while granting publish rights. Checklist step 7 documents how to run it after merge (gh workflow run release.yml --ref main -f confirm=; an empty or non-matching confirm cannot publish).
Activity
ElbertePlinio commentedon Sep 4, 2026
PR #99 (open, not merged) implements this:
scripts/candidate-smoke.shplus a reusablecandidate-artifacts.ymlthat packs the npm tarball, builds the Rust assets, and runs the Linux container and Apple silicon smokes before apublishjob that is the only job withcontents: write/id-token: write.Both gates are green on real runners: run 33930949301. The macOS gate downloaded the exact
pickforge-macos-arm64asset, verified its checksum and ad-hoc signature, executed it (pickforge 0.4.0-alpha.1), and randoctor, dry-run-isolated and idempotentinit, a realdart mcp-serverhandshake (14 tools), and evidence recording under an isolatedHOME/PICKFORGE_HOME, with the project tree and the real home unchanged.A defect this gate closes:
stripinvalidates the ad-hoc signature Apple silicon requires, so the alpha.1 macOS asset may never have been executable. The workflow now re-signs, verifies withcodesign --verify --strict, and executes the asset before publishing.Report and raw evidence:
~/Projects/Boards/pickforge/0.4-release/candidate-smokes/.Not done, deliberately: no
workflow_dispatchdry run was triggered — a dispatch runsrelease.ymlas it exists onmain, which is still the old single job holding write and OIDC permissions, so it would prove nothing about this change while granting publish rights. Checklist step 7 documents how to run it after merge (gh workflow run release.yml --ref main -f confirm=; an empty or non-matchingconfirmcannot publish).ci: gate releases on executed candidate artifacts