diff --git a/evidence/dra-170/findings.txt b/evidence/dra-170/findings.txt new file mode 100644 index 0000000..97a716f --- /dev/null +++ b/evidence/dra-170/findings.txt @@ -0,0 +1,101 @@ +DRA-170 candidate verification findings (SiReleaseCoord2/Hardening170, 2026-11-06) +Candidate: aien-dev/sovereign-intelligence main 2b90bdf82cde11ced998e9463db77487ad041dfc (#19) +Parent for differential: 1e4770314ec8d97bd283b3e133d77bc31033bf16 (parent-1e47703/) +Host: DGX Spark CPU only (taskset -c 0-2, bwrap --unshare-net). Host results, not hardware qualification. +Per-gate rows: gates_run.json / rows.tsv; raw logs: logs/. + +FAIL rows on the candidate and their root cause (each reproduced, fix proven in scratch only): +1. token.sh 23/7, lend.sh 1/2, failure-paths disk-full, no-network, model-resume, model-corrupt: + #19 made the wizard ask for Enter four times before "yes or no:" (model prompt, "number or + name:", "Press Enter to continue:", "Press Enter for the last question:"). token.sh feeds 3 + newlines (yes arrives one prompt early) and lend.sh plus the failure-path scripts feed 5 (one + prompt late); the wizard then prints "Stopped. Nothing was changed." and exits 0, so the + install under test never happens. run.sh and onboarding.sh already feed 4. +2. report.sh 14/1 "doc: fields missing from output: model:": #19 changed the versions.txt line + from "model: ..." (main.om a_l10) to "models: ..."; docs/doctor-report.md was not updated. +3. failure-paths rollback-clean (also FAIL at the parent): on a host where `gio set` writes + ~/.local/share/gvfs-metadata (not counted by design), ~/.local and ~/.local/share cannot be + removed by the uninstaller and are counted as "left after uninstall". [INFERENCE] passes on a + host without gvfs. +4. failure-paths/run.sh exits 0 when every path is NOT_RUN (unavailable omc: "SUMMARY pass=0 + fail=0 not_run=11", rc=0). That makes an unavailable gate look like success (DRA-170 + acceptance 3), so the row is labelled FAIL. +5. run.sh 36/3: the three failures are its lend-suite, report-suite and token-suite, items 1-2. + +Proposed fix: proposed-fix/installer-tests-and-doc.diff (9 files, +16/-12; installer/ and docs/ +are outside this lane's write scope, not committed here). Results with the diff applied to a +scratch copy of the candidate, same binaries: + token.sh rc=0 "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0" + lend.sh rc=0 "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12" + report.sh rc=0 "REPORT-TESTS pass=15 fail=0" + run.sh rc=0 "AIENOS-TESTS pass=39 fail=0" + failure-paths/run.sh rc=0 "SUMMARY pass=11 fail=0 not_run=0" (rollback-clean negative control + still "opposite") + failure-paths/run.sh with OMC unavailable rc=3 "SUMMARY pass=0 fail=0 not_run=11" + +Parent differential (1e47703, same pinned omc/engine): report.sh 15/0, token.sh 30/0, lend.sh +3/0 notrun=12, failure-paths 10/1 (rollback-clean). Parent run.sh 30/9 is INCONCLUSIVE: its a2-a4 +cases fetch SHA256SUMS.sig from the local server and got 404 in this harness run. + +CI on the candidate head (index-sync, index, Workflow YAML, AIEN Verification, Installer +verification path, SBOM, CodeQL) succeeded; CI runs none of token.sh, lend.sh, report.sh, run.sh +or failure-paths, which is why the regression reached main. + +NOT_RUN (reason in gates_run.json): container.sh, onboarding.sh (docker daemon), host-untouched.sh +(reads NVIDIA dpkg state), release-verify (tag alpha-20261029.1 not published), release-key +signature (TPM vault), DRA-52 GPU golden token, DRA-56 bearer auth on the shipped engine serving +a real model, DRA-53 failure paths on a stock DGX Spark. + +Verdict: candidate 2b90bdf82cde11ced998e9463db77487ad041dfc is FAIL for DRA-170 (host suites above). +Fix: SI#78 (branch docs/dra-44-45-49-53-packets) is MERGED into main at merge commit +2554682006aef0a6926841c5db217c02dd4a02ce. It carries items 1-4: commit 01daeda, "wizard tests feed +4 Enters; failure-path runner exits 3 on NOT_RUN", plus the doctor-report and rollback-clean fixes. + +Re-run on main 2554682006aef0a6926841c5db217c02dd4a02ce (main-2554682/; same pinned omc and +engine; candidate tree from git archive of that commit): gates=32 PASS=22 FAIL=0 INCONCLUSIVE=2 +NOT_RUN=8. + token.sh rc=0 "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0" (negative control pass=5 fail=25) + lend.sh rc=0 "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12" (control pass=0 fail=3) + report.sh rc=0 "REPORT-TESTS pass=15 fail=0" (control pass=6 fail=9) + run.sh rc=0 "AIENOS-TESTS pass=39 fail=0" (control pass=33 fail=6) + failure-paths/run.sh rc=0 "SUMMARY pass=11 fail=0 not_run=0" (control pass=10 fail=1) + failure-paths/run.sh with OMC unavailable rc=3 "SUMMARY pass=0 fail=0 not_run=11" (PASS: not success) +Verdict on main 2554682: PASS for every runnable non-GPU host gate. Host results, not hardware +qualification. The 8 NOT_RUN rows above are unchanged. + +Host dependency: PyYAML 6.0.1 (python3-yaml 6.0.1-2build2) for workflow-step extraction. See +host-dependencies.json for what it does here and the PROPOSED Omega replacement. + +Re-run on main 27ee8a4ee29b11d268fc675180b499b4a90a9e28 (main-27ee8a4/), after #57, #62 and #77 merged. +The rerun added rig-check.yml (3 steps, each with a negative control), tests/verify_dra169_build_audit.sh +(the network phase, with a tampered-digest control) and an e2e-nightly NOT_RUN row. +Result: gates=37 PASS=26 FAIL=0 INCONCLUSIVE=2 NOT_RUN=9. + rig-check "Workflow trigger guard" rc=0 "RIG TEST PASS negative-controls=27"; control rc=1 "RIG TEST FAIL" + rig-check "E2E harness FAKE arms" rc=0 "E2E HOST TEST PASS (FAKE only; REAL NOT_RUN)"; control rc=1 + verify_dra169_build_audit.sh rc=0 "ALL AUDIT RECORD CHECKS PASSED."; control rc=1 "4 failure(s)" +The scope is now measured, not written in: every row records Cpus_allowed_list from /proc/self/status. +gates_run.json reports "host only (CPU cores 0-2, bwrap)". The two security rows ran on the Mac and +are listed as unmeasured. Negative control (main-27ee8a4/affinity-control/control.txt): under taskset -c 1 +the scope reads "CPU cores 1". + +Update (same candidate 27ee8a4, evidence in main-27ee8a4/ re-run in full). It replaces the audit-control +and scope lines above. +- The earlier audit control wrote the tampered record as audit-neg.json. That name fails the script's + name check, so the control's rc=1 did not show that the key checks catch anything. +- The control now keeps the real name, dra-169-build-audit-2b90bdf.json, and tampers + alpha_key.raw_public_key_hex. A wrapper (assert_fail.sh) counts the control as caught only when it sees + rc=1 and exactly these three FAIL lines: + KEYS does not name the raw key + keys/release.pub is + keys/release.pub.pem does not encode the raw key + On any other outcome it prints CONTROL-ASSERT FAIL, and gates_run.json labels the gate FAIL. +- Meta-control: the untampered copy at the same path gives the audit rc=0, and the wrapper prints + "CONTROL-ASSERT FAIL rc=0", so the assertion is not vacuous. +- Assertion control (audit-control/assert-control.txt): the tampered record under the old wrong name + gives 4 FAIL lines, and the wrapper does not count it as caught. +- Scope now also measures the sandbox. Each row records "bwrap" when PID 1 of its pid namespace is + bwrap, with "without network" when /proc/net/dev shows only lo; otherwise it records "no bwrap". + - Main run: "host only (CPU cores 0-2; sandbox: bwrap, bwrap without network)". + - Controls: sandbox-control/ ran outside bwrap and gives "sandbox: no bwrap"; affinity-control/ ran + under taskset -c 1 and gives "CPU cores 1". +Result: gates=37 PASS=26 FAIL=0 INCONCLUSIVE=2 NOT_RUN=9. diff --git a/evidence/dra-170/gates_run.json b/evidence/dra-170/gates_run.json new file mode 100644 index 0000000..635d141 --- /dev/null +++ b/evidence/dra-170/gates_run.json @@ -0,0 +1,569 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "scope": "host only (Spark CPU cores 0-2, bwrap); not hardware qualification", + "counts": { + "PASS": 16, + "FAIL": 6, + "INCONCLUSIVE": 2, + "NOT_RUN": 8 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 170: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=8 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s/out'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s/report'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "REPORT-TESTS pass=14 fail=1", + "log": "logs/installer_tests_report.sh.gate.log", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL doc: fields missing from output: model: " + ] + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/out/dist' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-TESTS pass=36 fail=3 scratch=/dev/shm/hive/Hardening170/s/run", + "log": "logs/installer_tests_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/dist-neg' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/s/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run/lend)", + "FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run/lend)", + "FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run)", + "FAIL doc: fields missing from output: model: ", + "FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run)", + "FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run)" + ], + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token", + "log": "logs/installer_tests_token.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)" + ] + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend)", + "FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend)" + ], + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "SUMMARY pass=6 fail=5 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=5 fail=6 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/disk-full", + "FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/no-network", + "FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp/model-resume", + "FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp/model-corrupt", + "FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/rollback-clean" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp-omc'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "FAIL", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s/inv' && git -C '/dev/shm/hive/Hardening170/s/inv' checkout -q 2b90bdf82cde11ced998e9463db77487ad041dfc && cd '/dev/shm/hive/Hardening170/s/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/host-dependencies.json b/evidence/dra-170/host-dependencies.json new file mode 100644 index 0000000..7a978a2 --- /dev/null +++ b/evidence/dra-170/host-dependencies.json @@ -0,0 +1,23 @@ +{ + "schema": "dra-170 host dependencies of tests/gates/candidate_verification.sh", + "observed_on": "DGX Spark build host (Ubuntu 24.04 arm64), 2026-11-06, via dpkg-query -W and python3 -c 'import yaml; print(yaml.__version__, yaml.__with_libyaml__)'", + "dependencies": [ + { + "name": "PyYAML", + "version": "6.0.1 (Ubuntu package python3-yaml 6.0.1-2build2, libyaml C loader present: True)", + "runtime": "python3 3.12.3 (Ubuntu package python3 3.12.3-0ubuntu2.1)", + "used_by": [ + "tests/gates/candidate_verification.sh: the generated SCRATCH/wfstep.py calls yaml.safe_load on a candidate .github/workflows/*.yml to print one step's run: text and its job's env, so each workflow step runs verbatim from the candidate's own YAML", + "installer/tests/workflow-yaml.sh (not this lane's file): parses every workflow and its negative-control fixtures; without PyYAML it prints WORKFLOW-YAML NOT_RUN" + ], + "what_it_does_for_us": "Parses the workflow YAML read-only. It does not build, sign or ship anything and is not in the release bundle. If it is missing, wfstep.py fails, the step's row records a non-zero rc, and the gate cannot be PASS.", + "bundled": false, + "omega_replacement": { + "state": "PROPOSED", + "proposal": "tests/gates/wfstep.om is a seeded-Omega program compiled with the pinned omc (OMC_PIN in installer/build.sh). It takes WORKFLOW JOB STEP-NAME, reads the file bytes and accepts only the YAML subset the repository's workflows use: indentation-nested block mappings and block sequences, 'run: |' literal block scalars, plain and single- or double-quoted one-line scalars, and '#' comments. Anything outside that subset, such as anchors, flow collections, folded scalars or tabs, is refused with a non-zero exit, so the gate reads FAIL or NOT_RUN and is never guessed. It prints the same 'export K=V' lines, 'set -o pipefail' when defaults.run.shell is bash, and the step body, with the 'git ' line filter for 'Pinned omega-mv' steps. candidate_verification.sh then calls the compiled binary instead of python3, so no conversion is needed. omega-bridge is used only if a Python caller has to keep the module interface: workflow-yaml.sh's parse check would import the bridge-emitted checked Python from the same bounded .om unit instead of PyYAML.", + "acceptance": "Byte-identical output to wfstep.py for every step of every workflow on the candidate. A malformed-workflow fixture (tab indentation, an unknown job) makes both refuse with a non-zero exit as the negative control. The workflow-yaml.sh negative-control fixtures keep their verdicts.", + "not_done_here": "The .om program is not written in this PR. The lane writes only evidence/dra-170/** and tests/gates/candidate_verification.sh, and installer/HOST-DEPENDENCIES.md belongs to the installer owner." + } + } + ] +} diff --git a/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..b0e01d3 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s/rt-index/index diff --git a/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..4ed9a98 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..0c4e1c6 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..e2e406f --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..f7a1fdc --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..0ea817d --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..e93dbc1 --- /dev/null +++ b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 590ffecaae8049d42853e17c1aaf4bac0eee301b1e709078179f6ff9a9fac0e4, got 6860e38bf2c50fc009c771bb5f7997625529cdd4e489bcecab48d45d0d7a4f9c). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 590ffecaae8049d42853e17c1aaf4bac0eee301b1e709078179f6ff9a9fac0e4). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:42329/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..2ec4423 --- /dev/null +++ b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/4-rewritten-sums-unsigned/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 242b177973e9da2bb81424738c2a4d2d34a11ee4aade78fd7c63a2ab353ade6c, got d886f8cdacf8f79b1eda77fd1db99cb5c394d9d4625d6a1e503519c293cef364). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 242b177973e9da2bb81424738c2a4d2d34a11ee4aade78fd7c63a2ab353ade6c). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:33335/missing-signature/SHA256SUMS.sig +exit 2 +== 10-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/10-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 11-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/11-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 1 diff --git a/evidence/dra-170/logs/installer_build.sh.gate.log b/evidence/dra-170/logs/installer_build.sh.gate.log new file mode 100644 index 0000000..ed256ec --- /dev/null +++ b/evidence/dra-170/logs/installer_build.sh.gate.log @@ -0,0 +1,7 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s/out' +built /dev/shm/hive/Hardening170/s/out/dist/aienos-alpha-20261029.1-linux-arm64.tar.gz +ce9da242da029bfcb5865adcd6450f77d15d3e0020bd3a2df9fc0b2163f16c44 aienos-alpha-20261029.1-linux-arm64.tar.gz +caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd install.sh +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 aienos.om +2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 release.pub +23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem diff --git a/evidence/dra-170/logs/installer_build.sh.neg.log b/evidence/dra-170/logs/installer_build.sh.neg.log new file mode 100644 index 0000000..eb97394 --- /dev/null +++ b/evidence/dra-170/logs/installer_build.sh.neg.log @@ -0,0 +1,2 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s/out-neg' # tamper: one byte appended to the engine +build.sh: /dev/shm/hive/Hardening170/s/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..c77f572 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp' +FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/disk-full +FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/no-network +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 60609) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp/model-resume +FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp/model-corrupt +FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/rollback-clean +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=6 fail=5 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log new file mode 100644 index 0000000..eca3ecd --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s/fp-neg' # tamper: install.sh signature check disabled +FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/disk-full +FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/no-network +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +FAIL bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN bad=8 scratch=/dev/shm/hive/Hardening170/s/fp-neg/bad-signature +PASS port-in-use EXERCISED(host, test build on port 52075) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp-neg/model-resume +FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp-neg/model-corrupt +FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/rollback-clean +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=5 fail=6 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-neg diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log new file mode 100644 index 0000000..2fb854a --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/s/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp-omc' +NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-omc diff --git a/evidence/dra-170/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..ed2ff02 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend' +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend diff --git a/evidence/dra-170/logs/installer_tests_lend.sh.neg.log b/evidence/dra-170/logs/installer_tests_lend.sh.neg.log new file mode 100644 index 0000000..432b045 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_lend.sh.neg.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend-neg' # tamper: bin/aienos replaced by /bin/true +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +FAIL lend-start-without-program-refuses: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend-neg diff --git a/evidence/dra-170/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..2515f54 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/s/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 diff --git a/evidence/dra-170/logs/installer_tests_report.sh.neg.log b/evidence/dra-170/logs/installer_tests_report.sh.neg.log new file mode 100644 index 0000000..c9fa549 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_report.sh.neg.log @@ -0,0 +1,77 @@ +$ AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) +FAIL report written (rc=0) +FAIL gzip integrity +tar (child): /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +FAIL member list: +tar (child): /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +PASS doc: member list +FAIL doc: fields missing from output: aienos doctor --report: +Never included: +Sovereign Intelligence alpha-20261029.1: +engine: + evidence: +GPU path: +model: +evidence: + this installer's GB10 install and first token, and the 3x physical qualification: +signature: +release folder: +kernel: +kernel release: +/etc/os-release: +/etc/os-release: +/etc/dgx-release: +/etc/dgx-release: +/etc/dgx-release: +NVIDIA kernel module (/sys/module/nvidia/version): +NVIDIA driver (/proc/driver/nvidia/version): +CUDA toolkit (/usr/local/cuda/version.json; not part of AienOS): +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +free disk in the home folder (df -B1 --output=avail): +[ info ] AienOS installed: +verdict: +release folder: +bundle sha256 recorded by install.sh (.bundle-sha256): +files: +model manifest (share/aienos/model.manifest): +autostart: +engine: +engine address: +lending program: +lending key: +lending: +lending paused: +lending log ~/.local/share/aienos/lend/lend.log: +curl: +aien-serve-http: +aien-serve-http: +lines copied: +lines left out: +gzip: /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: No such file or directory +PASS no canary in archive +gzip: /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: No such file or directory +PASS home path redacted +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL allowed engine line kept +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL home written as ~ +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/checksums.txt: No such file or directory +FAIL checksums +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/system.txt: No such file or directory +FAIL driver string +PASS no socket or connect call +FAIL existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=6 fail=9 diff --git a/evidence/dra-170/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..373deb3 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,108 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/out/dist' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run' +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/run/lend +FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 +FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +PASS token-plan-lists-file +stat: cannot statx '/dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run/token) +/dev/shm/hive/Hardening170/s/base/installer/tests/token.sh: 103: cannot open /dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run/token) +FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run/token) +head: cannot open '/dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run/token) +FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=18 fail=7 notrun=5 scratch=/dev/shm/hive/Hardening170/s/run/token +FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +AIENOS-TESTS pass=36 fail=3 scratch=/dev/shm/hive/Hardening170/s/run diff --git a/evidence/dra-170/logs/installer_tests_run.sh.neg.log b/evidence/dra-170/logs/installer_tests_run.sh.neg.log new file mode 100644 index 0000000..06b4801 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_run.sh.neg.log @@ -0,0 +1,110 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/dist-neg' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run-neg' # tamper: one byte appended to the bundle +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/s/run-neg/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +tests/run.sh: 110: cd: can't cd to /dev/shm/hive/Hardening170/s/run-neg/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run-neg/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run-neg/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/run-neg/lend +FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 +FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS token-plan-lists-file +stat: cannot statx '/dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +/dev/shm/hive/Hardening170/s/base/installer/tests/token.sh: 103: cannot open /dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +head: cannot open '/dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=18 fail=7 notrun=5 scratch=/dev/shm/hive/Hardening170/s/run-neg/token +FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/s/run-neg diff --git a/evidence/dra-170/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..1eab877 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,35 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token' +PASS token-plan-lists-file +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +tests/token.sh: 103: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token diff --git a/evidence/dra-170/logs/installer_tests_token.sh.neg.log b/evidence/dra-170/logs/installer_tests_token.sh.neg.log new file mode 100644 index 0000000..7ce63ed --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_token.sh.neg.log @@ -0,0 +1,56 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg' # tamper: bin/aienos replaced by /bin/true +FAIL token-plan-lists-file: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 103: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 118: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +tests/token.sh: 121: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +PASS token-kept-across-starts +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token': No such file or directory +tests/token.sh: 124: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-wrong-token-401: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 128: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +PASS control-missing-header-401 +FAIL token-chat-command-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-engine-without-token-refuses: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-capture-sees-missing-header: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-from-getrandom-32-bytes: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +PASS control-existing-token-not-redrawn +FAIL token-differs-per-install: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-file-0644-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +FAIL control-dir-0755-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +ln: failed to create symbolic link '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-symlink-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +rm: cannot remove '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/w2.tok': No such file or directory +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-non-hex-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 238: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +tests/token.sh: 238: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-short-token-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 241: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/w2.tok' for reading: No such file or directory +PASS token-restored-starts +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL token-remade-after-removal: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-removed-by-uninstall: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-core/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +PASS core-refuses-without-token +FAIL core-matrix-401-401-200: engine did not start (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core1.log) +FAIL core-wizard-chat-200: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +FAIL core-wizard-wrong-token-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +FAIL core-wizard-missing-header-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg diff --git a/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log new file mode 100644 index 0000000..703685b --- /dev/null +++ b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy +LEARN-CHECK PASS runners=0 diff --git a/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log new file mode 100644 index 0000000..c33aff2 --- /dev/null +++ b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added +LEARN-CHECK FAIL +docs/learn/run.sh ext diff --git a/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..93b87d2 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/s/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s/inv' && git -C '/dev/shm/hive/Hardening170/s/inv' checkout -q 2b90bdf82cde11ced998e9463db77487ad041dfc && cd '/dev/shm/hive/Hardening170/s/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..7d9da99 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log new file mode 100644 index 0000000..0190b87 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) +PASS 18/18 diff --git a/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log new file mode 100644 index 0000000..c2bafe9 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" +FAIL basic.100x34 rc=0 +FAIL bad=1 of 18 diff --git a/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log new file mode 100644 index 0000000..224e09c --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 /dev/shm/hive/Hardening170/s/rt-verify/aienos.om +725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s/rt-verify/a1 diff --git a/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log new file mode 100644 index 0000000..fe716ea --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om diff --git a/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log new file mode 100644 index 0000000..ed754b6 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log @@ -0,0 +1,43 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +doctor gb10 rc=0 want=0 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ no ] Driver no NVIDIA kernel module loaded (/sys/module/nvidia/version missing) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor nogpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor othergpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor olddrv rc=1 want=1 diff --git a/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log new file mode 100644 index 0000000..bac840b --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log @@ -0,0 +1,12 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor gb10 rc=1 want=0 diff --git a/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..b34db37 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv +/dev/shm/hive/Hardening170/s/rt-verify/omega/seed/out/omc: OK diff --git a/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..bf05f3b --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" +/dev/shm/hive/Hardening170/s/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log new file mode 100644 index 0000000..6001a61 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax diff --git a/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log new file mode 100644 index 0000000..1d309dc --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh +installer/tests/lend.sh: 170: Syntax error: "then" unexpected diff --git a/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log new file mode 100644 index 0000000..e0abb63 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) +port 18100: only in const PORT diff --git a/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log new file mode 100644 index 0000000..918c082 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om +installer/wizard/lib.om:641:// fallback port 18100 +::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) diff --git a/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log new file mode 100644 index 0000000..cccc45c --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's diff --git a/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log new file mode 100644 index 0000000..c9d9180 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om +- /dev/shm/hive/Hardening170/s/rt-neg/sha.body differ: byte 9555, line 344 diff --git a/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log new file mode 100644 index 0000000..5257235 --- /dev/null +++ b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log @@ -0,0 +1,16 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML PASS files=8 negative-controls=5 diff --git a/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log new file mode 100644 index 0000000..76e73ae --- /dev/null +++ b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log @@ -0,0 +1,17 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/release-verify.yml +/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml", line 24, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml", line 25, column 1 +FAIL /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML FAIL diff --git a/evidence/dra-170/main-2554682/gates_run.json b/evidence/dra-170/main-2554682/gates_run.json new file mode 100644 index 0000000..31daa71 --- /dev/null +++ b/evidence/dra-170/main-2554682/gates_run.json @@ -0,0 +1,531 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "2554682006aef0a6926841c5db217c02dd4a02ce", + "scope": "host only (Spark CPU cores 0-2, bwrap); not hardware qualification", + "counts": { + "PASS": 22, + "FAIL": 0, + "INCONCLUSIVE": 2, + "NOT_RUN": 8 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 175: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=8 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "REPORT-TESTS pass=15 fail=0", + "log": "logs/installer_tests_report.sh.gate.log", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run", + "log": "logs/installer_tests_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token", + "log": "logs/installer_tests_token.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 3, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..cdc599f --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..7fd8910 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..7320a31 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..de059b8 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..d333a71 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..47f1f04 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..566907c --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s2/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 631fdadaac05bcec2abae62df3fc9705141954dcf95f36ccc72ced8eb107a6a4, got 3632d41c711558a14dcfdf99f133762d7e6120af545aee1997f24318d843751a). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 631fdadaac05bcec2abae62df3fc9705141954dcf95f36ccc72ced8eb107a6a4). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:32993/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..09db77f --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s2/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/4-rewritten-sums-unsigned/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 15d285fe757c8266b003252178eba42557f09b68e1a836952b7d579b9f749de5, got afb81710066d0a52212de90102a4e79a0874071691becb5031176bfaa26ed21d). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 15d285fe757c8266b003252178eba42557f09b68e1a836952b7d579b9f749de5). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:44413/missing-signature/SHA256SUMS.sig +exit 2 +== 10-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/10-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 11-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/11-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 1 diff --git a/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log new file mode 100644 index 0000000..ca758c0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log @@ -0,0 +1,7 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out' +built /dev/shm/hive/Hardening170/s2/out/dist/aienos-alpha-20261029.1-linux-arm64.tar.gz +ce9da242da029bfcb5865adcd6450f77d15d3e0020bd3a2df9fc0b2163f16c44 aienos-alpha-20261029.1-linux-arm64.tar.gz +caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd install.sh +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 aienos.om +2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 release.pub +23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem diff --git a/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log new file mode 100644 index 0000000..61f6873 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log @@ -0,0 +1,2 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine +build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..cbb914d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp' +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 49821) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log new file mode 100644 index 0000000..0b7405d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +FAIL bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN bad=8 scratch=/dev/shm/hive/Hardening170/s2/fp-neg/bad-signature +PASS port-in-use EXERCISED(host, test build on port 48653) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log new file mode 100644 index 0000000..9d3c17a --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc' +NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..55053d5 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend' +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log new file mode 100644 index 0000000..151b063 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +FAIL lend-start-without-program-refuses: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..ff2d985 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log new file mode 100644 index 0000000..539f653 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log @@ -0,0 +1,77 @@ +$ AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) +FAIL report written (rc=0) +FAIL gzip integrity +tar (child): /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +FAIL member list: +tar (child): /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +PASS doc: member list +FAIL doc: fields missing from output: aienos doctor --report: +Never included: +Sovereign Intelligence alpha-20261029.1: +engine: + evidence: +GPU path: +models: +evidence: + this installer's GB10 install and first token, and the 3x physical qualification: +signature: +release folder: +kernel: +kernel release: +/etc/os-release: +/etc/os-release: +/etc/dgx-release: +/etc/dgx-release: +/etc/dgx-release: +NVIDIA kernel module (/sys/module/nvidia/version): +NVIDIA driver (/proc/driver/nvidia/version): +CUDA toolkit (/usr/local/cuda/version.json; not part of AienOS): +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +free disk in the home folder (df -B1 --output=avail): +[ info ] AienOS installed: +verdict: +release folder: +bundle sha256 recorded by install.sh (.bundle-sha256): +files: +model manifest (share/aienos/model.manifest): +autostart: +engine: +engine address: +lending program: +lending key: +lending: +lending paused: +lending log ~/.local/share/aienos/lend/lend.log: +curl: +aien-serve-http: +aien-serve-http: +lines copied: +lines left out: +gzip: /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: No such file or directory +PASS no canary in archive +gzip: /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: No such file or directory +PASS home path redacted +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL allowed engine line kept +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL home written as ~ +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/checksums.txt: No such file or directory +FAIL checksums +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/system.txt: No such file or directory +FAIL driver string +PASS no socket or connect call +FAIL existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=6 fail=9 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..379f3a4 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,105 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run' +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/run/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s2/run/token +PASS token-suite +AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log new file mode 100644 index 0000000..5b20083 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log @@ -0,0 +1,107 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/s2/run-neg/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +tests/run.sh: 110: cd: can't cd to /dev/shm/hive/Hardening170/s2/run-neg/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/run-neg/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s2/run-neg/token +PASS token-suite +AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..5be34ee --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,32 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token' +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log new file mode 100644 index 0000000..ccd2ebc --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log @@ -0,0 +1,56 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true +FAIL token-plan-lists-file: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 108: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 123: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +tests/token.sh: 126: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +PASS token-kept-across-starts +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token': No such file or directory +tests/token.sh: 129: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-wrong-token-401: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 133: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +PASS control-missing-header-401 +FAIL token-chat-command-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-engine-without-token-refuses: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-capture-sees-missing-header: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-from-getrandom-32-bytes: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +PASS control-existing-token-not-redrawn +FAIL token-differs-per-install: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-file-0644-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +FAIL control-dir-0755-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +ln: failed to create symbolic link '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-symlink-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +rm: cannot remove '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/w2.tok': No such file or directory +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-non-hex-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-short-token-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 246: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/w2.tok' for reading: No such file or directory +PASS token-restored-starts +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL token-remade-after-removal: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-removed-by-uninstall: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-core/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +PASS core-refuses-without-token +FAIL core-matrix-401-401-200: engine did not start (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core1.log) +FAIL core-wizard-chat-200: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +FAIL core-wizard-wrong-token-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +FAIL core-wizard-missing-header-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg diff --git a/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log new file mode 100644 index 0000000..80c3b0d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy +LEARN-CHECK PASS runners=0 diff --git a/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log new file mode 100644 index 0000000..f39df97 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added +LEARN-CHECK FAIL +docs/learn/run.sh ext diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..f527313 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,20 @@ +$ rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test +Note: switching to '2554682006aef0a6926841c5db217c02dd4a02ce'. + +You are in 'detached HEAD' state. You can look around, make experimental +changes and commit them, and you can discard any commits you make in this +state without impacting any branches by switching back to a branch. + +If you want to create a new branch to retain commits you create, you may +do so (now or later) by using -c with the switch command. Example: + + git switch -c + +Or undo this operation with: + + git switch - + +Turn off this advice by setting config variable advice.detachedHead to false + +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..9a64059 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log new file mode 100644 index 0000000..3630e08 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) +PASS 18/18 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log new file mode 100644 index 0000000..fa7e0f9 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" +FAIL basic.100x34 rc=0 +FAIL bad=1 of 18 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log new file mode 100644 index 0000000..c45ca15 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 /dev/shm/hive/Hardening170/s2/rt-verify/aienos.om +725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log new file mode 100644 index 0000000..3f1a5d1 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log new file mode 100644 index 0000000..4e6fcaf --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log @@ -0,0 +1,43 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +doctor gb10 rc=0 want=0 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ no ] Driver no NVIDIA kernel module loaded (/sys/module/nvidia/version missing) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor nogpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor othergpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor olddrv rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log new file mode 100644 index 0000000..5f4d9c0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log @@ -0,0 +1,12 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor gb10 rc=1 want=0 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..fd7221c --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv +/dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..bc0b0ac --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" +/dev/shm/hive/Hardening170/s2/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log new file mode 100644 index 0000000..d5ff408 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log new file mode 100644 index 0000000..e27b954 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh +installer/tests/lend.sh: 175: Syntax error: "then" unexpected diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log new file mode 100644 index 0000000..50fcff5 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) +port 18100: only in const PORT diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log new file mode 100644 index 0000000..986badb --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om +installer/wizard/lib.om:641:// fallback port 18100 +::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log new file mode 100644 index 0000000..616e6b4 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log new file mode 100644 index 0000000..e7659cb --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om +- /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344 diff --git a/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log new file mode 100644 index 0000000..3f1ec64 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log @@ -0,0 +1,16 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML PASS files=8 negative-controls=5 diff --git a/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log new file mode 100644 index 0000000..2d3ff31 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log @@ -0,0 +1,17 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/release-verify.yml +/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml", line 24, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml", line 25, column 1 +FAIL /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML FAIL diff --git a/evidence/dra-170/main-2554682/rows.tsv b/evidence/dra-170/main-2554682/rows.tsv new file mode 100644 index 0000000..e607bf5 --- /dev/null +++ b/evidence/dra-170/main-2554682/rows.tsv @@ -0,0 +1,53 @@ +verify.yml/verify/Shell syntax gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax 0 $ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax logs/verify.yml_verify_Shell_syntax.gate.log +verify.yml/verify/Pinned omega-mv gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK logs/verify.yml_verify_Pinned_omega-mv.gate.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's 0 $ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log +verify.yml/verify/Compile the wizard twice gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice 0 725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1 logs/verify.yml_verify_Compile_the_wizard_twice.gate.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) 0 PASS 18/18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log +verify.yml/verify/The engine port is written once, in PORT (#34) gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) 0 port 18100: only in const PORT logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log +verify.yml/verify/Doctor on fake hardware gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware 0 doctor olddrv rc=1 want=1 logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log +verify.yml/verify/Shell syntax neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh 2 installer/tests/lend.sh: 175: Syntax error: "then" unexpected logs/verify.yml_verify_Shell_syntax.neg.log +verify.yml/verify/Pinned omega-mv neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/verify.yml_verify_Pinned_omega-mv.neg.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om 1 - /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344 logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log +verify.yml/verify/Compile the wizard twice neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om 16 $ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om logs/verify.yml_verify_Compile_the_wizard_twice.neg.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" 1 FAIL bad=1 of 18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log +verify.yml/verify/The engine port is written once, in PORT (#34) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om 1 ::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log +verify.yml/verify/Doctor on fake hardware neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh 1 doctor gb10 rc=1 want=0 logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log +index.yml/index-check/Pinned omega-mv gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK logs/index.yml_index-check_Pinned_omega-mv.gate.log +index.yml/index-check/Compile the generator twice gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice 0 e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index logs/index.yml_index-check_Compile_the_generator_twice.gate.log +index.yml/index-check/Index, curated entries and README agree gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree 0 index: 90 repositories, curated and rendered logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log +index.yml/index-check/Negative control, an uncurated public repository fails gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails 0 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log +index.yml/index-check/Index, curated entries and README agree neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json 1 remove them (a private repository must never be named here) logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log +index.yml/index-check/Negative control, an uncurated public repository fails neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) 1 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log +installer-verify-path.yml/verify-path/Verification path with negative controls gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls 0 verify-path.sh exit 0 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log +installer-verify-path.yml/verify-path/Verification path with negative controls neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) 1 verify-path.sh exit 1 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls 0 WORKFLOW-YAML PASS files=8 negative-controls=5 logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml 1 WORKFLOW-YAML FAIL logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy 0 LEARN-CHECK PASS runners=0 logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added 1 docs/learn/run.sh ext logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log +installer/build.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out' 0 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem logs/installer_build.sh.gate.log +installer/build.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine 7 build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 logs/installer_build.sh.neg.log +installer/tests/report.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report' 0 REPORT-TESTS pass=15 fail=0 logs/installer_tests_report.sh.gate.log +installer/tests/report.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) 1 REPORT-TESTS pass=6 fail=9 logs/installer_tests_report.sh.neg.log +installer/tests/run.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run' 0 AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run logs/installer_tests_run.sh.gate.log +installer/tests/run.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle 1 AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg logs/installer_tests_run.sh.neg.log +installer/tests/token.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token' 0 AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token logs/installer_tests_token.sh.gate.log +installer/tests/token.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg logs/installer_tests_token.sh.neg.log +installer/tests/lend.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend' 0 AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend logs/installer_tests_lend.sh.gate.log +installer/tests/lend.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg logs/installer_tests_lend.sh.neg.log +installer/tests/failure-paths/run.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp' 0 SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp logs/installer_tests_failure-paths_run.sh.gate.log +installer/tests/failure-paths/run.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled 1 SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg logs/installer_tests_failure-paths_run.sh.neg.log +installer/tests/failure-paths/run.sh (unavailable omc) gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc' 3 SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log +installer/tests/container.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/onboarding.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/host-untouched.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap +release-verify.yml (published release) notrun 2554682006aef0a6926841c5db217c02dd4a02ce candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key +release-key signature over the candidate DIST notrun 2554682006aef0a6926841c5db217c02dd4a02ce tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key +DRA-52 GPU golden-token merge gate notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the GPU window (GB10); not authorized for this lane +DRA-56 bearer auth on the shipped engine serving a real model notrun 2554682006aef0a6926841c5db217c02dd4a02ce real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host +DRA-53 failure paths on a stock DGX Spark notrun 2554682006aef0a6926841c5db217c02dd4a02ce real Spark gate; only host results here +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 2554682006aef0a6926841c5db217c02dd4a02ce rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log +github/private-vulnerability-reporting gate 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true 0 {"enabled":true}enabled=true logs/github_private-vulnerability-reporting.gate.log +github/private-vulnerability-reporting neg 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off 1 {"enabled":false} logs/github_private-vulnerability-reporting.neg.log +github/secret-scanning (enabled, push protection, zero open alerts) gate 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled 0 push_protection=enabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log +github/secret-scanning (enabled, push protection, zero open alerts) neg 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled 1 secret_scanning_non_provider_patterns=disabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/control.txt b/evidence/dra-170/main-27ee8a4/affinity-control/control.txt new file mode 100644 index 0000000..4086208 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/control.txt @@ -0,0 +1,6 @@ +$ CANDIDATE=27ee8a4ee29b11d268fc675180b499b4a90a9e28 PHASE=network taskset -c 1 nice -n 10 bwrap --dev-bind / / --dev /dev --bind /dev/shm/hive/Hardening170 /dev/shm/hive/Hardening170 --proc /proc --unshare-pid --die-with-parent -- sh tests/gates/candidate_verification.sh evidence/dra-170/main-27ee8a4/affinity-control /dev/shm/hive/Hardening170/c-affinity +network rc=0 +/home/drakestapleton/work/hive/Hardening170/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json gates=2 PASS=2 FAIL=0 INCONCLUSIVE=0 NOT_RUN=0 +json rc=0 +scope: host only (CPU cores 1; sandbox: bwrap); not hardware qualification +cpus_allowed_measured: ['1'] diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json b/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json new file mode 100644 index 0000000..71bcb7d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json @@ -0,0 +1,70 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "scope": "host only (CPU cores 1; sandbox: bwrap); not hardware qualification", + "cpus_allowed_measured": [ + "1" + ], + "sandbox_measured": [ + "bwrap" + ], + "counts": { + "PASS": 2, + "FAIL": 0, + "INCONCLUSIVE": 0, + "NOT_RUN": 0 + }, + "gates": [ + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "cpus_allowed": "1", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "cpus_allowed": "1", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "tests/verify_dra169_build_audit.sh", + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "ALL AUDIT RECORD CHECKS PASSED.", + "log": "logs/tests_verify_dra169_build_audit.sh.gate.log", + "cpus_allowed": "1", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name", + "rc": 1, + "last_line": "CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines", + "log": "logs/tests_verify_dra169_build_audit.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "1", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "meta_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json'", + "rc": 0, + "last_line": "CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt", + "log": "logs/tests_verify_dra169_build_audit.sh.meta.log", + "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log new file mode 100644 index 0000000..a6e1ce8 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log @@ -0,0 +1,108 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log new file mode 100644 index 0000000..23be2a7 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. +CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log new file mode 100644 index 0000000..fb24005 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +AUDIT RECORD CHECK FAILED: 3 failure(s). +CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..c2848c6 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..d5d0f6c --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv b/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv new file mode 100644 index 0000000..e5d6b6b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv @@ -0,0 +1,5 @@ +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log 1 bwrap +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log 1 bwrap +tests/verify_dra169_build_audit.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh 0 ALL AUDIT RECORD CHECKS PASSED. logs/tests_verify_dra169_build_audit.sh.gate.log 1 bwrap +tests/verify_dra169_build_audit.sh meta 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' 0 CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt logs/tests_verify_dra169_build_audit.sh.meta.log 1 bwrap +tests/verify_dra169_build_audit.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name 1 CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines logs/tests_verify_dra169_build_audit.sh.neg.log 1 bwrap diff --git a/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt b/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt new file mode 100644 index 0000000..a1ad352 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt @@ -0,0 +1,26 @@ +# Assertion control: the tampered record under the OLD wrong file name (/dev/shm/hive/Hardening170/s6/audit-neg.json). +# It must NOT count as the expected catch: the name check adds a 4th FAIL line. +$ sh /dev/shm/hive/Hardening170/s6/assert_fail.sh /dev/shm/hive/Hardening170/s6/audit-neg/want.txt /dev/shm/hive/Hardening170/s6/audit-neg.json + FAIL record file name does not carry the pinned commit + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key + OK absent tag recorded as absent, clone command FAIL +AUDIT RECORD CHECK FAILED: 4 failure(s). +CONTROL-ASSERT FAIL rc=1, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt +wrapper rc=0 (0 = not counted as caught; gates_run.json then labels the gate FAIL) + +# want.txt (expected FAIL lines): +KEYS does not name the raw key +keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a +keys/release.pub.pem does not encode the raw key + +# assert_fail.sh: +want=$1 record=$2 +out=$(RECORD="$record" sh tests/verify_dra169_build_audit.sh 2>&1); rc=$? +printf '%s\n' "$out" +got=$(printf '%s\n' "$out" | sed -n 's/^ FAIL //p') +if [ "$rc" = 1 ] && [ "$got" = "$(cat "$want")" ]; then + echo "CONTROL-ASSERT PASS rc=1, exactly the $(grep -c . "$want") expected FAIL lines"; exit 1 +fi +echo "CONTROL-ASSERT FAIL rc=$rc, FAIL lines differ from $want"; exit 0 diff --git a/evidence/dra-170/main-27ee8a4/gates_run.json b/evidence/dra-170/main-27ee8a4/gates_run.json new file mode 100644 index 0000000..0ccfc29 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/gates_run.json @@ -0,0 +1,734 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "scope": "host only (CPU cores 0-2; sandbox: bwrap, bwrap without network); not hardware qualification", + "cpus_allowed_measured": [ + "0-2" + ], + "sandbox_measured": [ + "bwrap", + "bwrap without network" + ], + "unmeasured_gates": [ + "github/private-vulnerability-reporting", + "github/secret-scanning (enabled, push protection, zero open alerts)" + ], + "counts": { + "PASS": 26, + "FAIL": 0, + "INCONCLUSIVE": 2, + "NOT_RUN": 9 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 175: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s6/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s6/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s6/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=10 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-rig/omega/seed/out/omc: OK", + "log": "logs/rig-check.yml_rig_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv # tamper: one byte appended to the omc", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/rig-check.yml_rig_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/Workflow trigger guard and negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "RIG TEST PASS negative-controls=27", + "log": "logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls # tamper: bad fixture pull-request.yml copied into .github/workflows (a pull request reaching a self-hosted runner)", + "rc": 1, + "last_line": "RIG TEST FAIL", + "log": "logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/E2E harness FAKE arms and evcheck negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "E2E HOST TEST PASS (FAKE only; REAL NOT_RUN)", + "log": "logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls # tamper: newline appended to installer/rig/vendor/json.om", + "rc": 1, + "last_line": "E2E HOST TEST FAIL", + "log": "logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s6/out'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s6/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s6/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s6/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s6/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "REPORT-TESTS pass=15 fail=0", + "log": "logs/installer_tests_report.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/out/dist' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s6/run", + "log": "logs/installer_tests_run.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/dist-neg' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s6/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token", + "log": "logs/installer_tests_token.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s6/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s6/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp-omc'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 3, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "e2e-nightly.yml/e2e (REAL install, verify, chat, uninstall)", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "runs on the self-hosted si-test-spark runner and installs for real (workflow_dispatch only); not run by this lane", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s6/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s6/inv' && git -C '/dev/shm/hive/Hardening170/s6/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/s6/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "tests/verify_dra169_build_audit.sh", + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh tests/verify_dra169_build_audit.sh", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "ALL AUDIT RECORD CHECKS PASSED.", + "log": "logs/tests_verify_dra169_build_audit.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name", + "rc": 1, + "last_line": "CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines", + "log": "logs/tests_verify_dra169_build_audit.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "meta_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json'", + "rc": 0, + "last_line": "CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt", + "log": "logs/tests_verify_dra169_build_audit.sh.meta.log", + "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..0eb1bf0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s6/rt-index/index diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..340d2c7 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..84d9648 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..4e58a64 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..e713bfc --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..521107b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s6/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..3bdda91 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s6/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected e38d4b57b2b28294a919cf6ac6e16fff5067ee88fd3cefab1ba31ed78f391731, got 91f5979b158652cf417d018791d7729162757bd89ff312e736a161b9313f563c). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got e38d4b57b2b28294a919cf6ac6e16fff5067ee88fd3cefab1ba31ed78f391731). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:32821/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..a8c6844 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s6/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/4-rewritten-sums-unsigned/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 85202e38a37ca960d6d8752ce0d599480f2a4314cd605ba23fc3537c2d07bf88, got c3fad2706d071c792a8572cc9fe47d42409f53b03a82d271b90a28173eb9e6ab). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 85202e38a37ca960d6d8752ce0d599480f2a4314cd605ba23fc3537c2d07bf88). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:38107/missing-signature/SHA256SUMS.sig +exit 2 +== 10-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/10-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 11-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/11-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 1 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.gate.log new file mode 100644 index 0000000..a0bae75 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.gate.log @@ -0,0 +1,7 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s6/out' +built /dev/shm/hive/Hardening170/s6/out/dist/aienos-alpha-20261029.1-linux-arm64.tar.gz +ce9da242da029bfcb5865adcd6450f77d15d3e0020bd3a2df9fc0b2163f16c44 aienos-alpha-20261029.1-linux-arm64.tar.gz +caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd install.sh +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 aienos.om +2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 release.pub +23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.neg.log new file mode 100644 index 0000000..db398b1 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_build.sh.neg.log @@ -0,0 +1,2 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s6/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s6/out-neg' # tamper: one byte appended to the engine +build.sh: /dev/shm/hive/Hardening170/s6/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..1d04401 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp' +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 33839) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.neg.log new file mode 100644 index 0000000..6ff4b7d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh.neg.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s6/fp-neg' # tamper: install.sh signature check disabled +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +FAIL bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN bad=8 scratch=/dev/shm/hive/Hardening170/s6/fp-neg/bad-signature +PASS port-in-use EXERCISED(host, test build on port 41053) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-neg diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log new file mode 100644 index 0000000..2048b28 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/s6/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp-omc' +NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-omc diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..5f019f9 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend' +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.neg.log new file mode 100644 index 0000000..d9f3179 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_lend.sh.neg.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend-neg' # tamper: bin/aienos replaced by /bin/true +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s6/lend-neg) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s6/lend-neg) +FAIL lend-start-without-program-refuses: condition false (see /dev/shm/hive/Hardening170/s6/lend-neg) +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend-neg diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..80bb777 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/s6/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.neg.log new file mode 100644 index 0000000..74ff25d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_report.sh.neg.log @@ -0,0 +1,77 @@ +$ AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) +FAIL report written (rc=0) +FAIL gzip integrity +tar (child): /dev/shm/hive/Hardening170/s6/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +FAIL member list: +tar (child): /dev/shm/hive/Hardening170/s6/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +PASS doc: member list +FAIL doc: fields missing from output: aienos doctor --report: +Never included: +Sovereign Intelligence alpha-20261029.1: +engine: + evidence: +GPU path: +models: +evidence: + this installer's GB10 install and first token, and the 3x physical qualification: +signature: +release folder: +kernel: +kernel release: +/etc/os-release: +/etc/os-release: +/etc/dgx-release: +/etc/dgx-release: +/etc/dgx-release: +NVIDIA kernel module (/sys/module/nvidia/version): +NVIDIA driver (/proc/driver/nvidia/version): +CUDA toolkit (/usr/local/cuda/version.json; not part of AienOS): +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +free disk in the home folder (df -B1 --output=avail): +[ info ] AienOS installed: +verdict: +release folder: +bundle sha256 recorded by install.sh (.bundle-sha256): +files: +model manifest (share/aienos/model.manifest): +autostart: +engine: +engine address: +lending program: +lending key: +lending: +lending paused: +lending log ~/.local/share/aienos/lend/lend.log: +curl: +aien-serve-http: +aien-serve-http: +lines copied: +lines left out: +gzip: /dev/shm/hive/Hardening170/s6/report-neg/out/report.tar.gz: No such file or directory +PASS no canary in archive +gzip: /dev/shm/hive/Hardening170/s6/report-neg/out/report.tar.gz: No such file or directory +PASS home path redacted +grep: /dev/shm/hive/Hardening170/s6/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL allowed engine line kept +grep: /dev/shm/hive/Hardening170/s6/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL home written as ~ +grep: /dev/shm/hive/Hardening170/s6/report-neg/x/aienos-report/checksums.txt: No such file or directory +FAIL checksums +grep: /dev/shm/hive/Hardening170/s6/report-neg/x/aienos-report/system.txt: No such file or directory +FAIL driver string +PASS no socket or connect call +FAIL existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=6 fail=9 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..29bbae8 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,105 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/out/dist' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run' +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/run/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s6/run/token +PASS token-suite +AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s6/run diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.neg.log new file mode 100644 index 0000000..a019bc3 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_run.sh.neg.log @@ -0,0 +1,107 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/dist-neg' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run-neg' # tamper: one byte appended to the bundle +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/s6/run-neg/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +tests/run.sh: 110: cd: can't cd to /dev/shm/hive/Hardening170/s6/run-neg/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/s6/run-neg) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/run-neg/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s6/run-neg/token +PASS token-suite +AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s6/run-neg diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..5014caf --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,32 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token' +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token diff --git a/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.neg.log new file mode 100644 index 0000000..e2d5755 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer_tests_token.sh.neg.log @@ -0,0 +1,56 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg' # tamper: bin/aienos replaced by /bin/true +FAIL token-plan-lists-file: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +tests/token.sh: 108: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +tests/token.sh: 123: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +tests/token.sh: 126: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +PASS token-kept-across-starts +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token': No such file or directory +tests/token.sh: 129: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-wrong-token-401: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +tests/token.sh: 133: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +PASS control-missing-header-401 +FAIL token-chat-command-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL control-engine-without-token-refuses: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL control-capture-sees-missing-header: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL token-from-getrandom-32-bytes: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +PASS control-existing-token-not-redrawn +FAIL token-differs-per-install: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-file-0644-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +FAIL control-dir-0755-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +ln: failed to create symbolic link '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-symlink-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +rm: cannot remove '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/w2.tok': No such file or directory +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-non-hex-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-short-token-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +tests/token.sh: 246: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/w2.tok' for reading: No such file or directory +PASS token-restored-starts +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL token-remade-after-removal: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +FAIL token-removed-by-uninstall: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/home-core/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +PASS core-refuses-without-token +FAIL core-matrix-401-401-200: engine did not start (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/core1.log) +FAIL core-wizard-chat-200: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/core2.log) +FAIL core-wizard-wrong-token-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/core2.log) +FAIL core-wizard-missing-header-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg/core2.log) +AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg diff --git a/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log b/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log new file mode 100644 index 0000000..07f4b43 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy +LEARN-CHECK PASS runners=0 diff --git a/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log b/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log new file mode 100644 index 0000000..1b890bc --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added +LEARN-CHECK FAIL +docs/learn/run.sh ext diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log new file mode 100644 index 0000000..6db86da --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log @@ -0,0 +1,23 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls +ARM vendor-json: identical +e2e: FAKE install exit 0 +e2e: FAKE verify exit 0 +e2e: FAKE chat exit 0 +e2e: FAKE uninstall exit 0 +{"schema":"si-rig-e2e/1","step":"install","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:08Z","end_utc":"2026-11-06T22:09:08Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"verify","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:08Z","end_utc":"2026-11-06T22:09:08Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"chat","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:08Z","end_utc":"2026-11-06T22:09:08Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"uninstall","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:08Z","end_utc":"2026-11-06T22:09:08Z","exit_code":0} +EVCHECK PASS records=4 mode=FAKE +EVCHECK PASS records=4 mode=FAKE certified=FAKE +NEGATIVE-CONTROL missing-member: rejected as expected (line 2: missing member exit_code) +NEGATIVE-CONTROL bad-sha: rejected as expected (line 3: engine_sha256 is not 64 lowercase hex digits) +NEGATIVE-CONTROL non-monotonic: rejected as expected (line 3: start_utc is before the previous record's end_utc) +NEGATIVE-CONTROL fake-as-real: rejected as expected (certify: mode is not the wanted mode) +NEGATIVE-CONTROL mixed-mode: rejected as expected (line 2: mode differs from the first record) +NEGATIVE-CONTROL missing-tag: rejected as expected (rc=2) +ARM answer-server-0: 10 prompts answered by name, yes only to the consent +ARM answer-server-1: 11 prompts answered by name, yes only to the consent +NEGATIVE-CONTROL fixed-newlines-with-server: wizard stops at the consent as expected (rc=1) +NEGATIVE-CONTROL unknown-prompt: refused as expected (rc=3) +E2E HOST TEST PASS (FAKE only; REAL NOT_RUN) diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log new file mode 100644 index 0000000..4c11ebd --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log @@ -0,0 +1,24 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls # tamper: newline appended to installer/rig/vendor/json.om +cmp: EOF on /dev/shm/hive/Hardening170/s6/rt-neg/omega/seed/json/json.om after byte 22619, line 1247 +ARM vendor-json: vendor/json.om differs from /dev/shm/hive/Hardening170/s6/rt-neg/omega/seed/json/json.om +e2e: FAKE install exit 0 +e2e: FAKE verify exit 0 +e2e: FAKE chat exit 0 +e2e: FAKE uninstall exit 0 +{"schema":"si-rig-e2e/1","step":"install","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:34Z","end_utc":"2026-11-06T22:09:34Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"verify","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:34Z","end_utc":"2026-11-06T22:09:34Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"chat","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:34Z","end_utc":"2026-11-06T22:09:34Z","exit_code":0} +{"schema":"si-rig-e2e/1","step":"uninstall","mode":"FAKE","release_tag":"alpha-20261029.1","engine_sha256":"ee5e2e443e459e41a548fa6d12ea386c5a83c5f0f9dde6253cc31bcbf30c6a0d","model_repo":"Qwen/Qwen3.6-35B-A3B-FP8","model_commit":"95a723d08a9490559dae23d0cff1d9466213d989","start_utc":"2026-11-06T22:09:34Z","end_utc":"2026-11-06T22:09:34Z","exit_code":0} +EVCHECK PASS records=4 mode=FAKE +EVCHECK PASS records=4 mode=FAKE certified=FAKE +NEGATIVE-CONTROL missing-member: rejected as expected (line 2: missing member exit_code) +NEGATIVE-CONTROL bad-sha: rejected as expected (line 3: engine_sha256 is not 64 lowercase hex digits) +NEGATIVE-CONTROL non-monotonic: rejected as expected (line 3: start_utc is before the previous record's end_utc) +NEGATIVE-CONTROL fake-as-real: rejected as expected (certify: mode is not the wanted mode) +NEGATIVE-CONTROL mixed-mode: rejected as expected (line 2: mode differs from the first record) +NEGATIVE-CONTROL missing-tag: rejected as expected (rc=2) +ARM answer-server-0: 10 prompts answered by name, yes only to the consent +ARM answer-server-1: 11 prompts answered by name, yes only to the consent +NEGATIVE-CONTROL fixed-newlines-with-server: wizard stops at the consent as expected (rc=1) +NEGATIVE-CONTROL unknown-prompt: refused as expected (rc=3) +E2E HOST TEST FAIL diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.gate.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..f52bb68 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv +/dev/shm/hive/Hardening170/s6/rt-rig/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.neg.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..c720f34 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv # tamper: one byte appended to the omc +/dev/shm/hive/Hardening170/s6/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log new file mode 100644 index 0000000..c993058 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log @@ -0,0 +1,45 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/workflow-yaml.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/verify.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/sbom.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/rig-check.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/release-verify.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/learn.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/installer-verify-path.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/index.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/index-sync.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/base/.github/workflows/e2e-nightly.yml +WFCHECK PASS files=10 self-hosted=1 +SELF-HOSTED /dev/shm/hive/Hardening170/s6/base/installer/rig/fixtures/workflows/good/selfhosted-quoted-on-list.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/base/installer/rig/fixtures/workflows/good/selfhosted-dispatch-schedule-main.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/base/installer/rig/fixtures/workflows/good/selfhosted-block-branches.yml +HOSTED /dev/shm/hive/Hardening170/s6/base/installer/rig/fixtures/workflows/good/hosted-pull-request.yml +WFCHECK PASS files=4 self-hosted=3 +NEGATIVE-CONTROL pull-request.yml: rejected as expected +NEGATIVE-CONTROL pull-request-target.yml: rejected as expected +NEGATIVE-CONTROL on-scalar-pr.yml: rejected as expected +NEGATIVE-CONTROL on-flow-list-pr.yml: rejected as expected +NEGATIVE-CONTROL on-block-list-pr.yml: rejected as expected +NEGATIVE-CONTROL on-true-key-pr.yml: rejected as expected +NEGATIVE-CONTROL on-flow-mapping.yml: rejected as expected +NEGATIVE-CONTROL workflow-run.yml: rejected as expected +NEGATIVE-CONTROL issue-comment.yml: rejected as expected +NEGATIVE-CONTROL push-unfiltered.yml: rejected as expected +NEGATIVE-CONTROL push-other-branch.yml: rejected as expected +NEGATIVE-CONTROL push-wildcard.yml: rejected as expected +NEGATIVE-CONTROL push-tags.yml: rejected as expected +NEGATIVE-CONTROL push-branches-ignore.yml: rejected as expected +NEGATIVE-CONTROL no-event-guard.yml: rejected as expected +NEGATIVE-CONTROL guard-self-hosted.yml: rejected as expected +NEGATIVE-CONTROL guard-no-event-name.yml: rejected as expected +NEGATIVE-CONTROL job-not-needing-guard.yml: rejected as expected +NEGATIVE-CONTROL expression-label-pr.yml: rejected as expected +NEGATIVE-CONTROL runner-group-pr.yml: rejected as expected +NEGATIVE-CONTROL custom-label-pr.yml: rejected as expected +NEGATIVE-CONTROL remote-reusable-pr.yml: rejected as expected +NEGATIVE-CONTROL no-on.yml: rejected as expected +NEGATIVE-CONTROL lookalike-label-pr.yml: rejected as expected +NEGATIVE-CONTROL two-labels-pr.yml: rejected as expected +NEGATIVE-CONTROL no-failure-notify.yml: rejected as expected +NEGATIVE-CONTROL notify-self-hosted.yml: rejected as expected +RIG TEST PASS negative-controls=27 diff --git a/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log new file mode 100644 index 0000000..251e59b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log @@ -0,0 +1,48 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls # tamper: bad fixture pull-request.yml copied into .github/workflows (a pull request reaching a self-hosted runner) +SELF-HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/zz-neg.yml +PROBLEM /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/zz-neg.yml:3: forbidden trigger for a self-hosted workflow: pull_request +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/workflow-yaml.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/verify.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/sbom.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/rig-check.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/release-verify.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/learn.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/installer-verify-path.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/index.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/index-sync.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/e2e-nightly.yml +WFCHECK FAIL problems=1 +ARM repo-workflows: want 0 +SELF-HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/installer/rig/fixtures/workflows/good/selfhosted-quoted-on-list.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/installer/rig/fixtures/workflows/good/selfhosted-dispatch-schedule-main.yml +SELF-HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/installer/rig/fixtures/workflows/good/selfhosted-block-branches.yml +HOSTED /dev/shm/hive/Hardening170/s6/neg-tree/installer/rig/fixtures/workflows/good/hosted-pull-request.yml +WFCHECK PASS files=4 self-hosted=3 +NEGATIVE-CONTROL pull-request.yml: rejected as expected +NEGATIVE-CONTROL pull-request-target.yml: rejected as expected +NEGATIVE-CONTROL on-scalar-pr.yml: rejected as expected +NEGATIVE-CONTROL on-flow-list-pr.yml: rejected as expected +NEGATIVE-CONTROL on-block-list-pr.yml: rejected as expected +NEGATIVE-CONTROL on-true-key-pr.yml: rejected as expected +NEGATIVE-CONTROL on-flow-mapping.yml: rejected as expected +NEGATIVE-CONTROL workflow-run.yml: rejected as expected +NEGATIVE-CONTROL issue-comment.yml: rejected as expected +NEGATIVE-CONTROL push-unfiltered.yml: rejected as expected +NEGATIVE-CONTROL push-other-branch.yml: rejected as expected +NEGATIVE-CONTROL push-wildcard.yml: rejected as expected +NEGATIVE-CONTROL push-tags.yml: rejected as expected +NEGATIVE-CONTROL push-branches-ignore.yml: rejected as expected +NEGATIVE-CONTROL no-event-guard.yml: rejected as expected +NEGATIVE-CONTROL guard-self-hosted.yml: rejected as expected +NEGATIVE-CONTROL guard-no-event-name.yml: rejected as expected +NEGATIVE-CONTROL job-not-needing-guard.yml: rejected as expected +NEGATIVE-CONTROL expression-label-pr.yml: rejected as expected +NEGATIVE-CONTROL runner-group-pr.yml: rejected as expected +NEGATIVE-CONTROL custom-label-pr.yml: rejected as expected +NEGATIVE-CONTROL remote-reusable-pr.yml: rejected as expected +NEGATIVE-CONTROL no-on.yml: rejected as expected +NEGATIVE-CONTROL lookalike-label-pr.yml: rejected as expected +NEGATIVE-CONTROL two-labels-pr.yml: rejected as expected +NEGATIVE-CONTROL no-failure-notify.yml: rejected as expected +NEGATIVE-CONTROL notify-self-hosted.yml: rejected as expected +RIG TEST FAIL diff --git a/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.gate.log b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.gate.log new file mode 100644 index 0000000..8046f8f --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.gate.log @@ -0,0 +1,108 @@ +$ cd '/dev/shm/hive/Hardening170/s6/inv' && sh tests/verify_dra169_build_audit.sh +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. diff --git a/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.meta.log b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.meta.log new file mode 100644 index 0000000..92b4ef4 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.meta.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. +CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt diff --git a/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.neg.log b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.neg.log new file mode 100644 index 0000000..83bbf0b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/tests_verify_dra169_build_audit.sh.neg.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +AUDIT RECORD CHECK FAILED: 3 failure(s). +CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..def34d8 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/s6/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s6/inv' && git -C '/dev/shm/hive/Hardening170/s6/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/s6/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..4cf0447 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log new file mode 100644 index 0000000..80dd596 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) +PASS 18/18 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log new file mode 100644 index 0000000..2184ed3 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" +FAIL basic.100x34 rc=0 +FAIL bad=1 of 18 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log new file mode 100644 index 0000000..7eeedad --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 /dev/shm/hive/Hardening170/s6/rt-verify/aienos.om +725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s6/rt-verify/a1 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log new file mode 100644 index 0000000..aae534b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log new file mode 100644 index 0000000..7f1472a --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log @@ -0,0 +1,43 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 52.2 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +doctor gb10 rc=0 want=0 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ no ] Driver no NVIDIA kernel module loaded (/sys/module/nvidia/version missing) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 52.2 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor nogpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 52.2 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor othergpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 52.2 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor olddrv rc=1 want=1 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log new file mode 100644 index 0000000..8fc14c8 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log @@ -0,0 +1,12 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 52.2 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor gb10 rc=1 want=0 diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..9b596c9 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv +/dev/shm/hive/Hardening170/s6/rt-verify/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..69e95be --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" +/dev/shm/hive/Hardening170/s6/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.gate.log new file mode 100644 index 0000000..5221c67 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.neg.log new file mode 100644 index 0000000..213b02f --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Shell_syntax.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh +installer/tests/lend.sh: 175: Syntax error: "then" unexpected diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log new file mode 100644 index 0000000..b86d587 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) +port 18100: only in const PORT diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log new file mode 100644 index 0000000..8d73db7 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om +installer/wizard/lib.om:641:// fallback port 18100 +::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log new file mode 100644 index 0000000..eef9591 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's diff --git a/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log new file mode 100644 index 0000000..0453ec0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om +- /dev/shm/hive/Hardening170/s6/rt-neg/sha.body differ: byte 9555, line 344 diff --git a/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log b/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log new file mode 100644 index 0000000..02e6025 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log @@ -0,0 +1,18 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/e2e-nightly.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/rig-check.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s6/base/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s6/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML PASS files=10 negative-controls=5 diff --git a/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log b/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log new file mode 100644 index 0000000..f16bc64 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log @@ -0,0 +1,19 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/e2e-nightly.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/rig-check.yml +/dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/sbom.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/sbom.yml", line 24, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/sbom.yml", line 25, column 1 +FAIL /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s6/neg-tree/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML FAIL diff --git a/evidence/dra-170/main-27ee8a4/rows.tsv b/evidence/dra-170/main-27ee8a4/rows.tsv new file mode 100644 index 0000000..d24088d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/rows.tsv @@ -0,0 +1,63 @@ +verify.yml/verify/Shell syntax gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax 0 $ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax logs/verify.yml_verify_Shell_syntax.gate.log 0-2 bwrap without network +verify.yml/verify/Pinned omega-mv gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s6/rt-verify/omega/seed/out/omc: OK logs/verify.yml_verify_Pinned_omega-mv.gate.log 0-2 bwrap without network +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's 0 $ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log 0-2 bwrap without network +verify.yml/verify/Compile the wizard twice gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice 0 725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s6/rt-verify/a1 logs/verify.yml_verify_Compile_the_wizard_twice.gate.log 0-2 bwrap without network +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) 0 PASS 18/18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log 0-2 bwrap without network +verify.yml/verify/The engine port is written once, in PORT (#34) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) 0 port 18100: only in const PORT logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log 0-2 bwrap without network +verify.yml/verify/Doctor on fake hardware gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware 0 doctor olddrv rc=1 want=1 logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log 0-2 bwrap without network +verify.yml/verify/Shell syntax neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh 2 installer/tests/lend.sh: 175: Syntax error: "then" unexpected logs/verify.yml_verify_Shell_syntax.neg.log 0-2 bwrap without network +verify.yml/verify/Pinned omega-mv neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/verify.yml_verify_Pinned_omega-mv.neg.log 0-2 bwrap without network +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om 1 - /dev/shm/hive/Hardening170/s6/rt-neg/sha.body differ: byte 9555, line 344 logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log 0-2 bwrap without network +verify.yml/verify/Compile the wizard twice neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om 16 $ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om logs/verify.yml_verify_Compile_the_wizard_twice.neg.log 0-2 bwrap without network +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" 1 FAIL bad=1 of 18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log 0-2 bwrap without network +verify.yml/verify/The engine port is written once, in PORT (#34) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om 1 ::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log 0-2 bwrap without network +verify.yml/verify/Doctor on fake hardware neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh 1 doctor gb10 rc=1 want=0 logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log 0-2 bwrap without network +index.yml/index-check/Pinned omega-mv gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s6/rt-index/omega/seed/out/omc: OK logs/index.yml_index-check_Pinned_omega-mv.gate.log 0-2 bwrap without network +index.yml/index-check/Compile the generator twice gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Compile the generator twice 0 e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s6/rt-index/index logs/index.yml_index-check_Compile_the_generator_twice.gate.log 0-2 bwrap without network +index.yml/index-check/Index, curated entries and README agree gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree 0 index: 90 repositories, curated and rendered logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log 0-2 bwrap without network +index.yml/index-check/Negative control, an uncurated public repository fails gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails 0 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log 0-2 bwrap without network +index.yml/index-check/Index, curated entries and README agree neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json 1 remove them (a private repository must never be named here) logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log 0-2 bwrap without network +index.yml/index-check/Negative control, an uncurated public repository fails neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) 1 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log 0-2 bwrap without network +installer-verify-path.yml/verify-path/Verification path with negative controls gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls 0 verify-path.sh exit 0 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log 0-2 bwrap without network +installer-verify-path.yml/verify-path/Verification path with negative controls neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) 1 verify-path.sh exit 1 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log 0-2 bwrap without network +workflow-yaml.yml/parse/Parse every workflow and the negative controls gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls 0 WORKFLOW-YAML PASS files=10 negative-controls=5 logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log 0-2 bwrap without network +workflow-yaml.yml/parse/Parse every workflow and the negative controls neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml 1 WORKFLOW-YAML FAIL logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log 0-2 bwrap without network +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy 0 LEARN-CHECK PASS runners=0 logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log 0-2 bwrap without network +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added 1 docs/learn/run.sh ext logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log 0-2 bwrap without network +rig-check.yml/rig/Pinned omega-mv gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s6/rt-rig/omega/seed/out/omc: OK logs/rig-check.yml_rig_Pinned_omega-mv.gate.log 0-2 bwrap without network +rig-check.yml/rig/Workflow trigger guard and negative controls gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls 0 RIG TEST PASS negative-controls=27 logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log 0-2 bwrap without network +rig-check.yml/rig/E2E harness FAKE arms and evcheck negative controls gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls 0 E2E HOST TEST PASS (FAKE only; REAL NOT_RUN) logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log 0-2 bwrap without network +rig-check.yml/rig/Pinned omega-mv neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv # tamper: one byte appended to the omc 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/rig-check.yml_rig_Pinned_omega-mv.neg.log 0-2 bwrap without network +rig-check.yml/rig/Workflow trigger guard and negative controls neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls # tamper: bad fixture pull-request.yml copied into .github/workflows (a pull request reaching a self-hosted runner) 1 RIG TEST FAIL logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log 0-2 bwrap without network +rig-check.yml/rig/E2E harness FAKE arms and evcheck negative controls neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls # tamper: newline appended to installer/rig/vendor/json.om 1 E2E HOST TEST FAIL logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log 0-2 bwrap without network +installer/build.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s6/out' 0 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem logs/installer_build.sh.gate.log 0-2 bwrap without network +installer/build.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s6/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s6/out-neg' # tamper: one byte appended to the engine 7 build.sh: /dev/shm/hive/Hardening170/s6/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 logs/installer_build.sh.neg.log 0-2 bwrap without network +installer/tests/report.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 AIENOS='/dev/shm/hive/Hardening170/s6/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report' 0 REPORT-TESTS pass=15 fail=0 logs/installer_tests_report.sh.gate.log 0-2 bwrap without network +installer/tests/report.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) 1 REPORT-TESTS pass=6 fail=9 logs/installer_tests_report.sh.neg.log 0-2 bwrap without network +installer/tests/run.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/out/dist' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run' 0 AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s6/run logs/installer_tests_run.sh.gate.log 0-2 bwrap without network +installer/tests/run.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/dist-neg' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run-neg' # tamper: one byte appended to the bundle 1 AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s6/run-neg logs/installer_tests_run.sh.neg.log 0-2 bwrap without network +installer/tests/token.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token' 0 AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token logs/installer_tests_token.sh.gate.log 0-2 bwrap without network +installer/tests/token.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg logs/installer_tests_token.sh.neg.log 0-2 bwrap without network +installer/tests/lend.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend' 0 AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend logs/installer_tests_lend.sh.gate.log 0-2 bwrap without network +installer/tests/lend.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend-neg logs/installer_tests_lend.sh.neg.log 0-2 bwrap without network +installer/tests/failure-paths/run.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp' 0 SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp logs/installer_tests_failure-paths_run.sh.gate.log 0-2 bwrap without network +installer/tests/failure-paths/run.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s6/fp-neg' # tamper: install.sh signature check disabled 1 SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-neg logs/installer_tests_failure-paths_run.sh.neg.log 0-2 bwrap without network +installer/tests/failure-paths/run.sh (unavailable omc) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 OMC='/dev/shm/hive/Hardening170/s6/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp-omc' 3 SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-omc logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log 0-2 bwrap without network +installer/tests/container.sh notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane 0-2 bwrap without network +installer/tests/onboarding.sh notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane 0-2 bwrap without network +installer/tests/host-untouched.sh notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap 0-2 bwrap without network +release-verify.yml (published release) notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key 0-2 bwrap without network +release-key signature over the candidate DIST notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key 0-2 bwrap without network +DRA-52 GPU golden-token merge gate notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 needs the GPU window (GB10); not authorized for this lane 0-2 bwrap without network +DRA-56 bearer auth on the shipped engine serving a real model notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host 0-2 bwrap without network +DRA-53 failure paths on a stock DGX Spark notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 real Spark gate; only host results here 0-2 bwrap without network +e2e-nightly.yml/e2e (REAL install, verify, chat, uninstall) notrun 27ee8a4ee29b11d268fc675180b499b4a90a9e28 runs on the self-hosted si-test-spark runner and installs for real (workflow_dispatch only); not run by this lane 0-2 bwrap without network +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 rm -rf '/dev/shm/hive/Hardening170/s6/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s6/inv' && git -C '/dev/shm/hive/Hardening170/s6/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/s6/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log 0-2 bwrap +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log 0-2 bwrap +tests/verify_dra169_build_audit.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/inv' && sh tests/verify_dra169_build_audit.sh 0 ALL AUDIT RECORD CHECKS PASSED. logs/tests_verify_dra169_build_audit.sh.gate.log 0-2 bwrap +tests/verify_dra169_build_audit.sh meta 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' 0 CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt logs/tests_verify_dra169_build_audit.sh.meta.log 0-2 bwrap +tests/verify_dra169_build_audit.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name 1 CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines logs/tests_verify_dra169_build_audit.sh.neg.log 0-2 bwrap +github/private-vulnerability-reporting gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true 0 {"enabled":true}enabled=true logs/github_private-vulnerability-reporting.gate.log unmeasured unmeasured +github/private-vulnerability-reporting neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off 1 {"enabled":false} logs/github_private-vulnerability-reporting.neg.log unmeasured unmeasured +github/secret-scanning (enabled, push protection, zero open alerts) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled 0 push_protection=enabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log unmeasured unmeasured +github/secret-scanning (enabled, push protection, zero open alerts) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled 1 secret_scanning_non_provider_patterns=disabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log unmeasured unmeasured diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/control.txt b/evidence/dra-170/main-27ee8a4/sandbox-control/control.txt new file mode 100644 index 0000000..01bcc11 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/control.txt @@ -0,0 +1,6 @@ +$ CANDIDATE=27ee8a4ee29b11d268fc675180b499b4a90a9e28 PHASE=network taskset -c 0-2 nice -n 10 sh tests/gates/candidate_verification.sh evidence/dra-170/main-27ee8a4/sandbox-control /dev/shm/hive/Hardening170/c-sandbox # no bwrap +network rc=0 +/home/drakestapleton/work/hive/Hardening170/evidence/dra-170/main-27ee8a4/sandbox-control/gates_run.json gates=2 PASS=2 FAIL=0 INCONCLUSIVE=0 NOT_RUN=0 +json rc=0 +scope: host only (CPU cores 0-2; sandbox: no bwrap); not hardware qualification +sandbox_measured: ['no bwrap'] diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/gates_run.json b/evidence/dra-170/main-27ee8a4/sandbox-control/gates_run.json new file mode 100644 index 0000000..6081aed --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/gates_run.json @@ -0,0 +1,70 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "scope": "host only (CPU cores 0-2; sandbox: no bwrap); not hardware qualification", + "cpus_allowed_measured": [ + "0-2" + ], + "sandbox_measured": [ + "no bwrap" + ], + "counts": { + "PASS": 2, + "FAIL": 0, + "INCONCLUSIVE": 0, + "NOT_RUN": 0 + }, + "gates": [ + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/c-sandbox/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-sandbox/inv' && git -C '/dev/shm/hive/Hardening170/c-sandbox/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "cpus_allowed": "0-2", + "sandbox": "no bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-sandbox/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "no bwrap", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "tests/verify_dra169_build_audit.sh", + "command": "cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh tests/verify_dra169_build_audit.sh", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "ALL AUDIT RECORD CHECKS PASSED.", + "log": "logs/tests_verify_dra169_build_audit.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "no bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name", + "rc": 1, + "last_line": "CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines", + "log": "logs/tests_verify_dra169_build_audit.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "no bwrap", + "result": "FAIL as expected" + }, + "meta_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json'", + "rc": 0, + "last_line": "CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt", + "log": "logs/tests_verify_dra169_build_audit.sh.meta.log", + "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.gate.log b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.gate.log new file mode 100644 index 0000000..940945c --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.gate.log @@ -0,0 +1,108 @@ +$ cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh tests/verify_dra169_build_audit.sh +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.meta.log b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.meta.log new file mode 100644 index 0000000..88d971a --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.meta.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json' +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. +CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.neg.log b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.neg.log new file mode 100644 index 0000000..cf36614 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/tests_verify_dra169_build_audit.sh.neg.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +AUDIT RECORD CHECK FAILED: 3 failure(s). +CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..9681c8d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/c-sandbox/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-sandbox/inv' && git -C '/dev/shm/hive/Hardening170/c-sandbox/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..6262a2c --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/c-sandbox/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-27ee8a4/sandbox-control/rows.tsv b/evidence/dra-170/main-27ee8a4/sandbox-control/rows.tsv new file mode 100644 index 0000000..f79be00 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/sandbox-control/rows.tsv @@ -0,0 +1,5 @@ +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 rm -rf '/dev/shm/hive/Hardening170/c-sandbox/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-sandbox/inv' && git -C '/dev/shm/hive/Hardening170/c-sandbox/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log 0-2 no bwrap +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-sandbox/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log 0-2 no bwrap +tests/verify_dra169_build_audit.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh tests/verify_dra169_build_audit.sh 0 ALL AUDIT RECORD CHECKS PASSED. logs/tests_verify_dra169_build_audit.sh.gate.log 0-2 no bwrap +tests/verify_dra169_build_audit.sh meta 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json' 0 CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt logs/tests_verify_dra169_build_audit.sh.meta.log 0-2 no bwrap +tests/verify_dra169_build_audit.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-sandbox/inv' && sh '/dev/shm/hive/Hardening170/c-sandbox/assert_fail.sh' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-sandbox/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name 1 CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines logs/tests_verify_dra169_build_audit.sh.neg.log 0-2 no bwrap diff --git a/evidence/dra-170/parent-1e47703/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/parent-1e47703/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..7361a0c --- /dev/null +++ b/evidence/dra-170/parent-1e47703/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/p/fp' +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 52047) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=1 scratch=/dev/shm/hive/Hardening170/p/fp/rollback-clean +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/p/fp diff --git a/evidence/dra-170/parent-1e47703/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/parent-1e47703/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..8b79ac5 --- /dev/null +++ b/evidence/dra-170/parent-1e47703/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/p/lend' +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/p/lend diff --git a/evidence/dra-170/parent-1e47703/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/parent-1e47703/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..794ec28 --- /dev/null +++ b/evidence/dra-170/parent-1e47703/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/p/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/p/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 diff --git a/evidence/dra-170/parent-1e47703/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/parent-1e47703/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..f364ec7 --- /dev/null +++ b/evidence/dra-170/parent-1e47703/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,108 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/p/out/dist' STAGE='/dev/shm/hive/Hardening170/p/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/p/run' +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/p/run) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/p/run/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/p/run) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/p/run) +tests/run.sh: 86: cd: can't cd to /dev/shm/hive/Hardening170/p/run/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/p/run) +FAIL tampered-bundle-refused: condition false (see /dev/shm/hive/Hardening170/p/run) +FAIL rewritten-sums-refused: condition false (see /dev/shm/hive/Hardening170/p/run) +rm: cannot remove '/dev/shm/hive/Hardening170/p/run/www/nosig/SHA256SUMS.sig': No such file or directory +PASS missing-signature-refused +grep: /dev/shm/hive/Hardening170/p/run/home-a2/.local/share/aienos/install.log: No such file or directory +FAIL install-log-written: condition false (see /dev/shm/hive/Hardening170/p/run) +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/p/run) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/p/run) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/p/run/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/p/run/token +PASS token-suite +AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/p/run diff --git a/evidence/dra-170/parent-1e47703/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/parent-1e47703/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..2a61eb8 --- /dev/null +++ b/evidence/dra-170/parent-1e47703/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,32 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/p/token' +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/p/token diff --git a/evidence/dra-170/parent-1e47703/rows.tsv b/evidence/dra-170/parent-1e47703/rows.tsv new file mode 100644 index 0000000..c246539 --- /dev/null +++ b/evidence/dra-170/parent-1e47703/rows.tsv @@ -0,0 +1,47 @@ +verify.yml/verify/Shell syntax gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Shell syntax 0 $ cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Shell syntax logs/verify.yml_verify_Shell_syntax.gate.log +verify.yml/verify/Pinned omega-mv gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/p/rt-verify/omega/seed/out/omc: OK logs/verify.yml_verify_Pinned_omega-mv.gate.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's 0 $ cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log +verify.yml/verify/Compile the wizard twice gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Compile the wizard twice 0 652edf10731fa4a4f275a85a9b87d8f5934f3991742ba58e05466ca24550b226 /dev/shm/hive/Hardening170/p/rt-verify/a1 logs/verify.yml_verify_Compile_the_wizard_twice.gate.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) 0 PASS 18/18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log +verify.yml/verify/The engine port is written once, in PORT (#34) gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) 0 port 18100: only in const PORT logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log +verify.yml/verify/Doctor on fake hardware gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Doctor on fake hardware 0 doctor olddrv rc=1 want=1 logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log +verify.yml/verify/Shell syntax neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh 2 installer/tests/lend.sh: 169: Syntax error: "then" unexpected logs/verify.yml_verify_Shell_syntax.neg.log +verify.yml/verify/Pinned omega-mv neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/verify.yml_verify_Pinned_omega-mv.neg.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om 1 - /dev/shm/hive/Hardening170/p/rt-neg/sha.body differ: byte 9555, line 344 logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log +verify.yml/verify/Compile the wizard twice neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om 16 $ cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om logs/verify.yml_verify_Compile_the_wizard_twice.neg.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" 1 FAIL bad=1 of 18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log +verify.yml/verify/The engine port is written once, in PORT (#34) neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om 1 ::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log +verify.yml/verify/Doctor on fake hardware neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh 1 doctor gb10 rc=1 want=0 logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log +index.yml/index-check/Pinned omega-mv gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/p/rt-index/omega/seed/out/omc: OK logs/index.yml_index-check_Pinned_omega-mv.gate.log +index.yml/index-check/Compile the generator twice gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Compile the generator twice 0 e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/p/rt-index/index logs/index.yml_index-check_Compile_the_generator_twice.gate.log +index.yml/index-check/Index, curated entries and README agree gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree 0 index: 90 repositories, curated and rendered logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log +index.yml/index-check/Negative control, an uncurated public repository fails gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails 0 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log +index.yml/index-check/Index, curated entries and README agree neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json 1 remove them (a private repository must never be named here) logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log +index.yml/index-check/Negative control, an uncurated public repository fails neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) 1 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log +installer-verify-path.yml/verify-path/Verification path with negative controls gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls 0 verify-path.sh exit 0 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log +installer-verify-path.yml/verify-path/Verification path with negative controls neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) 1 verify-path.sh exit 1 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls 0 WORKFLOW-YAML PASS files=8 negative-controls=5 logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml 1 WORKFLOW-YAML FAIL logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy 0 LEARN-CHECK PASS runners=0 logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 cd '/dev/shm/hive/Hardening170/p/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/p' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/p/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/p/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added 1 docs/learn/run.sh ext logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log +installer/build.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/p/out' 0 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem logs/installer_build.sh.gate.log +installer/build.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/p/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/p/out-neg' # tamper: one byte appended to the engine 7 build.sh: /dev/shm/hive/Hardening170/p/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 logs/installer_build.sh.neg.log +installer/tests/report.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 AIENOS='/dev/shm/hive/Hardening170/p/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/p/report' 0 REPORT-TESTS pass=15 fail=0 logs/installer_tests_report.sh.gate.log +installer/tests/report.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/p/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) 1 REPORT-TESTS pass=6 fail=9 logs/installer_tests_report.sh.neg.log +installer/tests/run.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/p/out/dist' STAGE='/dev/shm/hive/Hardening170/p/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/p/run' 1 AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/p/run logs/installer_tests_run.sh.gate.log +installer/tests/run.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/p/dist-neg' STAGE='/dev/shm/hive/Hardening170/p/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/p/run-neg' # tamper: one byte appended to the bundle 1 AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/p/run-neg logs/installer_tests_run.sh.neg.log +installer/tests/token.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/p/token' 0 AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/p/token logs/installer_tests_token.sh.gate.log +installer/tests/token.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/p/token-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/p/token-neg logs/installer_tests_token.sh.neg.log +installer/tests/lend.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/p/lend' 0 AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/p/lend logs/installer_tests_lend.sh.gate.log +installer/tests/lend.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/p/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/p/lend-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/p/lend-neg logs/installer_tests_lend.sh.neg.log +installer/tests/failure-paths/run.sh gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/p/fp' 1 SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/p/fp logs/installer_tests_failure-paths_run.sh.gate.log +installer/tests/failure-paths/run.sh neg 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/p/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/p/fp-neg' # tamper: install.sh signature check disabled 1 SUMMARY pass=9 fail=2 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/p/fp-neg logs/installer_tests_failure-paths_run.sh.neg.log +installer/tests/failure-paths/run.sh (unavailable omc) gate 1e4770314ec8d97bd283b3e133d77bc31033bf16 OMC='/dev/shm/hive/Hardening170/p/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/p/fp-omc' 0 SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/p/fp-omc logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log +installer/tests/container.sh notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/onboarding.sh notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/host-untouched.sh notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap +release-verify.yml (published release) notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key +release-key signature over the candidate DIST notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key +DRA-52 GPU golden-token merge gate notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 needs the GPU window (GB10); not authorized for this lane +DRA-56 bearer auth on the shipped engine serving a real model notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host +DRA-53 failure paths on a stock DGX Spark notrun 1e4770314ec8d97bd283b3e133d77bc31033bf16 real Spark gate; only host results here diff --git a/evidence/dra-170/proposed-fix/fp-rollback-clean.log b/evidence/dra-170/proposed-fix/fp-rollback-clean.log new file mode 100644 index 0000000..7b6a36b --- /dev/null +++ b/evidence/dra-170/proposed-fix/fp-rollback-clean.log @@ -0,0 +1,34 @@ + ok bare: older release alpha-20261025.9 installs (exit 0) + ok bare: wizard ran to the end (exit 0) + ok bare: the model is verified + ok bare: this release (alpha-20261029.1) installs over it (exit 0) + ok bare: rollback exit 0, current -> releases/alpha-20261025.9: yes + ok bare: rollback added no path outside ~/.local/share/aienos + ok bare: uninstall exit 0 (got 0) + ok bare: after uninstall no new path outside ~/.local/share/aienos + ok bare: nothing of the user's was removed + ok bare: ~/.local/share/aienos is gone + ok used: older release alpha-20261025.9 installs (exit 0) + ok used: wizard ran to the end (exit 0) + ok used: the model is verified + ok used: this release (alpha-20261029.1) installs over it (exit 0) + ok used: rollback exit 0, current -> releases/alpha-20261025.9: yes + ok used: rollback added no path outside ~/.local/share/aienos + ok used: uninstall exit 0 (got 0) + ok used: after uninstall no new path outside ~/.local/share/aienos + ok used: nothing of the user's was removed + ok used: ~/.local/share/aienos holds only the kept model + ok mut: older release alpha-20261025.9 installs (exit 0) + ok mut: wizard ran to the end (exit 0) + ok mut: the model is verified + ok mut: this release (alpha-20261029.1) installs over it (exit 0) + control left after uninstall: $HOME/.local + control left after uninstall: $HOME/.local/bin + control left after uninstall: $HOME/.local/share + control left after uninstall: $HOME/.local/share/applications + control left after uninstall: $HOME/.local/share/icons + control left after uninstall: $HOME/.local/share/icons/hicolor + control left after uninstall: $HOME/.local/share/icons/hicolor/scalable + control left after uninstall: $HOME/.local/share/icons/hicolor/scalable/apps + ok negative control (uninstaller without its folder sweep leaves paths): opposite +RESULT rollback-clean PASS EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN diff --git a/evidence/dra-170/proposed-fix/fp-unavailable-omc.log b/evidence/dra-170/proposed-fix/fp-unavailable-omc.log new file mode 100644 index 0000000..0b7462d --- /dev/null +++ b/evidence/dra-170/proposed-fix/fp-unavailable-omc.log @@ -0,0 +1,12 @@ +NOT_RUN disk-full OMC not set to the pinned omc +NOT_RUN no-network OMC not set to the pinned omc +NOT_RUN wrong-gpu-driver OMC not set to the pinned omc +NOT_RUN interrupted-install OMC not set to the pinned omc +NOT_RUN bad-signature OMC not set to the pinned omc +NOT_RUN port-in-use OMC not set to the pinned omc +NOT_RUN uninstall-partial OMC not set to the pinned omc +NOT_RUN model-resume OMC not set to the pinned omc +NOT_RUN model-corrupt OMC not set to the pinned omc +NOT_RUN rollback-clean OMC not set to the pinned omc +NOT_RUN stale-tmp OMC not set to the pinned omc +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/fix/fpno diff --git a/evidence/dra-170/proposed-fix/fp.log b/evidence/dra-170/proposed-fix/fp.log new file mode 100644 index 0000000..5131751 --- /dev/null +++ b/evidence/dra-170/proposed-fix/fp.log @@ -0,0 +1,12 @@ +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 47619) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/fix/fp diff --git a/evidence/dra-170/proposed-fix/installer-tests-and-doc.diff b/evidence/dra-170/proposed-fix/installer-tests-and-doc.diff new file mode 100644 index 0000000..417ccd7 --- /dev/null +++ b/evidence/dra-170/proposed-fix/installer-tests-and-doc.diff @@ -0,0 +1,138 @@ +diff --git a/docs/doctor-report.md b/docs/doctor-report.md +index d58057c..f07241f 100644 +--- a/docs/doctor-report.md ++++ b/docs/doctor-report.md +@@ -86,8 +86,8 @@ engine: aien-serve-http sha256 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d + evidence: two container builds from two checkout paths gave the same sha256 (Core DRA-43) + GPU path: the engine's statically linked libomega_gpu.a (omega-mv a647b6a9, 036b7491) talks to + /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm. There is no separate CUDA++ runtime. +-model: Qwen/Qwen3.6-35B-A3B-FP8 revision 95a723d08a9490559dae23d0cff1d9466213d989 (37.5 GB) +- This is the only model offered. A 27B is to come; it is not offered in this release. ++models: share/aienos/models.registry lists every model this release offers, each with its status ++ (aienos models). 35B default, 30B fallback pending; none qualified yet. A 27B is not offered. + evidence: this engine binary serving the 35B on a GB10: NOT_RUN (not the live server's build); + this installer's GB10 install and first token, and the 3x physical qualification: NOT_RUN. + signature: Ed25519 alpha release key ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a +diff --git a/installer/tests/failure-paths/disk-full.sh b/installer/tests/failure-paths/disk-full.sh +index e758776..2a2bc57 100755 +--- a/installer/tests/failure-paths/disk-full.sh ++++ b/installer/tests/failure-paths/disk-full.sh +@@ -52,7 +52,7 @@ if [ $rc -eq 0 ] && fp_installed "$h"; then ctl1=opposite; fi + check "negative control (limit lifted: installs and verifies): $ctl1" "$([ $ctl1 = opposite ]; echo $?)" + + # (b) the model download. +-ALL='\n\n\n\n\nyes\n\n\n\n\n\n\n' ++ALL='\n\n\n\nyes\n\n\n\n\n\n\n' + h=$(fp_home model) + fp_boot "$h" good > "$S/model-boot.out" 2>&1 + a=$h/.local/share/aienos/current/bin/aienos +diff --git a/installer/tests/failure-paths/model-corrupt.sh b/installer/tests/failure-paths/model-corrupt.sh +index 5095af7..70968c8 100755 +--- a/installer/tests/failure-paths/model-corrupt.sh ++++ b/installer/tests/failure-paths/model-corrupt.sh +@@ -45,7 +45,7 @@ flip() { + cp "$G" "$S/weights.bad" + flip "$S/weights.bad" + cmp -s "$S/weights.bad" "$G" && fp_notrun "could not make a corrupted copy" +-ALL='\n\n\n\n\nyes\n\n\n\n\n\n\n' ++ALL='\n\n\n\nyes\n\n\n\n\n\n\n' + wiz() { + printf '%b' "$ALL" | env HOME="$1" AIENOS_PROBE_ROOT="$R" TMPDIR="$S/tmp" \ + timeout 300 "$1/.local/share/aienos/current/bin/aienos" wizard --plain > "$2" 2>&1; rc=$? +diff --git a/installer/tests/failure-paths/model-resume.sh b/installer/tests/failure-paths/model-resume.sh +index e89ffb7..7633f62 100755 +--- a/installer/tests/failure-paths/model-resume.sh ++++ b/installer/tests/failure-paths/model-resume.sh +@@ -40,7 +40,7 @@ fp_release good "$S/bin" + fp_release mut "$S/bin-mut" + R=$(fp_root gb10) + SZ=$(wc -c < "$S/www/model/weights.bin" | tr -d ' ') +-ALL='\n\n\n\n\nyes\n\n\n\n\n\n\n' ++ALL='\n\n\n\nyes\n\n\n\n\n\n\n' + W=/model/weights.bin + # wiz HOME OUT: the wizard with the default answers, as a user at the terminal runs it. + wiz() { +diff --git a/installer/tests/failure-paths/no-network.sh b/installer/tests/failure-paths/no-network.sh +index 8be0c01..fe4b235 100755 +--- a/installer/tests/failure-paths/no-network.sh ++++ b/installer/tests/failure-paths/no-network.sh +@@ -78,7 +78,7 @@ if [ $rc -eq 0 ] && fp_installed "$hg"; then ctl=opposite; fi + check "negative control (server up: installs and verifies): $ctl" "$([ $ctl = opposite ]; echo $?)" + + # (d) bootstrap done, then the network goes before the wizard fetches the model. +-ALL='\n\n\n\n\nyes\n\n\n\n\n\n\n' ++ALL='\n\n\n\nyes\n\n\n\n\n\n\n' + h=$(fp_home wiznet) + fp_boot "$h" good > "$S/wiznet-boot.out" 2>&1 + kill "$FP_SRV"; wait "$FP_SRV" 2>/dev/null; FP_SRV= +diff --git a/installer/tests/failure-paths/rollback-clean.sh b/installer/tests/failure-paths/rollback-clean.sh +index 17a791d..7878d76 100755 +--- a/installer/tests/failure-paths/rollback-clean.sh ++++ b/installer/tests/failure-paths/rollback-clean.sh +@@ -36,15 +36,17 @@ fp_compile "$S/bin" "$port" || fp_notrun "omc refused the test wizard ($S/bin/om + FP_TAG=$OLD fp_release old "$S/bin" + fp_release new "$S/bin" + R=$(fp_root gb10) +-ALL='\n\n\n\n\nyes\n\n\n\n\n\n\n' ++ALL='\n\n\n\nyes\n\n\n\n\n\n\n' + G=gvfs-metadata + + # snap HOME: every path outside ~/.local/share/aienos under HOME, XDG_RUNTIME_DIR and TMPDIR, + # with the roots written as $HOME, $XDG_RUNTIME_DIR, $TMPDIR (gvfs metadata to $S/gvfs-*). + snap() { + b=$1/.local/share/aienos ++ # ~/.local and ~/.local/share stay while the not-counted gvfs metadata lives under them + (cd "$1" && find . -mindepth 1 \( -path ./.local/share/aienos -prune -o -path "./.local/share/$G" -prune \) \ +- -o -print | sed 's|^\.|$HOME|') ++ -o -print | sed 's|^\.|$HOME|' | ++ if [ -d "$1/.local/share/$G" ]; then grep -vxF -e '$HOME/.local' -e '$HOME/.local/share'; else cat; fi) + (cd "$S/run-${1##*/home-}" && find . -mindepth 1 | sed 's|^\.|$XDG_RUNTIME_DIR|') + (cd "$S/tmp-${1##*/home-}" && find . -mindepth 1 | sed 's|^\.|$TMPDIR|') + } +diff --git a/installer/tests/failure-paths/run.sh b/installer/tests/failure-paths/run.sh +index ccd81d3..c06f7ba 100755 +--- a/installer/tests/failure-paths/run.sh ++++ b/installer/tests/failure-paths/run.sh +@@ -2,7 +2,8 @@ + # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + # Failure-path runner (DRA-53): runs the eleven failure-path scripts and prints one line per path: + # PASS|FAIL|NOT_RUN +-# then one summary line. Exit 0 when nothing failed, 1 otherwise. Not wired into CI: it builds ++# then one summary line. Exit 1 when a path failed, else 3 when a path was NOT_RUN (so an ++# unavailable omc is never success), else 0. Not wired into CI: it builds + # test releases, serves them on 127.0.0.1 and starts the fake engine on a free high port, so run + # it by hand on a CPU-only host: + # OMC=/path/to/pinned/omc sh installer/tests/failure-paths/run.sh [SCRATCH] +@@ -25,4 +26,5 @@ for p in disk-full no-network wrong-gpu-driver interrupted-install bad-signature + printf '%-8s %-20s %s\n' "$v" "$p" "$line" + done + printf 'SUMMARY pass=%s fail=%s not_run=%s stock-spark=NOT_RUN logs=%s\n' "$pass" "$fail" "$notrun" "$S" +-[ $fail -eq 0 ] ++[ $fail -eq 0 ] || exit 1 ++[ $notrun -eq 0 ] || exit 3 +diff --git a/installer/tests/lend.sh b/installer/tests/lend.sh +index d1c3595..4de7e74 100755 +--- a/installer/tests/lend.sh ++++ b/installer/tests/lend.sh +@@ -68,7 +68,7 @@ aien() { h=$1; shift; env HOME="$h" AIENOS_PROBE_ROOT="$S/root" "$h/.local/share + # welcome, model (two panels: what was found, choice), doctor, plan, yes, install, model, first chat, + # lending (two panels: Enter, answer), done. + wiz() { # home answer +- printf '\n\n\n\n\nyes\n\n\n\n\n%s\n\n\n\n' "$2" | env HOME="$1" AIENOS_PROBE_ROOT="$S/root" \ ++ printf '\n\n\n\nyes\n\n\n\n\n%s\n\n\n\n' "$2" | env HOME="$1" AIENOS_PROBE_ROOT="$S/root" \ + timeout 120 "$1/.local/share/aienos/current/bin/aienos" wizard --plain + rc=$? + aien "$1" stop > /dev/null 2>&1 +diff --git a/installer/tests/token.sh b/installer/tests/token.sh +index 69ea01d..7af31ef 100755 +--- a/installer/tests/token.sh ++++ b/installer/tests/token.sh +@@ -68,7 +68,7 @@ aien() { h=$1; shift; env HOME="$h" AIENOS_PROBE_ROOT="$S/root" "$h/.local/share + # The same command from the mutant stage (the wizard with its two qauth calls removed). + mutant() { h=$1; shift; env HOME="$h" AIENOS_PROBE_ROOT="$S/root" "$S/stage-mutant/bin/aienos" "$@"; } + wiz() { # home +- printf '\n\n\nyes\n\n\n\n\n\n\n\n\n' | env HOME="$1" AIENOS_PROBE_ROOT="$S/root" \ ++ printf '\n\n\n\nyes\n\n\n\n\n\n\n\n\n' | env HOME="$1" AIENOS_PROBE_ROOT="$S/root" \ + timeout 120 "$1/.local/share/aienos/current/bin/aienos" wizard --plain + rc=$? + aien "$1" stop > /dev/null 2>&1 diff --git a/evidence/dra-170/proposed-fix/lend.log b/evidence/dra-170/proposed-fix/lend.log new file mode 100644 index 0000000..a46ccf5 --- /dev/null +++ b/evidence/dra-170/proposed-fix/lend.log @@ -0,0 +1,16 @@ +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/fix/lend diff --git a/evidence/dra-170/proposed-fix/report.log b/evidence/dra-170/proposed-fix/report.log new file mode 100644 index 0000000..60d8d2b --- /dev/null +++ b/evidence/dra-170/proposed-fix/report.log @@ -0,0 +1,16 @@ +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 diff --git a/evidence/dra-170/proposed-fix/run.log b/evidence/dra-170/proposed-fix/run.log new file mode 100644 index 0000000..dae1751 --- /dev/null +++ b/evidence/dra-170/proposed-fix/run.log @@ -0,0 +1,104 @@ +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/fix/run/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/fix/run/token +PASS token-suite +AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/fix/run diff --git a/evidence/dra-170/proposed-fix/token.log b/evidence/dra-170/proposed-fix/token.log new file mode 100644 index 0000000..9e34404 --- /dev/null +++ b/evidence/dra-170/proposed-fix/token.log @@ -0,0 +1,31 @@ +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/fix-token diff --git a/evidence/dra-170/rows.tsv b/evidence/dra-170/rows.tsv new file mode 100644 index 0000000..f91e40b --- /dev/null +++ b/evidence/dra-170/rows.tsv @@ -0,0 +1,53 @@ +verify.yml/verify/Shell syntax gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax 0 $ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax logs/verify.yml_verify_Shell_syntax.gate.log +verify.yml/verify/Pinned omega-mv gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s/rt-verify/omega/seed/out/omc: OK logs/verify.yml_verify_Pinned_omega-mv.gate.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's 0 $ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log +verify.yml/verify/Compile the wizard twice gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice 0 725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s/rt-verify/a1 logs/verify.yml_verify_Compile_the_wizard_twice.gate.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) 0 PASS 18/18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log +verify.yml/verify/The engine port is written once, in PORT (#34) gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) 0 port 18100: only in const PORT logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log +verify.yml/verify/Doctor on fake hardware gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware 0 doctor olddrv rc=1 want=1 logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log +verify.yml/verify/Shell syntax neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh 2 installer/tests/lend.sh: 170: Syntax error: "then" unexpected logs/verify.yml_verify_Shell_syntax.neg.log +verify.yml/verify/Pinned omega-mv neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/verify.yml_verify_Pinned_omega-mv.neg.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om 1 - /dev/shm/hive/Hardening170/s/rt-neg/sha.body differ: byte 9555, line 344 logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log +verify.yml/verify/Compile the wizard twice neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om 16 $ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om logs/verify.yml_verify_Compile_the_wizard_twice.neg.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" 1 FAIL bad=1 of 18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log +verify.yml/verify/The engine port is written once, in PORT (#34) neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om 1 ::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log +verify.yml/verify/Doctor on fake hardware neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh 1 doctor gb10 rc=1 want=0 logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log +index.yml/index-check/Pinned omega-mv gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s/rt-index/omega/seed/out/omc: OK logs/index.yml_index-check_Pinned_omega-mv.gate.log +index.yml/index-check/Compile the generator twice gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Compile the generator twice 0 e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s/rt-index/index logs/index.yml_index-check_Compile_the_generator_twice.gate.log +index.yml/index-check/Index, curated entries and README agree gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree 0 index: 90 repositories, curated and rendered logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log +index.yml/index-check/Negative control, an uncurated public repository fails gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails 0 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log +index.yml/index-check/Index, curated entries and README agree neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json 1 remove them (a private repository must never be named here) logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log +index.yml/index-check/Negative control, an uncurated public repository fails neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) 1 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log +installer-verify-path.yml/verify-path/Verification path with negative controls gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls 0 verify-path.sh exit 0 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log +installer-verify-path.yml/verify-path/Verification path with negative controls neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) 1 verify-path.sh exit 1 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls 0 WORKFLOW-YAML PASS files=8 negative-controls=5 logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml 1 WORKFLOW-YAML FAIL logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy gate 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy 0 LEARN-CHECK PASS runners=0 logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added 1 docs/learn/run.sh ext logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log +installer/build.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s/out' 0 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem logs/installer_build.sh.gate.log +installer/build.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s/out-neg' # tamper: one byte appended to the engine 7 build.sh: /dev/shm/hive/Hardening170/s/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 logs/installer_build.sh.neg.log +installer/tests/report.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc AIENOS='/dev/shm/hive/Hardening170/s/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s/report' 1 REPORT-TESTS pass=14 fail=1 logs/installer_tests_report.sh.gate.log +installer/tests/report.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) 1 REPORT-TESTS pass=6 fail=9 logs/installer_tests_report.sh.neg.log +installer/tests/run.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/out/dist' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run' 1 AIENOS-TESTS pass=36 fail=3 scratch=/dev/shm/hive/Hardening170/s/run logs/installer_tests_run.sh.gate.log +installer/tests/run.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/dist-neg' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run-neg' # tamper: one byte appended to the bundle 1 AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/s/run-neg logs/installer_tests_run.sh.neg.log +installer/tests/token.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token' 1 AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token logs/installer_tests_token.sh.gate.log +installer/tests/token.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg logs/installer_tests_token.sh.neg.log +installer/tests/lend.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend' 1 AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend logs/installer_tests_lend.sh.gate.log +installer/tests/lend.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend-neg logs/installer_tests_lend.sh.neg.log +installer/tests/failure-paths/run.sh gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp' 1 SUMMARY pass=6 fail=5 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp logs/installer_tests_failure-paths_run.sh.gate.log +installer/tests/failure-paths/run.sh neg 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s/fp-neg' # tamper: install.sh signature check disabled 1 SUMMARY pass=5 fail=6 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-neg logs/installer_tests_failure-paths_run.sh.neg.log +installer/tests/failure-paths/run.sh (unavailable omc) gate 2b90bdf82cde11ced998e9463db77487ad041dfc OMC='/dev/shm/hive/Hardening170/s/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp-omc' 0 SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-omc logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log +installer/tests/container.sh notrun 2b90bdf82cde11ced998e9463db77487ad041dfc needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/onboarding.sh notrun 2b90bdf82cde11ced998e9463db77487ad041dfc needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/host-untouched.sh notrun 2b90bdf82cde11ced998e9463db77487ad041dfc records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap +release-verify.yml (published release) notrun 2b90bdf82cde11ced998e9463db77487ad041dfc candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key +release-key signature over the candidate DIST notrun 2b90bdf82cde11ced998e9463db77487ad041dfc tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key +DRA-52 GPU golden-token merge gate notrun 2b90bdf82cde11ced998e9463db77487ad041dfc needs the GPU window (GB10); not authorized for this lane +DRA-56 bearer auth on the shipped engine serving a real model notrun 2b90bdf82cde11ced998e9463db77487ad041dfc real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host +DRA-53 failure paths on a stock DGX Spark notrun 2b90bdf82cde11ced998e9463db77487ad041dfc real Spark gate; only host results here +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 2b90bdf82cde11ced998e9463db77487ad041dfc rm -rf '/dev/shm/hive/Hardening170/s/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s/inv' && git -C '/dev/shm/hive/Hardening170/s/inv' checkout -q 2b90bdf82cde11ced998e9463db77487ad041dfc && cd '/dev/shm/hive/Hardening170/s/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 2b90bdf82cde11ced998e9463db77487ad041dfc cd '/dev/shm/hive/Hardening170/s/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log +github/private-vulnerability-reporting gate 2b90bdf82cde11ced998e9463db77487ad041dfc gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true 0 {"enabled":true}enabled=true logs/github_private-vulnerability-reporting.gate.log +github/private-vulnerability-reporting neg 2b90bdf82cde11ced998e9463db77487ad041dfc gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off 1 {"enabled":false} logs/github_private-vulnerability-reporting.neg.log +github/secret-scanning (enabled, push protection, zero open alerts) gate 2b90bdf82cde11ced998e9463db77487ad041dfc gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled 0 push_protection=enabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log +github/secret-scanning (enabled, push protection, zero open alerts) neg 2b90bdf82cde11ced998e9463db77487ad041dfc gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled 1 secret_scanning_non_provider_patterns=disabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log diff --git a/evidence/dra-170/security_live.json b/evidence/dra-170/security_live.json new file mode 100644 index 0000000..1682e3a --- /dev/null +++ b/evidence/dra-170/security_live.json @@ -0,0 +1,49 @@ +{ + "observed_utc": "2026-11-06T20:44:48Z", + "tool": "gh api (Mac, authenticated)", + "repo": "aien-dev/sovereign-intelligence", + "private_vulnerability_reporting": { + "enabled": true + }, + "visibility": "public", + "security_and_analysis": { + "dependabot_security_updates": { + "status": "enabled" + }, + "secret_scanning": { + "status": "enabled" + }, + "secret_scanning_non_provider_patterns": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "enabled" + }, + "secret_scanning_validity_checks": { + "status": "disabled" + } + }, + "secret_scanning_alerts_all": 0, + "secret_scanning_alerts_open": 0, + "secret_scanning_alerts_resolved": 0, + "security_md_blob_on_main": "f240c3c3a8bf5bf35a4eb86b3bf0fd9bc2a5a09f", + "negative_control_private_vulnerability_reporting": { + "aien-dev/aien-rig": { + "enabled": false + }, + "aien-dev/omega-bridge": { + "enabled": false + }, + "aien-dev/omega-harness": { + "enabled": false + }, + "aien-dev/aien-train": { + "enabled": false + }, + "aien-dev/compiler-explorer": { + "enabled": false + } + }, + "gate_rows_note": "The github/* rows in rows.tsv and gates_run.json were recorded by PHASE=security of tests/gates/candidate_verification.sh run on the operator Mac with an admin-read gh token, on 2026-11-06; the Spark gh token cannot read security_and_analysis (it returns null), so on the Spark that gate cannot pass. CANDIDATE was given as the full 40-hex commit.", + "secret_scanning_alerts_all_query": "gh api repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?per_page=100 --jq length (no state filter) -> 0, re-read 2026-11-06T21:05Z" +} diff --git a/tests/gates/candidate_verification.sh b/tests/gates/candidate_verification.sh new file mode 100644 index 0000000..8cc63c3 --- /dev/null +++ b/tests/gates/candidate_verification.sh @@ -0,0 +1,448 @@ +#!/bin/sh +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +# DRA-170: re-run the existing non-GPU gates of this repository against one exact candidate commit +# and record, per gate, the command, rc, last log line and a negative control (a tampered input +# that must make the same gate fail). Host results only: never hardware qualification. +# +# OMC=... OMEGA_SRC=... ENGINE=... [CANDIDATE=] [TOKEN_SCRATCH=dir] [PHASE=offline|network|json] \ +# sh tests/gates/candidate_verification.sh EVIDENCE_DIR SCRATCH +# +# OMC the pinned omc (sha256 = build.sh OMC_PIN); checked by the omc-pin gate, not trusted. +# OMEGA_SRC a clean omega-mv clone at build.sh OMEGA_REV (its om/ tree feeds the vendored-unit gate). +# ENGINE aien-serve-http whose sha256 is build.sh ENGINE_SHA256 (checked by build.sh itself). +# CANDIDATE commit to test (default HEAD); its tree is taken with git archive, so files added on +# the evidence branch never reach the gates. +# TOKEN_SCRATCH scratch for tests/token.sh (default SCRATCH). token.sh runs the engine in a nested +# bwrap with a fresh /dev, so a SCRATCH under /dev (e.g. /dev/shm) is invisible there. +# PHASE offline: every gate that needs no network (run it under bwrap --unshare-net). +# network: the RC-2 inventory gate (reads GitHub through gh with any read token) and, +# when present, tests/verify_dra169_build_audit.sh in the same full clone. +# security: repository security settings (DRA-34); needs a token with admin read of +# REPO (security_and_analysis is null otherwise), so it may run outside the +# clone: then CANDIDATE must be the full 40-hex commit. +# json: write EVIDENCE_DIR/gates_run.json from the recorded rows. +# A gate is PASS only when its command exits 0 and its negative control exits non-zero. A control +# that asserts its exact failure lines (CONTROL-ASSERT) and its untampered meta-control must both +# hold, else the gate is FAIL. The json "scope" is built from the CPU affinity and sandbox measured +# for each row, never from a fixed claim. +set -u +EV=${1:?usage: candidate_verification.sh EVIDENCE_DIR SCRATCH} +S=${2:?usage: candidate_verification.sh EVIDENCE_DIR SCRATCH} +PHASE=${PHASE:-offline} +REPO=aien-dev/sovereign-intelligence +top=$(cd "$(dirname "$0")/../.." && pwd) +mkdir -p "$EV/logs" "$S" +EV=$(cd "$EV" && pwd) +S=$(cd "$S" && pwd) +if [ "$PHASE" = security ] && ! git -C "$top" rev-parse -q --verify HEAD > /dev/null 2>&1; then + head=$(printf '%s' "${CANDIDATE:-}" | grep -xE '[0-9a-f]{40}') || { echo "security outside a clone: CANDIDATE must be 40-hex" >&2; exit 2; } +else + head=$(git -C "$top" rev-parse "${CANDIDATE:-HEAD}^{commit}") || exit 2 +fi +rows=$EV/rows.tsv +TAMPER= + +# record GATE ROLE CMD RC LOG (ROLE: gate | neg | meta | notrun; for notrun, CMD is the reason) +# The last two columns are measured, never assumed, and are inherited by the gate's commands: +# cpus Cpus_allowed_list of /proc/self/status +# sandbox "bwrap" when PID 1 of this pid namespace is bwrap (bwrap --unshare-pid), with +# " without network" when /proc/net/dev lists no interface but lo; "no bwrap" otherwise +# Both read "unmeasured" where /proc is absent (e.g. macOS). +record() { + last=$( [ -f "$5" ] && grep -v '^[[:space:]]*$' "$5" | tail -n 1 | tr '\t' ' ' ) + cpus=$(sed -n 's/^Cpus_allowed_list:[[:space:]]*//p' /proc/self/status 2>/dev/null) + if ! pid1=$(cat /proc/1/comm 2>/dev/null); then sandbox=unmeasured + elif [ "$pid1" != bwrap ]; then sandbox="no bwrap" + elif sed -n '3,$p' /proc/net/dev | grep -qv '^[[:space:]]*lo:'; then sandbox=bwrap + else sandbox="bwrap without network"; fi + printf '%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n' "$1" "$2" "$head" "$3" "$4" "$last" "${5#"$EV"/}" \ + "${cpus:-unmeasured}" "$sandbox" >> "$rows" +} +# run GATE ROLE CMD: CMD runs with sh -c in the current directory; output to logs/GATE.ROLE.log. +# TAMPER (set by the caller for a negative control) is appended to the recorded command. +run() { + log=$EV/logs/$(printf '%s' "$1" | tr '/: ' '___').$2.log + cmd="$3${TAMPER:+ # tamper: $TAMPER}" + printf '$ %s\n' "$cmd" > "$log" + sh -c "$3" >> "$log" 2>&1 + record "$1" "$2" "$cmd" $? "$log" + TAMPER= +} +notrun() { record "$1" notrun "$2" "" ""; } + +# fresh copy of the candidate tree +tree() { rm -rf "$1"; mkdir -p "$1"; git -C "$top" archive "$head" | tar -x -C "$1"; } + +# A workflow step's run: text with the job's env, extracted from the candidate's workflow file. +cat > "$S/wfstep.py" <<'PY' +import shlex, sys, yaml +wf, job, name = sys.argv[1:4] +d = yaml.safe_load(open(wf)) +j = d["jobs"][job] +for k, v in (j.get("env") or {}).items(): + if "${{" not in str(v): + print("export %s=%s" % (k, shlex.quote(str(v)))) +if (j.get("defaults") or {}).get("run", {}).get("shell") == "bash": + print("set -o pipefail") +for s in j["steps"]: + if s.get("name") == name: + body = s["run"] + if name.startswith("Pinned omega-mv"): + # the clone/checkout is replaced by OMEGA_SRC at OMEGA_REV (see omega_tmp); the pin check stays + body = "\n".join(l for l in body.splitlines() if not l.strip().startswith("git ")) + print(body) + sys.exit(0) +sys.exit("no step %r in %s/%s" % (name, wf, job)) +PY + +# RUNNER_TEMP with omega/ = the omc under test plus OMEGA_SRC's om/ and seed/json/ trees +omega_tmp() { + rm -rf "$1"; mkdir -p "$1/omega/seed/out" + cp "$OMC" "$1/omega/seed/out/omc"; chmod +x "$1/omega/seed/out/omc" + ln -s "$OMEGA_SRC/om" "$1/omega/om" + ln -s "$OMEGA_SRC/seed/json" "$1/omega/seed/json" +} +# step GATE ROLE TREE RT WORKFLOW JOB STEP: run one CI step verbatim (bash -e, like GitHub's default) +step() { + py=$S/step.$$.sh + python3 "$S/wfstep.py" "$S/base/.github/workflows/$5" "$6" "$7" > "$py" || { record "$1" "$2" "extract $5/$6/$7" 2 ""; TAMPER=; return; } + run "$1" "$2" "cd '$3' && RUNNER_TEMP='$4' GITHUB_WORKSPACE='$3' GITHUB_REPOSITORY=$REPO bash --noprofile --norc -e '$py' # $5 job $6 step: $7" + rm -f "$py" +} + +phase_offline() { + : "${OMC:?set OMC}" "${OMEGA_SRC:?set OMEGA_SRC}" "${ENGINE:?set ENGINE}" + TS=${TOKEN_SCRATCH:-$S} + tree "$S/base" + B=$S/base + + # ---- verify.yml job verify, in order, sharing one RUNNER_TEMP (as on the runner) ---- + rt=$S/rt-verify; omega_tmp "$rt" + for st in "Shell syntax" "Pinned omega-mv" "Vendored SHA-256 unit is the derivation of omega-mv's" \ + "Compile the wizard twice" "Capture text frames in Omega match the recorded outputs (#31)" \ + "The engine port is written once, in PORT (#34)" "Doctor on fake hardware"; do + step "verify.yml/verify/$st" gate "$B" "$rt" verify.yml verify "$st" + done + # negative controls: one tampered input per step, a fresh tree and RUNNER_TEMP each + neg_verify() { # STEP TAMPER-COMMAND (run inside the tampered tree; $RT is its RUNNER_TEMP) + t=$S/neg-tree; RT=$S/rt-neg; tree "$t"; omega_tmp "$RT" + (cd "$t" && RT=$RT sh -c "$2") || { record "verify.yml/verify/$1" neg "tamper failed: $2" 2 ""; return; } + # the steps that read the compiled wizard get it compiled first (untampered compile step) + case $1 in "Doctor on fake hardware") + python3 "$S/wfstep.py" "$B/.github/workflows/verify.yml" verify "Compile the wizard twice" > "$S/pre.sh" + (cd "$t" && RUNNER_TEMP=$RT GITHUB_WORKSPACE=$t bash --noprofile --norc -e "$S/pre.sh") > /dev/null 2>&1 ;; + esac + TAMPER=$2 + step "verify.yml/verify/$1" neg "$t" "$RT" verify.yml verify "$1" + } + neg_verify "Shell syntax" 'printf "if then\n" >> installer/tests/lend.sh' + neg_verify "Pinned omega-mv" 'printf x >> "$RT/omega/seed/out/omc"' + neg_verify "Vendored SHA-256 unit is the derivation of omega-mv's" 'sed -i "\$s/\$/ /" installer/wizard/sha256.om' + neg_verify "Compile the wizard twice" 'printf "fn broken(\n" >> installer/wizard/report.om' + neg_verify "Capture text frames in Omega match the recorded outputs (#31)" 'f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f"' + neg_verify "The engine port is written once, in PORT (#34)" 'p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om' + neg_verify "Doctor on fake hardware" 'sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh' + + # ---- index.yml job index-check ---- + rt=$S/rt-index; omega_tmp "$rt" + for st in "Pinned omega-mv" "Compile the generator twice" "Index, curated entries and README agree" \ + "Negative control, an uncurated public repository fails"; do + step "index.yml/index-check/$st" gate "$B" "$rt" index.yml index-check "$st" + done + t=$S/neg-tree; tree "$t" + python3 - "$t/index/repos.json" <<'PY' +import json, sys +p = sys.argv[1]; d = json.load(open(p)) +items = d if isinstance(d, list) else next(v for v in d.values() if isinstance(v, list)) +items.pop() # drop one curated public repository: index, curated entries and README no longer agree +json.dump(d, open(p, "w"), indent=2) +PY + TAMPER="last entry removed from index/repos.json" + step "index.yml/index-check/Index, curated entries and README agree" neg "$t" "$rt" index.yml index-check "Index, curated entries and README agree" + # the uncurated-repository step is itself a negative control of the generator; its tamper + # renames the fixture's repository, so the step's expected refusal of that name must not be seen + t=$S/neg-tree; tree "$t" + python3 - "$t/index/gen/fixtures/uncurated.json" <<'PY' +import sys +p = sys.argv[1]; s = open(p).read() +open(p, "w").write(s.replace("fake-uncurated-repo", "sovereign-intelligence")) +PY + TAMPER="fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)" + step "index.yml/index-check/Negative control, an uncurated public repository fails" neg "$t" "$rt" index.yml index-check "Negative control, an uncurated public repository fails" + + # ---- installer-verify-path.yml ---- + rt=$S/rt-vp; rm -rf "$rt"; mkdir -p "$rt" + step "installer-verify-path.yml/verify-path/Verification path with negative controls" gate "$B" "$rt" \ + installer-verify-path.yml verify-path "Verification path with negative controls" + t=$S/neg-tree; tree "$t"; rt=$S/rt-vp-neg; rm -rf "$rt"; mkdir -p "$rt" + sed -i 's/^if ! openssl pkeyutl -verify /if false \&\& ! openssl pkeyutl -verify /' "$t/installer/install.sh" + TAMPER="install.sh signature check disabled (if false && ! openssl pkeyutl -verify)" + step "installer-verify-path.yml/verify-path/Verification path with negative controls" neg "$t" "$rt" \ + installer-verify-path.yml verify-path "Verification path with negative controls" + + # ---- workflow-yaml.yml ---- + step "workflow-yaml.yml/parse/Parse every workflow and the negative controls" gate "$B" "$S" \ + workflow-yaml.yml parse "Parse every workflow and the negative controls" + t=$S/neg-tree; tree "$t" + printf '<<<<<<< HEAD\n' >> "$t/.github/workflows/sbom.yml" + TAMPER="conflict marker appended to .github/workflows/sbom.yml" + step "workflow-yaml.yml/parse/Parse every workflow and the negative controls" neg "$t" "$S" \ + workflow-yaml.yml parse "Parse every workflow and the negative controls" + + # ---- learn.yml ---- + step "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy" gate "$B" "$S" \ + learn.yml learn-check "No first-party runners under docs/learn or docs/academy" + t=$S/neg-tree; tree "$t" + printf '#!/bin/sh\necho runner\n' > "$t/docs/learn/run.sh" + TAMPER="docs/learn/run.sh added" + step "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy" neg "$t" "$S" \ + learn.yml learn-check "No first-party runners under docs/learn or docs/academy" + + # ---- rig-check.yml job rig (DRA-45 trigger guard, DRA-55/59 FAKE harness arms), when present ---- + if [ -f "$B/.github/workflows/rig-check.yml" ]; then + rt=$S/rt-rig; omega_tmp "$rt" + for st in "Pinned omega-mv" "Workflow trigger guard and negative controls" \ + "E2E harness FAKE arms and evcheck negative controls"; do + step "rig-check.yml/rig/$st" gate "$B" "$rt" rig-check.yml rig "$st" + done + t=$S/neg-tree; tree "$t"; RT=$S/rt-neg; omega_tmp "$RT"; printf x >> "$RT/omega/seed/out/omc" + TAMPER="one byte appended to the omc" + step "rig-check.yml/rig/Pinned omega-mv" neg "$t" "$RT" rig-check.yml rig "Pinned omega-mv" + omega_tmp "$RT" + cp "$t/installer/rig/fixtures/workflows/bad/pull-request.yml" "$t/.github/workflows/zz-neg.yml" + TAMPER="bad fixture pull-request.yml copied into .github/workflows (a pull request reaching a self-hosted runner)" + step "rig-check.yml/rig/Workflow trigger guard and negative controls" neg "$t" "$RT" rig-check.yml rig \ + "Workflow trigger guard and negative controls" + t=$S/neg-tree; tree "$t"; printf '\n' >> "$t/installer/rig/vendor/json.om" + TAMPER="newline appended to installer/rig/vendor/json.om" + step "rig-check.yml/rig/E2E harness FAKE arms and evcheck negative controls" neg "$t" "$RT" rig-check.yml rig \ + "E2E harness FAKE arms and evcheck negative controls" + fi + + # ---- build.sh (the release build's pin checks), then the suites that need its output ---- + cd "$B/installer" + run "installer/build.sh" gate "OMEGA_SRC='$OMEGA_SRC' ENGINE='$ENGINE' sh build.sh '$S/out'" + cp "$ENGINE" "$S/engine.tampered"; printf x >> "$S/engine.tampered" + TAMPER="one byte appended to the engine" + run "installer/build.sh" neg "OMEGA_SRC='$OMEGA_SRC' ENGINE='$S/engine.tampered' sh build.sh '$S/out-neg'" + STAGE=$S/out/stage DIST=$S/out/dist + + # doctor --report (DRA-49) + run "installer/tests/report.sh" gate "AIENOS='$STAGE/bin/aienos' sh tests/report.sh '$S/report'" + TAMPER="aienos replaced by /bin/true (exits 0, writes nothing)" + run "installer/tests/report.sh" neg "AIENOS=/bin/true sh tests/report.sh '$S/report-neg'" + + # main suite (bootstrap, wizard, uninstaller) + run "installer/tests/run.sh" gate "OMC='$OMC' DIST='$DIST' STAGE='$STAGE' sh tests/run.sh '$S/run'" + rm -rf "$S/dist-neg"; cp -a "$DIST" "$S/dist-neg" + b=$(ls "$S/dist-neg"/aienos-*-linux-arm64.tar.gz); printf x >> "$b" + TAMPER="one byte appended to the bundle" + run "installer/tests/run.sh" neg "OMC='$OMC' DIST='$S/dist-neg' STAGE='$STAGE' sh tests/run.sh '$S/run-neg'" + + # bearer token (DRA-56 wizard side; CORE_ENGINE = the pinned engine bytes, run as --engine stub) + run "installer/tests/token.sh" gate "OMC='$OMC' STAGE='$STAGE' CORE_ENGINE='$ENGINE' CUDA_VISIBLE_DEVICES= sh tests/token.sh '$TS/token'" + rm -rf "$S/stage-neg"; cp -a "$STAGE" "$S/stage-neg"; cp /bin/true "$S/stage-neg/bin/aienos" + TAMPER="bin/aienos replaced by /bin/true" + run "installer/tests/token.sh" neg "OMC='$OMC' STAGE='$S/stage-neg' CORE_ENGINE='$ENGINE' CUDA_VISIBLE_DEVICES= sh tests/token.sh '$TS/token-neg'" + + # lending step (no OH_VOLUNTEER: its cases print NOT_RUN) + run "installer/tests/lend.sh" gate "OMC='$OMC' STAGE='$STAGE' sh tests/lend.sh '$S/lend'" + TAMPER="bin/aienos replaced by /bin/true" + run "installer/tests/lend.sh" neg "OMC='$OMC' STAGE='$S/stage-neg' sh tests/lend.sh '$S/lend-neg'" + + # install failure paths (DRA-53), host only + run "installer/tests/failure-paths/run.sh" gate "OMC='$OMC' sh tests/failure-paths/run.sh '$S/fp'" + t=$S/neg-tree; tree "$t" + sed -i 's/^if ! openssl pkeyutl -verify /if false \&\& ! openssl pkeyutl -verify /' "$t/installer/install.sh" + TAMPER="install.sh signature check disabled" + run "installer/tests/failure-paths/run.sh" neg "OMC='$OMC' sh '$t/installer/tests/failure-paths/run.sh' '$S/fp-neg'" + # an unavailable gate: a wrong omc must not read as success (DRA-170 acceptance 3) + cp "$OMC" "$S/omc.tampered"; printf x >> "$S/omc.tampered" + run "installer/tests/failure-paths/run.sh (unavailable omc)" gate "OMC='$S/omc.tampered' sh tests/failure-paths/run.sh '$S/fp-omc'" + cd "$top" + + notrun "installer/tests/container.sh" "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane" + notrun "installer/tests/onboarding.sh" "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane" + notrun "installer/tests/host-untouched.sh" "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap" + notrun "release-verify.yml (published release)" "candidate TAG $(sed -n 's/^TAG=//p' "$B/installer/install.sh") has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key" + notrun "release-key signature over the candidate DIST" "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key" + notrun "DRA-52 GPU golden-token merge gate" "needs the GPU window (GB10); not authorized for this lane" + notrun "DRA-56 bearer auth on the shipped engine serving a real model" "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host" + notrun "DRA-53 failure paths on a stock DGX Spark" "real Spark gate; only host results here" + [ -f "$B/.github/workflows/e2e-nightly.yml" ] && notrun "e2e-nightly.yml/e2e (REAL install, verify, chat, uninstall)" \ + "runs on the self-hosted si-test-spark runner and installs for real (workflow_dispatch only); not run by this lane" + : +} + +phase_network() { + : "${GH_TOKEN:=$(gh auth token 2>/dev/null)}"; export GH_TOKEN + cd "$top" + run "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)" gate \ + "rm -rf '$S/inv' && git clone -q '$top' '$S/inv' && git -C '$S/inv' checkout -q $head && cd '$S/inv' && python3 notes/rc2/verify_inventory.py --self-test" + rm -rf "$S/inv-neg"; git clone -q "$top" "$S/inv-neg"; git -C "$S/inv-neg" checkout -q "$head" + python3 - "$S/inv-neg/notes/rc2/inventory.json" <<'PY' +import json, re, sys +p = sys.argv[1]; d = json.load(open(p)) +# the last verification with a 40-hex pin (the built-in --self-test mutates the first one) +v = [v for v in d["verifications"] if re.fullmatch(r"[0-9a-f]{40}", str(v.get("pin")))][-1] +v["pin"] = v["pin"][:-1] + ("0" if v["pin"][-1] != "0" else "1") +json.dump(d, open(p, "w"), indent=2) +print(v["id"]) +PY + TAMPER="last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit" + run "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)" neg \ + "cd '$S/inv-neg' && python3 notes/rc2/verify_inventory.py" + # DRA-169 build audit record against git objects (needs the full-history clone made above) + if [ -f "$S/inv/tests/verify_dra169_build_audit.sh" ]; then + rec=audit/dra-169-build-audit-2b90bdf.json + run "tests/verify_dra169_build_audit.sh" gate "cd '$S/inv' && sh tests/verify_dra169_build_audit.sh" + # The control record keeps the real file name (the script checks that the name carries the + # pinned commit), so only the tampered key can fail. want.txt lists the exact FAIL lines. + # assert_fail WANTFILE RECORD: exit 1 only when the audit exits 1 with exactly the wanted + # FAIL lines; any other outcome prints CONTROL-ASSERT FAIL and exits 0 (the gate then FAILs) + cat > "$S/assert_fail.sh" <<'SH' +want=$1 record=$2 +out=$(RECORD="$record" sh tests/verify_dra169_build_audit.sh 2>&1); rc=$? +printf '%s\n' "$out" +got=$(printf '%s\n' "$out" | sed -n 's/^ FAIL //p') +if [ "$rc" = 1 ] && [ "$got" = "$(cat "$want")" ]; then + echo "CONTROL-ASSERT PASS rc=1, exactly the $(grep -c . "$want") expected FAIL lines"; exit 1 +fi +echo "CONTROL-ASSERT FAIL rc=$rc, FAIL lines differ from $want"; exit 0 +SH + ctl=$S/audit-neg/${rec##*/} + rm -rf "$S/audit-neg"; mkdir -p "$S/audit-neg"; cp "$S/inv/$rec" "$ctl" + python3 - "$S/inv/$rec" "$S/audit-neg/want.txt" <<'PY' +import json, sys +k = json.load(open(sys.argv[1]))["alpha_key"]["raw_public_key_hex"] +open(sys.argv[2], "w").write("KEYS does not name the raw key\nkeys/release.pub is %s\n" + "keys/release.pub.pem does not encode the raw key\n" % k) +PY + # meta-control first: the untampered record at the control path passes the audit (rc=0), so + # the wrapper reports CONTROL-ASSERT FAIL rc=0 and the assertion is not vacuous + run "tests/verify_dra169_build_audit.sh" meta "cd '$S/inv' && sh '$S/assert_fail.sh' '$S/audit-neg/want.txt' '$ctl'" + python3 - "$ctl" <<'PY' +import json, sys +s = open(sys.argv[1]).read() +k = json.loads(s)["alpha_key"]["raw_public_key_hex"] +assert s.count('"%s"' % k) == 1 +open(sys.argv[1], "w").write(s.replace('"%s"' % k, '"%s"' % (k[:-1] + ("0" if k[-1] != "0" else "1")))) +PY + TAMPER="alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name" + run "tests/verify_dra169_build_audit.sh" neg "cd '$S/inv' && sh '$S/assert_fail.sh' '$S/audit-neg/want.txt' '$ctl'" + fi +} + +phase_security() { + # repository security settings, read live (DRA-34); a setting is checked, not assumed + run "github/private-vulnerability-reporting" gate \ + "gh api repos/$REPO/private-vulnerability-reporting && test \"\$(gh api repos/$REPO/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true" + TAMPER="same check against aien-dev/aien-rig, whose reporting is off" + run "github/private-vulnerability-reporting" neg \ + "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"\$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true" + ss() { # FIELD: status of security_and_analysis.FIELD must be enabled, and no open alert + printf 'gh api repos/%s --jq .security_and_analysis && s=$(gh api repos/%s --jq .security_and_analysis.%s.status) && echo %s=$s && test "$s" = enabled && n=$(gh api "repos/%s/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0' \ + "$REPO" "$REPO" "$1" "$1" "$REPO" + } + run "github/secret-scanning (enabled, push protection, zero open alerts)" gate \ + "$(ss secret_scanning) && test \"\$(gh api repos/$REPO --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled" + TAMPER="same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled" + run "github/secret-scanning (enabled, push protection, zero open alerts)" neg "$(ss secret_scanning_non_provider_patterns)" +} + +phase_json() { + python3 - "$rows" "$EV/gates_run.json" "$head" <<'PY' +import json, re, sys +rows, out, head = sys.argv[1:4] +base = out.rsplit("/", 1)[0] +gates, order = {}, [] +for line in open(rows): + f = line.rstrip("\n").split("\t") + g, role, h, cmd, rc, last, log = f[:7] + cpus = f[7] if len(f) > 7 else "unrecorded" + sandbox = f[8] if len(f) > 8 else "unrecorded" + if g not in gates: + gates[g] = {}; order.append(g) + gates[g][role] = {"head": h, "command": cmd, "rc": int(rc) if rc else None, "last_line": last, "log": log, + "cpus": cpus, "sandbox": sandbox} +res = [] +for g in order: + r = gates[g] + if "notrun" in r: + res.append({"gate": g, "command": None, "head": r["notrun"]["head"], "rc": None, "last_line": None, + "label": "NOT_RUN", "reason": r["notrun"]["command"], "negative_control": None}) + continue + p, n, mc = r.get("gate"), r.get("neg"), r.get("meta") + sub, fails, passes = [], [], None + if p and p["log"]: + txt = open(base + "/" + p["log"]).read() + sub = [l for l in txt.splitlines() if re.match(r"^\s*(NOT_RUN\b|NOTE\b)", l)] + fails = [l for l in txt.splitlines() if re.match(r"^\s*(FAIL\b|BAD\b)", l)] + m = re.findall(r"\bpass=(\d+)", txt) + passes = int(m[-1]) if m else None + e = {"gate": g, "command": p["command"] if p else None, "head": p["head"] if p else head, + "rc": p["rc"] if p else None, "last_line": p["last_line"] if p else None, + "log": p["log"] if p else None, "cpus_allowed": p["cpus"] if p else None, + "sandbox": p["sandbox"] if p else None} + # a control that asserts its own failure lines prints CONTROL-ASSERT PASS/FAIL as its last line + asserted_ok = not (n and (n["last_line"] or "").startswith("CONTROL-ASSERT FAIL")) + if n: + e["negative_control"] = {"command": n["command"], "rc": n["rc"], "last_line": n["last_line"], + "log": n["log"], "expected": "rc != 0", "cpus_allowed": n["cpus"], + "sandbox": n["sandbox"], + "result": "FAIL as expected" if n["rc"] not in (0, None) and asserted_ok + else "DID NOT FAIL AS ASSERTED"} + else: + e["negative_control"] = None + # meta-control: the same assertion on the untampered input must not claim a catch + meta_ok = True + if mc: + meta_ok = mc["rc"] == 0 and (mc["last_line"] or "").startswith("CONTROL-ASSERT FAIL rc=0") + e["meta_control"] = {"command": mc["command"], "rc": mc["rc"], "last_line": mc["last_line"], + "log": mc["log"], "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" if meta_ok else "UNEXPECTED"} + if g.endswith("(unavailable omc)"): + nr = len([l for l in sub if l.startswith("NOT_RUN")]) + e["expected"] = "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)" + e["label"] = "PASS" if p["rc"] not in (0, None) else "FAIL" + e["negative_control"] = {"note": "this row is itself the negative control of the runner's pin check"} + elif (n and not asserted_ok) or not meta_ok: + e["label"] = "FAIL" + elif p and p["rc"] == 0 and n and n["rc"] not in (0, None) and passes != 0: + e["label"] = "PASS" + elif p and p["rc"] == 0: + e["label"] = "INCONCLUSIVE" + else: + e["label"] = "FAIL" + if fails: + e["failing_subcases"] = fails + if sub: + e["not_run_subcases"] = sub + res.append(e) +counts = {k: sum(1 for x in res if x["label"] == k) for k in ("PASS", "FAIL", "INCONCLUSIVE", "NOT_RUN")} +# scope: the CPU affinity and sandbox measured when each executed gate and control ran +ran = [(g, gates[g][k]) for g in order for k in ("gate", "neg", "meta") if k in gates[g]] +bad = ("unmeasured", "unrecorded", "") +measured = sorted({x["cpus"] for _, x in ran if x["cpus"] not in bad}) +boxes = sorted({x["sandbox"] for _, x in ran if x["sandbox"] not in bad}) +unmeasured = sorted({g for g, x in ran if x["cpus"] in bad or x["sandbox"] in bad}) +scope = "host only (%s; %s); not hardware qualification" % ( + "CPU cores " + ", ".join(measured) if measured else "CPU affinity not measured", + "sandbox: " + ", ".join(boxes) if boxes else "sandbox not measured") +doc = {"issue": "DRA-170", "repo": "aien-dev/sovereign-intelligence", "candidate": head, + "scope": scope, "cpus_allowed_measured": measured, "sandbox_measured": boxes} +if unmeasured: + doc["unmeasured_gates"] = unmeasured +doc.update({"counts": counts, "gates": res}) +json.dump(doc, open(out, "w"), indent=2) +print("%s gates=%d %s" % (out, len(res), " ".join("%s=%d" % kv for kv in counts.items()))) +PY +} + +case $PHASE in + offline) phase_offline ;; + network) phase_network ;; + security) phase_security ;; + json) phase_json ;; + *) echo "PHASE must be offline, network, security or json" >&2; exit 2 ;; +esac