Before you begin
- Your repository is connected and indexed in Potpie (how to connect a repo)
- You know the name of the service or interface you want to change
Run the analysis
1
Open Ask on your codebase
Go to Potpie → Ask and select your repository.
2
Ask about dependencies
Describe the service you want to change and ask what depends on it:Ask traverses the knowledge graph outward from the target service, mapping every dependent function, class, and module across the repository.
3
Review the dependency map
Ask returns:
- Every class, function, and module that calls or imports
PaymentService - Each call site with its exact file path and line number
- Transitive dependencies that would be affected by an interface change

