Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/fa0488efb839e059 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## [Codex Security] R15 receipts bind a one-time snapshot but execute mutable prebuilt binaries open `fa0488efb839e059` #7 · opened 2026-11-15 17:07 UTC Imported from GitHub drakestapleton/omega-mv#7, by drakestapleton Base `91f88c287d7831784a808c5b054818fd9055afb5` · Head `b9a8545a0776da2ddc7113086b0a4b9b711435e4` drakestapleton wrote on 2026-11-15 17:07 UTC R15 now binds qualification to freshly built, sealed candidate artifacts. - Builds use verified Omega, Physics, and AIENOS commit archives in a private directory. - Trial and reducer copies are digest-checked around every execution, closing mutable-path replacement. - Receipt PASS requires sealed provenance, matching binary hashes, and unchanged final HEAD and tree state. - Host and silicon modes, trial ordering, reducer semantics, notes, and correctness reruns remain supported. ### Static Verification Checks - Archived source build boundary (Passed) — tools/r15_qualify.sh verify_commit archives exact commits before isolated builds, excluding ignored prebuilt artifacts from qualification. - Executable replacement path closed (Passed) — tools/r15_qualify.sh guard_binary checks each staged benchmark and reducer before and after use, closing executable replacement paths. - Receipt binding fails closed (Passed) — tools/r15_receipt.sh requires verified provenance, matching manifests, and clean unchanged final state before setting candidate_bound. - Legitimate receipt behavior preserved (Passed) — tests/r15_receipt_test.sh asserts provenance-backed PASS and replacement FAIL while preserving NODIGEST, notes, and candidate behavior. - Runtime checks not performed (Inconclusive) — Static verification mode prohibited runtime checks, so qualification execution and hardware behavior remain unobserved. - Finding: `acf_ae870b944cd3ef7c9ec8c7690891c6c4` - Patch: `arp_57bcb1a97ed6f560f89f40e4f161a24f` - Base commit: `91f88c287d7831784a808c5b054818fd9055afb5` - Patch SHA-256: `99f7f11e06d747b9d2f45df2f5ef3c7aeecfbfc5974f466262651e49804b027e` ### Apply it ``` git checkout -b patch-fa0488efb839e059 91f88c287d7831784a808c5b054818fd9055afb5 curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/fa0488efb839e059.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 drakestapleton/omega-mv 7 b9a8545a0776da2ddc7113086b0a4b9b711435e4 ``` ``` {"kind":"github-import","owner":"drakestapleton","repo":"omega-mv","number":7,"url":"https://github.com/drakestapleton/omega-mv/pull/7","export_sha256":"7a4dc05cfaafc4ff4b6c7811f8b55128091a7d4d233c7761f900f26220660f83","imported_utc":"2026-11-18T16:39:50Z"} ``` ### Changes ``` diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index aa4a7bd38..57469a1bb 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,6 +7,7 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| OpenAI Codex | Bound R15 qualification to fresh candidate/dependency archives, sealed executables, per-execution digest checks, final tree state and receipt-enforced build provenance. | | Grok 4.7 (via Cursor Agent) | Merged main `fd3751b31` (#1020, carrying #1045 and #1050) into #1052. The only conflict was the generated root `.crumb` (child `last_commit` stamps, the `tests` digest, and the root digest). Recompiled with the crumb.lock tool (`d0f0b95d`); `crumb verify .` current. The #525/#962 pins were left as committed: `src/checker2/c2_check.c`, `src/compiler/osc_ir.c` and `src/compiler/osc_ir.h` still hash to the SHA-256s in `ACCEPTED`. | | Claude Opus 5.5 (via omp) | #1020 (actions/cache-4.3.0 ->6.1.0): merged main `d3d1b1bc` and recompiled the root crumb with the crumb.lock tool (`d0f0b95d`). The root crumb's source tree covers `.github/workflows/`, so the bump alone left it stale and `AIEN Checks` failed at `crumb verify .` (`1 of 188 crumbs stale`). | | Claude Opus 5.5 (via omp) | #1018 (actions/upload-artifact-4 ->7): merged main `d3d1b1bc` and recompiled the root crumb with the crumb.lock tool (`d0f0b95d`). The root crumb's source tree covers `.github/workflows/`, so the bump alone left it stale and `AIEN Checks` failed at `crumb verify .` (`1 of 188 crumbs stale`). | diff --git a/docs/r15-handoff.md b/docs/r15-handoff.md index c39e574e8..ce4eda41b 100644 --- a/docs/r15-handoff.md +++ b/docs/r15-handoff.md @@ -280,16 +280,18 @@ analysis was done first. rig on X925. - `l2 `: 256 closed-loop claims through `living.blackwell.add`; chip `%globaltimer` pick/done from the heartbeat block. - - Four binaries: `make r15-perf-host` / `make r15-perf-silicon` (production - and `_nodigest`) plus `build/r15_reduce`. + - Four build targets: `r15-perf-host` / `r15-perf-silicon` (production and + `_nodigest`) plus `r15_reduce`. Qualification builds them from verified + candidate/dependency archives and stages digest-bound run copies; ignored + files under `build/` are never qualification inputs. - `tools/r15_reduce.c`: verifies every file against SHA256SUMS, recomputes metrics 1-17 and G1-G16, writes `summary.json`. Seed 0x15, 10,000 resamples, percentile CI; missing data = FAIL. - `tools/r15_qualify.sh [--detach] [rounds] [l1] [l2]`: balanced Latin square, L1, L2, machine.json, paranoid 4 -> 1 -> 4, SHA256SUMS, reducer. `--detach` = setsid nohup; progress in plain words in `progress.log`. - Set `AIENOS_R7_DIR`/`PHYSICS_DIR` so the recorded commits are right, and - `R15_OUT_BASE` for dry runs outside `evidence/`. + Set `AIENOS_LOCK_REPO`/`PHYSICS_DIR` to repositories holding the pinned + commits, and `R15_OUT_BASE` for dry runs outside `evidence/`. Still blocking a real qualification: (1) the goal-margin decision above (R14 silicon and G1); (2) §9: LM Studio and Ollama were resident at 13:45 and must diff --git a/docs/r16-production-entry-point.md b/docs/r16-production-entry-point.md index 337d5aed4..f1e47d7b6 100644 --- a/docs/r16-production-entry-point.md +++ b/docs/r16-production-entry-point.md @@ -166,8 +166,9 @@ make $V test-r13-silicon make $V test-r14-silicon make $V test-r15-parity-silicon make $V test-r16-authpath-silicon # G3 silicon -make $V r15-perf-silicon # builds the R15 binaries and reducer -PHYSICS_DIR=... AIENOS_R7_DIR=... tools/r15_qualify.sh --detach silicon +PHYSICS_DIR=... AIENOS_LOCK_REPO=... tools/r15_qualify.sh --detach silicon +# r15_qualify verifies the pinned Git objects, builds private archive copies, +# and executes only the digest-bound copies stored in the new raw run directory. make r15-receipt RUN=evidence/R15/raw/ CANDIDATE= RERUNS= NOTES= ``` diff --git a/spec/r15-performance-proof.md b/spec/r15-performance-proof.md index cc0d69dfd..db70d34e1 100644 --- a/spec/r15-performance-proof.md +++ b/spec/r15-performance-proof.md @@ -422,6 +422,12 @@ coverage, rerun the correctness gates, and repeat the entire qualification. window, crumb-derived interval, counter snapshot, telemetry sample), each with run id, configuration, round, trial, and monotonic timestamps; plus `machine.json` (§13) and `SHA256SUMS`. +- Build provenance: `build-provenance.json` names the exact omega, physics and + aienos archive commits and digests, compiler and make digests and versions, + build command/log digest, and source-to-binary hashes. `final-state.json` + records final HEAD/tree state and executable hashes after reduction. + `PROVENANCE_SHA256SUMS` covers both records, the build log and every staged + executable. Section 22 defines the required isolated build and checks. - Reducer: `tools/r15_reduce.c` (C, no Python), deterministic, reads only the raw directory, recomputes every summary number and every gate, and writes `summary.json`. The receipt embeds the reducer source SHA-256 and the raw @@ -430,7 +436,8 @@ coverage, rerun the correctness gates, and repeat the entire qualification. `AIEN_RX_R15_REACTION_PERFORMANCE_V1`, named by the SHA-256 of its own bytes: candidate_commit, run_commit, candidate_bound, tree_dirty, silicon_observed, hardware identity, aienos and physics commits, benchmark - binary SHA-256s, raw digest, reducer digest, all 17 metrics, legacy status + binary SHA-256s, source archives, toolchain/build provenance, final state, + raw digest, reducer digest, all 17 metrics, legacy status (NOT DIRECTLY COMPARABLE, §2), resident and SEQ results, paired comparisons, CIs, thresholds and outcomes, correctness reruns, regressions, `not_claimed`. - No headline number is edited by hand. The receipt's metric values are @@ -441,8 +448,9 @@ coverage, rerun the correctness gates, and repeat the entire qualification. Host name, `/etc/machine-id` SHA-256, kernel release, CPU MIDR per core and core-class map, governor and frequencies, memory size, GPU name and PCI id, driver version, Secure Boot and lockdown state, `perf_event_paranoid` before -and during, thermal readings, omega/aienos/physics commits, compiler version, -benchmark binary SHA-256. +and during, thermal readings, omega/aienos/physics commits, compiler version +and digest, build command, source-archive SHA-256s, benchmark/reducer SHA-256s, +and final HEAD/tree state. ## 14. Correctness reruns required before a PASS @@ -820,3 +828,43 @@ path's intended advantage (one scan covering many completions). A multi-claim-in-flight L2 phase (N > 1, e.g. 16, Option B) is deferred to a later gate and is listed in the receipt's limits. Empty-poll spin cost is a known host-side cost of both paths and is not claimed to be small. + +## 22. Amendment A2: candidate-to-executable provenance (2026-11-15) + +This strengthens candidate binding after qualification data existed. Earlier +receipts remain historical records, but their one-time binary snapshots do not +satisfy this amendment and are not a current candidate-bound qualification. A +new PASS requires a complete R15 run under these controls; no prior result is +relabelled. The workloads, metrics, G1–G16 thresholds and interleaving are +unchanged. + +**Why.** The former runner hashed pre-existing ignored files under `build/` +once, then resolved those mutable pathnames for every trial and reduction. It +did not establish which candidate sources produced them or check the files and +tree after use. A stale artifact, concurrent writer or self-replacement could +therefore make a receipt attribute measurements to bytes not built from its +named clean commit. + +**Required build boundary.** `tools/r15_qualify.sh` reads the omega candidate +and dependency locks from Git objects with replace refs and grafts disabled, +re-hashes and checks their object closures, and creates fresh archives of the +candidate, the pinned physics commit and the pinned aienos capability source. +It extracts omega and physics into a private directory, rebuilds +`r15-perf-` there with repository flags and the pinned aienos source, and +does not consume a pre-existing `build/` artifact. Compiler-affecting +environment overrides are removed. The archive, toolchain, command, log and +resulting binary digests are recorded in `build-provenance.json`. + +**Required execution boundary.** The two benchmark binaries and reducer are +copied into the new run directory, made read-only, and executed only there. +The runner compares each executable with its build digest immediately before +and after every use and aborts on a mismatch. After reduction it checks all +three again, records final HEAD and tracked-tree state, and seals those files +and records in `PROVENANCE_SHA256SUMS`. + +**Receipt rule.** `candidate_bound` is true only when the initial candidate is +clean and matches the requested commit, both checksum manifests verify, the +build/final schemas and source-to-binary hashes agree, dependency commits equal +the candidate locks, final HEAD is unchanged, the final tracked tree is clean, +and every executable retained its staged digest. Missing provenance is a FAIL, +not an inference from the old initial snapshot. diff --git a/tests/r15_receipt_test.sh b/tests/r15_receipt_test.sh index bb0fa15f9..8062fec22 100755 --- a/tests/r15_receipt_test.sh +++ b/tests/r15_receipt_test.sh @@ -18,7 +18,8 @@ # the recorded attempt-1 raw data (evidence/R15/raw/20260929T020536Z-...) into # build/, then checks: every §12/§13 required field is present, outcome is # FAIL (G10 failed, aienos_commit blank, no correctness reruns), the failed -# gate is listed under regressions, and the file is named by its own SHA-256. +# gate is listed under regressions, historical runs without build provenance +# are not candidate-bound, and the file is named by its own SHA-256. set -u HERE=$(cd "$(dirname "$0")/.." && pwd) RAW=$HERE/evidence/R15/raw/20260929T020536Z-ad8e1f2ea4e4-silicon @@ -35,6 +36,7 @@ check "named by its own SHA-256" '[ "$(basename "$R" .json)" = "$(sha256sum "$R" for k in schema run_id outcome outcome_reasons candidate_commit run_commit candidate_bound \ tree_dirty silicon_observed aienos_commit physics_commit benchmark_binaries_sha256 \ + provenance_digest_sha256 provenance_files_verified build_provenance final_state \ raw_digest_sha256 reducer_source_sha256 legacy_status seq_selector_symbol nodigest_macro \ gates correctness_reruns regressions limits not_claimed hardware_identity summary \ hostname machine_id_sha256 kernel midr governor_freq mem_kb gpu secure_boot lockdown \ @@ -50,7 +52,7 @@ check "reason names G10" 'grep -q "gate G10 FAIL" "$R"' check "reason names blank aienos_commit" 'grep -q "aienos_commit not recorded" "$R"' check "reason names missing reruns" 'grep -q "correctness reruns (§14) not recorded" "$R"' check "G10 listed under regressions" 'grep -o "\"regressions\": \[.*\"id\":\"G10\"" "$R" >/dev/null' -check "run commit ad8e1f2, candidate-bound" 'grep -q "\"run_commit\": \"ad8e1f2ea4e4906ed810c6bd696cc905b801d69a\"" "$R" && grep -q "\"candidate_bound\": true" "$R"' +check "historical run is not provenance-bound" 'grep -q "\"run_commit\": \"ad8e1f2ea4e4906ed810c6bd696cc905b801d69a\"" "$R" && grep -q "\"candidate_bound\": false" "$R" && grep -q "PROVENANCE_SHA256SUMS missing" "$R"' check "raw digest matches reducer" 'grep -q "\"raw_digest_matches_reducer\": true" "$R" && grep -q "\"raw_files_verified\": true" "$R"' check "16 gates present" 'grep -q "\"gates_present\": 16" "$R"' if command -v jq >/dev/null; then @@ -64,6 +66,29 @@ fi SYN=$OUT/syn; mkdir -p "$SYN"; cp "$RAW"/* "$SYN"/ sed -i 's/"outcome":"FAIL"/"outcome":"PASS"/; s/"all_gates_pass":false/"all_gates_pass":true/' "$SYN/summary.json" sed -i 's/"aienos_commit":""/"aienos_commit":"c8ab65e3ba2fddbe99245f747fdfdb99f6042fd3"/' "$SYN/machine.json" +mkdir "$SYN/bin" +printf 'synthetic trial executable\n' > "$SYN/bin/rx_r15_perf_silicon" +printf 'synthetic nodigest executable\n' > "$SYN/bin/rx_r15_perf_silicon_nodigest" +printf 'synthetic reducer executable\n' > "$SYN/bin/r15_reduce" +chmod 0555 "$SYN/bin/"* +TRIAL_SHA=$(sha256sum "$SYN/bin/rx_r15_perf_silicon" | cut -d' ' -f1) +ND_SHA=$(sha256sum "$SYN/bin/rx_r15_perf_silicon_nodigest" | cut -d' ' -f1) +RED_SHA=$(sha256sum "$SYN/bin/r15_reduce" | cut -d' ' -f1) +BINARIES="{\"trial\":\"$TRIAL_SHA\",\"nodigest\":\"$ND_SHA\",\"reducer\":\"$RED_SHA\"}" +sed -i "s/\"binaries\":{[^}]*}/\"binaries\":$BINARIES/" "$SYN/machine.json" +printf 'synthetic isolated build log\n' > "$SYN/build.log" +BUILD_LOG_SHA=$(sha256sum "$SYN/build.log" | cut -d' ' -f1) +PHYSICS=$(grep -o '"physics_commit":"[^"]*"' "$SYN/machine.json" | sed 's/.*:"//; s/"$//') +H1=$(printf '%064x' 1); H2=$(printf '%064x' 2); H3=$(printf '%064x' 3) +H4=$(printf '%064x' 4); H5=$(printf '%064x' 5) +cat > "$SYN/build-provenance.json" < "$SYN/final-state.json" < PROVENANCE_SHA256SUMS) # machine.json is covered by SHA256SUMS, and the reducer's raw digest covers # SHA256SUMS: re-seal both so only the judged inputs differ. sed -i "s/^[0-9a-f]* machine.json\$/$(sha256sum "$SYN/machine.json" | cut -d' ' -f1) machine.json/" "$SYN/SHA256SUMS" @@ -75,11 +100,18 @@ sed -i 's/,$/}/' "$OUT/reruns.json" "$HERE/tools/r15_receipt.sh" "$SYN" "$OUT/syn-out" ad8e1f2ea4e4906ed810c6bd696cc905b801d69a >/dev/null 2>&1 check "all gates PASS but no reruns -> still FAIL" '[ $? = 1 ]' P=$("$HERE/tools/r15_receipt.sh" "$SYN" "$OUT/syn-out" ad8e1f2ea4e4906ed810c6bd696cc905b801d69a "$OUT/reruns.json") -check "all gates PASS + reruns PASS -> PASS" '[ $? = 0 ] && grep -q "\"outcome\": \"PASS\"" "$P"' +check "all gates PASS + provenance + reruns PASS -> PASS" '[ $? = 0 ] && grep -q "\"outcome\": \"PASS\"" "$P" && grep -q "\"candidate_bound\": true" "$P" && grep -q "\"provenance_files_verified\": true" "$P"' "$HERE/tools/r15_receipt.sh" "$SYN" "$OUT/syn-out" 0000000000000000000000000000000000000000 "$OUT/reruns.json" >/dev/null check "wrong candidate -> FAIL" '[ $? = 1 ]' check "nodigest flag checked from raw" 'grep -q "\"checked_from_raw\": true, \"nodigest_processes_digest_off\": 12, \"production_processes_digest_on\": 46" "$R"' +# Replacing a sealed executable after the run invalidates provenance and can +# never retain candidate_bound, even though machine.json still has the initial digest. +MUT=$OUT/replaced-bin; mkdir -p "$MUT"; cp -a "$SYN"/. "$MUT"/ +chmod u+w "$MUT/bin/rx_r15_perf_silicon"; printf 'replacement\n' > "$MUT/bin/rx_r15_perf_silicon" +M=$($HERE/tools/r15_receipt.sh "$MUT" "$OUT/replaced-out" ad8e1f2ea4e4906ed810c6bd696cc905b801d69a "$OUT/reruns.json") +check "replaced executable -> FAIL, not candidate-bound" '[ $? = 1 ] && grep -q "build provenance files do not verify" "$M" && grep -q "\"candidate_bound\": false" "$M"' + # human-written notes: a regression and a limit are copied into the receipt printf '# test notes\nregression\tL1-A p50 ns\t7376\t4688\ttest justification\nlimit\ttest limit text\n' > "$OUT/notes.tsv" N=$("$HERE/tools/r15_receipt.sh" "$SYN" "$OUT/syn-notes" ad8e1f2ea4e4906ed810c6bd696cc905b801d69a "$OUT/reruns.json" "$OUT/notes.tsv") @@ -88,7 +120,7 @@ check "notes: regression listed" 'grep -q "\"metric\":\"L1-A p50 ns\",\"resident check "notes: limit listed" 'grep -q "\"limits\": \[\"test limit text\"\]" "$N"' # a NODIGEST process that kept digests on must fail the receipt (re-sealed) -ND=$OUT/nd; mkdir -p "$ND"; cp "$SYN"/* "$ND"/ +ND=$OUT/nd; mkdir -p "$ND"; cp -a "$SYN"/. "$ND"/ f=$(ls "$ND"/trial-RES1ND-*.jsonl | head -1); sed -i 's/"causal_digest":0/"causal_digest":1/' "$f" sed -i "s/^[0-9a-f]* $(basename "$f")\$/$(sha256sum "$f" | cut -d' ' -f1) $(basename "$f")/" "$ND/SHA256SUMS" sed -i "s/\"raw_digest_sha256_of_SHA256SUMS\":\"[0-9a-f]*\"/\"raw_digest_sha256_of_SHA256SUMS\":\"$(sha256sum "$ND/SHA256SUMS" | cut -d' ' -f1)\"/" "$ND/summary.json" diff --git a/tools/r15_qualify.sh b/tools/r15_qualify.sh index 1b0970609..b671aa0de 100755 --- a/tools/r15_qualify.sh +++ b/tools/r15_qualify.sh @@ -18,13 +18,15 @@ # §9, §10, §12, §13, §16 C1 item 7). # # tools/r15_qualify.sh [--detach] [rounds=12] [l1_runs=5] [l2_runs=5] -# (env: AIENOS_R7_DIR, PHYSICS_DIR for the recorded commits; R15_OUT_BASE to -# write a dry run outside evidence/) +# (env: AIENOS_LOCK_REPO or AIENOS_R7_DIR, PHYSICS_DIR repositories holding +# the pinned commits; CC; R15_OUT_BASE to write a dry run outside evidence/) # # Runs, in order: W-EPISODE trials (rounds x RES-4/RES-1/SEQ/RES-1-NODIGEST, # balanced Latin square), Level 1 (A,C,D,E,G,W0,W1 for RES-1 and SEQ # interleaved, B for RES-1), Level 2 (RES-1/SEQ interleaved). Every process # writes its own raw file; a failed process is recorded and NEVER rerun (§10). +# The benchmark and reducer are rebuilt from verified Git archives in a private +# directory. Only digest-bound copies under the run directory are executed. # Then SHA256SUMS and the reducer. Output: evidence/R15/raw//. # # --detach re-launches this script in its own session (setsid nohup), so an @@ -35,6 +37,7 @@ # the run, restored to 4 on every exit path, and the run fails if it does not # read back 4. No systemd. set -u +set -o pipefail if [ "${1:-}" = "--detach" ]; then shift @@ -52,24 +55,171 @@ case "$MODE" in host|silicon) ;; *) echo "mode must be host or silicon" >&2; exi HERE=$(cd "$(dirname "$0")/.." && pwd) cd "$HERE" || exit 1 -COMMIT=$(git rev-parse HEAD) -DIRTY=$([ -z "$(git status --porcelain --untracked-files=no)" ] && echo false || echo true) +export GIT_NO_REPLACE_OBJECTS=1 GIT_GRAFT_FILE=/nonexistent/r15-qualify-grafts +COMMIT=$(git rev-parse HEAD) || { echo "r15_qualify: cannot read candidate HEAD" >&2; exit 2; } +INITIAL_STATUS=$(git status --porcelain --untracked-files=no) || { echo "r15_qualify: cannot read initial tree state" >&2; exit 2; } +DIRTY=$([ -z "$INITIAL_STATUS" ] && echo false || echo true) RUN_ID=$(date -u +%Y%m%dT%H%M%SZ)-${COMMIT:0:12}-$MODE -OUT=${R15_OUT_BASE:-$HERE/evidence/R15/raw}/$RUN_ID -mkdir -p "$OUT" || exit 1 +OUT_BASE=${R15_OUT_BASE:-$HERE/evidence/R15/raw} +mkdir -p "$OUT_BASE" || exit 1 +OUT=$OUT_BASE/$RUN_ID +mkdir -m 0755 "$OUT" || { echo "r15_qualify: run directory already exists or cannot be created: $OUT" >&2; exit 1; } LOG=$OUT/progress.log say() { echo "$(date '+%H:%M:%S') $*" >> "$LOG"; } +jstr() { printf '"%s"' "$(printf '%s' "$1" | tr -d '"\\' | tr '\n' ' ')"; } +sha_file() { sha256sum "$1" | cut -d' ' -f1; } +full_commit() { [[ "$1" =~ ^[0-9a-f]{40}$ ]]; } +plain_path() { [[ "$1" =~ ^[A-Za-z0-9/._+-]+$ ]]; } + +BUILD_LOG=$OUT/build.log +: > "$BUILD_LOG" +prepare_fail() { + say "PREPARATION FAILED: $*" + echo "r15_qualify: $*" >&2 + exit 2 +} +verify_commit() { #