pub fn explicit_custom_id(item: &str) -> Option<String>Expand description
Return the explicit, caller-provided custom id from a --pending-add item
string (id=<id> <text> or [#<id>] <text>), normalized (lowercase, no
#). Returns None for auto-id items (no explicit prefix) and for malformed
prefixes — callers that need the strict parse error use the add path itself.
Used by mutation-time collision enforcement (#preset-item-id-collision-enforce)
so an explicit id that collides with a prompt preset or active item id is
rejected before the add is written.