scrubby_get_network
Get the domain connection graph with Hebbian-learned weights showing how strongly different areas of your codebase are coupled.
Returns the domain connection graph. Each edge has a weight indicating how strongly two domains are connected, based on cross-domain imports, co-change history, and review findings. Use this to understand the blast radius of a proposed change.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
repo_id | number | No | Scrubby repository ID. Auto-detected if omitted. |
repo_name | string | No | Repository name (e.g. api). Used to auto-resolve in remote mode when multiple repos are indexed. |
Response
An object with:
domains— the same list asscrubby_get_domains.connections— sorted by weight (descending). Each entry hasfrom,to,weight(0–1), andco_activations(the count of cross-domain reviews that produced findings).
Higher weight = stronger coupling. A weight of 0.5+ means changes in one domain frequently affect the other.
Typical usage
In your AI editor:
"What's connected to the auth domain?"
"What's the blast radius of changing this file?"
"Show me Scrubby's domain network."
See also
Last updated