Validate Frontend-Backend API Alignment
Run a cross-repository validation check to ensure every frontend endpoint has a matching backend route.
Steps
- •Launch the
cross-repo-validatorsubagent to audit both repos - •Report any mismatches as CRITICAL or WARNING
- •If mismatches found, suggest fixes (which endpoints to add to which repo)
Usage
code
/validate-alignment
This checks:
- •All paths in
src/lib/api/client.tsendpoints object - •All
@api_v1_bp.routedecorators inapi/v1/*.py - •Any hardcoded
/api/v1/strings in hooks that bypass the centralized client - •HTTP method alignment (GET/POST/PUT/DELETE)