Searching Sourcegraph Search before you build. Existing patterns reduce tokens, ensure consistency, and surface tested solutions. Tool Selection Logic Start here: 1. Know the exact symbol or pattern? → 2. Know the concept, not the code? → 3. Need to understand how/why? → → 4. Tracing a symbol's usage? → 5. Need full implementation? → → 6. Need to know what repos a user has worked on? → | Goal | Tool | |------|------| | Concepts/semantic search | | | Exact code patterns | | | Trace usage | | | See implementation | | | Initiate a deep search | | | Read deep search results | | | Read files | | |…