Skip to content

Record steps through TraceRecorder, as upstream does - #424

Merged
kblok merged 2 commits into
mainfrom
trace-recorder-383
Oct 17, 2026
Merged

kblok merged 2 commits into
mainfrom
trace-recorder-383

Conversation

@kblok

@kblok kblok commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Recording lived inside the dispatcher, the step accounting and Act. It now lives in TraceRecorder (Cache/TraceRecorder.cs), with DescribeTarget, and the recorder tests drive it directly with upstream names. Behavior does not change. .NET-only symbols: TraceRecorder.Actions, Clear, RecordScroll (the fold is live-only, because replay commits already-folded entries), and the Record(kind, node, ...) overload. Partial ports (no summary, truncation flag, action cap, selector, or spans in the port): the descriptors, finalize, secret-fill, fold, gap, and node-verb tests, and DescribeTarget. Not ported: the model-identity, twin-poisoning, within-container, input-poisoning, span-folding, action-cap, drag/upload, and bare-point tests.

Not ported upstream tests (follow-up): "omits an oversized recorded provider/model", "omits blank recording identity", "poisons a trace whose target is an unnamed twin...", "masks a secret resolved after capture in the container the node sat within", "poisons the trace instead of bending a replay input", "keeps the smallest coverage when folding scrolls...", "truncates past the action cap...", "rejects a stored check, upload, or drag that lost a field", "returns undefined for a node with nothing durable to say", and the four bare-point tap its.

Closes #383

🤖 Generated with Claude Code

https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV

kblok and others added 2 commits October 17, 2026 07:12
Recording lived inside ActionDispatcher, StepAccounting and Act. It now lives in Cache/TraceRecorder.cs, with DescribeTarget, and the recorder tests drive it directly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KWUdrjfarTEM4dmBbK6GaV
@kblok
kblok merged commit 3d477a8 into main Oct 17, 2026
1 check passed
@kblok
kblok deleted the trace-recorder-383 branch October 17, 2026 18:19
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.

Extract TraceRecorder and port trace-recorder.test.ts against it

1 participant