Skip to content

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

docs(tinyagents-drift-ledger): add documentation for drift ledger

Steven Enamakel28819141d5ef
diff --git a/docs/tinyagents-drift-ledger.md b/docs/tinyagents-drift-ledger.md
index e1b0164cc1..d0fa93be46 100644
--- a/docs/tinyagents-drift-ledger.md
+++ b/docs/tinyagents-drift-ledger.md
@@ -102,7 +102,7 @@ this section as investigation history.
| `run_spawn_parallel_workers` serial-then-parallel execution | **HOST-OWNED (deliberate)** | The crate contributes the *plan*, not the scheduler. Today the host serializes the whole batch when any worker needs serializing; a crate-side executor running only the claimed workers serially would be a **narrower** guarantee than what ships. Keeping execution host-side keeps the diff to "who computed this decision", which is exhaustively unit-testable. |
| `tinyagents/subagent_graph.rs` no-op pipeline skeleton | **CLOSED / DELETED** | Six nodes whose bodies only pushed their own name onto a `Vec`, compiled and executed on **every** sub-agent spawn from `ops/runner.rs`. A scaffold for a per-phase cutover that WP-5 concluded should not happen (see below). Deleted with its call site and its `topology.rs` export. |
| `extract_tool.rs` bounded fan-out | **CLOSED / CRATE ADOPTED** | Hand-rolled `buffer_unordered(3)` plus a manual index-tag-and-re-sort, replaced by `map_reduce` with `FailurePolicy::BestEffort`, which returns outcomes in input order. The per-chunk provider error stays the fan-out's *item* rather than its error, so one failed chunk still drops with a warning instead of aborting its siblings. |
-| `harness/subagent_runner/` (7,471 LOC) | **HOST-OWNED — do not relocate** | Its own module docs call it the OpenHuman *build pipeline*, and that is accurate: definition lookup, tier gating, archetype prompt assembly, toolkit filtering, sandbox narrowing, the deterministic memory fast path, Composio resolution, artifact offload, transcript persistence. The generic contract it would map onto already exists as `harness::host::HostCapabilities` (`ContextComposer` / `DefinitionRegistry` / `SecurityGate` / `ModelResolver`) and is unused by the host. The open question is therefore whether OpenHuman should *implement those traits*, not whether to move this code across the GPL boundary — a separate design-gated package. |
+| `harness/subagent_runner/` (7,471 LOC) — **directory-level verdict, not file-level** | **HOST-OWNED — do not relocate** | Its own module docs call it the OpenHuman *build pipeline*, and that is accurate: definition lookup, tier gating, archetype prompt assembly, toolkit filtering, sandbox narrowing, the deterministic memory fast path, Composio resolution, artifact offload, transcript persistence. The generic contract it would map onto already exists as `harness::host::HostCapabilities` (`ContextComposer` / `DefinitionRegistry` / `SecurityGate` / `ModelResolver`) and is unused by the host. The open question is therefore whether OpenHuman should *implement those traits*, not whether to move this code across the GPL boundary — a separate design-gated package. **Exception, resolved:** `subagent_runner/handoff.rs` was a 287-line near-verbatim twin of `tinyagents::harness::handoff` (exported ungated at `vendor/tinyagents/src/harness/mod.rs:23`) and has been collapsed to a ~66-line shim re-exporting the crate module under the historical OpenHuman names; only the host-only `OPENHUMAN_TEST_HANDOFF_THRESHOLD_TOKENS` resolution stays host-side, passed as the crate's explicit `threshold_tokens` parameter. Zero call-site edits. |
## WP-5 Detached Lifecycle Ownership Audit