Skip to content

symfonic.agent.fastapi.graph_maintenance_audit

graph_maintenance_audit

Graph-maintenance payload models and the shared audit pass.

Split out of :mod:symfonic.agent.fastapi.graph_maintenance_router (401 lines against the 300-line budget -- the module's own docstring already says it was split from graph_router "to keep each module under ~300 lines"). What stays there is the router factory and its endpoints; what moved here is the request / response vocabulary those endpoints speak, plus _run_audit, which both the audit and prune endpoints call, and the audit-log emit they share.