Skip to content

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

chore: checkpoint TinyAgents migration wave two

Steven Enamakeld84277e648a5
diff --git a/.sdd-progress.md b/.sdd-progress.md
index a9ea0fc559..a14a4bf5c3 100644
--- a/.sdd-progress.md
+++ b/.sdd-progress.md
@@ -1,20 +1,20 @@
Objective: migrate host-independent agent runtime/helpers into TinyAgents family with direct imports and no compatibility shims.
-Base: migrate-inference-to-tinyinference @ 8c90600688a143e8bd377a2296db5d626bea5095
+Base: migrate-inference-to-tinyinference @ 8c90600688a143e8bd377a2296db5d626bea5095; upstream/main merged at 6b88a59930257a9cc310c34e78a1cf9fbdc8d0b7.
Plan: docs/plans/migrate-agent-runtime-to-tinyagents.md
Spec: docs/specs/agent-runtime-upstream-boundary.md
Audit: complete (OpenHuman agent tree + TinyAgents/TinyTools/TinyInference capabilities reviewed).
Documentation: complete (boundary spec + executable plan + helper packages + ownership waves; final review PASS with no findings).
-Wave 2 preflight: complete (central integrator ownership, context/tool handoff, and context-led registry/graph conversion reviewed read-only).
+Wave 2: complete (direct canonical imports, explicit recursive context, execution-scoped graph bindings including durable resume/retry, registry/definition split, integration fixtures, and full workspace gate; independent Terra reviews resolved).
Task -1: complete (git_attribution removed; focused behavioral Git-hardening test passed; re-review spec PASS and quality PASS with no findings).
-Task 0: complete (455 exact line-sensitive violations; checker scans all OpenHuman crates and TinyAgents facades; locked vendored test 5/5; Terra re-review spec PASS and quality PASS).
-Task 1: in progress (TinyTools leaf complete and Terra-reviewed at 7a40010; ready upstream PR #6 updated and local per-file coverage green; TinyAgents consumers remain).
-Task 2: pending.
-Task 3: in progress (TinyInference leaf complete and Terra-reviewed with no findings at 6ffab82; ready upstream PR #13; TinyAgents consumers remain).
-Task 4: pending.
+Task 0: complete (temporary exact baseline reduced from 455 to 444; checker scans all OpenHuman crates and TinyAgents facades; vendored dependency boundary 6/6; Terra re-review PASS).
+Task 1: in progress (TinyTools leaf complete at 8554c57, PR #6 merged and follow-up ready PR #7; TinyAgents consumers complete; OpenHuman cutover remains).
+Task 2: in progress (TinyAgents uses tinytools-agent directly and deleted tool_calling; integration fixtures are canonical; OpenHuman cutover remains).
+Task 3: in progress (TinyInference leaf complete and Terra-reviewed at 6ffab82, ready upstream PR #13; TinyAgents consumers complete; OpenHuman cutover remains).
+Task 4: in progress (TinyAgents explicit context, child data policy, graph binding and durable continuation complete; OpenHuman task-local removal remains).
Task 5: pending.
-Task 6: pending.
-Task 7: pending.
+Task 6: in progress (tinyagents-definition and direct registry consumers complete; OpenHuman cutover remains).
+Task 7: in progress (canonical graph/delegation lifecycle and tests complete; OpenHuman cutover remains).
Task 8: pending.
Task 9: pending.
Task 10: pending.
@@ -30,3 +30,9 @@ Decisions:
Wave 1 bases:
- TinyTools: 1eb3dade18b56c67dacbe16ae92ce42b0a097b7a
- TinyInference: 6db1968d1463791e1823c808808da64b9579b8fc
+
+Wave 2 gate evidence:
+- `cargo fmt --all -- --check` passed in TinyAgents.
+- `cargo test --workspace` passed in TinyAgents.
+- `cargo clippy --workspace --all-targets -- -D warnings` passed in TinyAgents.
+- `pnpm rust:layout`, `pnpm docs:check`, the agent-runtime boundary checker, and the dependency-boundary suite passed.
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.json
index e49c3f1a97..2b41e8b545 100644
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@ -3093,13 +3093,6 @@
"text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};",
"occurrence": 1
},
- {
- "rule": "tinyagents-upstream-reexport",
- "path": "vendor/tinyagents/crates/tinyagents-registry/src/catalog.rs",
- "line": 22,
- "text": "pub use tinyagents_harness::cost::ModelPricing;",
- "occurrence": 1
- },
{
"rule": "tinyagents-upstream-reexport",
"path": "vendor/tinyagents/crates/tinyagents-registry/src/lib.rs",
diff --git a/vendor/tinyagents b/vendor/tinyagents
index b703d9e28a..36d2096e5a 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit b703d9e28ae4daa4ab4dc78e04bc494ee5d24d71
+Subproject commit 36d2096e5a29f3860647c5f43c1deef54fd64f5e