--- name: routing description: Pick the cheapest source for a question about where something lives in marola, before reading any tree. Use for cross-repo questions (what produces, consumes, pins or triggers an image, release asset, pin file, dispatch or workflow; how a change in one repo reaches another or docs.marola.dev) and for "where is X" when the keyword or the repo is unfamiliar. --- # Routing a "where is it" question `route` is `python3 .claude/skills/routing/scripts/route.py` in a repo that vendors this skill, or `route` (`just route`) inside `nix develop`. It needs no Nix and no graphify: it reads the code graph and the wiring tables that the umbrella's CI publishes from `main` on its `routing-bundle` branch, through git. The first line of each answer says which graph answered. With no bundle it prints one line: run `route fetch` once, or use `git grep`. In a Claude Project thread, which starts above every clone, run it from inside the umbrella's clone. - **What produces, consumes, pins or triggers X?** `route wiring `, or the generated wiring block (between `` and ``) in the umbrella's `docs/2-Building-marola/REPOS.md`, also at . - **Where is a symbol, with the repo unfamiliar?** `route query ""`, then read only the files it names. Ask with the code's own words, a class, file or function name ("Telegram Main", "Recommender"), not a description: the graph matches symbol names, not meanings. `route explain ` lists a node's neighbours, `route path ` the shortest path between two. - **Which doc explains this code, or which code does a MIP touch?** `route docs ` lists the docs that name it, `route code ` the files a MIP or a doc names. A name defined in several files is shown as `ambiguous` with its candidates, not guessed. - **What would changing X reach?** `route impact ` lists what calls it, nearest file first, then, for a file the wiring knows, its copies in other repos with their readers, or an artifact's readers and pins. It is a lower bound: calls are resolved by name only. - **Why was something decided, or rejected?** `route why ""` ranks the MIPs' summaries, rejected alternatives and `**Decided …**` lines; read the MIP section it names. - **A concept or behaviour ("where is the safety veto applied?"), or a known keyword.** `route query --meaning ""` ranks code by the words in its names, docstrings and leading comments, so it takes plain words; or `git grep` the concept word, with `--recurse-submodules` in the umbrella. Then query the graph with the identifiers either turns up. - The bundle reflects `main`, not your branch. A local `graph build` whose `HEAD` matches wins over it, and `route status` says which one answers. - Never read `graph.json`, `GRAPH_REPORT.md` or a bundle file whole.