Build an indexed FST store from a VCD/FST waveform trace (`build`), then
answer one or more query operations against it (`query`) -- `value`, `find`,
`count`, `sample`, `stuck`, `diff`, `wave` (see docs/cli/wave.md's op table).
Invokes the standalone `klt-wave` binary as a subprocess (built via `cargo
build --release` inside native/wave/); never re-implements the FST/VCD engine
in Python. Both subcommands take a request-document path (like `klt lvs`/`klt
sim`/`klt techmap`), not positional trace/store file args.

positional arguments:
  <subcommand> build build an indexed store from a VCD/FST trace query answer one or more query ops against a built store

options:
  -h, --help show this help message and exit

--- klt wave build ---

Index a VCD/FST waveform trace into a compact, queryable FST store -- built
once, queried many times, exactly like `klt extract`'s netlist output. See
docs/design/waveform-query-contract-spike.md section 4 for the full
`klt.wave_build.request/1` field table.

positional arguments:
  request path to a klt.wave_build.request/1 JSON file

options:
  -h, --help show this help message and exit
  --format {text,json} output format (default: text)

--- klt wave query ---

Answer one or more query operations (a single query is simply a one-entry
`ops` array) against a store `klt wave build` produced. See
docs/design/waveform-query-contract-spike.md section 5 for the full
`klt.wave_query.request/1` op vocabulary and predicate/exit-code-3 design.

positional arguments:
  request path to a klt.wave_query.request/1 JSON file

options:
  -h, --help show this help message and exit
  --format {text,json} output format (default: text)
