Harness Notes

Transcript format

Updated 2026-11-22,

On this page

The complete on-disk format of each harness’s session transcripts: every file a session writes, every record type and field, and how to rebuild the conversation from them. Where sessions live and how to resume, export or delete them is on the Transcripts page. Examples use placeholder values.

At a glance

QuestionClaude Code2.1.310
SpecificationLocation documented; record format is internal and changes between versions
Transcript file~/.claude/projects/<project-key>/<session-id>.jsonl
StorageJSON Lines, one record per line, append-only and uncompressed. Lines can be several megabytes when they carry base64 images. The final line may be cut off while the session is still writing.
Record type fieldtype, then subtype for system records and attachment.type for attachment records. Message content blocks are typed by message.content[].type.
Size185 record types, 15 content blocks

Records by purpose

RecordsClaude Code2.1.310
Session
Session header
Title
Model, directory and settings
Forks and subagents
Files and workspace state
Conversation
User message
Assistant message
System and injected context
Reasoning
Images, files and attachments
Queued and steered input
Tools
Tool call
Tool result
Tool progress
Approvals and denials
Hook output
Turns
Turn ends
Errors
Context and accounting
Compaction
Summaries
Token usage
Cost
Other records

Claude Code 2.1.310

Location documented; record format is internal and changes between versions. JSON Lines, one record per line, append-only and uncompressed. Lines can be several megabytes when they carry base64 images. The final line may be cut off while the session is still writing.

Files

~/.claude/projects/<project-key>/Per-project directory. <project-key> = absolute cwd with every non-alphanumeric char replaced by '-' (long names truncated + hash). Overridable by CLAUDE_CONFIG_DIR and CLAUDE_CODE_PROJECT_DIR_NAME (2.1.234).
~/.claude/projects/<project-key>/<session-id>.jsonlMain session transcript: append-only JSONL, one record per line, conversation + metadata records.
~/.claude/projects/<project-key>/<session-id>/subagents/agent-<agent-id>.jsonlSubagent (Agent tool, forked skill, workflow agent) transcript. Same record format; isSidechain:true, agentId set, sessionId = parent session. It can also hold extra nested directories between subagents/ and the file.
~/.claude/projects/<project-key>/<session-id>/subagents/agent-<agent-id>.meta.jsonSubagent launch metadata: agentType, description, toolUseId (Agent tool_use id in the parent), spawnDepth, requestShape, requestNonInteractive, and optional isBuiltIn, launchedWithDefaults, finished, stoppedByUser, isFork, model, name, spawnedWithWorktree, worktreePath, worktreeBranch, worktreeCleanlyRemoved.
~/.claude/projects/<project-key>/<session-id>/subagents/agent-<agent-id>.forked-skill.jsonForked-skill scoping record {skillName, attributionName} for a subagent spawned by a context:fork skill.
~/.claude/projects/<project-key>/<session-id>/subagents/agent-<agent-id>.forked-skill.marker.jsonMarker {forkedSkill:true, skillName}.
~/.claude/projects/<project-key>/<session-id>/tool-results/<id>.txtFull output of large tool results (Bash/PowerShell output files, large MCP results) moved out of the transcript; the transcript keeps a <persisted-output> preview and toolUseResult.persistedOutputPath/persistedOutputSize. <id> is a 9-char task/output id or a toolu_ id.
~/.claude/projects/<project-key>/<session-id>/remote-agents/remote-agent-<id>.meta.jsonMetadata for remote (cloud) agents launched from the session.
~/.claude/projects/<project-key>/<session-id>.ccr-tip.json | .precompact.json | .dir-sync.jsonProject-level sibling files reserved per session by the storage layer (cloud-resume tip, pre-compaction copy, cloud session dir-sync record).
~/.claude/projects/<project-key>/sessions-index.jsonLegacy per-project session index {version, originalPath, entries[{sessionId, fullPath, fileMtime, firstPrompt, summary, messageCount, created, modified, gitBranch, projectPath, isSidechain}]}. No longer written by current versions.
~/.claude/projects/<project-key>/memory/Auto-memory markdown files for the project (not per session).
~/.claude/file-history/<session-id>/<16-hex>@v<n>Checkpoint backups of edited files, named by path hash + version; referenced by file-history-snapshot/delta backupFileName. Used by /rewind.
~/.claude/history.jsonlGlobal prompt history (up-arrow / Ctrl+R): one line per submitted prompt {display, pastedContents{<id>:{id,type,content|contentHash}}, project, sessionId, timestamp(ms)}. Large pastes store contentHash referencing ~/.claude/paste-cache/<hash>.txt.
~/.claude/paste-cache/<hash>.txtPasted text bodies referenced from history.jsonl pastedContents[].contentHash.
~/.claude/sessions/<pid>.jsonLive-process registry for running sessions {pid, sessionId, cwd, startedAt, version, entrypoint, kind, name, status, ...} (+ <pid>.<hex>.key). Not a transcript.
~/.claude/session-env/<session-id>/Per-session environment scripts captured from SessionStart hooks (e.g. sessionstart-hook-<n>.sh).
~/.claude/shell-snapshots/, ~/.claude/debug/, ~/.claude/todos|tasks/, ~/.claude/backups/Shell snapshots, debug logs and task state swept by cleanupPeriodDays; not part of the transcript format.

Fields on every record

Record type is chosen by type, then subtype for system records and attachment.type for attachment records. Message content blocks are typed by message.content[].type..

FieldTypeMeaning
typestringRecord discriminator. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
uuidstringUnique id of this transcript node (UUID v4). Target of parentUuid links. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
parentUuidstring|nulluuid of the preceding node in the conversation DAG; null for a chain root (first entry, compact boundary, subagent first entry). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
logicalParentUuidoptionalstringOn compact_boundary: the uuid of the last pre-compaction node, preserving logical continuity while parentUuid is null. Only on system/compact_boundary. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
isSidechainbooleantrue for entries belonging to a subagent (all lines in subagents/agent-*.jsonl); false in the main transcript. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
session_idoptionalstringDuplicate snake_case session id stamped on some records (Values include on assistant/user/attachment/stop_hook_summary). Same value as sessionId. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
timestampstringISO-8601 UTC write time. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
versionstringClaude Code version string that wrote the entry (semver). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
cwdstringWorking directory at the time the entry was written (private; absolute path). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
gitBranchoptionalstringGit branch of cwd when written ('' or 'HEAD' outside a branch). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
userTypestringAccount class; 'external' for public users ('ant' is internal). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
entrypointoptionalstringHow Claude Code was launched (cli, or sdk/desktop/remote entrypoints).. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
slugoptionalstringHuman-readable session slug (three-word style). Present on a subset of entries. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
isMetaoptionalbooleantrue for system-injected entries not typed by the user (caveats, reminders, hook output, notices). Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
promptIdoptionalstringId grouping all entries produced in response to one user prompt. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.
requestIdoptionalstringAnthropic API request id ('req_...') of the response this assistant line came from. Applies to conversation records (user, assistant, system, attachment, legacy progress); metadata records carry only type + their own fields + usually sessionId.

Records (185)

user

A user-role message: a typed prompt, a slash-command expansion, injected meta text, or (most often) one tool_result answering a tool_use.

Written on prompt submit; after every tool execution (one line per tool_result); for meta/caveat injections and compaction summaries.

