Skip to content

evidence:prune

← Back to CLI Commands

Prune kernel evidence no retained receipt needs: unreachable blobs, and archive (gzip) old sealed trace segments (dry run by default)

pnpm evidence:prune

Options:

FlagDescriptionRequired
--applyChange the workspace. Without it the command only reports what it would removeNo
--segment-max-age-days <days>Archive sealed trace segments older than this many days (at least 1); can only raise the workspace valueNo
--segment-retain-bytes <bytes>Archive the oldest sealed trace segments (at least a day old) until the rest total at most this bytes; can only raise the workspace valueNo
--min-blob-age-ms <ms>Keep unreferenced blobs younger than this many ms (default 3600000, floor 600000); can only raise the workspace valueNo
--settle-ms <ms>Wait this many ms before the final reachability check of quarantined blobs (default 30000, floor 5000); can only raise the workspace valueNo
--verifyAlso verify every retained receipt on a dry run (always done after —apply)No
--workspace-root <path>Workspace root path (default: current directory)No
--jsonOutput the result as JSONNo

← Back to CLI Commands