Commit bba1cd8
fix(mcp): strip heavy fields from progress, remove ToolSearch, fix rename (#4953)
## Summary
- **Strip heavy fields from progress messages** — `_source_bank`,
`research`, `provenance_and_notes` were being dumped as raw JSON in
`everyrow_progress` partial rows, causing 335KB+ tool results that blew
up agent context. Now resolved citations first (needs `_source_bank`),
then stripped before serializing.
- **Remove ToolSearch from agent tools** — all tool schemas (built-in +
MCP) are loaded upfront, so deferred discovery adds no value and wastes
tokens.
- **Contextual follow-up suggestions** — system prompt now tells the
agent to suggest specific next operations based on the task output
columns, instead of generic chaining examples.
- **Fix Docker rename artifacts** — `.dockerignore` and `Dockerfile`
still referenced `everyrow-mcp/` after the `futuresearch-python` rename,
breaking local `docker compose` builds.
## Test plan
- [x] MCP server tests pass (415 passed)
- [ ] Run a rank/classify task locally and verify progress messages are
small
- [ ] Verify agent suggests contextual follow-ups after task completion
- [ ] Verify `docker compose up --build` works with the fixed Dockerfile
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sourced from commit 6e2c84fa6761ee50eb254245cb9a799e96a3d6d01 parent 7b6b5a5 commit bba1cd8
3 files changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
490 | 493 | | |
491 | 494 | | |
492 | 495 | | |
493 | | - | |
| 496 | + | |
| 497 | + | |
494 | 498 | | |
495 | 499 | | |
496 | 500 | | |
| |||
0 commit comments