cluster-and-sample-are-mutually-exclusive
IN premise
The `--cluster` and `--sample` flags in `cmd_derive` are mutually exclusive, enforced with an explicit check and `sys.exit(1)` — they represent competing strategies for belief subset selection.
Summary
The derive command offers two different ways to select which beliefs to work with: clustering them by similarity, or randomly sampling a subset. These two approaches cannot be combined in a single run — the code enforces this by exiting with an error if both flags are provided, since each strategy implies a fundamentally different way of organizing the derivation process.
Details
| Source | entries/2026/05/08/reasons_lib-cli.md |