Context
With GraphFacade (PR #274) and batch hydration (PR #276) merged, the old pre-acceleration query layer is dead code:
| File |
Lines |
Status |
api/app/lib/query_facade.py |
681 |
Superseded by graph_facade.py |
api/app/lib/pathfinding_facade.py |
654 |
Superseded by graph_facade.find_paths() |
api/app/lib/query_service.py |
~200 |
Superseded by direct client.graph.* calls |
These were the intermediate abstraction layer between routes and AGEClient. Routes now call client.graph.* directly (for topology) and _hydrate_grounding_batch() (for grounding/confidence).
Steps
- Audit all imports of
QueryFacade, PathfindingFacade, QueryService across the codebase
- Verify no remaining callers (routes, services, tests)
- Delete the files
- Remove any test files that only test the old facades
- Run full test suite to confirm
~1,500 lines removed
References
Context
With GraphFacade (PR #274) and batch hydration (PR #276) merged, the old pre-acceleration query layer is dead code:
api/app/lib/query_facade.pygraph_facade.pyapi/app/lib/pathfinding_facade.pygraph_facade.find_paths()api/app/lib/query_service.pyclient.graph.*callsThese were the intermediate abstraction layer between routes and AGEClient. Routes now call
client.graph.*directly (for topology) and_hydrate_grounding_batch()(for grounding/confidence).Steps
QueryFacade,PathfindingFacade,QueryServiceacross the codebase~1,500 lines removed
References
.claude/todo-adr-201-graph-accel.md