← Docs
Helix CLI docs
Browse Helix CLI docs

Buyer golden path (procurement evidence packet)

CI-gated in-silico path for technical buyers: evaluator → outcome → spectrum → audit → procurement handoff, packaged as a deterministic evidence zip competitors cannot match with ELN exports alone.

Default competitor frame: Benchling (platform-of-record incumbent) plus a duct-tape stack (ELN + spreadsheets + notebooks + scripts + slide decks).

One-command export

make buyer-export-evidence

Equivalent CLI:

helix buyer export-evidence

Writes export_receipt.v1.json with explicit nested digests (cutPackSha256, primePackSha256, batchBundleSha256, packetSha256, goldenProfile).

Studio menu: File → Export buyer evidence packet… (options dialog: prime off-target profile, optional batch pair leg)

Optional batch pair leg:

helix buyer export-evidence --include-batch-pair

Suite legs (default)

LegPathWhat it proves
Cutevaluator + outcome + spectrum + auditOn-target Δ AUROC, frameshift outcome, spectrum golden, audit pack with fixture off-target profile (4 hits)
Primeoutcome + spectrum + auditDesired-edit probability, spectrum golden, audit pack (off-target noop default)
Batchbatch_case1 sweepDeterministic batch report + locked bundle sha (single-guide candidate sweep)
Batch pluginbatch_plugin_case1Plugin-routed batch sweep leg (default suite)
Audit plugin routingcut audit pack v2Plugin provider routing receipt
Audit feedback provenancecut audit pack v2Feedback provenance receipt

Run the suite only:

make buyer-golden-path-all
# omit batch leg:
PYTHONPATH=src python3 tools/buyer_golden_path_suite.py --skip-batch

Golden profiles (catalog)

Four supported export profiles are locked in the golden profile catalog. Discover them from a source checkout:

helix buyer list-golden-profiles
# or JSON:
helix buyer list-golden-profiles --json-out golden_profile_catalog.json
make buyer-export-golden-profile-catalog
# writes artifacts/demos/golden_profile_catalog.v1.json
PYTHONPATH=src python3 tools/buyer_golden_profile_catalog.py
ProfileArtifact dirPacket sha256Receipt sha256
defaultartifacts/demos/buyer_golden_path_suite7e5f826f1c78e1ff40155a5b34bccc82c2c5a855e6c17de7f6096a293de238c1ccbcc4349bf5970f38acdab188345da4150495e4e4f92a289012e034436f85f6
batch_pairartifacts/demos/buyer_golden_path_batch_pair37aec0b84c0862d688cd3c121c01d9d2d836b41d557d4ae97257957792715f5f51ff0d9a8035b2c9b6cb0a8ed25c4d03848d811e29b2656a0c0c9aaeefc6b4d4
prime_fixtureartifacts/demos/buyer_golden_path_prime_fixturebbaa829e1e471a834207b56f9f4f5961a5c00761332b0400896ffdacb33be6e91c45496b62061bb86e44329fd3823def1df95828beaa657665d772a14710bac5
batch_pair_prime_fixtureartifacts/demos/buyer_golden_path_batch_pair_prime_fixture6a7203e3ae1066d0df5b7e97440743798603d86d05fea8695a6487c19ba08ab7f4416caa2466e666ef49291bedfbb8c2418885d5419c11e2e40a99677c5ac094

Catalog sync verifies live packet and export receipt digests against these locked values.

Catalog artifact sync verifies the exported golden_profile_catalog.v1.json on disk matches the locked in-code catalog payload byte-for-byte (canonical JSON + sha256).

Procurement verify artifact sync round-trips the written procurement_verify.v1.json against the live unified verify payload (canonical JSON + sha256).

Procurement replay verify artifact sync round-trips the written procurement_replay_verify.v1.json against the live replay verify payload (canonical JSON + sha256).

Procurement replay manifest sync verifies the exported procurement_replay_manifest.v1.json lists sha256 digests for every receipt JSON and profile artifact file on disk.

