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 `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.

Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.