Skip to content

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

feat(agent): add journal projection for progress tracing

Steven Enamakelbacc607989b9
diff --git a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
index 05b03168e0..f653ddd7ed 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
@@ -232,7 +232,7 @@ fn observation_to_progress(obs: &AgentObservation, state: &mut ReplayState) -> V
// synthesises the pair itself. Without this arm the projection was
// short a whole tool span — a span *count* divergence, not just a
// missing attribute — on every turn the model named a tool it did
- // not have. Mirrors `observability_part_02.rs`'s `UnknownToolCall`
+ // not have. Mirrors `observability/event_projection.rs`'s `UnknownToolCall`
// arm exactly, including the `Unknown` (recoverable) class.
let failure = Some(crate::tools::status::describe(
crate::tools::status::ToolFailureClass::Unknown,
@@ -347,7 +347,7 @@ fn observation_to_progress(obs: &AgentObservation, state: &mut ReplayState) -> V
AgentEvent::UsageRecorded { usage } => {
// The cost footer is a top-level surface: the live bridge suppresses
- // the per-child roll-up (`observability_part_01.rs`, `self.scope`
+ // the per-child roll-up (`observability/event_bridge.rs`, `self.scope`
// guard), and a child run's usage is accounted separately. Skipping
// entirely — rather than accumulating silently — is what keeps the
// projected parent total equal to the live one, because live the
diff --git a/crates/openhuman-core/src/web_chat/README.md b/crates/openhuman-core/src/web_chat/README.md
index fdd87600fb..13a2b3e2c0 100644
--- a/crates/openhuman-core/src/web_chat/README.md
+++ b/crates/openhuman-core/src/web_chat/README.md
@@ -11,7 +11,7 @@ surfaces.
## Request lifecycle
1. `core/socketio.rs` receives a `chat:start` socket event and calls
- [`start_chat`] (`ops_part_02.rs`) with the raw message, thread/client ids,
+ [`start_chat`] (`ops/start_chat.rs`) with the raw message, thread/client ids,
and any model/profile/locale/queue-mode overrides.
2. `start_chat` preprocesses `[FILE:…]`/`[IMAGE:…]` attachment markers
*before* prompt-injection scanning or persistence (a multi-MB base64 blob