create_classification_edge
Place a node in a classification cell, carrying optional confidence and provenance as edge metadata (confidence / assessed_on / rationale / evidence). A typed convenience over the generic edge writers, mirroring create_parity_edge: it picks the edge type from the source node type (a competitor source writes competitor_classified_as_classification_value; any other node writes the polymorphic node_classified_as_classification_value), expands a friendly confidence (low/medium/high) into the canonical confidence_5 assessment, defaults assessed_on to today, and routes automatically. A registry/{value} target (or a supplied node_product_id) writes a cross-edge; a bare local value writes a catalogue edge.
Arguments
node_idstringrequiredThe node being classified (the edge source). Bare, or {product_id}/{node_id}.
classification_value_idstringrequiredThe target classification_value. Bare for a local value, or registry/{value} for a canonical.
node_product_idstringoptionalCross mode: product id holding node_id (defaults to the active product).
confidencestringoptionalConfidence this node belongs in this cell. Expanded to a confidence_5 assessment.
assessed_onstringoptionalISO date the classification was made or last re-checked. Defaults to today.
rationalestringoptionalShort note on why this node sits in this cell.
evidencestringoptionalA source URL, or a competitor_signal / evidence node id backing the classification.
supersedebooleanoptionalWhen this classifies the source to a new value on a single-select axis, retire its prior same-axis edge (default true) and record the move in the reclassification history. Set false to keep both values (additive). A multi-select axis always keeps both.
auto_create_portfoliobooleanoptionalCross mode only: create an empty portfolio document if none exists (default false).
Returns
JSON: the created edge (within-graph or cross-product shape).