Expand description
Parse CLI references back into core types. The primary case is the canonical EventId string the
engine prints (EventId::canonical()): import|<src>|<source_ref…>, conflict|<src>|<source_ref…>|<fp>,
decision|<seq>. source_ref itself may contain | (adapters mint direction-scoped refs like
out|cb-send), so import rejoins parts[2..] and conflict takes the LAST part as the fingerprint.
Functions§
- parse_
date_ arg - parse_
dispose_ kind - Parse a bulk-reclassify-outflow
--kindargument. Accepts ONLYsell/spend; REJECTSgiftanddonate(and any other value) — the structural scope-lock [Q2]:GiftOut/Donateneed a per-rowdoneeand (for Donate) a qualified-appraisal FMV, so a uniform-across-many-rows bulk substitution of a market close price is semantically wrong. Those stay single-item (reclassify-outflow). - parse_
event_ id - parse_
income_ kind - parse_
lot_ id <event-id-canonical>#<split-sequence>→LotId.- parse_
lot_ pick <lot-id>:<sat>→LotPick.- parse_
usd_ arg - Exact USD (NFR5): string → Decimal, never float.
- parse_
wallet_ id exchange:PROVIDER:ACCOUNT|self:LABEL.