FieldTypeMeaning
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
cwdstringWorking directory at the time the entry was written (private; absolute path).
entrypointstringHow Claude Code was launched (cli, or sdk/desktop/remote entrypoints).
gitBranchstringGit branch of cwd when written ('' or 'HEAD' outside a branch).
imagePasteIdsoptionalarrayIds of pasted images referenced by the prompt (history pastedContents ids).since 2.1.302
imagePasteIds[]optionalnumberIds of pasted images referenced by the prompt (history pastedContents ids).since 2.1.302
interruptedMessageIdoptionalstringmessage.id of an assistant response that was interrupted by this user entry.
isCompactSummaryoptionalbooleantrue on the user entry that carries the compaction summary text.
isMetaoptionalbooleantrue for system-injected entries not typed by the user (caveats, reminders, hook output, notices).
isSidechainbooleantrue for entries belonging to a subagent (all lines in subagents/agent-*.jsonl); false in the main transcript.
isVisibleInTranscriptOnlyoptionalbooleantrue when the entry is shown in the transcript view but not sent to the model as-is (compact summary).
mcpMetaoptionalobjectMCP tool-result metadata: {_meta?, structuredContent?} copied from the MCP CallToolResult.
mcpMeta._metaoptionalobject—
mcpMeta.structuredContentoptionalobject—
messageobjectAnthropic Messages API message object (role + content + for assistant: id/model/usage/stop fields).
message.contentstring|arrayString (plain prompt or command output) or array of content blocks; see contentBlocks.
message.rolestringMessage role. Values include: user.
originoptionalobjectProvenance of a non-typed or queued prompt: {kind, name?, from?, body?, producer?, runId?, senderTaskId?, handback?, handbackReportText?}.
origin.bodyoptionalstring—
origin.fromoptionalstring—
origin.handbackoptionalboolean—
origin.handbackReportTextoptionalstring—since 2.1.300
origin.kindoptionalstringValues include: human, peer, task-notification, coordinator.
origin.nameoptionalstring—since 2.1.288
origin.produceroptionalstringValues include: session-task.
origin.runIdoptionalstring—since 2.1.293
origin.senderTaskIdoptionalstring—
parentUuidstring|nulluuid of the preceding node in the conversation DAG; null for a chain root (first entry, compact boundary, subagent first entry).
permissionDecisionoptionalobjectPermission decision for the tool call answered by this tool_result: {decision accept|reject, source, reasonType, reasonCode?, ruleSource?, grantScope?, classifierCategory?}.since 2.1.293
permissionDecision.classifierCategoryoptionalstring—since 2.1.309
permissionDecision.decisionoptionalstringValues include: accept, reject.since 2.1.293
permissionDecision.grantScopeoptionalstringValues include: once.since 2.1.307
permissionDecision.reasonCodeoptionalstring—since 2.1.307
permissionDecision.reasonTypeoptionalstringValues include: classifier, mode, other, rule, subcommandResults, safetyCheck.since 2.1.293
permissionDecision.ruleSourceoptionalstringValues include: localSettings.since 2.1.307
permissionDecision.sourceoptionalstringValues include: config, user_temporary, user_reject.since 2.1.293
permissionModeoptionalstringPermission mode in force when the prompt was submitted (default/acceptEdits/plan/auto/bypassPermissions...). Values include: auto.
promptIdoptionalstringId grouping all entries produced in response to one user prompt.
promptSourceoptionalstringHow the prompt arrived (typed, queued, system...). Values include: typed, system, queued.
queueSkipAttachmentsoptionalbooleanQueued prompt delivered without re-running attachment collection.
queueSkipSlashCommandsoptionalbooleanQueued prompt delivered without slash-command expansion.since 2.1.300
queueTranscriptOnlyoptionalbooleanQueued prompt recorded in the transcript only.since 2.1.296
repeatsCompactSummaryoptionalbooleanEntry repeats an earlier compact summary.since 2.1.296
sandboxedoptionalbooleanWhether the tool call ran under the OS sandbox.since 2.1.307
serverClassifierContextoptionalobjectAuto-mode safety-classifier context sent with the request: {request, context:{git_state, live_cwd, platform}}.
serverClassifierContext.contextoptionalobject—
serverClassifierContext.context.git_stateoptionalobject—
serverClassifierContext.context.live_cwdoptionalstring—
serverClassifierContext.context.platformoptionalstring—
serverClassifierContext.requestoptionalstring—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
session_idoptionalstringDuplicate snake_case session id stamped on some records (Values include on assistant/user/attachment/stop_hook_summary). Same value as sessionId.
slugoptionalstringHuman-readable session slug (three-word style). Present on a subset of entries.
sourceToolAssistantUUIDoptionalstringuuid of the assistant line containing the tool_use this tool_result answers.
sourceToolUseIDoptionalstringtool_use id that caused this entry (e.g. skill/command expansion).
summarizedTurnPromptUuidsoptionalarrayPrompt uuids folded into a summarize-from-here (/rewind summarize) entry.since 2.1.305
summarizedTurnPromptUuids[]optionalstringPrompt uuids folded into a summarize-from-here (/rewind summarize) entry.since 2.1.305
timestampstringISO-8601 UTC write time.
toolDenialKindoptionalstringWhy a tool call was denied (user-rejected, automode-blocked, permission-rule, automode-unavailable...). Values include: user-rejected, automode-blocked, permission-rule, automode-unavailable.
toolEndsTurnoptionalbooleanThe tool result ends the turn (e.g. handback).since 2.1.288
turnCompanionoptionalbooleanEntry accompanies a turn without being a turn itself.
turnOriginoptionalstringOrigin of the turn (human, peer, task_notification...). Values include: human, peer, task_notification.
turnPositionoptionalobject{promptIndex, turnIndex} position of a human turn.
turnPosition.promptIndexoptionalnumber—
turnPosition.turnIndexoptionalnumber—
userFeedbackoptionalstringFree-text feedback attached to a rejection.since 2.1.296
userTypestringAccount class; 'external' for public users ('ant' is internal). Values include: external.
uuidstringUnique id of this transcript node (UUID v4). Target of parentUuid links.
versionstringClaude Code version string that wrote the entry (semver).
mcpCallNotReadOnlyoptionalenum(declared|no_hint)2.1.325 implementation supplement: Successful MCP tool result whose tool is not explicitly read-only: declared for readOnlyHint:false, no_hint for an absent hint. Omitted for non-MCP, read-only or error results. This is not an approval verdict. Verified in this build; introduction version not established.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"user","promptId":"33333333-3333-4333-8333-333333333333","message":{"role":"user","content":"Add a README section on setup."},"permissionMode":"default","promptSource":"typed","turnOrigin":"human"}

Tool-result user lines carry message.content=[{type:tool_result,...}], plus toolUseResult and sourceToolAssistantUUID.

message.content is a plain string for typed prompts and command output and an array otherwise.

Fields omitted at depth >2 under mcpMeta.structuredContent are MCP-server-specific and pass through unchanged.

Other user fields that can appear include replacesSpan, forkedFrom {sessionId,messageUuid}, sessionKind, isVirtual, virtualInResumeRun, resumedFromIncompleteThinking (assistant).

Four-field source supplement at installed 2.1.325; other fields retain the historical full-survey boundary. Definitions are constructor-derived, not a publisher-exported JSON Schema.

assistant

One content block of a model response. A streamed response with N content blocks is written as N lines that share message.id and requestId.

Written as each content block of an API response completes (thinking, text, tool_use).

FieldTypeMeaning
advisorModeloptionalstringAdvisor (server-side advisor tool) model id configured for this response.
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
apiBlockIndexoptionalnumberIndex of this line's content block within the streamed API response (0-based).
attributionAgentoptionalstringAgent type attribution for the response (for subagents).
attributionMcpServeroptionalstringMCP server attribution for the response.
attributionMcpTooloptionalstringMCP tool attribution.
attributionPluginoptionalstringPlugin attribution.since 2.1.310
attributionSkilloptionalstringSkill attribution.
cwdstringWorking directory at the time the entry was written (private; absolute path).
effortoptionalstringEffort level of the request (low/medium/high/xhigh/max). Values include: medium.
entrypointstringHow Claude Code was launched (cli, or sdk/desktop/remote entrypoints).
erroroptionalstringAPI error class on a synthetic error assistant message (server_error, authentication_failed, rate_limit...). Values include: server_error, authentication_failed.
gitBranchstringGit branch of cwd when written ('' or 'HEAD' outside a branch).
isApiErrorMessageoptionalbooleantrue on a synthetic assistant message that reports an API error.
isSidechainbooleantrue for entries belonging to a subagent (all lines in subagents/agent-*.jsonl); false in the main transcript.
messageobjectAnthropic Messages API message object (role + content + for assistant: id/model/usage/stop fields).
message.containernullAPI container field (null).
message.contentarrayString (plain prompt or command output) or array of content blocks; see contentBlocks.
message.context_managementnullAPI context-management response field (null when no edits applied).
message.diagnosticsnull|objectAPI diagnostics; cache_miss_reason {type, cache_missed_input_tokens} when the prompt cache missed.
message.diagnostics.cache_miss_reasonoptionalobject—
message.diagnostics.cache_miss_reason.cache_missed_input_tokensoptionalnumber—
message.diagnostics.cache_miss_reason.typeoptionalstringRecord discriminator. Values include: tools_changed, previous_message_not_found, unavailable, messages_changed.
message.idstringAPI message id ('msg_...'). Shared by every line split from one streamed response.
message.input_transformationsoptionalarrayClient-side transformations applied to the request input, e.g. {type:thinking_dropped, reason:prefix_binding_mismatch, path}.
message.input_transformations[]optionalobject—
message.input_transformations[].pathoptionalstring—
message.input_transformations[].reasonoptionalstringValues include: prefix_binding_mismatch.
message.input_transformations[].typeoptionalstringRecord discriminator. Values include: thinking_dropped.
message.modelstringModel id that produced the response. Values include: claude-opus-5-5, claude-sonnet-5-5.
message.rolestringMessage role. Values include: assistant.
message.stop_detailsnullAPI stop details object or null.
message.stop_reasonstring|nullAPI stop reason (tool_use, end_turn, stop_sequence, max_tokens, refusal...). null in some subagent transcripts before 2.1.307 (placeholder bug). Values include: tool_use, end_turn, stop_sequence.
message.stop_sequencenull|stringMatched stop sequence or null.
message.typestringAlways 'message'. Values include: message.
message.usageobjectToken usage for the whole API response (repeated identically on every split line).
message.usage.cache_creationobject—
message.usage.cache_creation.ephemeral_1h_input_tokensnumber—
message.usage.cache_creation.ephemeral_5m_input_tokensnumber—
message.usage.cache_creation_input_tokensnumber—
message.usage.cache_read_input_tokensnumber—
message.usage.fallback_creditoptionalnull—since 2.1.285
message.usage.inference_geostring|nullValues include: global, not_available.
message.usage.input_tokensnumber—
message.usage.iterationsoptionalarray|null—
message.usage.iterations[]optionalobject—
message.usage.output_tokensnumber—
message.usage.output_tokens_detailsoptionalobject|null—
message.usage.output_tokens_details.thinking_tokensoptionalnumber—
message.usage.server_tool_useoptionalobject—
message.usage.server_tool_use.web_fetch_requestsoptionalnumber—
message.usage.server_tool_use.web_search_requestsoptionalnumber—
message.usage.service_tierstring|nullValues include: standard.
message.usage.speedoptionalstring|nullValues include: standard.
parentUuidstring|nulluuid of the preceding node in the conversation DAG; null for a chain root (first entry, compact boundary, subagent first entry).
perTurnEffortoptionalstringEffort level chosen for this turn. Values include: medium.
requestIdoptionalstringAnthropic API request id ('req_...') of the response this assistant line came from.
requestRefoptionalstringid of the api-request record that produced this response (since 2.1.300).since 2.1.300
requestedModeloptionalstringModel requested before any fallback/alias resolution.since 2.1.295
serverClassifierRequestoptionalstringOpaque classifier request reference on assistant lines.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
session_idoptionalstringDuplicate snake_case session id stamped on some records (Values include on assistant/user/attachment/stop_hook_summary). Same value as sessionId.
slugoptionalstringHuman-readable session slug (three-word style). Present on a subset of entries.
thinkingDisplayoptionalstringThinking display mode ('updates' = thinking text summarised/omitted, signature kept). Values include: updates.since 2.1.296
thinkingDurationMsoptionalnumberWall time spent in thinking for this response.since 2.1.287
timestampstringISO-8601 UTC write time.
truncatedAfterOutputoptionalbooleanResponse truncated after output was produced.since 2.1.302
userTypestringAccount class; 'external' for public users ('ant' is internal). Values include: external.
uuidstringUnique id of this transcript node (UUID v4). Target of parentUuid links.
versionstringClaude Code version string that wrote the entry (semver).
wireIngestContextoptionalobjectMap tool_use id -> {cwd} context captured when the tool input was ingested.
wireIngestContext.<dynamic-key>optionalobject—
wireIngestContext.<dynamic-key>.cwdoptionalstringWorking directory at the time the entry was written (private; absolute path).
wireToolInputsoptionalobjectMap tool_use id -> the exact input object as sent on the wire, when it differs from message.content tool_use input (normalised/echoed inputs).
madeByoptionalenum(model|input|other)2.1.325 implementation supplement: Message provenance, not an author identity. The model setter writes model; input replay marks input; imported/plugin-supplied messages can be other. Missing provenance has compatibility behavior. Verified in this build; introduction version not established.
promptCacheRequestedoptionalenum(off|5m|1h)2.1.325 implementation supplement: Requested prompt-cache mode derived from caching/TTL selection, not evidence that tokens were cached. Verified in this build; introduction version not established.
toolInputStreamMsoptionalinteger >= 12.1.325 implementation supplement: Rounded elapsed monotonic milliseconds from the tool-input stream start; omitted when unavailable or for batched tool-use handling. Verified in this build; introduction version not established.
{"parentUuid":"22222222-2222-4222-8222-222222222222","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"44444444-4444-4444-8444-444444444444","type":"assistant","requestId":"req_011Example","message":{"id":"msg_01Example","type":"message","role":"assistant","model":"claude-opus-5-5","content":[{"type":"text","text":"Done."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":10,"output_tokens":5,"cache_creation_input_tokens":0,"cache_read_input_tokens":1200}}}

