pub fn parse_line(line: &str) -> Result<ParsedLine, ParseError>Expand description
Fully parse and validate a TSJSON line into a ParsedLine.
Performs all validations including:
- Field count (exactly 8 tab-separated fields)
wall_ts_usis a valid i64agentis non-empty and contains no whitespaceitcis non-emptyparentsare validblake3:<payload>hashes (or empty)event_typeis a knownitem.<verb>item_idis a valid bones IDdatais valid JSON matching the event type schemaevent_hashisblake3:<payload>and matches the recomputed hash
ยงErrors
Returns ParseError with a specific variant for each validation failure.