Skip to content

feat: instrument trajectory/evolution/unmet-intents for Logfire#33

Merged
rita-aga merged 6 commits intostagingfrom
feat/logfire-trajectory-instrumentation
Mar 15, 2026
Merged

feat: instrument trajectory/evolution/unmet-intents for Logfire#33
rita-aga merged 6 commits intostagingfrom
feat/logfire-trajectory-instrumentation

Conversation

@rita-aga
Copy link
Collaborator

Adds tracing spans across all observability blind spots:

  • 5 trajectory entry sites (actions.rs x2, effects.rs x2, wasm.rs x1) — every entry emits structured info span
  • Unmet intents — failed entries emit warn-level unmet_intent spans
  • Evolution engine — sentinel checks, insight generation, record persistence
  • Trajectory persistence — store reads/writes instrumented
  • Ring buffer eviction — logged when old entries are evicted

687 lines of instrumentation, 0 logic changes. cargo check --workspace passes.

Co-authored-by: Codex codex@openai.com

rita-aga and others added 6 commits March 15, 2026 10:57
Add tracing spans to all trajectory entry creation sites (5 sites),
evolution engine operations, sentinel checks, and persistence layer.
Unmet intents now emit tracing::warn! with structured fields.

13 files changed, 687 insertions.

Co-authored-by: Codex <codex@openai.com>
@rita-aga rita-aga force-pushed the feat/logfire-trajectory-instrumentation branch from 0fd5901 to 9726bb2 Compare March 15, 2026 14:58
@rita-aga rita-aga merged commit 3b9cc0c into staging Mar 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant