Step 1 of 5
Map routes and links
Inventory every route and every element that navigates.
Produce two tables. Routes: every defined route, its component, and whether it is public or protected. Links: every nav item, button, card, and inline link that navigates - its label, intended destination, and verified actual destination (click each one). Flag mismatches, dead links (#/empty handlers), and orphan pages no link reaches.
Expected after this step
Complete route and link inventories with verified behavior.
Should not happen
- ✕Links with href='#' or empty onClick
- ✕Refresh on a nested route returning server 404
- ✕Redirect loops between login and dashboard
- ✕Guards that flash protected content before redirecting
Verify before continuing
Do not move on until every check is true. The complete button stays locked until then.
Do not continue if…
- !Links with href='#' or empty onClick
- !Refresh on a nested route returning server 404
- !Redirect loops between login and dashboard
- !Guards that flash protected content before redirecting
If the AI messes this up
Use this when the AI fakes progress or breaks the feature. It forces a real fix.
Links were assumed from code reading. Click every navigation element in the running app and record where it actually goes.