resolve_proposal
Accept or reject pending proposals. For a single proposal, specify its path. For multiple, use a glob pattern. Accept moves the file to its destination; reject deletes it without touching the vault.
Instructions
Accept or reject pending proposals. Two modes: (1) single — pass path to apply the action to exactly one proposal; (2) bulk — pass pattern (glob) to apply the action to every matching proposal. Exactly one of path/pattern is required. Accept moves proposal to its destination atomically (overwriting any existing file at the destination); reject deletes the proposal without touching the vault. Per-destination lock guarantees concurrent edits on the same path serialize. Use dryRun: true with a pattern to preview which proposals would be touched without applying anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Destination path of a single proposal, with or without the 'proposed/' prefix. Mutually exclusive with pattern. | |
| action | Yes | Whether to apply or discard the matched proposal(s). | |
| dryRun | No | Only meaningful with pattern. When true, return the list of paths that WOULD be affected without applying the action. | |
| pattern | No | Glob to match destinationPath of multiple proposals. Supports *, **, ?. Mutually exclusive with path. | |
| maxCount | No | Only meaningful with pattern. Cap the number of proposals processed in a single call. |