mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
1.8 KiB
1.8 KiB
05.2 — One event bridge; delete engine/
Two progress paths remain: OpenhumanEventBridge
(tinyagents/observability.rs) and scattered direct publish_global calls in
session/turn code. The old shared harness/engine/ progress/checkpoint seams
are gone.
Steps
- Done for the reusable engine module:
ProgressReporter/TurnProgressmoved undersession/tool_progress.rs, leaving no sharedharness/engine/surface. The old session-localagent_tool_execcompatibility shim is deleted. - Done:
engine/checkpoint.rsis gone.CapPauserowns the graceful max-iteration stop, and the remaining sub-agent checkpoint summary is localized insubagent_runner/ops/checkpoint.rs. - Sweep direct agent-run/tool/subagent lifecycle
DomainEventpublishes on turn paths (session/turn, orchestration tools) — emit through the bridge or a typed helper so ordering/rate-limiting is single-owner. - Current finding (2026-07-02):
agent/progress_tracing.rs(722) plusagent/progress_tracing/tests.rs(616) are not currently redundant. The root module is the opt-inobservability.agent_tracingexporter fed by the web progress bridge'sAgentProgressstream. Retain it until the 05.1 journal path can produce the same metadata-only OTel/Langfuse spans and append/export contract.
Deletions
- Deleted:
src/openhuman/agent/harness/engine/(checkpoint + progress seams). - Redundant publishes found in step 3.
- Retain
agent/progress_tracing.rs+ sibling tests for now; delete only after journal-backed span export proves parity with the current config contract.
Acceptance
- Progress-event parity fixture: same
AgentProgresssequence for a scripted turn before/after (tool timeline, thinking, cost footer). - No
engine::imports remain.