You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cancel one active persistent Python invocation by terminating its process tree.
python_worker_reset
soma:write
write
Clear one persistent Python worker crash-loop quarantine.
python_generation_status
soma:read
cheap
Inspect the active Python provider generation and bounded rollback history.
python_generation_rollback
soma:write
write
Atomically reactivate a retained Python provider generation.
python_graduation_status
soma:read
cheap
Inspect digest-bound Python graduation, conformance, activation, and rollback state.
python_graduation_apply
soma:write
write
Scaffold, componentize, build, verify, compare, activate, or roll back a Python graduation workspace.
elicit_name
soma:read
cheap
Ask the MCP client to collect a name, then return a personalised greeting.
scaffold_intent
soma:read
moderate
Collect scaffold setup intent through MCP elicitation and return JSON for the scaffold-project skill.
help
public
cheap
Show the action reference.
Drift Rules
ACTION_SPECS in crates/soma/domain/src/actions.rs is the canonical action and scope list.
Action cost is planner metadata. Use cheap for first-pass reads, moderate for bounded workflow setup, expensive for broad scans or long-running work, and write for mutating operations.
crates/soma/mcp/src/schemas.rs must derive its enum from ACTION_SPECS.
The MCP tool schema must reject unknown top-level parameters except reserved _response_* continuation fields, and encode action-specific requirements that fit the single-tool dispatch model.
help is intentionally public and must have no required scope.
crates/soma/mcp/src/tools.rs, README.md, and plugins/soma/skills/soma/SKILL.md must mention every action.
crates/soma/mcp/src/rmcp_server.rs owns stable resources and must keep soma://schema/mcp-tool wired to tool_definitions().
crates/soma/mcp/src/prompts.rs owns stable prompts and must keep quick_start covered by prompt tests.
Resources
URI
Source
Contract
soma://schema/mcp-tool
crates/soma/mcp/src/rmcp_server.rs
Returns tool_definitions() as application/json.
Prompts
Prompt
Source
Contract
quick_start
crates/soma/mcp/src/prompts.rs
Guides a client to call status and greet.
Input Validation
action is always required.
echo conditionally requires non-empty message.
greet accepts optional name and defaults to World.
elicit_name and scaffold_intent collect their extra fields through MCP elicitation, not direct tool-call arguments.
Unknown top-level parameters are rejected by the schema except reserved MCP adapter continuation fields.
Reserved Adapter Parameters
Oversized MCP responses are returned as kind=mcp_response_page envelopes. Continuation calls reuse the same tool and original arguments, plus these reserved fields:
Parameter
Type
Purpose
_response_cursor
string
Cursor for cached serialized response data. Required with _response_offset.
_response_offset
integer
Byte offset into the cached serialized response.
_response_page_bytes
integer
Page size in bytes, from 1 to 16000.
The adapter strips these fields before dispatching to the service layer.