Reference · Architecture
Architecture
Trace any route to its handler in one click. The living architecture map - every route, every module, every flow, every convention worth knowing. Backed by architecture-map.json: its route list is generated from server.mjs and gated by CI, its narrative sections are hand-maintained, updated in the same PR as the change so the map never lies.
See it in motion
Where to find it
- Desktop:
http://localhost:4000/, then Reference (drawer) → Architecture in the sidebar. - Hosted:
repoops.ai/team/reference(browse it from the Reference drawer) - Keyboard: ⌘ K, then type “Architecture”.
- On disk:
.claude/brain/architecture-map.json+ its HTML twin
What it does for you
architecture-map.json in the same commit. Stale maps are a defect.Configure
The routes list is generated from server.mjs and the lib/routes/ route-table modules by scripts/gen-architecture-map.mjs, and a CI gate fails the PR if it drifts, so do not hand-edit routes. The narrative sections (stack, entry points, modules, flows) are hand-maintained: edit them, run the generator, commit the JSON and its HTML twin. The structure is open (no schema enforced) - keep it readable.
Use it well
Open Architecture before adding a new route or refactoring a flow. The existing conventions are right there - match them, don't invent new ones. After your PR, update the map. The next agent walks in already knowing the new flow exists.