Plan and Refactor a Change
Describe the change you intend to make:
nbx search "move token rotation behind a new boundary" --intent implementInspect the target
Section titled “Inspect the target”nbx def refreshToken --include-contentRecord the direct callers and dependencies that define the current boundary.
Resolve remaining questions
Section titled “Resolve remaining questions”Use a focused graph query only when search and definition context do not answer a precise relationship question:
nbx query "MATCH (caller:CODE_SYMBOL)-[:CALLS]->(target:CODE_SYMBOL) WHERE target.name = 'refreshToken' RETURN caller.name LIMIT 20"Make and verify the change
Section titled “Make and verify the change”Edit with your normal tools, run the project tests, then inspect the structural delta:
nbx diffnbx verify --digestAsk your agent:
Use Noodlbox to plan this refactor. List the boundary to change, callers to preserve, dependencies involved, and verification targets.