Retrieve context from remote space
This guide walks you through retrieving context from the remote space within your current codebase. The typical flow for retrieving context in ByteRover starts with thebrv retrieve command, like this:
Retrieve with specific file context
You can narrow down your retrieval by specifying which files are relevant to your query using the--node-keys option:
Multiple retrievals for complex tasks
For complex tasks requiring different types of context, you can run multiple retrieval queries:Crafting effective queries
The quality of your retrieval depends on your query. Here are some tips: Specific queries work better:You’re in Control of Your Retrieval
Thebrv retrieve command is flexible and adapts to how you want to work:
Broad Exploration
Want to see everything related to a topic? Use a general query:Focused Retrieval
Need specific implementation details? Be more precise:File-Scoped Retrieval
Working on specific files and want only relevant context:Combining with Add
Retrieved something useful but want to add your own notes? Retrieve first, then add:- Run
brv retrieveto get existing context - Then run
brv addto append your new insights