Parse each transcript entry once into a typed value naming its kind #441
Reference in New Issue
Block a user
Delete Branch "item-221"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parse each transcript entry once, in
claude_code.entries, into a typed value naming its kind: HumanTurn, LoopPrompt, InjectedText, AssistantTurn, ToolResults or CostState. Every consumer underbin/now reads those types, so none works out an entry's kind from a raw dict. Also renamessince_steptoafter_markin the escalation mark and the judge's grounds.Tool results that Claude Code logs again on
api-request-bloblines still count, as on main.Not fixed: the hard-to-read place
bin/loop_claude/cycle/judge.pyquotes_checked. This change only renames a field in its table. Splitting the misquote rule differently betweenjudge.pyandescalation_mark.pyis beyond the item, which asked to makeGroundsandjudge_prompteasier to read.