Normalize JSON tags to snake_case, remove dead fusion branches and unused struct fields, add proper error logging for BM25 operations, wire AgentID through filters/store/retrieval, and replace goto with structured control flow.