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 feat/5560-shed-engine-crates

Shanu40bafced2df6
diff --cc scripts/ci/module-pin-exemptions.json
index 59518cbb23,be6048941e..a0b08b2737
--- a/scripts/ci/module-pin-exemptions.json
+++ b/scripts/ci/module-pin-exemptions.json
@@@ -9,45 -9,15 +9,9 @@@
"is a deliberate edit to this file, which is a reviewable diff.",
"",
"Delete an entry the moment the pins are reconciled. An exemption that has",
- "stopped being true fails the gate too — `expect` must still match."
+ "stopped being true fails the gate too \u2014 `expect` must still match."
],
"exemptions": [
- {
- "id": "tinymcp",
- "submodule": "vendor/tinymcp",
- "expect": "v0.3.2",
- "reason": "openhuman takes tinymcp with default-features = false (Cargo.toml), which switches the module adapter off, so the 0.3.1 artifact this record would download is never loaded; the submodule is the compile-time contract only. #5858 moved it to the v0.3.2 release tag. Tracked by openhuman#5727."
- },
- {
- "id": "tinywallet",
- "submodule": "vendor/tinywallet",
- "expect": "v0.5.1",
- "reason": "#5858 moved the submodule to the v0.5.1 release tag (superseding the v0.5.0-8-g8c728de drift this entry used to accept); the registry still pins v0.5.0 pending an artifact re-pin with v0.5.1 checksums, out of scope for the memory shed (#5875). Tracked by openhuman#5727."
- },
- {
- "id": "tinydocs",
- "submodule": "vendor/tinydocs",
- "expect": "v0.1.15",
- "reason": "The module-pointer refresh #5858 (merged 2026-08-31) moved the submodule to the v0.1.15 release tag while the registry record still pins 0.1.14 \u2014 the compile-time contract is one release ahead of the loaded artifact. Reconciling needs a registry re-pin with v0.1.15 checksums, out of scope for the memory shed (#5875). Tracked by openhuman#5727."
- },
- {
- "id": "tinyjuice",
- "submodule": "vendor/tinyjuice",
- "expect": "v0.2.5",
- "reason": "The module-pointer refresh #5858 (merged 2026-08-31) moved the submodule to the v0.2.5 release tag while the registry record still pins 0.2.4 \u2014 the compile-time contract is one release ahead of the loaded artifact. Reconciling needs a registry re-pin with v0.2.5 checksums, out of scope for the memory shed (#5875). Tracked by openhuman#5727."
- },
- {
- "id": "tinyvoice",
- "submodule": "vendor/tinyvoice",
- "expect": "v0.1.6",
- "reason": "The module-pointer refresh #5858 (merged 2026-08-31) moved the submodule to the v0.1.6 release tag while the registry record still pins 0.1.5 \u2014 the compile-time contract is one release ahead of the loaded artifact. Reconciling needs a registry re-pin with v0.1.6 checksums, out of scope for the memory shed (#5875). Tracked by openhuman#5727."
- },
-- {
- "id": "tinyruntime",
- "submodule": "vendor/tinyruntime",
- "expect": "v0.2.4",
- "reason": "The module-pointer refresh #5858 (merged 2026-08-31) moved the submodule to the v0.2.4 release tag while the registry record still pins 0.2.2 \u2014 the compile-time contract is one release ahead of the loaded artifact. Reconciling needs a registry re-pin with v0.2.4 checksums, out of scope for the memory shed (#5875). Tracked by openhuman#5727."
- "id": "tinymemory",
- "submodule": "vendor/tinymemory",
- "expect": "v1.13.4-31-g97d3e08",
- "reason": "The source pin is 31 commits past the published v1.13.4 release; registry and CI intentionally use the published artifact set until a newer release exists."
-- },
{
"id": "tinyruntime-nodejs",
"submodule": "vendor/tinyruntime",
diff --cc scripts/kernel-floor.limits
index 257e928c99,6214d0cc7d..ed5a59a3d8
--- a/scripts/kernel-floor.limits
+++ b/scripts/kernel-floor.limits
@@@ -13,44 -13,14 +13,22 @@@
# Simulate with: scripts/dep-sim.py --cut <crates>
#
# History
+# 287/269/2 2026-08-31 openhuman#5560: the memory engine crates leave the
- # (287/269 is the CI-Linux measurement this ratchet is
- # calibrated on; macOS resolves one target-specific
- # package/name higher, 288/270 — measure sheds on Linux
- # or expect an off-by-one.)
- # product build. `tinycortex`, `tinycortex-api`, the
- # `tinymemory` facade, `tinymemory-tinycortex` and
- # `tinymemory-core` are all out of the NORMAL dependency
- # graph — verified with `cargo tree -e normal -i <crate>`
- # under the product feature set, which prints "nothing to
- # print" for each. `tinycortex` and `tinymemory-core`
- # survive as `optional = true` reached only by `rss-bench`
- # (the two `library_profile` bins measure the in-process
- # engine and a [[bin]] cannot use a dev-dependency); the
- # tests that need a real engine are served by
- # [dev-dependencies], which cargo does not link into the
- # shipped binary. (-6 packages, -6 NAMES, native
- # unchanged at 2.)
- #
- # READ THE PACKAGE NUMBER CAREFULLY — it goes 286 -> 288
- # against this file while going 294 -> 288 against
- # reality, and only the second is what this change did.
- # The 286/270 entry below was already unmet when this
- # branch started: `scripts/kernel-floor.sh flows` on
- # upstream/main measured 294/276/2, so BOTH gates were
- # failing before a line of #5560 landed, and the packages
- # limit had been stale by 8 for a day. This entry records
- # the measured floor rather than carrying that drift
- # forward silently. The names half needed no raise at all:
- # the shed lands it on exactly the 270 already written
- # here, which is why `dep-sim --expect-names 270` in
- # ci-lite.yml is left alone (its prose claimed 273 and was
- # wrong in the other direction — corrected there, argument
- # untouched).
- #
- # The remaining 2-package gap to 286 is pre-existing and
- # NOT diagnosed here. Whoever closes it should start by
- # diffing the package list against the 2026-08-30 entry.
++# product build (see the PR for the full inventory).
++# Measured on CI Linux; macOS resolves one extra
++# target-specific package/name (288/270).
++# NOTE 2026-09-01: the 293/275 lockfile-refresh entry below described
++# main's refreshed Cargo.lock; the shed branch's merge
++# kept its own lock, so the resolved graph here is the
++# 287/269 shed measurement, not 293/275.
+ # 293/275/2 2026-08-31 Cargo.lock was refreshed to the latest compatible
+ # dependency releases. The `flows` profile now resolves
+ # seven additional package versions and five additional
+ # crate names; native builds remain the same two
+ # (`libsqlite3-sys`, `ring`). This is a lockfile-wide
+ # compatibility refresh, not a new always-on OpenHuman
+ # dependency. Measured with `scripts/kernel-floor.sh
+ # flows` on the CI Linux profile.
# 286/270/2 2026-08-30 moving flows::store.rs / flows::draft_store.rs and
# the copilot's authoring prompts upstream split the
# `tinyflows` crate's catalog/storage/copilot surface into
diff --cc src/openhuman/flows/ops_tests_part_06_tests.rs
index 725cbb3ec5,2151f0e7b1..2ead2ec618
--- a/src/openhuman/flows/ops_tests_part_06_tests.rs
+++ b/src/openhuman/flows/ops_tests_part_06_tests.rs
@@@ -621,31 -620,6 +620,31 @@@ fn binding_to_agent_schema_missing_fiel
assert!(errors[0].contains("output_parser.schema"), "{}", errors[0]);
}
+#[test]
+fn binding_to_agent_without_any_schema_is_unverifiable_not_rejected() {
- // tinyflows v0.8.2 deliberately relaxed the gate: with no
- // `output_parser.schema` at all, the agent's runtime response shape is
- // host-defined — the bound field MAY exist — so the binding is
- // unverifiable rather than guaranteed invalid, and the gate passes it.
- // This pins the relaxation so the trio above cannot silently drift back.
++ // TinyFlows deliberately permits a schema-less agent (see the test above):
++ // with no `output_parser.schema` at all the runtime response shape is
++ // host-defined, the bound field MAY exist, and the gate treats the
++ // binding as unverifiable rather than invalid. Pinned so the rejection
++ // tests above cannot silently drift back to the pre-v0.8.2 contract.
+ let g = graph(json!({
+ "nodes": [
+ { "id": "t", "kind": "trigger", "name": "Manual" },
+ { "id": "summarize", "kind": "agent", "name": "Summarize",
+ "config": { "agent_ref": "researcher", "prompt": "summarize" } },
+ { "id": "post", "kind": "tool_call", "name": "Post",
+ "config": { "slug": "SLACK_SEND_MESSAGE",
+ "args": { "channel": "=nodes.summarize.item.json.channel" } } }
+ ],
+ "edges": [
+ { "from_node": "t", "to_node": "summarize" },
+ { "from_node": "summarize", "to_node": "post" }
+ ]
+ }));
+ let errors = validate_binding_resolvability(&g);
+ assert_eq!(errors, Vec::<String>::new(), "unverifiable is not invalid");
+}
+
#[test]
fn binding_to_agent_with_schema_missing_field_is_rejected() {
// A schema IS declared, but it doesn't cover the field the binding reads.
diff --cc src/openhuman/memory/seam_integration_tests_tests.rs
index e5fec6a758,ebd10ea67d..b289df4f22
--- a/src/openhuman/memory/seam_integration_tests_tests.rs
+++ b/src/openhuman/memory/seam_integration_tests_tests.rs
@@@ -144,8 -144,8 +144,9 @@@ fn local_ai_off_reports_no_provider_wit
);
}
+ #[cfg(feature = "modules")]
#[tokio::test]
+#[cfg(feature = "modules")] // `modules::connectors` — and the route it resolves — exist only with the gate on
async fn direct_mode_config_resolves_via_module_config_at_call_time() {
// The seam this pinned moved. `ProviderContext::execute` — the engine's
// Composio dispatch, which routed through the host's `ComposioHost` seam
diff --cc src/openhuman/modules/connectors.rs
index 3d40ec326a,1fab72df26..b536aa775a
--- a/src/openhuman/modules/connectors.rs
+++ b/src/openhuman/modules/connectors.rs
@@@ -117,12 -103,9 +117,13 @@@ pub fn module_config(config: &Config) -
"route": "direct",
"api_key": api_key,
"entity_id": config.composio.entity_id,
+ "base_url": std::env::var("OPENHUMAN_COMPOSIO_DIRECT_BASE_V3").ok(),
"state_dir": state_dir,
- }))
+ });
+ if let Some(base) = direct_base {
+ payload["base_url"] = serde_json::Value::String(base);
+ }
+ Ok(payload)
}
unknown => Err(format!(
"unknown composio mode: \"{unknown}\". Supported: \"{COMPOSIO_MODE_BACKEND}\", \