memory_submit
Submit outbox drafts into repository memory for review: runs graph lint, applies deterministic curation, commits locally, and prints push/PR commands without publishing.
Instructions
Move outbox drafts into the repo memory dir for review. Before copying, reports graph lint (never blocking) and auto-applies only deterministic curation: exact-duplicate merges, empty-body archives, and first-line title normalization. Near-duplicates are reported, never merged. Every applied action appears in the output with its undo command; pass noCurate=true to skip the auto-apply tier while keeping the lint report. Then copies the drafts in as proposed (or keeps a local approval), commits locally on the current branch, and moves the outbox originals out. Never creates a branch on its own — pass branch= only with the user's explicit approval for the full chain. Prints the push and PR commands — those need the user's explicit approval and are never run automatically. (MCP server and the open-memex submit CLI; the opencode native plugin does not expose this tool.) Unknown ids or a failed local commit abort the submit with the reason; nothing is published automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "memory_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Outbox draft ids to submit. | |
| base | No | PR base branch override. Default: the branch the submit ran on. | |
| branch | No | Create this branch and submit onto it. If omitted, submit stays on the current branch — branches are never auto-created. Only pass this when the user explicitly approved the full chain (branch + push + PR). | |
| noCurate | No | Skip the deterministic pre-submit auto-apply tier; the graph lint report still runs. Default false. |