Repository navigation
Open
1 / 71 of 7 issues completedLabels
enhancementNew feature or request
Description
Motivation
Cortex already records every exchange a coding agent makes: raw request and
response bytes, every retry attempt, TTFB and duration, all egress. Two uses
need more than that today:
- Realistic replay benchmarks. Replay tools such as Inference-Perf need
real sessions with their content, their structure (which calls belong to
one user prompt, which are subagents) and their timing. - Sharing real sessions. Some users, starting with our team, want to
share recorded sessions, for example with an evaluation group. That needs
redaction, a way to keep a session out, and a format the receiver can load.
This builds on the import (#1856, #1876) and the content-free export (#1810,
#1854, #1812), and does not replace them.
Work
- feat: Redact recorded content before it leaves the archive #1921 Redaction of recorded content
- feat: Group a session's model calls into user prompts, in the recording and the timeline #1922 Prompts: which calls make up one user instruction, in the recording and the timeline
- feat: Let a user keep one session out of the recording #1923 Per-session opt-out of recording
- feat: Add Claude Code telemetry to a recorded session: tool times, permission waits, call labels, retries #1924 Claude Code telemetry in the recording: tool times, permission waits, call labels, retries
- feat: Export a session with its content, in replay formats #1925 Export with content, in replay formats
Related: #1930 Retire cortex-session-dump in favour of agentop export (opened by @mrsabath; it closes partly through #1925 and #1921).
Order: #1923 first (small and independent), then #1921, #1922, #1924, and #1925 last, because it uses the others (it needs #1921 for redaction).
Agreed so far (2026-11-17)
- The stored archive stays raw. Redaction runs by default on export, with
redact-at-save as an option (feat: Redact recorded content before it leaves the archive #1921). - Opt-out: an env var at launch that becomes a request header, plus an
optional mid-session/no-record(feat: Let a user keep one session out of the recording #1923). - Storage stays the block-dedup archive. Replay formats are generated on
export, compressed (feat: Export a session with its content, in replay formats #1925). - Content export gets its own command and its own loopback-only route, and
its own spec, not a flag on the content-free export (feat: Export a session with its content, in replay formats #1925, per @mrsabath).
Still open: whether telemetry may join a live session later. We start by
joining at export time (#1924).
Assisted-By: Claude (Anthropic AI) [email protected]
Sub-issues
Collapse Sub-issuesSub-issues
Loading 7 sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Type
Projects
- StatusShow more project fieldsNew/ToDo
Activity