Skip to content

B-IIND-agentpants-mcp-codegen-drift

The committed apps/agentpants/src-tauri/src/service/transport/mcp.rs is stale relative to the source it is generated from, so a plain cargo check regenerates it and leaves the tree dirty. That means moon run agentpants:codegen-drift is very likely failing on main today, independent of any markdown work. Evidence: the generator is src-tauri/build.rs; running moon run agentpants:lint (which runs cargo check) rewrote the test_session_create McpToolDef description in mcp.rs to the shorter prose that is already the doc comment at src-tauri/src/service/api/test_sessions.rs:28-30, i.e. the committed copy predates that doc-comment edit. Found while migrating agentpants markdown viewers (PR 7 of the markdown-editing program); the change was reverted there as out of scope. Whoever owns the agentpants ontogen generator should regenerate and commit, then confirm the codegen-drift gate is green.


← Back to Backlog