memory_promote
Convert high-confidence, well-evidenced memories into durable project rules. Preview candidates in dry-run mode, then confirm the write to update claude-rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yes | No | Confirm write. Without this or dry_run=false the command stays in dry-run mode. | |
| limit | No | Max candidates to return/apply (default 20). | |
| target | No | Promotion target. Only claude-rules is implemented in PR 4 v1. | |
| dry_run | No | If true (default), return candidates without writing. Pair with yes=true to actually write. | |
| project_dir | No | Absolute path to the project root where .claude/rules/ should be created. Defaults to process.cwd(). | |
| min_evidence | No | Minimum supporting episode count (default 2). | |
| min_confidence | No | Minimum memory confidence for promotion (default 0.7 for procedural, 0.8 for semantic). |