CLI command

probierz retention

Evaluate or apply the configured evidence-retention policy for an application.

Invocation#

Shell
probierz retention [APP_ID]

Required inputs and options#

  • `<appId>` is required. `--at` evaluates at an explicit time; otherwise the current time is used.
  • Without `--apply`, the result is a plan. `--apply` performs the eligible removals.

Output and state effects#

Writes the retention decision as JSON. Only the explicit apply mode mutates retained evidence.

Exact refusals#

  • Missing application ID: `retention needs an app ID`.
  • Missing timestamp value: `--at needs an ISO timestamp`.
  • Invalid policy/time or evidence-store failures propagate; they do not trigger broad deletion.

Source snapshot#

Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `f65b755da397f2ec7435eb80ed722aa6017437c1`.

Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.