A streamed response is split across lines that share message.id. Every split line holds exactly one content block, the same requestId, identical usage and the same stop_reason.

wireToolInputs keys and tool inputs are tool-specific; only top-level shape recorded here.

Synthetic API-error assistant messages have isApiErrorMessage=true, error=<class>, and a non-msg_ message.id.

Four-field source supplement at installed 2.1.325; other fields retain the historical full-survey boundary. Definitions are constructor-derived, not a publisher-exported JSON Schema.

system / turn_duration

Marks the end of a turn with its wall time and message count.

Written when the main loop finishes a turn.

FieldTypeMeaning
durationMsnumber—
messageCountnumber—
pendingBackgroundAgentCountoptionalnumber—
subtypestringSystem-record sub-discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"turn_duration","durationMs":42000,"messageCount":12,"isMeta":false}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / stop_hook_summary

Summary of Stop/SubagentStop hooks run at the end of a turn.

Written after Stop hooks execute.

FieldTypeMeaning
hasOutputboolean—
hookAdditionalContextarray—
hookCountnumber—
hookErrorsarray—
hookInfosarray—
hookInfos[]optionalobject—
hookInfos[].commandoptionalstring—
hookInfos[].durationMsoptionalnumber—
levelstringValues include: suggestion.
preventedContinuationboolean—
stopReasonstring—
subtypestringSystem-record sub-discriminator.
toolUseIDstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"stop_hook_summary","hookCount":1,"hookInfos":[{"command":"echo ok","durationMs":12}],"hookErrors":[],"preventedContinuation":false,"stopReason":"","hasOutput":false,"level":"suggestion","toolUseID":"55555555-5555-4555-8555-555555555555"}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / away_summary

A recap ('while you were away') summarising recent work, shown when the user returns.

Written after idle periods / background completion.

FieldTypeMeaning
contentstring—
subtypestringSystem-record sub-discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"away_summary","content":"Example notice","isMeta":false,"level":"info"}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / compact_boundary

Compaction marker: everything before it is replaced by the following isCompactSummary user entry for model context.

Written on /compact or auto-compact.

FieldTypeMeaning
compactMetadataobject—
compactMetadata.cumulativeDroppedTokensnumber—
compactMetadata.durationMsnumber—
compactMetadata.postTokensnumber—
compactMetadata.preCompactArtifactReadVersionsoptionalarray—since 2.1.296
compactMetadata.preCompactDiscoveredToolsoptionalarray—
compactMetadata.preTokensnumber—
compactMetadata.preservedMessagesobject—
compactMetadata.preservedMessages.allUuidsarray—
compactMetadata.preservedMessages.anchorUuidstring—
compactMetadata.preservedMessages.uuidsarray—
compactMetadata.preservedSegmentobject—
compactMetadata.preservedSegment.anchorUuidstring—
compactMetadata.preservedSegment.headUuidstring—
compactMetadata.preservedSegment.tailUuidstring—
compactMetadata.triggerstringValues include: auto, manual.
contentstring—
levelstringValues include: info.
logicalParentUuidstringOn compact_boundary: the uuid of the last pre-compaction node, preserving logical continuity while parentUuid is null.
subtypestringSystem-record sub-discriminator.
{"parentUuid":null,"isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"compact_boundary","logicalParentUuid":"99999999-9999-4999-8999-999999999999","content":"Conversation compacted","level":"info","compactMetadata":{"trigger":"auto","preTokens":180000,"postTokens":22000,"durationMs":30000}}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / local_command

Output/record of a local slash command (e.g. /model, /cost).

Written when a local command runs.

FieldTypeMeaning
commandRunoptionalobject—
commandRun.argsoptionalstring—
commandRun.commandoptionalstring—
contentstring—
levelstringValues include: info.
subtypestringSystem-record sub-discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"local_command","content":"Example notice","isMeta":false,"level":"info"}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / informational

Informational notice line shown in the transcript.

Written on notices (e.g. instruction file not loaded).

FieldTypeMeaning
contentstring—
levelstringValues include: notice.
subtypestringSystem-record sub-discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"informational","content":"Example notice","isMeta":false,"level":"info"}

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

system / api_error

System transcript message subtype 'api_error'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"api_error","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / microcompact_boundary

System transcript message subtype 'microcompact_boundary'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"microcompact_boundary","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / permission_retry

System transcript message subtype 'permission_retry'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"permission_retry","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / memory_saved

System transcript message subtype 'memory_saved'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"memory_saved","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / agents_killed

System transcript message subtype 'agents_killed'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"agents_killed","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / thinking

System transcript message subtype 'thinking'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"thinking","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / file_snapshot

System transcript message subtype 'file_snapshot'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"file_snapshot","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / bridge_status

System transcript message subtype 'bridge_status'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"bridge_status","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / scheduled_task_fire

System transcript message subtype 'scheduled_task_fire'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"scheduled_task_fire","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / read_divider

System transcript message subtype 'read_divider'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"read_divider","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / model_fallback

System transcript message subtype 'model_fallback'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"model_fallback","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / model_refusal_fallback

System transcript message subtype 'model_refusal_fallback'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"model_refusal_fallback","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / model_refusal_no_fallback

System transcript message subtype 'model_refusal_no_fallback'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"model_refusal_no_fallback","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / rewind_stand_in

System transcript message subtype 'rewind_stand_in'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"rewind_stand_in","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

system / cloud_session_status

System transcript message subtype 'cloud_session_status'.

Stored only system messages with persist:false are dropped by the persistence filter aE()

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"system","subtype":"cloud_session_status","content":"...","level":"info","isMeta":false}

Field set not established beyond the common system envelope (content, level, isMeta, uuid, parentUuid...).

attachment / agent_listing_delta

Delta of available subagent types announced to the model.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.addedLinesarray—
attachment.addedTypesarray—
attachment.builtInPluginTypesoptionalarray—since 2.1.304
attachment.builtInTypesoptionalarray—since 2.1.285
attachment.isInitialboolean—
attachment.removedTypesarray—
attachment.showConcurrencyNoteboolean—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"agent_listing_delta"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / auto_mode

Auto-mode (classifier permission mode) reminder/configuration.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.autoModeConsentFlowboolean—
attachment.bashFirstboolean—
attachment.bashFirstSteerstring—
attachment.bypassboolean—
attachment.finishExposedWorkoptionalboolean—since 2.1.307
attachment.steerOnlyboolean—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"auto_mode"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / command_permissions

Tools allowed by a slash command (allowedTools).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.allowedToolsarray—
attachment.typestringRecord discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"command_permissions"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / compact_file_reference

Reference to a file that was read before compaction (re-read hint).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.displayPathstring—
attachment.filenamestring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.296
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"compact_file_reference"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / credential_org

Organization id of the credential in use.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.organizationUuidstring—
attachment.typestringRecord discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"credential_org"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / date

Today's date injected into context.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.datestring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"date"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / deferred_tools_delta

Delta of deferred (search-loaded) tools, MCP failures and surfaced definitions.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.addedLinesarray—
attachment.addedNamesarray—
attachment.failedMcpServersoptionalarray—
attachment.failedMcpServers[]optionalobject—
attachment.pendingMcpServersoptionalarray—
attachment.readdedNamesarray—
attachment.removedNamesarray—
attachment.surfacedDefinitionsoptionalarray—
attachment.surfacedDefinitions[]optionalobject—
attachment.surfacedNamesoptionalarray—
attachment.typestringRecord discriminator.
attachment.wireHiddenNamesarray—
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"deferred_tools_delta"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / deferred_tools_record

Record of deferred tool definitions loaded and verbatim tool-input copies.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.entriesarray—
attachment.entries[]optionalobject—
attachment.nameOnlyAnnouncementsoptionalarray—
attachment.toolInputCopiesoptionalarray—
attachment.toolInputCopies[]optionalobject—
attachment.typestringRecord discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"deferred_tools_record"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / edited_text_file

Notice that a file the model read was edited externally, with a snippet.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.filenamestring—
attachment.snippetstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"edited_text_file"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / environment

Environment snapshot (platform, shell, OS, working dir, git/worktree flags) and changes.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.changesoptionalarray—
attachment.changes[]optionalobject—
attachment.snapshotobject—
attachment.snapshot.additionalWorkingDirectoriesarray—
attachment.snapshot.isGitRepoboolean—
attachment.snapshot.isWorktreeboolean—
attachment.snapshot.osVersionstring—
attachment.snapshot.platformstring—
attachment.snapshot.scratchpadDirectoryoptionalstring—
attachment.snapshot.shellstring—
attachment.snapshot.workingDirectorystring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"environment"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / file

