Flatten pipe/flow: update projio wrappers and MCP server registration¶
Goal¶
Update the projio-side MCP wrappers and server tool registrations to match the flow-only API. Remove all pipe parameters.
Context¶
Prior tasks removed pipe from: registry schema, pipeio MCP functions, pipeio CLI. This task updates the projio wrapper layer that exposes tools to AI agents.
Prompt¶
Update projio MCP wrappers and server registration for flow-only addressing.
Files to modify¶
src/projio/mcp/pipeio.py: Everypipeio_*wrapper function that takespipe: strmust drop it. These are thin wrappers — match the new pipeio MCP signatures.All functions that currently take
pipeandflow→ keep onlyflow. Examples: -pipeio_flow_status(pipe, flow)→pipeio_flow_status(flow)-pipeio_nb_sync(pipe, flow, name, ...)→pipeio_nb_sync(flow, name, ...)-pipeio_mod_context(pipe, flow, mod)→pipeio_mod_context(flow, mod)- etc. for ALL ~35 wrapper functionsWhere wrappers currently call:
Change to:mcp_nb_sync(root, pipe=pipe, flow=flow, name=name, ...)mcp_nb_sync(root, flow=flow, name=name, ...)
src/projio/mcp/server.py: Update every@server.tooldecorated function to droppipe: strfrom parameters.Constraints¶
- Modify only
src/projio/mcp/pipeio.pyandsrc/projio/mcp/server.py- Run
PYTHONPATH=src python -m pytest tests/ -qfrom the projio root to verify- Save with
datalad_save
Acceptance Criteria¶
- [ ] No
pipe: strparam on any wrapper or server tool function - [ ] All wrappers call pipeio MCP functions with correct new signatures
- [ ] All projio tests pass
Result¶
(Filled in after execution)
Batch Result¶
- status: failed
- batch queue_id:
48c064cff89c - batch duration: 1800.1s