fn map_agent_definition_row(row: &Row<'_>) -> Result<AgentDefinition>Expand description
Phase 3b — row mapper for db_agents rows projected back into the
AgentDefinition shape. The column order MUST match the SELECT in
agent_def_list. parent_template_id maps to parent_id because
the consolidated table renamed the field to clarify its semantics
(template lineage), but the wire shape kept the old name.