@-mentioned file content attached to a prompt.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.contentobject—
attachment.content.fileobject—
attachment.content.typestringRecord discriminator. Values include: text.
attachment.displayPathstring—
attachment.filenamestring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.296
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"file"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / hook_additional_context

additionalContext returned by a hook (e.g. SessionStart).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.contentarray—
attachment.hookEventstringValues include: SessionStart.
attachment.hookNamestringValues include: SessionStart.
attachment.toolUseIDstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_additional_context"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / hook_success

A hook ran successfully; command, exit code, stdout/stderr, duration.

Written collected before a model request (or by the triggering event) and persisted as its own line.

Stored only dropped when content, stdout and stderr are all empty

FieldTypeMeaning
attachmentobject—
attachment.commandstring—
attachment.contentstring—
attachment.durationMsnumber—
attachment.exitCodenumber—
attachment.hookEventstringValues include: SessionStart.
attachment.hookNamestringValues include: SessionStart:startup, SessionStart:clear, SessionStart:compact, SessionStart:resume.
attachment.stderrstring—
attachment.stdoutstring—
attachment.toolUseIDstring—
attachment.typestringRecord discriminator.
renderedoptionalarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_success"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / instructions

CLAUDE.md / memory instruction files loaded (path, type User|Project|AutoMem, content).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.changedoptionalboolean—
attachment.filesarray—
attachment.files[]optionalobject—
attachment.reasonoptionalstringValues include: compaction, session_start.
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"instructions"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / invoked_skills

Skills invoked so far (re-attached after compaction).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.skillsarray—
attachment.skills[]optionalobject—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.296
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"invoked_skills"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / mcp_instructions_delta

Delta of MCP server instructions blocks.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.addedBlocksarray—
attachment.addedNamesarray—
attachment.removedNamesarray—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"mcp_instructions_delta"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / model

Model identity (modelId, marketingName, knowledgeCutoff).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.identityobject—
attachment.identity.knowledgeCutoffstring—
attachment.identity.marketingNamestring—
attachment.identity.modelIdstring—
attachment.textstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"model"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / nested_memory

Nested CLAUDE.md discovered under a directory touched by a tool.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.contentobject—
attachment.content.contentstring—
attachment.content.contentDiffersFromDiskboolean—
attachment.content.pathstring—
attachment.content.typestringRecord discriminator. Values include: Project.
attachment.displayPathstring—
attachment.pathstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRolestring—
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"nested_memory"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / prompt_snapshot

Snapshot of the system prompt sections and tool list in force.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.cliPrefixoptionalstring—
attachment.contextRenderingstring—
attachment.echoWireToolInputsboolean—
attachment.inlineToolsoptionalboolean—
attachment.keptRemindersoptionalboolean—
attachment.reminderFoldboolean—
attachment.systemPromptarray—
attachment.systemTurnsoptionalboolean—
attachment.toolChangeHeaderoptionalboolean—
attachment.toolsoptionalarray—
attachment.tools[]optionalobject—
attachment.typestringRecord discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"prompt_snapshot"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / queued_command

A queued prompt or task notification delivered mid-turn.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.commandModeoptionalstringValues include: task-notification, prompt.
attachment.delivery_idoptionalstring—since 2.1.287
attachment.humanTurnoptionalboolean—
attachment.isMetaoptionalbooleantrue for system-injected entries not typed by the user (caveats, reminders, hook output, notices).
attachment.originoptionalobjectProvenance of a non-typed or queued prompt: {kind, name?, from?, body?, producer?, runId?, senderTaskId?, handback?, handbackReportText?}.
attachment.origin.bodyoptionalstring—
attachment.origin.fromoptionalstring—
attachment.origin.handbackoptionalboolean—
attachment.origin.handbackReportTextoptionalstring—since 2.1.300
attachment.origin.kindoptionalstringValues include: task-notification, human, peer, coordinator.
attachment.origin.nameoptionalstring—since 2.1.288
attachment.origin.produceroptionalstringValues include: session-task.
attachment.origin.senderTaskIdoptionalstring—
attachment.promptstring—
attachment.reminderIdoptionalstring—since 2.1.288
attachment.runIdoptionalstring—since 2.1.293
attachment.source_uuidstring—
attachment.timestampoptionalstringISO-8601 UTC write time.
attachment.typestringRecord discriminator.
attachment.usageoptionalobject—
attachment.usage.durationMsoptionalnumber—
attachment.usage.toolUsesoptionalnumber—
attachment.usage.totalTokensoptionalnumber—
renderedarray—
renderedInHumanTurnoptionalarray—
renderedInHumanTurn[]optionalobject—
renderedInHumanTurn[].contentoptionalstring—
renderedRoleoptionalstring—since 2.1.287
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"queued_command"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / read_truncation_notice

Notice that a Read result was truncated.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.bannerstring—
attachment.toolUseIDstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.295
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"read_truncation_notice"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / session_context

Session context (user email, git status) injected at start.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.contextobject—
attachment.context.gitStatusoptionalstring—
attachment.context.userEmailstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"session_context"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / silent_turn_reminder

Reminder injected after several silent tool-only turns.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.textstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"silent_turn_reminder"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / skill_listing

Listing of available skills (names, digests).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.contentstring—
attachment.digestsoptionalarray—since 2.1.304
attachment.isInitialboolean—
attachment.namesarray—
attachment.skillCountnumber—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"skill_listing"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / task_status

Status of a background task/monitor.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.deltaSummarynull—
attachment.descriptionstring—
attachment.outputFilePathstring—
attachment.shellobject—
attachment.shell.commandstring—
attachment.shell.kindstringValues include: monitor.
attachment.shell.toolUseIdstring—
attachment.statusstringValues include: running.
attachment.taskIdstring—
attachment.taskTypestring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRolestring—
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"task_status"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / thinking_drop

Diagnostic: thinking blocks dropped from the request due to prefix mismatch.

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.blockHashesarray—
attachment.clientChangeobject—
attachment.clientChange.baselinestring—
attachment.clientChange.callNumbernumber—
attachment.clientChange.firstChangedMessageIndexnumber—
attachment.clientChange.kindsstring—
attachment.firstReportForThreadInProcessboolean—
attachment.modelstring—
attachment.newlyDroppedobject—
attachment.newlyDropped.blockCountnumber—
attachment.newlyDropped.firstobject—
attachment.newlyDropped.lastobject—
attachment.newlyDropped.reasonstringValues include: prefix_mismatch.
attachment.newlyDropped.reasonCountsobject—
attachment.newlyDropped.turnCountnumber—
attachment.querySourcestring—
attachment.requestIdstringAnthropic API request id ('req_...') of the response this assistant line came from.
attachment.thinkingBlocksSentnumber—
attachment.thinkingTurnsSentnumber—
attachment.typestringRecord discriminator.
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"thinking_drop"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / total_tokens_reminder

Context-budget reminder (tokens left).

Written collected before a model request (or by the triggering event) and persisted as its own line.

FieldTypeMeaning
attachmentobject—
attachment.textstring—
attachment.typestringRecord discriminator.
renderedarray—
renderedRoleoptionalstring—since 2.1.285
rendered[]optionalobject—
rendered[].contentoptionalstring—
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"total_tokens_reminder"}}

rendered[] holds the text actually sent to the model; renderedRole is its role.

Also carries the conversation envelope (see top-level envelope): uuid, parentUuid, isSidechain, sessionId, timestamp, version, cwd, gitBranch, userType, entrypoint, slug?, agentId? (subagent files), session_id? (some lines).

attachment / account_memory_recall

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"account_memory_recall"}}

attachment / advisor_stripped

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"advisor_stripped"}}

attachment / advisor_tool

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"advisor_tool"}}

attachment / agent_mention

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"agent_mention"}}

attachment / already_read_file

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"already_read_file"}}

attachment / artifact_opening_prefetch

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"artifact_opening_prefetch"}}

attachment / async_hook_response

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"async_hook_response"}}

attachment / async_hook_response_batch

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"async_hook_response_batch"}}

attachment / at_mention_reference

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"at_mention_reference"}}

attachment / attention_budget

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"attention_budget"}}

attachment / auto_mode_exit

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"auto_mode_exit"}}

attachment / bash_output_audience_note

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"bash_output_audience_note"}}

attachment / batching_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"batching_reminder"}}

attachment / batching_reminder_sent

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"batching_reminder_sent"}}

attachment / budget_usd

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"budget_usd"}}

attachment / context_efficiency

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"context_efficiency"}}

attachment / context_sections

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"context_sections"}}

attachment / coordinator_context

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"coordinator_context"}}

attachment / cowork_memory_context

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"cowork_memory_context"}}

attachment / critical_system_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"critical_system_reminder"}}

attachment / date_change

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"date_change"}}

attachment / diagnostics

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"diagnostics"}}

attachment / directory

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"directory"}}

attachment / dir_sync_notice

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"dir_sync_notice"}}

attachment / dynamic_skill

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"dynamic_skill"}}

attachment / edited_image_file

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"edited_image_file"}}

attachment / elapsed_time_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"elapsed_time_reminder"}}

attachment / fork_briefing

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"fork_briefing"}}

attachment / goal_status

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"goal_status"}}

attachment / goals

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"goals"}}

attachment / hook_blocking_error

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_blocking_error"}}

attachment / hook_cancelled

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_cancelled"}}

attachment / hook_deferred_tool

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_deferred_tool"}}

attachment / hook_error_during_execution

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_error_during_execution"}}

attachment / hook_non_blocking_error

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_non_blocking_error"}}

attachment / hook_permission_decision

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_permission_decision"}}

attachment / hook_plugin_listing

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_plugin_listing"}}

attachment / hook_stopped_continuation

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_stopped_continuation"}}

attachment / hook_system_message

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"hook_system_message"}}

attachment / inlined_image_paths

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"inlined_image_paths"}}

attachment / language

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"language"}}

