Skip to content

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

chore(ci): update legacy line limits after code reductions

Steven Enamakelb4a9e08bf684
diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjs
index fd2eca6fae..514e0a46fb 100644
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@ -38,29 +38,26 @@ const LEGACY_LIMIT_ENTRIES = [
// under the general 750 limit, so it needs no exception at all.
// The session-todo integration added transcript metadata construction to
// this already-exempt composition seam. Keep its allowance exact.
- ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1965],
+ ["crates/openhuman-core/src/agent/session_host/runtime_session.rs", 1563],
// Session-host factory still assembles the product's deliberately coupled
// provider, security, memory, tool and prompt policy. Generic session
// state moved to tinyagents-runtime; this remaining composition is split in
// a follow-up without reintroducing an old harness/session exception.
- ["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 1212],
+ ["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 1000],
["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1309],
- ["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1427],
- ["crates/openhuman-core/src/tools/ops.rs", 1322],
+ ["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1152],
+ ["crates/openhuman-core/src/tools/ops.rs", 1210],
["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1304],
// These established external test modules grew with upstream coverage. Pin
// their current sizes while follow-up work separates their test concerns.
- ["crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs", 779],
// `core/` was pruned from the line limit by name until these pins; its
// oversized files are pinned at the size they had when enforcement began.
- ["crates/openhuman-core/src/core/all.rs", 1840],
- ["crates/openhuman-core/src/core/all_tests.rs", 2501],
- ["crates/openhuman-core/src/core/cli.rs", 803],
- ["crates/openhuman-core/src/core/events.rs", 2005],
- ["crates/openhuman-core/src/core/events_tests.rs", 1062],
- ["crates/openhuman-core/src/core/observability.rs", 3631],
- ["crates/openhuman-core/src/core/runtime/builder.rs", 825],
- ["crates/openhuman-core/src/core/runtime/context.rs", 1024],
+ ["crates/openhuman-core/src/core/all.rs", 1496],
+ ["crates/openhuman-core/src/core/all_tests.rs", 1638],
+ ["crates/openhuman-core/src/core/events.rs", 1812],
+ ["crates/openhuman-core/src/core/events_tests.rs", 1003],
+ ["crates/openhuman-core/src/core/observability.rs", 3502],
+ ["crates/openhuman-core/src/core/runtime/builder.rs", 815],
];
const LEGACY_LIMITS = new Map(LEGACY_LIMIT_ENTRIES);