code wiki / _hdl_build / nx_deploy_provenance.nx
nx_deploy_provenance.nx
buildroot/runtime/_hdl_build/nx_deploy_provenance.nx
about
nx_deploy_provenance.nx -- the team addresses the ROOT CAUSE of the deploy uncertainty (operator:
"build the team to address the risk and uncertainty"). The live sites.elf's source is LOST because no
deploy ever recorded WHERE it was built from. Fix: every deploy STAMPS provenance -- source location +
source content-hash + build id -- so the source is always re-findable and a rebuild is always
verifiable. An artifact with no provenance is UNTRACEABLE (exactly what bit us); the team refuses to
TRUST an untraceable binary for a risky re-deploy, and re-stamps on the next clean build to restore
traceability going forward. license_tier: ORIGINAL Pairs with nx_deploy_verify + the Genealogist.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_deploy_provenance_test.nx
structs
| none |
consts
| none |
functions
| 12 | func prov_complete(has_source_loc: i64, has_source_hash: i64, has_build_id: i64) -> i64 called by 1: main |
| 20 | func prov_traceable(provenance_complete: i64) -> i64 { return provenance_complete } called by 1: main |
| 23 | func prov_trust_for_redeploy(traceable: i64, hash_verifies: i64) -> i64 called by 1: main |
| 30 | func prov_restored(was_traceable: i64, next_build_stamped: i64) -> i64 called by 1: main |