pub const AGENT_SURFACE_RESULT_KEYS: &[&str];Expand description
GAP-SG-142: envelope members searched, in order, for the primary result
array reshaped by crate::agent_surface.
The list is ordered from most to least specific so an envelope that carries
several arrays (for example recall, which exposes direct_matches,
graph_matches and the merged results) is reshaped on the member callers
actually consume. A payload matching none of these falls back to its first
array member.
nodes precedes entities because the graph envelope carries both and
nodes is the canonical one there; entities is its v1.0.66 alias and is
listed in AGENT_SURFACE_ALIAS_ARRAYS. Reshaping the alias while leaving
the canonical member untouched is precisely the failure that table closes.
types is last and is the only member here named after what it holds rather
than after its role. It belongs to graph entity-types (v1.2.8), whose whole
envelope is that one array; without the entry the fallback still elected it,
but as a guess, and --select type was then resolved against the top-level
members and refused with a suggestion identical to what the caller typed.