Procurement replay manifest contents verify checks each manifest-listed file path on disk matches its claimed sha256 — the offline bundle gate for downloaded CI artifacts. The contents verify receipt digest itself is listed in the manifest and checked via manifest sync rather than self-referential contents verify.

procurement_replay_manifest_contents_verify.v1.json is the machine-readable receipt (helix.buyer.procurement_replay_manifest_contents_verify.v1) for manifest-listed file sha256 verification, with round-trip artifact sync after write.

Procurement replay (export + unified verify)

Replay every profile export and run the unified offline procurement gate:

make buyer-procurement-replay

For local replay plus procurement CI summary markdown in one command:

make buyer-procurement-replay-ci

This chains:

buyer-procurement-replay

  1. make buyer-golden-path-all-profiles — export default + all variant profiles
  2. make buyer-export-golden-profile-catalog — write artifacts/demos/golden_profile_catalog.v1.json
  3. make buyer-verify-procurement — unified verify-all-profiles + catalog sync + catalog artifact sync, then round-trip the procurement verify artifact
  4. make buyer-verify-procurement-replay — verify-only gate for the full replay tree (no re-export), then round-trip the replay verify artifact
  5. make buyer-export-procurement-replay-manifest — write artifacts/demos/procurement_replay_manifest.v1.json, round-trip manifest digests, verify manifest-listed file contents, and persist the contents verify and unified manifest verify receipts
  6. make buyer-verify-procurement-replay-manifest — unified offline manifest verify gate (digest sync, manifest-listed file contents, contents verify artifact round-trip, unified manifest verify artifact round-trip) without re-export; finalizes manifest digest listings, then persists post-finalize procurement_replay_manifest_verify.v1.json and artifact sync receipt
  7. make buyer-finalize-procurement-replay-manifest — idempotent digest chain: finalize manifest, refresh post-finalize unified verify inner gates, persist artifact sync receipt, and finalize again (also invoked at the end of step 6)

buyer-procurement-replay-ci

Runs buyer-procurement-replay then buyer-write-procurement-ci-summary to emit procurement-summary.md locally. GitHub Actions runs contract tests between these steps, so CI uses the targets separately.

Equivalent CLI or standalone tools:

helix buyer verify-procurement
helix buyer verify-procurement --json-out artifacts/demos/procurement_verify.v1.json
helix buyer verify-procurement-replay
PYTHONPATH=src python3 tools/buyer_procurement_verify.py
PYTHONPATH=src python3 tools/buyer_procurement_replay_verify.py
PYTHONPATH=src python3 tools/buyer_procurement_replay_manifest.py
PYTHONPATH=src python3 tools/buyer_procurement_replay_manifest_verify.py
PYTHONPATH=src python3 tools/buyer_procurement_replay_manifest_finalize.py
helix buyer verify-procurement-replay-manifest
helix buyer finalize-procurement-replay-manifest

Standalone verify targets:

make buyer-verify-all-profiles
make buyer-verify-catalog
make buyer-verify-procurement
make buyer-verify-procurement-replay
make buyer-export-procurement-replay-manifest
make buyer-verify-procurement-replay-manifest

procurement_replay_manifest.v1.json is the digest manifest (helix.buyer.procurement_replay_manifest.v1) listing receipt JSON paths (including procurement_replay_manifest_contents_verify.v1.json, procurement_replay_manifest_verify.v1.json, and procurement_replay_manifest_verify_artifact_sync.v1.json), and per-profile packet, receipt, and verdict sha256 values for offline verification of downloaded CI artifacts.

procurement_verify.v1.json is the machine-readable receipt (helix.buyer.procurement_verify.v1) nested with verify-all-profiles, catalog-sync, and catalog-artifact-sync payloads.

procurement_replay_verify.v1.json is the verify-only replay receipt (helix.buyer.procurement_replay_verify.v1) nested with procurement-verify and procurement-artifact-sync payloads for offline verification of downloaded CI artifacts.

