Skip to content

refactor(mcp-server): move task_foraging_report to foraging.ts#543

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/move-task-foraging-report-to-foraging-ts-2026-05-14-21-12
May 14, 2026
Merged

refactor(mcp-server): move task_foraging_report to foraging.ts#543
NagyVikt merged 1 commit into
mainfrom
agent/claude/move-task-foraging-report-to-foraging-ts-2026-05-14-21-12

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

`task_foraging_report` only lived in `attention.ts` as an accident of the
pre-split monolithic `server.ts`. It wraps `ProposalSystem.foragingReport`
and belongs alongside `examples_list` / `examples_query` /
`examples_integrate_plan`.

Pure code-location refactor: the MCP tool name, description, input schema,
and handler body are byte-identical. A new `registerTaskForagingReport`
named export is called from `server.ts` at attention's old slot so the
`listTools` ordering observed by inspectors is preserved.

Verified: pnpm --filter @colony/mcp-server typecheck and test (270/270),
biome check on the three touched files.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NagyVikt NagyVikt merged commit 364e6a0 into main May 14, 2026
@NagyVikt NagyVikt deleted the agent/claude/move-task-foraging-report-to-foraging-ts-2026-05-14-21-12 branch May 14, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant