CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
docs(tracing): clarify oneshot operation dual-attribute and --meta filter usage in docstring
xf gong25832326678a
diff --git a/cubepi/tracing/tracer.py b/cubepi/tracing/tracer.pyindex ca0e6af..35a41f1 100644--- a/cubepi/tracing/tracer.py+++ b/cubepi/tracing/tracer.py@@ -403,8 +403,14 @@ class Tracer:the root span and are queryable with``cubepi trace ls --meta <key>=<value>``.- ``operation`` is recorded as ``cubepi.oneshot.operation`` to let- callers filter one-shot traces from agent runs in dashboards.+ ``operation`` is recorded in two places:++ - ``cubepi.oneshot.operation`` — for span introspection and dashboards.+ - ``cubepi.metadata.oneshot_operation`` — so the CLI ``--meta`` filter+ (which only reads ``cubepi.metadata.*`` attributes) can reach it::++ uv run cubepi trace ls --meta oneshot_operation=consolidate_memory+ uv run cubepi trace ls --meta conversation_id=conv-123Example::