You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): verfix show --timeline — interleaved steps/console/network view of a run #56
Diagnosing a failure usually means answering "what happened around the failing step?" Today verfix show <id> --console and --network each dump one log, and correlating them with step order means cross-referencing timestamps by hand. Real agent feedback:
I had to write throwaway Node scripts to extract events from the raw run .json and slice the last N messages just to see step-by-step ordering around a failure. A timeline that interleaves steps/console/network in one sorted list would have cut several of my diagnostic round-trips.
Proposal
Add --timeline to verfix show:
verfix show <id> --timeline [--last <seconds>] [--output json|pretty]
Merges step results, console lines, and network requests into one time-sorted list. All three already carry ISO timestamps (ConsoleLine.timestamp, NetworkRequest.timestamp, step results — see workers/src/assertions/types.ts), so this is a pure read/merge over artifacts that already exist in .verfix/runs/.
Each entry: { t, kind: "step" | "console" | "network", ... } with the source record inlined.
--last <seconds> filters to the window before the run's end (the part that matters when diagnosing a failure).
pretty output for humans, json for agents — same convention as the existing --console/--network handling in cli/src/index.ts (the show command).
Notes
Local-mode artifacts only, like the existing --console/--network flags.
Build the merge as a small reusable function — a planned console-error-correlation analyzer (see tracking issue) needs the same merged view.
No new capture work; this is synthesis over existing data.
Acceptance criteria
verfix show <id> --timeline prints an interleaved, time-sorted view of steps + console + network
--output json emits a machine-readable array; --last <n> limits the window
Works with the newest run when no id is given (same as existing show behavior)
--filter composes with --timeline the same way it does with --console/--network
Activity
feat(cli): add show --timeline interleaving steps/console/network (#56)…