attachment / max_turns_reached

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"max_turns_reached"}}

attachment / mcp_dropped_tools_delta

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"mcp_dropped_tools_delta"}}

attachment / mcp_resource

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"mcp_resource"}}

attachment / memory_update

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"memory_update"}}

attachment / opened_file_in_ide

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"opened_file_in_ide"}}

attachment / output_limit_note

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"output_limit_note"}}

attachment / output_style

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"output_style"}}

attachment / output_style_instructions

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"output_style_instructions"}}

attachment / output_token_usage

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"output_token_usage"}}

attachment / pdf_reference

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"pdf_reference"}}

attachment / peer_mention

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"peer_mention"}}

attachment / plan_file_reference

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"plan_file_reference"}}

attachment / plan_mode

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"plan_mode"}}

attachment / plan_mode_exit

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"plan_mode_exit"}}

attachment / plan_mode_reentry

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"plan_mode_reentry"}}

attachment / poll_events

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"poll_events"}}

attachment / prefix_delta

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"prefix_delta"}}

attachment / proactivity

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"proactivity"}}

attachment / project_doc_reads

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"project_doc_reads"}}

attachment / projects_thread_ask

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"projects_thread_ask"}}

attachment / prompt_render_point

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"prompt_render_point"}}

attachment / relevant_memories

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"relevant_memories"}}

attachment / remote_session_change

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"remote_session_change"}}

attachment / sandbox_instructions

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"sandbox_instructions"}}

attachment / secondary_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"secondary_reminder"}}

attachment / secondary_reminder_sent

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"secondary_reminder_sent"}}

attachment / selected_lines_in_diff

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"selected_lines_in_diff"}}

attachment / selected_lines_in_ide

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"selected_lines_in_ide"}}

attachment / session_cron_carry

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"session_cron_carry"}}

attachment / session_settings

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"session_settings"}}

attachment / skill_mention

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"skill_mention"}}

attachment / structured_output

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"structured_output"}}

attachment / task_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"task_reminder"}}

attachment / team_context

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"team_context"}}

attachment / teammate_mailbox

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"teammate_mailbox"}}

attachment / teammate_shutdown_batch

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"teammate_shutdown_batch"}}

attachment / thinking_stripped

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"thinking_stripped"}}

attachment / thread_state

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"thread_state"}}

attachment / todo_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"todo_reminder"}}

attachment / token_usage

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"token_usage"}}

attachment / tool_host_result_lines

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"tool_host_result_lines"}}

attachment / tool_hosts_correction

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"tool_hosts_correction"}}

attachment / tool_hosts_notice

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"tool_hosts_notice"}}

attachment / tool_search_usage_reminder

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"tool_search_usage_reminder"}}

attachment / ultra_effort_enter

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"ultra_effort_enter"}}

attachment / ultra_effort_exit

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"ultra_effort_exit"}}

attachment / ultrathink_effort

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"ultrathink_effort"}}

attachment / unknown_command_fallback

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"unknown_command_fallback"}}

attachment / withheld_memory

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"withheld_memory"}}

attachment / workflow_keyword_request

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"workflow_keyword_request"}}

attachment / workflow_size_guideline_change

Its fields are not established for this version.

Stored only subject to persistence filter aE(); some types are rendered-only or ant-only

{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"attachment","attachment":{"type":"workflow_size_guideline_change"}}

progressuntil not written by 2.1.310 (exact removal version not established)

Legacy streaming progress line for a running tool/hook/agent (data.type bash_progress, mcp_progress, agent_progress, hook_progress, tool_heartbeat, ...).

Written historically written while tools ran. In 2.1.310 the persistence filter aE() returns false for every progress entry, so new files do not contain them.

Stored never-on-disk (2.1.310: filtered at write); legacy files may contain them

FieldTypeMeaning
dataobjectProgress payload discriminated by data.type.
toolUseIDoptionalstringtool_use id the progress belongs to.
parentToolUseIDoptionalstringParent tool_use id (for nested agent progress).
{"parentUuid":"11111111-1111-4111-8111-111111111111","isSidechain":false,"userType":"external","cwd":"/workspace/project","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","version":"2.1.310","gitBranch":"main","entrypoint":"cli","timestamp":"2026-10-20T10:00:00.000Z","uuid":"22222222-2222-4222-8222-222222222222","type":"progress","toolUseID":"toolu_01Example","parentToolUseID":"toolu_01Example","data":{"type":"bash_progress","output":"...","elapsedTimeSeconds":3}}

Loader still reads legacy progress lines: it records their parentUuid and re-parents any child whose parentUuid points at a progress uuid onto the progress line's own parent (progress lines are skipped, not kept in the chain).

Known data.type values: bash_progress, powershell_progress, mcp_progress, tool_heartbeat, agent_api_retry, artifact_publish_retry, agent_progress, hook_progress, skill_progress, search_results_received, workflow_agent, workflow_log.

ai-title

AI-generated session title.

Written when a title is generated; re-appended to the file tail repeatedly (see gotchas).

FieldTypeMeaning
aiTitlestring—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"ai-title","aiTitle":"Setup docs update","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

No timestamp/version/uuid. Repeated many times per file. Last one wins.

last-prompt

Leaf pointer: which node is the current conversation tip (leafUuid) and the last prompt text.

Written after each turn and on rewind; re-appended to the tail.

FieldTypeMeaning
explicitoptionalboolean—
lastPromptoptionalstring—
leafUuidstring—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"last-prompt","lastPrompt":"Add a README section","leafUuid":"44444444-4444-4444-8444-444444444444","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

explicit:true marks a user-chosen leaf (e.g. /rewind); rewound:true marks a rewind; leafUuid:null + explicit:true withdraws the leaf (fresh start after /clear-style reset).

mode

Session mode (normal / other UI modes). Last wins.

Written re-appended with session metadata.

FieldTypeMeaning
modestringValues include: normal.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"mode","mode":"normal","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

permission-mode

Current permission mode. Last wins.

Written when the mode changes; re-appended with metadata.

FieldTypeMeaning
permissionModestringPermission mode in force when the prompt was submitted (default/acceptEdits/plan/auto/bypassPermissions...). Values include: auto.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"permission-mode","permissionMode":"default","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

atis-latch

Opaque printable-ASCII latch value for the session (internal feature latch).

Written re-appended with metadata.

FieldTypeMeaning
atisstring—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"atis-latch","atis":"x1","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

Loader accepts only /^[\x21-\x7e]*$/ values.

cost-state

Cumulative session cost and per-model token totals; restores /cost on resume.

Written periodically and on exit.

FieldTypeMeaning
sessionIdstringSession id.
totalCostUSDnumberEstimated cumulative USD cost.
totalAPIDurationnumberms spent in API calls incl. retries.
totalAPIDurationWithoutRetriesnumberms in API calls excluding retries.
totalToolDurationnumberms spent executing tools.
totalLinesAddednumberLines added by edits.
totalLinesRemovednumberLines removed.
totalDurationnumberSession wall ms.
startTimenumberEpoch ms of session start.
modelUsage.<model>object{inputTokens, outputTokens, thinkingTokens?, cacheReadInputTokens, cacheCreationInputTokens, webSearchRequests, costUSD} per model id.
hasUnknownModelCostoptionalbooleanA model without a price table was used.
modelCallCostUSDoptionalnumberNonnegative finite amount <= 1e9 when retained; invalid input normalizes to undefined under the actual runtime validator (2.1.325 supplement).
{"type":"cost-state","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","totalCostUSD":1.23,"totalAPIDuration":60000,"totalAPIDurationWithoutRetries":59000,"totalToolDuration":20000,"totalLinesAdded":10,"totalLinesRemoved":2,"totalDuration":300000,"startTime":1760000000000,"modelUsage":{"claude-opus-5-5":{"inputTokens":100,"outputTokens":50,"thinkingTokens":10,"cacheReadInputTokens":9000,"cacheCreationInputTokens":500,"webSearchRequests":0,"costUSD":1.23}},"hasUnknownModelCost":false}

modelUsage is keyed by model id (dynamic keys). Zod-validated on load (Wnn): numbers nonnegative/finite; totalCostUSD <= 1e9.

2.1.325 actual runtime validator recovered and evaluated in isolation: totalCostUSD <= 1e9, other numeric totals <= 1e15, all nonnegative finite. Four aggregate model token buckets each cap at 1e15. Unknown object keys are stripped; invalid optional modelCallCostUSD is dropped. The structural JSON Schema carries normalization/refinement extensions.

queue-operation

Prompt-queue journal: a prompt was enqueued, dequeued or removed while Claude was busy.

Written on queue changes.

FieldTypeMeaning
commandUuidoptionalstring—
contentoptionalstring—
deliveryIdoptionalstring—
operationstringValues include: enqueue, dequeue, remove.
reasonoptionalstringValues include: absorbed_mid_turn, delivered_to_agent.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
timestampstringISO-8601 UTC write time.
{"type":"queue-operation","operation":"enqueue","timestamp":"2026-10-20T10:00:00.000Z","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","content":"also update the tests"}

operation ∈ enqueue|dequeue|remove; Claude Code also passes popAll/clear-style ops through the same writer. content is the queued prompt text.

file-history-snapshot

Checkpoint of tracked files for /rewind, keyed to a user message.

Written at each user prompt (initial) and when tracked files change (isSnapshotUpdate:true).

FieldTypeMeaning
isSnapshotUpdateboolean—
messageIdstring—
snapshotobject—
snapshot.messageIdstring—
snapshot.timestampstringISO-8601 UTC write time.
snapshot.trackedFileBackupsobject—
snapshot.trackedFileBackups.<dynamic-key>object—
{"type":"file-history-snapshot","messageId":"22222222-2222-4222-8222-222222222222","snapshot":{"messageId":"22222222-2222-4222-8222-222222222222","trackedFileBackups":{"src/app.ts":{"backupFileName":"0123456789abcdef@v2","version":2,"backupTime":"2026-10-20T10:00:00.000Z","realParentDir":"/workspace/project/src"}},"timestamp":"2026-10-20T10:00:00.000Z"},"isSnapshotUpdate":false}

