fn append_to_order(
state: &AppState,
agent_id: &str,
bundle_id: &str,
verb: &str,
) -> Result<(), String>Expand description
Puts bundle_id last in the Global Memory order, as Memory → Global’s own
“+ New section” does for a new entry and a restored one. A failed reorder
is logged, not fatal: the entry is saved either way.