# pal cli algorithm-synthesize

Source: https://pal.konvert7.com/docs/cli/algorithm-synthesize

Cluster algorithm reflections into candidate ALGORITHM.md changes

```bash title="Usage"
pal cli algorithm-synthesize [options]
```

| Option | What it does |
| --- | --- |
| `--since <iso-date>` | Only reflections from this date on (default: all time) |
| `--json` | Print the full synthesis as JSON instead of the report |

Reads the Q2 field ("what a smarter algorithm would have done") of every algorithm reflection and pre-sorts it into candidate areas of ALGORITHM.md. The buckets are a keyword hint only: every Q2 they miss is listed in full under "Unbucketed", and task-specific Q2s are listed separately.