trackedFileBackups keys are file paths (dynamic). backupFileName null means the file did not exist at that version.

backupFileName names a file in ~/.claude/file-history/<sessionId>/ (names match /^[0-9a-f]{16}@v\d+$/). Names can also be a 48-hex suffix.

file-history-delta

Incremental file-history backup for one tracked path, attached to an existing snapshot (smaller than re-writing the snapshot).

Written when a tracked file is backed up after the snapshot was written.

FieldTypeMeaning
backupobject—
backup.backupFileNamenull|string—
backup.backupTimestring—
backup.realParentDirstring—
backup.versionnumberClaude Code version string that wrote the entry (semver).
messageIdstring—
snapshotMessageIdstring—
timestampstringISO-8601 UTC write time.
trackingPathstring—
{"type":"file-history-delta","messageId":"22222222-2222-4222-8222-222222222222","snapshotMessageId":"22222222-2222-4222-8222-222222222222","trackingPath":"src/app.ts","backup":{"backupFileName":"0123456789abcdef@v3","version":3,"backupTime":"2026-10-20T10:00:00.000Z","realParentDir":"/workspace/project/src"},"timestamp":"2026-10-20T10:00:00.000Z"}

Loader groups deltas by messageId and applies them on top of the snapshot with the same messageId. Probably introduced with 2.1.208 file-history pruning (not established).

api-requestsince 2.1.300

Request-replay record: parameters of one API request, with messages expressed as content-addressed blob hashes (base + keep + tail).

Written before each main-thread or subagent API call (since 2.1.300).

FieldTypeMeaning
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
baseoptionalstring—
cacheControlarray—
cacheControl[]optionalobject—
cacheControl[].pathoptionalarray—
cacheControl[].valueoptionalobject—
idstring—
keepnumber—
paramsobject—
params.betasarray—
params.context_managementobject—
params.context_management.editsarray—
params.max_tokensnumber—
params.modelstringValues include: claude-opus-5-5, claude-sonnet-5-5.
params.output_configobject—
params.output_config.effortstringEffort level of the request (low/medium/high/xhigh/max). Values include: medium.
params.safeguardsoptionalarray—
params.safeguards[]optionalobject—
params.thinkingobject—
params.thinking.displaystringValues include: updates.
params.thinking.typestringRecord discriminator. Values include: adaptive.
querySourcestringValues include: repl_main_thread, agent:builtin:general-purpose, agent:builtin:Explore, agent:custom, agent:custom:<plugin-agent>.
requestDigeststring—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
shapeHashstring—
tailarray—
tail[]optionalstring—
timestampstringISO-8601 UTC write time.
versionstringClaude Code version string that wrote the entry (semver).
{"type":"api-request","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","id":"r_example1","timestamp":"2026-10-20T10:00:00.000Z","version":1,"querySource":"repl_main_thread","shapeHash":"ab12","params":{"model":"claude-opus-5-5","max_tokens":64000,"thinking":{"type":"adaptive"}},"base":"r_example0","keep":12,"tail":["cd34","ef56"],"cacheControl":[],"requestDigest":"9a8b"}

messages = (messages of api-request base)[0:keep] + tail; each hash resolves to an api-request-blob.message in the same file. base usually points at an earlier api-request.

shapeHash resolves to an api-request-shape record (system + tools). version here is the replay-format version (number), NOT the Claude Code version.

Optional: agentId (subagent requests are routed to the subagent file), withheld (param names withheld because they came from CLAUDE_CODE_EXTRA_BODY), cut + cutRequestDigest (when memory-cut messages were substituted).

params.safeguards[].classifier_context (full auto-mode classifier context) appears only 2.1.300–2.1.303; 2.1.304 changelog: classifier context no longer stored with every request.

api-request-blobsince 2.1.300

Content-addressed copy of one request message (system/user/assistant) referenced by api-request.tail hashes.

Written written once per new hash, before the api-request that references it.

FieldTypeMeaning
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
hashstring—
messageobjectAnthropic Messages API message object (role + content + for assistant: id/model/usage/stop fields).
message.contentarray|stringString (plain prompt or command output) or array of content blocks; see contentBlocks.
message.output_configoptionalobject—
message.output_config.effortoptionalstringEffort level of the request (low/medium/high/xhigh/max).
message.rolestringMessage role. Values include: system, assistant, user.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
{"type":"api-request-blob","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","hash":"cd34","message":{"role":"user","content":[{"type":"text","text":"Hello"}]}}

message.role includes "system" (system blocks and tool_addition blocks), which is not an Anthropic API role: these are replay-internal.

api-request-shapesince 2.1.300

Content-addressed request shape: the system prompt blocks and tool definitions of a request.

Written once per distinct shapeHash per file.

FieldTypeMeaning
agentIdoptionalstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
shapeobject—
shape.systemarray—
shape.system[]optionalobject—
shape.toolsarray—
shape.tools[]optionalobject—
shapeHashstring—
timestampstringISO-8601 UTC write time.
versionstringClaude Code version string that wrote the entry (semver).
{"type":"api-request-shape","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","shapeHash":"ab12","timestamp":"2026-10-20T10:00:00.000Z","version":1,"shape":{"system":[{"type":"text","text":"You are ..."}],"tools":[{"name":"Read","description":"...","input_schema":{"type":"object"}}]}}

Shapes larger than the cap are not recorded (oversize shapes are remembered and their requests skipped).

fork-context-ref

In a forked subagent transcript: points at the parent conversation prefix the fork inherited instead of copying it.

Written at fork-subagent start.

FieldTypeMeaning
agentIdstringSubagent id (17 hex chars) on entries written by/for a subagent; matches the agent-<agentId>.jsonl filename.
contextLengthnumber—
parentLastUuidstring—
parentSessionIdstring—
{"type":"fork-context-ref","agentId":"a0123456789abcdef","parentSessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","parentLastUuid":"44444444-4444-4444-8444-444444444444","contextLength":120}

Values include only in subagent files. parentSessionId is the containing session.

artifact-comment-monitor

State of armed artifact comment watchers, keyed by artifact id.

Written when watchers change.

FieldTypeMeaning
artifactsobject—
artifacts.<dynamic-key>object—
artifacts.<dynamic-key>.statestring—
artifacts.<dynamic-key>.titlestring—
artifacts.<dynamic-key>.writtenAtMsnumber—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
vnumber—
{"type":"artifact-comment-monitor","v":1,"sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","artifacts":{"art_1":{"state":"armed","title":"Example","writtenAtMs":1760000000000}}}

artifact-autoreact-ledger

Ledger of artifact comment threads already reacted to, per artifact.

Written when the auto-react ledger changes.

FieldTypeMeaning
accountUuidstring—
artifactsobject—
artifacts.<dynamic-key>object—
artifacts.<dynamic-key>.everBaselinedboolean—
artifacts.<dynamic-key>.everHadThreadsboolean—
artifacts.<dynamic-key>.savedAtnumber—
artifacts.<dynamic-key>.stampHighWaterstring—
artifacts.<dynamic-key>.threadsarray—
artifacts.<dynamic-key>.turnTimestampsarray—
sessionIdstringSession UUID. Equals the transcript filename stem in main files; in subagent files it is the PARENT session id.
vnumber—
{"type":"artifact-autoreact-ledger","v":1,"sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","accountUuid":"00000000-0000-4000-8000-000000000000","artifacts":{}}

summary

Legacy conversation summary keyed to a leaf (pre-compact_boundary era). Loader still maps leafUuid -> summary.

Stored only only when the feature is used

FieldTypeMeaning
summarystringSummary text.
leafUuidstringLeaf node the summary describes.
{"type":"summary","summary":"Setup docs work","leafUuid":"44444444-4444-4444-8444-444444444444"}

custom-title

User-set session title (/rename, --name, hook sessionTitle). Takes precedence over ai-title.

Stored only only when the feature is used

