You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generic detached-run plumbing that OpenHuman reimplements in agent/orchestration/ (see openhuman#7929):
completions::delivery in tinyagents-tasks. A debounced, batch-claiming loop with backoff, give-up and boot recovery, plus a parent-busy RAII gate, a one-turn-per-thread lease and drain timing.
Seams: is_busy, the delivery turn, the undelivered writer, and a fence trait.
From background_delivery.rs (749), busy_guard.rs, background_delivery/slot.rs and delivery_drain.rs.
CompletionRouterPool<K>. A lazily opened router per key with in-memory fallback, mirroring TaskStoreRegistry. From background_completions.rs.
Watcher writes the run ledger.spawn_status_watcher settles AgentRunStatus itself (from run_ledger_finalize.rs).
DetachedTaskRegistry abort guard. Emit a terminal event when take_and_cancel drops the future (from tools/subagent_abort_report.rs).
detached::*_or_durable combinators. Try the live registry, then the TaskStore, for wait / resolve / cancel (from running_subagents/{wait,resolve,cancel}.rs). Also return metadata for cancelled runs.
Done when: merged upstream with tests in sibling *_tests.rs, released or tagged, and the OpenHuman follow-up can delete the host copy after a gitlink bump on vendor/tinyagents.
Port of OpenHuman's generic detached-run plumbing (completion delivery loop, CompletionRouterPool registry, abort guard, live-then-durable wait/resolve/cancel combinators, wait_all) into tinyagents-tasks, with tests and a tagged release so OpenHuman can delete its host copy. This is a net-new implementation/enhancement request, not a broken path, so it can be scheduled as future work.
Activity
tinysweeper commentedon Oct 16, 2026
Port of OpenHuman's generic detached-run plumbing (completion delivery loop, CompletionRouterPool registry, abort guard, live-then-durable wait/resolve/cancel combinators, wait_all) into tinyagents-tasks, with tests and a tagged release so OpenHuman can delete its host copy. This is a net-new implementation/enhancement request, not a broken path, so it can be scheduled as future work.
Labelled
priority: p3.senamakel commentedon Oct 17, 2026
Implemented and merged into the
tinyagents-refactorbranch on the senamakel fork:8c08d9992e751bc6c5175ed769af68f05a475d6b)Closing this completed migration issue as requested.