Repository navigation
Milestone release. Milestone M36 "标准 tracing 导出(OTel span → Langfuse/LangSmith)" accepted — two merged PRs, verified end to end in CI and locally.
Milestone M36 — accepted (epic #279; acceptance detail #279 comment 6998343385; #279/#282 closed). openswarm trace export <run-id> maps a finished run (status.json + result.json + ledger row + per-attempt event files) to OpenTelemetry spans and exports OTLP/HTTP JSON to a local file (default, no network) and/or a configurable OTLP endpoint. Slice 1 (PR #281, merged 2026-11-19T02:13:24Z, squash d22c658) built the span model + export core; slice 2 (PR #283, merged 2026-11-19T03:00:06Z, squash b5a80c5) fixed three mapping gaps found on real runs (agy usage key names, ledger own-row priority, rework+escalation coverage).
Acceptance evidence, all measured and second-party verified by the main round, not worker claims. ① Three real runs exported (20261114-103312-1348a6, real LLM run, 5 spans; 20261112-020043-924da3, verify + 2 reworks + escalation pi→agy, 9 spans; 20261112-020045-310390, verify + 1 rework, 7 spans); 140-item independent check all passed; the main round re-exported two runs and got byte-identical payloads to the worker's evidence files, trace ids deterministic and unique. ② OTLP/HTTP verified against a local receiver: POST /v1/traces, 202, 7,436 bytes, payload deep-equal to the file export; failures never reported as sent. ③ Full suite independently re-run by the main round: 1410 passed, 6 skipped, 212 subtests; PR #281 CI 10/10, PR #283 CI run 44446933394 10/10. ④ Zero new dependencies; existing subcommand signatures and SKILL contract untouched.
Honest notes, stated plainly: the three real runs' verify records carry no seconds, so verify spans are zero-length points marking the completion instant — no duration invented. In run 924da3 the root span lasts 1.598s while result.seconds is 0.308s; the ~1.29s gap (verify + rework overhead) has no source field and was not force-allocated.