# Locus Codegraph

Rehearse a Python refactor before making it, and catch missed callers when you do.

- Type: Plugin
- Version: 0.2.0
- Updated: 22 Nov 2026
- Publisher: atikur
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Rehearse a Python refactor before making it, and catch missed callers when you do. @whatif:\<symbol\>(\<new parameters\>) or the locus_rehearse tool binds every statically proven caller against a proposed signature before any file is edited and lists which call sites would break and why.

After an edit, the same check appends caller locations, binding errors and, for a renamed keyword, a caller patch to review to the editing tool's result. Covers functions, class constructors, static and class methods, methods on locally constructed instances, and calls inside the edited file, through direct and module-qualified imports, aliases and static re-exports.

Receivers whose type is not in view (self, parameters, attributes), decorated callables and dynamic bindings are not checked; other supported languages receive structural indexing only. One local index also powers five tools, @sym:/@impact:/@hotspots: references, /locus commands, and Web Dashboard and Desktop caller inboxes.

Suggested tests and impact scores are static heuristics, not execution coverage; no alert or predicted break is not proof of safety. Disclosure: reads supported workspace source subject to exclusions and size caps, rejects symlink escapes, and stores structure, call shapes, and drift history in profile-scoped SQLite.

Expands explicit references and adds diagnostics and proposed patches to editing-tool results and the configured model's context. Does not modify workspace source, apply patches, or run tests.

No external network requests, credential access, shell subprocesses, background daemons, or additional runtime packages.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `locus_map`
- `locus_rehearse`
- `locus_symbol`
- `locus_impact`
- `locus_hotspots`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [log by ListeningKit](https://www.ulpi.io/en/marketplace/plugins/log-by-listeningkit): Your agent, working your DMs the way you would.
- [Logmine](https://www.ulpi.io/en/marketplace/plugins/logmine): Exact, local intelligence over large text log files.
- [long-conversations](https://www.ulpi.io/en/marketplace/plugins/long-conversations): Persistent long-term conversations across session boundaries via structured handoff briefs and token monitoring.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
