Skip to content

Spec: Session traces, OTLP JSON Lines in place of Session logs - #1049

Merged
JacobStephens2 merged 60 commits into
mainfrom
issue-700
Oct 22, 2026
Merged

JacobStephens2 merged 60 commits into
mainfrom
issue-700

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

The work on Spec #700, gathered from its Tickets on issue-700.

Part of #700

Landed early so a release can carry #993's conversion: #994 runs that conversion on both hosts and needs it installed there first. #995–#997 continue on a new Spec branch afterwards. The Spec's final review has not run; each Ticket PR was reviewed on its own.

Tickets

🤖 Generated with Claude Code

Add standalone OTLP JSON Lines reader and writer
Normalize Claude, Grok and Codex decoder events
Normalize agy, Muse and OpenCode events
Record Session traces beside Session logs
Read Session traces in the Console and show
Export a Command's whole Trace as local OTLP JSON Lines
Render all six Harnesses in the conversation view
Keep upstream normalized message snapshots and retained Codex edit replacements together. Route normalized Codex apply_patch starts, completions and native amendments through the edit renderer; otherwise patches become serialized JSON after the merge. The existing Codex patch regression reproduced this loss before the resolution and now passes.
Retain Codex edit diffs from native session files
Send ended Session spans to an optional OTLP endpoint
Convert old Session logs into Session traces
@JacobStephens2
JacobStephens2 marked this pull request as ready for review October 22, 2026 13:24
A session's evidence writes are warnings that never change its outcome,
but finishing the Session trace failed the Run when the Command-log
folder became unwritable, as main's #754 notification test does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JacobStephens2
JacobStephens2 merged commit 1268317 into main Oct 22, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-700 branch October 22, 2026 14:06
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 22, 2026
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