feat(mcp): silo_query + confer_run tools — devagentic-mutations plugin (#56, G2 of devagentic#203)#63
Merged
Conversation
#56, G2 of devagentic#203)
This was referenced May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partial close of #56. G2 foundation. Follow-up sub-issues filed: #60 (assertOutput), #61 (patchArtifact/readArtifact), #62 (fetchUrl).
Summary
plugins/devagentic-mutations/with the same shape asdevagentic-canvas/devagentic-docs.mcp_serve.py::_register_devagentic_mutation_tools:silo_query(name, prompt, role_override?)— wrapsquerySiloGraphQL fieldconfer_run(user_id, candidate_id)— wrapsrunConferLoopmutationWhy
Under devagentic#203 §1.2, worker sessions must call devagentic ops through hermes-native tools — not shell out to
python api.py. G2 closes the missing read + confer surfaces (writeDoc + forkContext were already shipped via_register_docs_tools).Scope decision (partial close)
The original #56 enumerated 6+ tools (querySilo, writeDoc, confer, forkContext, assertOutput, patchArtifact). Discovered during implementation:
writeDocalready shipped asdoc_writeinplugins/devagentic-docs/+_register_docs_tools.forkContextfamily already shipped asfork_open/fork_decorate/fork_get/fork_renderin same.querySilo+conferwere genuinely missing — shipped here.assertOutput/patchArtifact/readArtifact/fetchUrlfiled as G2b/c/d (G2b: assertOutput MCP tool (sub-issue of #56) #60/G2c: patchArtifact / readArtifact MCP tools (sub-issue of #56) #61/G2d: fetchUrl MCP tool (sub-issue of #56) #62) — each has its own design surface (e.g. assertOutput'sExpectationInputshape mapping).Per devagentic#203 broadcast: "don't try to land all four at once" — applying the same principle within G2.
Test plan
tests/plugins/devagentic-mutations/test_client.py): user_id resolution, empty-args guards, happy paths for both tools, network errors, GraphQL errors, invalid JSON, null-data handling.create_mcp_server()smoke-import succeeds; new toolssilo_query+confer_runregistered alongside existingcanvas_*/doc_*/fork_*(28 tools total).Notes
confer_runrequires akind:finding-candidatedoc id, which a fresh worker won't have on day 1. The tool is foundational for established workers running through the Lane F confer-loop; first-day workers will usesilo_query+doc_writepredominantly.last_error_text()populated on the client to surface actionable diagnostics in MCP error JSON.