FieldTypeMeaning
customTitlestringTitle; empty string clears.
sessionIdstring—
{"type":"custom-title","customTitle":"Docs work","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

tag

Session tag.

Stored only only when the feature is used

FieldTypeMeaning
tagstring—
sessionIdstring—
{"type":"tag","tag":"docs","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

agent-name

Name of the session when run as a named agent/teammate.

Stored only only when the feature is used

FieldTypeMeaning
agentNamestring—
sessionIdstring—
{"type":"agent-name","agentName":"reviewer","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

agent-color

Display color for a named agent.

Stored only only when the feature is used

FieldTypeMeaning
agentColorstring—
sessionIdstring—
{"type":"agent-color","agentColor":"blue","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

agent-setting

Agent definition/setting the session runs under (--agent).

Stored only only when the feature is used

FieldTypeMeaning
agentSettingstring—
sessionIdstring—
{"type":"agent-setting","agentSetting":"reviewer","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

relocated

The session transcript was relocated to another cwd/project directory (/cd).

Stored only only when the feature is used

FieldTypeMeaning
relocatedCwdstringNew working directory.
sessionIdstring—
{"type":"relocated","relocatedCwd":"/workspace/other","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

ended-by-model

The model ended the session (end-session tool).

Stored only only when the feature is used

FieldTypeMeaning
sessionIdstring—
timestampstring—
{"type":"ended-by-model","timestamp":"2026-10-20T10:00:00.000Z","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

continued-in

Forward pointer: this session continues in another session id.

Stored only only when the feature is used

FieldTypeMeaning
sessionIdstring—
continuedInSessionIdstringSuccessor session id.
timestampstring—
{"type":"continued-in","timestamp":"2026-10-20T10:00:00.000Z","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","continuedInSessionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb"}

worktree-state

Git worktree the session runs in (EnterWorktree/--worktree).

Stored only only when the feature is used

FieldTypeMeaning
worktreeSessionobject|nullWorktree session descriptor (path/branch...); shape not established.
sessionIdstring—
{"type":"worktree-state","worktreeSession":{"worktreePath":"/workspace/project/.claude/worktrees/x","worktreeBranch":"x"},"sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

isolation-latch

Which side of an isolation boundary the session is latched to.

Stored only only when the feature is used

FieldTypeMeaning
sidestring—
sessionIdstring—
{"type":"isolation-latch","side":"local","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

dev-mods

Folder of development mods loaded for the session (validated to belong to the session).

Stored only only when the feature is used

FieldTypeMeaning
folderstring—
sessionIdstring—
{"type":"dev-mods","folder":"/workspace/.claude/mods/dev","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

memory-mode

Memory on/off stamp positioned after a message uuid.

Stored only only when the feature is used

FieldTypeMeaning
modeenum(on,off)—
afterUuidstring|nullNode after which the mode applies.
timestampstring—
reasonoptionalenum(paused,account_off,account_read_only,session_shape,server_off)—
accountoptionalstring—
accountChoiceoptionalenum(on,read_only,off)—
sessionIdstring—
{"type":"memory-mode","mode":"off","afterUuid":null,"timestamp":"2026-10-20T10:00:00.000Z","reason":"paused","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"}

bridge-session

Remote Control / bridge binding of the local session to a remote session id.

Stored only only when the feature is used

FieldTypeMeaning
bridgeSessionIdstringRemote session id ('' clears).
lastSequenceNumnumber—
declaredDialogKindsoptionalarray—
sessionGroupingIdoptionalstring—
noHistoryBackfilloptionalboolean—
ownerAccountUuidoptionalstring—
ownerOrganizationUuidoptionalstring—
sessionIdstring—
{"type":"bridge-session","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","bridgeSessionId":"session_example","lastSequenceNum":0}

history-suppression

Marks the session as suppressed from prompt history / listing.

Stored only only when the feature is used

FieldTypeMeaning
causestringe.g. 'migration', 'fork_inherit'.
vetoedAgainstAccountUuidoptionalstring—
tsstringISO time.
sessionIdstring—
{"type":"history-suppression","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","cause":"fork_inherit","ts":"2026-10-20T10:00:00.000Z"}

attribution-snapshot

Code-attribution snapshot keyed to a message (which lines Claude authored). Only the latest is kept on load.

Stored only only when the feature is used

FieldTypeMeaning
messageIdstring—
(other)optionalobjectAttribution payload; shape not established.
{"type":"attribution-snapshot","messageId":"22222222-2222-4222-8222-222222222222"}

content-replacement

Records tool-result contents replaced in context (e.g. large results persisted to tool-results/ or cleared), so resume rebuilds the same request.

Stored only only when the feature is used

FieldTypeMeaning
sessionIdstring—
agentIdoptionalstringRoutes replacement to a subagent.
replacementsarrayReplacement descriptors; shape not established.
{"type":"content-replacement","sessionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","replacements":[{}]}

observer-ref

Reference record for an observer agent (spread of an observer descriptor plus timestamp).

Stored only only when the feature is used

FieldTypeMeaning
timestampstring—
(observer fields)optionalobjectSpread from caller; shape not established.
{"type":"observer-ref","timestamp":"2026-10-20T10:00:00.000Z"}

session-owner

Loader retains a nonempty string accountUuid and optional string organizationUuid. The writer spreads the owner descriptor; other fields are open.

FieldTypeMeaning
sessionIdstringOwning session.
accountUuidstringNonempty account identity used by the loader.
organizationUuidoptionalstringOrganization identity when supplied.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

tools-used

The writer records normalized tool names. The loader filters out non-string and empty tool names. A uuid is optional on an internal mirror path.

FieldTypeMeaning
sessionIdstringOwning session.
toolsstring[]Normalized nonempty tool names; loader filters malformed members.
uuidoptionalstringOptional internal-mirror identity.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

data-flow-records

Feature/policy gated. Agent-scoped rows route to the agent transcript. A snapshot replaces prior accumulated records; otherwise the loader merges by identity. Malformed entries mark evidence incomplete rather than proving no activity.

FieldTypeMeaning
sessionIdstringOwning session.
v1Current writer version.
agentIdoptionalstringAgent scope when present.
recordsDataFlowRecord[]Tool/event identities with optional source, server and touched-resource metadata. Invalid members are dropped and mark evidence incomplete.
snapshotoptionaltrueReplaces retained records for this scope; absent means merge.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

data-flow-incomplete

Current writer emits v:1. The loader sets the incomplete flag immediately for this discriminator; it does not validate v before doing so.

FieldTypeMeaning
sessionIdstringOwning session.
v1Current writer version; reader recognizes incompleteness before validating version.
agentIdoptionalstringAgent scope when present.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

derived-from

Feature/policy gated. Invalid lineage entries are omitted and loss marks the retained data-flow evidence incomplete. Lineage is deduplicated by type/id/via.

FieldTypeMeaning
sessionIdstringOwning session.
v1Current writer version.
sessions{type:claude_code_session|unknown,id:string|null,via:string}[]Deduplicated lineage. unknown requires null id; concrete session requires bounded nonempty identity. via uses the inspected finite origin enum.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

resume-head-vouch

Checksum used by the resume-head reader. The writer only appends if the target still exists and satisfies its target constraint; it is not a conversation message.

FieldTypeMeaning
sessionIdstringOwning session.
sumstringResume-head checksum; not a message identity.

2.1.325 installed-source supplement. See evidence/claude-transcript-source-2.1.325.json for byte anchors and writer/reader boundaries; introduction version not established.

Content blocks (15)

text

Plain text block (assistant reply text, or user text).

Written assistant/user message.content[]

FieldTypeMeaning
textstring—
{"type":"text","text":"Done."}

Also appears as a user content block and inside tool_result.content.

thinking

Extended-thinking block with signature.

Written assistant message.content[] (own line)

FieldTypeMeaning
signaturestring—
thinkingstring—
{"type":"thinking","thinking":"","signature":"EqQBCkgIBx..."}

thinking text is usually empty (thinkingDisplay 'updates' / omitted display); signature always present.

redacted_thinking

Redacted thinking block (encrypted data).

Written assistant message.content[]

Stored conditional

{"type":"redacted_thinking","data":"EmwKAhgB..."}

tool_use

Client tool invocation.

Written assistant message.content[] (own line)

FieldTypeMeaning
calleroptionalobject—
caller.typeoptionalstringRecord discriminator. Values include: direct.
idstring—
inputobject—
namestring—
{"type":"tool_use","id":"toolu_01Example","name":"Read","input":{"file_path":"/workspace/project/README.md"},"caller":{"type":"direct"}}

caller {type:'direct'} Values include on all but one; MCP tools are named mcp__<server>__<tool>.

server_tool_use

Server-side tool invocation (web search/fetch, advisor).

Written assistant message.content[]

Stored conditional

{"type":"server_tool_use","id":"srvtoolu_01","name":"web_search","input":{"query":"x"}}

web_search_tool_result

Server web-search result block.

Written assistant message.content[]

Stored conditional

{"type":"web_search_tool_result","tool_use_id":"srvtoolu_01","content":[]}

advisor_tool_result

Result of the server-side advisor tool.

Written assistant message.content[]

Stored conditional

{"type":"advisor_tool_result","tool_use_id":"srvtoolu_02","content":{}}

mcp_tool_use

API-side MCP connector tool use block.

Written assistant message.content[]

Stored conditional

{"type":"mcp_tool_use","id":"mcptoolu_01","name":"x","server_name":"y","input":{}}

tool_result

Result for one tool_use, sent as user content.

Written user message.content[]

FieldTypeMeaning
contentstring|array—
content[]optionalobject—
content[].sourceoptionalobject—
content[].textoptionalstring—
content[].tool_nameoptionalstring—
content[].typeoptionalstringRecord discriminator.
is_erroroptionalboolean—
tool_use_idstring—
{"type":"tool_result","tool_use_id":"toolu_01Example","content":"file contents...","is_error":false}

content is a string or an array of text/image/tool_reference blocks.

Large outputs: content contains a <persisted-output> wrapper pointing at the tool-results/ sidecar.

Cleared results become '[Old tool result content cleared]' (microcompaction).

image

Base64 image (pasted by user or returned in a tool_result).

Written user message.content[] or tool_result.content[]

FieldTypeMeaning
sourceobject—
source.datastring—
source.media_typestring—
source.typestringRecord discriminator. Values include: base64.
{"type":"image","source":{"type":"base64","media_type":"image/png","data":"iVBORw0KGgo..."}}

585 images were inside tool_result.content.

document

PDF/document block.

Written user content / tool_result content

Stored conditional

{"type":"document","source":{"type":"base64","media_type":"application/pdf","data":"JVBERi0..."}}

2.1.299: @-mentioned PDF bytes are no longer kept in the session transcript.

search_result

Search-result content block.

Written tool_result content

Stored conditional

{"type":"search_result","source":"https://example.com","title":"x","content":[]}

tool_reference

Reference to a deferred tool definition returned by ToolSearch.

Written tool_result.content[]

FieldTypeMeaning
tool_namestring—
{"type":"tool_reference","tool_name":"WebFetch"}

system: text

System-prompt text block, stored inside api-request-blob/api-request-shape (role "system").

Written api-request-blob.message.content[] / api-request-shape.shape.system[]

FieldTypeMeaning
textstring—
{"type":"text","text":"You are ..."}

Only in request-replay records (since 2.1.300); not part of conversation messages.

system: tool_addition

Tool definition added mid-conversation, stored in request-replay blobs.

Written api-request-blob.message.content[] (role system)

FieldTypeMeaning
toolobject—
tool.definitionobject—
tool.definition.descriptionstring—
tool.definition.eager_input_streamingboolean—
tool.definition.input_schemaobject—
tool.definition.namestring—
tool.typestringRecord discriminator. Values include: tool_definition.
{"type":"tool_addition","tool":{"type":"tool_definition","definition":{"name":"WebFetch"}}}

Rebuilding the conversation

Bash file-change diffs
Narrow supplement: local Claude 2.1.311 records and embedded 2.1.312 implementation establish optional toolUseResult.bashEditDiff = {files:[{filePath,hunks:[{oldStart,oldLines,newStart,newLines,lines}],created?,deleted?}],moreFiles,changedFiles?,unavailable?,skipped?,shared?}. Join via the same user message tool_result.tool_use_id to assistant tool_use.id. These bounded working-tree changes can include concurrent writers; missing diff is not proof of no edit. Internal rendering/PostToolUse data, not model-facing text. Full format audit stays pinned to 2.1.310. See docs/research/claude-bash-edit-diffs.md and evidence/claude-bash-edit-diffs-2026-10-28.json.
ordering
File order is append order and is NOT conversation order. Lines are appended as they are produced; metadata records are re-appended near the tail; branches from rewinds interleave. Reconstruct conversation order only via parentUuid.
message parent links
Conversation records (user/assistant/system/attachment) form a tree via uuid -> parentUuid. Each main file starts with an attachment root (parentUuid null). Every other node's parentUuid resolved to an earlier line in the same file. Metadata records have no uuid and are outside the tree.
message parent links
A streamed assistant response becomes N lines (one content block each) sharing message.id and requestId; each line's parentUuid is the previous line of the same response. Merge consecutive same-message.id assistant lines to recover the API message; usage is repeated, count it once.
tool call ↔ result
tool_result.tool_use_id = tool_use.id. The user line carrying the result has parentUuid = uuid of the assistant line holding that tool_use and sourceToolAssistantUUID = same uuid. With parallel tool calls the assistant lines chain A1->A2 while result R1 hangs off A1: the assistant line therefore has two children. This is not a user branch.
tool call ↔ result
toolUseResult on the same user line is the tool's structured result (shape per tool name, string on error). Image base64 in toolUseResult may be blanked ("") when identical to the image in message.content (media dedup, Ie()/Epn() refill on read).
turns
A human turn starts at a user line with promptSource typed/queued (origin.kind human) and ends with system/turn_duration (durationMs, messageCount). promptId groups the prompt and all its descendants. system/stop_hook_summary follows when Stop hooks run.
subagents
Parent assistant tool_use (Agent/Task, or Skill fork) id == subagents/agent-<id>.meta.json toolUseId. The Agent toolUseResult has agentId and outputFile. Subagent file: every conversation line has isSidechain:true, agentId = filename id, sessionId = parent session id; first line parentUuid null. Forked subagents start with a fork-context-ref pointing at parentSessionId + parentLastUuid + contextLength instead of copying the prefix. Subagent api-request/blob/shape/content-replacement records are routed to the subagent file (route-by-agent).
compaction
system/compact_boundary has parentUuid:null (new chain root) and logicalParentUuid = last pre-compaction node. The next user line has isCompactSummary:true + isVisibleInTranscriptOnly:true and holds the summary. compactMetadata.preservedSegment {headUuid, anchorUuid, tailUuid} and preservedMessages.uuids name kept messages (52/52 resolved). On load, 'transcript' and 'boundary-cleared' records before the last boundary are dropped; 'last-wins'/'accumulate' metadata survive.
compaction
Microcompaction replaces old tool_result content with '[Old tool result content cleared]' or a <persisted-output> preview; content-replacement records log those substitutions so resume reproduces the same request.
branches/rewind
Rewind/edit appends new nodes whose parentUuid points back into the tree; abandoned branches stay in the file. The active leaf is the leafUuid of the last last-prompt record (explicit:true for user-chosen leaf, rewound:true after /rewind); a last-prompt with leafUuid:null + explicit:true withdraws the leaf. Without a usable last-prompt the loader picks the newest-timestamp non-sidechain message. Walk parentUuid from the leaf to the root, merging same-message.id assistant siblings and re-attaching parallel tool results.
forks
/branch (fork) writes a NEW <new-session-id>.jsonl: copies the selected path with original uuids, linearised parentUuid, new sessionId, isSidechain:false and forkedFrom {sessionId, messageUuid}; carries content-replacement, relocated, memory-mode, atis-latch and history-suppression(cause fork_inherit) forward.
resume
--resume/--continue reopen and keep appending to the same <session-id>.jsonl (hook_success attachments with hookName SessionStart:resume appear). A continued-in record can point to a successor session.
sidecar references
file-history-snapshot.snapshot.trackedFileBackups[path].backupFileName -> ~/.claude/file-history/<sessionId>/<name>; file-history-delta.messageId/snapshotMessageId -> user uuid; toolUseResult.persistedOutputPath -> <session-id>/tool-results/<id>.txt; api-request.shapeHash -> api-request-shape; api-request.tail[] -> api-request-blob.hash; api-request.base -> earlier api-request.id; assistant.requestRef -> api-request.id.

Token usage

assistant.message.usage.input_tokens
Uncached input tokens of the API response. Repeated on every line of a split response — dedupe by message.id.
assistant.message.usage.cache_creation_input_tokens / cache_creation.ephemeral_5m_input_tokens / ephemeral_1h_input_tokens
Prompt-cache write tokens, total and by TTL.
assistant.message.usage.cache_read_input_tokens
Prompt-cache read tokens.
assistant.message.usage.output_tokens / output_tokens_details.thinking_tokens
Output tokens and the thinking share.
assistant.message.usage.iterations[]
Per-iteration usage when the server ran multiple sampling iterations (e.g. server tools/advisor).
assistant.message.usage.server_tool_use.web_search_requests / web_fetch_requests
Server tool call counts.
assistant.message.usage.service_tier / speed / inference_geo / fallback_credit
Tier and routing metadata.
cost-state.totalCostUSD, modelUsage.<model>.costUSD
Client-estimated cumulative cost (last record wins).
attachment/queued_command.attachment.usage {totalTokens, toolUses, durationMs}
Usage summary of a finished background task/subagent delivered as a notification.
system/compact_boundary.compactMetadata.preTokens / postTokens / cumulativeDroppedTokens
Context size before/after compaction.

Versions

Every conversation record carries version (Claude Code semver of the writer); metadata records do not. There is no file-level header or schema version. Known boundaries: api-request / api-request-blob / api-request-shape records and assistant.requestRef appear from 2.1.300 (changelog 2.1.300: 'record each API request's system prompt, tools and parameters'); params.safeguards[].classifier_context stored only 2.1.300–2.1.303 (changelog 2.1.304); subagent placeholder usage/null stop_reason fixed 2.1.307; renderedRole on attachments from 2.1.285; requestedModel from 2.1.295; permissionDecision from 2.1.293; sandboxed from 2.1.307; thinkingDisplay from 2.1.296; file-history pruning 2.1.208 (changelog).

Parsing pitfalls

  • Assistant usage is duplicated on every split line of one response; summing per line over-counts tokens 2x on average.
  • parentUuid chains are not linear: parallel tool calls make the assistant line a parent of both the next assistant block and its own tool_result. Following only the last child loses results.
  • Metadata (ai-title, last-prompt, mode, permission-mode, atis-latch, custom-title, tag, pr-link, ...) is re-appended to the tail repeatedly so tail-window readers find it; expect thousands of duplicates and take the last.
  • Metadata records have no uuid, version or (mostly) timestamp; do not require the conversation envelope on every line.
  • In subagent files sessionId is the parent session id, not the file stem; use agentId / filename.
  • api-request.version is a replay-format number, not the Claude Code version string; api-request-blob.message.role can be "system".
  • message.content can be a string or an array; user tool_result content can be a string or an array of text/image/tool_reference.
  • Thinking blocks often have empty text with a valid signature (display mode updates); do not treat as corruption.
  • Subagent transcripts before 2.1.307 recorded placeholder usage and null stop_reason for streamed responses.
  • Progress records are not written by current builds but may exist in older files; their uuids can be parents of real messages, so re-parent through them rather than dropping the child.
  • compact_boundary has parentUuid null: walking from the leaf stops there; use logicalParentUuid to stitch pre-compaction history.
  • A torn last line is possible after a crash (2.1.300 fix); tolerate an unparsable final line.
  • The session directory <session-id>/ may exist without the .jsonl being the only data: tool-results and subagents hold content referenced from the transcript.
  • cwd, gitBranch, slug, prompts, file paths and tool inputs are private user data embedded in nearly every line.
  • Claude Code strips envelope fields (cwd, gitBranch, version, userType, entrypoint, promptId, +requestId on assistant) for some storage paths and re-fill them from context on read (A3s/H8n); remote/storage-backed transcripts may lack them.
  • 2.1.311 publisher notes fix -p/SDK transcript ordering and retained retracted messages. CLI json/stream-json escaping changes preserve parsed values; this is not proof of a changed on-disk JSONL schema. The full format audit remains pinned to 2.1.310.
  • Documentation checked 2026-11-15 against latest 2.1.325 / stable 2.1.311 release metadata. Detailed internal shapes remain the historical 2.1.310 survey (high-level observedVersion 2.1.299); readable implementation JavaScript has now been located in the installed native executable; the 2.1.325 source supplement traces selected fields and storage policies. The four-field implementation supplement is not a complete 2.1.325 schema or controlled runtime verification.
  • Current docs additionally list orphaned/superseded JSONL and mcp-tasks/ sidecars. They are outside the older detailed field survey.
  • CLAUDE_CODE_TRANSCRIPT_LOCAL_GC means the current non-interactive transcript need not be an indefinitely growing append-only log. Keep file replacement/truncation handling in consumers.
  • 2026-11-15 aggregate-only existing-record survey found 1,769 version-matched 2.1.325 records across five files. Ten record/subtype families and top-level/message field types were retained without content. Unversioned metadata in these mixed files is counted separately and cannot be attributed to 2.1.325. This supplements the 2.1.310 full survey; it is not a controlled writer/resume probe or an exhaustive current schema.
  • Installed 2.1.325 source correction: the native executable embeds readable JavaScript alongside bytecode/string tables. Static extraction recovered transcript constructors, write routing and GC policy tables plus four field definitions. See docs/research/evidence/claude-transcript-source-2.1.325.json and its partial JSON Schema. Keep the older full catalogue version pin; these are explicitly current source supplements.
  • 2.1.325 source separates write routing (n6a), load reduction (q6o), and local GC retention (I5o). A registered type, a saved record and a restored field are different evidence. Six additional metadata families and the isolated cost-state validator are now covered; this does not repin the entire historical catalogue.

Sources

Claude Code