Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Merge remote-tracking branch 'upstream/main' into ci-green-2026-10

Steven Enamakel5565a018a270
diff --cc crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
index 79a8e1dfc2,bf7a5a7dda..5d11f3cb33
--- a/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
+++ b/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
@@@ -195,10 -190,13 +195,13 @@@ async fn a_second_validation_failure_re
.await;
assert_eq!(requests.len(), 3);
- assert_eq!(requests.iter().map(|r| nudge_count(r)).collect::<Vec<_>>(), [0, 1, 1],
- "each failure nudges exactly the request that follows it; a consumed nudge is not carried over");
+ assert_eq!(
+ requests.iter().map(|r| nudge_count(r)).collect::<Vec<_>>(),
+ [0, 1, 1],
+ "each failure nudges exactly the request that follows it; a consumed nudge is not carried over"
+ );
assert!(
- requests[2].last().is_some_and(|m| m.text().contains(NUDGE)),
+ matches!(requests[2].last(), Some(message) if matches!(message, Message::Tool(_)) && message.text() == FAILED_TOOL_RESULT_WITH_NUDGE),
"the re-armed nudge must end the request after the second failure"
);
assert_eq!(
diff --cc crates/openhuman-core/src/agent/harness/definition_tests.rs
index 9fabf34265,0a7b9794b3..a96cabccb4
--- a/crates/openhuman-core/src/agent/harness/definition_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/definition_tests.rs
@@@ -365,7 -365,9 +365,10 @@@ fn all_builtin_agent_definitions_have_e
.expect("built-in agent TOML must always parse");
let expected: &[(&str, usize)] = &[
+ // Extended policy (or high `max_iterations`) -> effective cap raised.
+ // 305bad073b deliberately raised the orchestrator cap to 200.
+ // Keep this exhaustive snapshot aligned with the bundled definition.
+ // Explicitly raised for code work (#6958), above the extended default.
("orchestrator", 200),
// #5204: general-purpose read-only flow context/memory retrieval
// agent — `iteration_policy = "extended"` so it can loop across
diff --cc crates/openhuman-embed/tests/attached_tools.rs
index 2d9a64b6e4,89c10d0300..566da3ee25
--- a/crates/openhuman-embed/tests/attached_tools.rs
+++ b/crates/openhuman-embed/tests/attached_tools.rs
@@@ -155,12 -167,30 +170,20 @@@ fn attached_tools_survive_clones_and_se
.unwrap()
.map(|entry| entry.unwrap().path())
.collect::<Vec<_>>();
- assert!(!paths.is_empty(), "session transcripts must be durable");
+ assert!(
+ paths.contains(&generation_zero),
- "the original generation-zero transcript must remain in the chain"
- );
- assert!(
- paths
- .iter()
- .any(|path| path.to_string_lossy().contains(".g1.jsonl")),
- "changing the permanent-tool catalogue must create a successor generation"
- );
- assert!(
- !paths
- .iter()
- .any(|path| path.to_string_lossy().contains(".g2.jsonl")),
- "the identical fourth-turn catalogue must not create another generation"
++ "the continuing session transcript must remain durable"
+ );
+ assert_eq!(
+ std::fs::read(&generation_zero).unwrap(),
+ frozen_generation_zero,
- "refreshing the catalogue must leave the sealed generation byte-for-byte intact"
++ "the continuing session must leave its transcript byte-for-byte intact"
+ );
let successor = paths
.iter()
- .find(|path| path.to_string_lossy().contains(".g1.jsonl"))
+ .find(|path| {
+ std::fs::read_to_string(path).is_ok_and(|text| text.contains("hivemind_list"))
+ })
.unwrap();
let durable = std::fs::read_to_string(successor).unwrap();
assert!(
diff --cc scripts/ci/check-dep-sim-calibration.sh
index 440a8a943f,aa8a7d5621..a802a5b6c9
--- a/scripts/ci/check-dep-sim-calibration.sh
+++ b/scripts/ci/check-dep-sim-calibration.sh
@@@ -81,9 -81,12 +81,14 @@@
# five additional crate names in the flows profile. The measured graph has 321
# packages / 304 names and still 2 native builds; the kernel-floor history
# records the upstream update and its measured increase.
+# 304 -> 307 on 2026-10-04: TinyBox v0.1.15 adds the required TinyBus runtime
+# integration to the always-on flows graph; native builds remain unchanged.
#
+ # 304 -> 318 on 2026-10-04: lossless PNG optimization adds an 11-name
+ # oxipng closure and the merged TinyBox default Landlock backend adds three
+ # names. A global-cut simulation of oxipng,landlock recovers 325/304 exactly;
+ # native accounting now includes libdeflate-sys (three native builds).
+ #
# Called by ci-lite.yml's feature-gate smoke lane and by the lane runner, so the
# expected count lives here once (plus scripts/kernel-floor.limits).
set -euo pipefail