pome compile-seeds turns the ## Seed State prose or JSON block in a scenario
markdown file into a compiled .seed.json sidecar. Hosted runs and the seed
compiler use these sidecars for faster, deterministic seed loading.
By default the compiler calls Anthropic directly with ANTHROPIC_API_KEY. Pass
--hosted to route compilation through the Pome control plane instead (uses your
Pome API key; no Anthropic key required).
Usage
Arguments
| Argument | Required | Description |
|---|---|---|
[target] | No | Path to a scenario .md file or directory. Defaults to ./scenarios. |
Options
| Flag | Default | Description |
|---|---|---|
--force | off | Recompile even when the sidecar’s source_hash already matches the scenario file. |
--hosted | off | Compile via the Pome control plane instead of calling Anthropic directly. |
--api-url <url> | POME_API_URL or https://api.pome.sh | Control-plane base URL. Only relevant with --hosted. |
Behavior
- Walks the target path for
.mdscenario files. - Reads each file’s
## Seed Statesection and compiles it to<scenario>.seed.jsonalongside the markdown file. - Skips recompilation when the sidecar hash matches unless
--forceis set. - v1 hosted compilation supports GitHub-shaped seeds. Stripe and Slack seeds use their respective twin schemas when running locally.