Skip to content

Plan and Refactor a Change

Describe the change you intend to make:

Terminal window
nbx search "move token rotation behind a new boundary" --intent implement
Terminal window
nbx def refreshToken --include-content

Record the direct callers and dependencies that define the current boundary.

Use a focused graph query only when search and definition context do not answer a precise relationship question:

Terminal window
nbx query "MATCH (caller:CODE_SYMBOL)-[:CALLS]->(target:CODE_SYMBOL) WHERE target.name = 'refreshToken' RETURN caller.name LIMIT 20"

Edit with your normal tools, run the project tests, then inspect the structural delta:

Terminal window
nbx diff
nbx verify --digest

Ask your agent:

Use Noodlbox to plan this refactor. List the boundary to change, callers to preserve, dependencies involved, and verification targets.