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

Combined help SHA-256: `04bab0ac1e9691119efcb70627b534a73431f51bb44ed8ba81d93cc10afd6569`; binary SHA-256: `08424ee2465261eafaa112d13ef05a20ce1fe1b6479e896341e22fbc55e61d3e`.