Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/lemoncrow/gateway/adapters/mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,15 @@ def _warm_pricing_table() -> None:
# not-planned — and opencode) plus owned lanes keep the full persona block.
SERVER_INSTRUCTIONS = (
"LemonCrow replaces the grep→read→re-read loop.\n"
"- Lead with `code_search`: one call = ranked matches (top source inline, "
"rest as path:Lx-Ly pointers) + related_symbols + candidate_files. Inline "
"source = already read; never shell-grep or re-verify indexed results.\n"
"- Any repo search (symbols, strings, regex) → `code_search`, all terms in ONE call; "
"inline source = already read.\n"
"- Known path/symbols → `read`: ONE call, files=[...], exact :Lx-Ly ranges, "
"never the same file twice. Need, not might-need: a speculative :full costs "
"more than the turn it saves. Never cat/sed/head/tail.\n"
"- ALL edits in ONE `edit` edits[] array; prefer {path: 'f.py:Lx-Ly', new} over old/new.\n"
"- Independent calls (any tools) → ONE message.\n"
"- `bash` = execution only (tests, git, builds). Large output → a file, never inline prose.\n"
"- `bash` = execution only (tests, git, builds), never `grep -r`/`rg`/`git grep`/`find` on the repo. "
"Large output → a file, never prose.\n"
"- Graphical data (plots, pixel grids, UI) → write a PNG and `read` it; "
"don't infer visuals from raw bytes."
)
Expand Down
Loading