Skip to content

Convert old Session logs into Session traces - #1061

Merged
JacobStephens2 merged 5 commits into
issue-700from
issue-993
Oct 22, 2026
Merged

JacobStephens2 merged 5 commits into
issue-700from
issue-993

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Convert every old Session log under the machine's logs folder, including Security runs and the oldest filename layout, through the live Session-trace writer.

logs --convert
  recover timestamps and matching historical Codex diffs
  compare conversation, Waterfall, show and Model evidence
  save local report and fingerprints; keep originals
logs --remove-converted
  remove only passed originals with unchanged saved inputs

Closes #993

Evidence

  • Before: the reviewers' exact reproductions recovered a later Resume's diff, moved a Waterfall tool from implement (0.5 s) to review (55 s), omitted the oldest layout, and missed a timestamped Codex patch without Command evidence.
    After: all four cases have retained regression tests; 10 CLI migration tests and the Console Waterfall regression pass. All six Harness fixtures preserve their original events and pass the four-reader report.
  • Formatting and cargo clippy --all-targets -- -D warnings pass.
  • scripts/affected-tests fdd85c9ba1754ec958929033e3c552b931417fa8 passes: 2,312 Rust tests passed (3 skipped), plus 36 site tests. /usr/bin/time -p measured 1,293.36 s for the selected checks, including compilation; Nextest execution took 1,153.638 s and Rust compilation took 86 s.

Test seams

  • The compiled CLI: conversion, cleanup, reruns, show, log selection and historical ownership, using filesystem fixtures and local Codex session files.
  • The Console's HTTP Waterfall: stage placement and duration before conversion and after removing originals.

Review coverage

Reviewed against remote issue-700 pinned at fdd85c9ba1754ec958929033e3c552b931417fa8. Standards: two heuristic findings addressed. Spec: four behavioral findings reproduced as written and addressed. Both axes read all 23 changed files, including generated HTML. Changed files left unread: none. Generated-output exclusions: none.

Unaddressed findings

Standards

None.

Spec

None.

Merge Danger

Door: two-way

Conversion keeps originals. The separate cleanup command permanently removes only originals whose saved inputs still match the passing report; traces, Model sidecars and review reports remain.

Blast Radius: Logs

Machine-local migration and Session readers; Security-run evidence remains local.

Built with codex · gpt-6.1-sol · xhigh

@JacobStephens2
JacobStephens2 merged commit c05579a into issue-700 Oct 22, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-993 branch October 22, 2026 07:15
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