Self-Revising Discovery Systems for Science: A Categorical Framework for Agentic Artificial Intelligence | ArxivCSExplorer