procurement_replay_manifest_verify.v1.json is the unified manifest verify receipt (helix.buyer.procurement_replay_manifest_verify.v1) nesting manifest sync, manifest contents verify, contents verify artifact sync, and manifest verify artifact sync for offline verification of downloaded CI artifacts.

procurement_replay_manifest_verify_artifact_sync.v1.json is the machine-readable receipt (helix.buyer.procurement_replay_manifest_verify_artifact_sync.v1) for unified manifest verify artifact round-trip sync.

Evidence packet layout

Default output path:

artifacts/demos/buyer_golden_path_suite/helix_buyer_evidence_packet_v1.zip

Each profile artifact dir also contains:

  • verdict.json — suite verdict JSON
  • summary.md — procurement-readable markdown summary
  • export_receipt.v1.json — nested digest receipt with goldenProfile
  • helix_buyer_evidence_packet_v1.zip — deterministic evidence packet

Packet contents:

  • suite_verdict.v1.json — canonical cut + prime + batch verdict (packet-relative paths)
  • export_receipt.v1.json — embedded export receipt (cross-checked against standalone receipt)
  • summary.md — procurement-readable markdown summary
  • cut_outcome_audit_pack.zip — nested cut outcome audit pack
  • prime_outcome_audit_pack.zip — nested prime outcome audit pack
  • batch_helix_batch_report.zip — nested batch sweep bundle (when batch leg included)
  • manifest.json — sha256 per file + receipts (cutPackSha256, primePackSha256, batchBundleSha256, goldenProfile)
  • README.txt — scope + verify instructions

Verify offline

helix verify buyer-evidence artifacts/demos/buyer_golden_path_suite
helix verify buyer-evidence-packet artifacts/demos/buyer_golden_path_suite/helix_buyer_evidence_packet_v1.zip
helix verify buyer-evidence-packet artifacts/demos/buyer_golden_path_suite/helix_buyer_evidence_packet_v1.zip --golden-profile default
helix buyer verify-procurement

helix verify buyer-evidence and helix verify buyer-evidence-packet compare packet and receipt digests against the profile golden fixtures unless --skip-golden is passed.

Makefile shortcut (suite + summary + packet + pack verification):

make demo-buyer-verdict

Locked nested digest examples (default profile)

Artifactsha256
Evidence packet7e5f826f1c78e1ff40155a5b34bccc82c2c5a855e6c17de7f6096a293de238c1
Export receiptccbcc4349bf5970f38acdab188345da4150495e4e4f92a289012e034436f85f6
Cut audit pack (fixture off-target)bcc1b207f1b17a6cc708111c5830f23e2ad3d684b30b9170b77cc61d9f198a96
Prime audit pack (noop off-target)97da8f8d2db5691c47448621ce474a2161c866e1fd7c570fac75522381885723
Batch bundle (batch_case1)feef1cb00b81e6b49d732c1b4740e89da3634d60945c2e7f4325cdde056a7f10
Batch pair bundle (batch_pair_case1, optional)e5144aefa9116ba7b1393a05517d019abf1e0c4ba96875bfd5a186766bf4f5d4

Re-run stability: execute make buyer-export-evidence twice on a clean tree and confirm the packet and receipt sha256 values match the golden catalog exactly.

CI gate

GitHub Actions workflow: .github/workflows/buyer-golden-path.yml

  • Runs make buyer-procurement-replay
  • Runs gated make buyer-write-procurement-ci-summary (manifest verify chain, idempotent digest chain finalize, post-finalize summary markdown; workflow fails on non-zero exit)
  • Uploads all four profile artifact dirs plus procurement replay JSON receipts (procurement_verify.v1.json through procurement_replay_manifest_verify_artifact_sync.v1.json), golden_profile_catalog.v1.json, and CI summary markdown (procurement-summary.md, summary.md)
  • Contract tests lock packet, receipt, and nested bundle digests

Scope boundary

In-silico only: simulated edits, scoring functions, deterministic pipelines, verification, and artifact generation. Receipts prove computational provenance and integrity — not biological truth.