diff --git a/.crumb b/.crumb index b00e8003..51fded1c 100644 --- a/.crumb +++ b/.crumb @@ -64,8 +64,8 @@ "generated": { "children": [ { - "digest": "079b98d3ba31281b9714dee4888d0c66a575e658793667cc245dfd89bed881e1", - "last_commit": "b0cee16", + "digest": "bf0b33103faf720887cc37d410f924747078edab52d2170d7c9d8c965a8b3618", + "last_commit": "3bd36c2", "name": "scripts", "purpose": "" }, @@ -76,15 +76,15 @@ "purpose": "" } ], - "children_root": "sha256:95ba9db41a2ad217bd02bbbe25aaf363580b5cd23754f40351ee780858343de5", - "compiled_at": "2026-10-09T14:22:52Z", + "children_root": "sha256:20c95358a2e6cde016bc1a6b9d07b1ed5500de7131c7eb30982592664870658c", + "compiled_at": "2026-10-09T14:36:46Z", "compiler": "crumb-compile/1", - "digest": "sha256:6e430e82542fc7d6dd6021350f22c0638dcf1b72c149c798e470412fecac74f7", + "digest": "sha256:335f6b5a5407bf79938e039ef8ca28f9480f49594593e688d0d93385cbdb36d9", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", "files": 1847, - "generated_at_commit": "03495be28c6a8a420b3b7ee4629ae4a5ec130dc6", - "source_tree": "sha256:559a78a5eb36d92152105a0e256f581f000a7bf10360f223bcdf9bf47d14c5d8" + "generated_at_commit": "8f08f119552ca8aa127e3a7024840155559ad208", + "source_tree": "sha256:c5564ec1371a82e51e07316070f50157ffb177c90b18eb49a1db734c1c5786f3" } }, "history": [], diff --git a/crates/aien-runtime/src/approved.rs b/crates/aien-runtime/src/approved.rs index f8bbffcc..88b384e0 100644 --- a/crates/aien-runtime/src/approved.rs +++ b/crates/aien-runtime/src/approved.rs @@ -619,7 +619,9 @@ mod toctou_tests { // The seam sits after the compose commit, so firing proves the run reached it. assert!( fired.load(std::sync::atomic::Ordering::SeqCst), - "seam did not fire" + "seam did not fire; refusal was {}: {}", + e.name, + e.detail ); eprintln!( "TOCTOU seam fired after compose commit; refusal = {}: {}", diff --git a/crates/aien-runtime/src/effects.rs b/crates/aien-runtime/src/effects.rs index a8a3b3db..e66385be 100644 --- a/crates/aien-runtime/src/effects.rs +++ b/crates/aien-runtime/src/effects.rs @@ -2552,8 +2552,9 @@ mod tests { }) }); let b = ComposeBridge::new(root.join("compose"), proposer, "test:fixed"); - let ControlResponse::ComposeTaskResult(rep) = b.run_task("g", ws.to_str().unwrap()) else { - panic!("run_task did not produce a result") + let r = b.run_task("g", ws.to_str().unwrap()); + let ControlResponse::ComposeTaskResult(rep) = r else { + panic!("run_task did not produce a result: {r:?}") }; let cx = rep.cx_promotion; let link = ApprovedLink { diff --git a/scripts/.crumb b/scripts/.crumb index da6118f1..8c5a9c2d 100644 --- a/scripts/.crumb +++ b/scripts/.crumb @@ -4,14 +4,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-08T16:51:27Z", + "compiled_at": "2026-10-09T14:01:30Z", "compiler": "crumb-compile/1", - "digest": "sha256:079b98d3ba31281b9714dee4888d0c66a575e658793667cc245dfd89bed881e1", + "digest": "sha256:bf0b33103faf720887cc37d410f924747078edab52d2170d7c9d8c965a8b3618", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 26, - "generated_at_commit": "1af23e011edd631b29216d8bf283f36839dda4b5", - "source_tree": "sha256:0185571097f2b27f7246d386217acb781f5ed953a22d6724bbfcc3f2cf97ba0d" + "generated_at_commit": "03495be28c6a8a420b3b7ee4629ae4a5ec130dc6", + "source_tree": "sha256:be53b9b1e2b585b6277e8890780c67be41fd4aca553f90f9e53cb0c12f9c3063" } }, "parent": { diff --git a/scripts/test-linked-compose.sh b/scripts/test-linked-compose.sh index a37ea464..2732dc25 100755 --- a/scripts/test-linked-compose.sh +++ b/scripts/test-linked-compose.sh @@ -40,6 +40,8 @@ count() { # how many tests the targets hold, ignored ones included # no model) are gated. Outside this gate, in other crates: aien-cli recovery_matrix_test and # provenance_link_live_test (a real SmolLM2 on disk, minutes of CPU per case; run on the # Spark, receipts on the PR), and the GB10/real-checkpoint inference tests (heavy queue). +# The aien-runtime library (unit) tests run too (`--lib`, sc#364): six of them open a compose home and take the +# home_guard slot (sc#363); run() is serial (--test-threads=1) regardless. RT=() # 46 targets on 2026-10-08; the floor below catches a lost glob or a deleted target for f in "$ROOT"/crates/aien-runtime/tests/*.rs; do t=$(basename "$f" .rs) @@ -49,10 +51,11 @@ done [ "${#RT[@]}" -ge 90 ] || die "found only $((${#RT[@]} / 2)) aien-runtime test targets" CLI=(--test compose_ordinary_flow_test --test allen_concurrency_test) ATT=$(count -p aien-runtime --test approved_attacks_test) -ALL=$(( $(count -p aien-omega-compose --test compose) + $(count -p aien-runtime "${RT[@]}") + $(count -p aien-cli "${CLI[@]}") )) +ALL=$(( $(count -p aien-omega-compose --test compose) + $(count -p aien-runtime --lib) + $(count -p aien-runtime "${RT[@]}") + $(count -p aien-cli "${CLI[@]}") )) [ "$ATT" -gt 0 ] && [ "$ALL" -gt "$ATT" ] || die "could not list the linked tests" : >"$LOG" run -p aien-omega-compose --test compose +run -p aien-runtime --lib run -p aien-runtime "${RT[@]}" run -p aien-cli "${CLI[@]}" # The approved_attacks suite again (it once hid a race, #306): REPEAT runs in all. @@ -66,4 +69,4 @@ want=$(( ALL + ATT * (REPEAT - 1) )) ran=$(grep -E '^test result: ok\. [0-9]+ passed' "$LOG" | awk '{s += $4} END {print s + 0}') [ "$ran" -ge "$want" ] || die "only $ran linked tests passed (expected $want: $ALL linked tests + approved_attacks $ATT x $((REPEAT - 1)) more)" if grep -E '^test result:.* [1-9][0-9]* ignored' "$LOG" >/dev/null; then die "tests were still ignored"; fi -echo "test-linked-compose: PASS ($ran linked tests passed: $ALL across compose, every aien-runtime target but prefill_e2e*, aien-cli ordinary flow + ALLEN concurrency; approved_attacks x$REPEAT)" +echo "test-linked-compose: PASS ($ran linked tests passed: $ALL across compose, aien-runtime library tests, every aien-runtime test target but prefill_e2e*, aien-cli ordinary flow + ALLEN concurrency; approved_attacks x$REPEAT)"