docs(agent): clarify remaining v3 normalization

This commit is contained in:
David Brailovsky 2026-08-07 22:22:34 +02:00
parent c4e00f1757
commit f7f933c6e0

View file

@ -155,7 +155,9 @@ export function parseJsonlV3Entry(line: string, seq: number): Result<Entry, Json
} satisfies CustomMessage,
} satisfies MessageEntry;
default:
// TODO(J4): Decode and normalize the remaining supported coding-agent v3 entry types.
// TODO(J4): Normalize v3 compaction and branch_summary entries, preserving details, usage,
// and required fromHook provenance, and materialize firstKeptEntryId as retainedTail.
// TODO(J4): Decode and normalize the remaining label and session_info entry types.
throw new JsonlDecodeError("schema", `has unsupported entry type ${String(value.type)}`);
}
});