retention: explicit run-history and artifact retention
Add `pipelines retention report` (strictly read-only) and `pipelines retention apply` (explicit, approval-gated removal) with an age and/or count policy, protected-run rules, atomic single-transaction removal and honest database space reclaim. Nothing prunes automatically.
This commit is contained in:
@@ -327,9 +327,16 @@ pipelines serve # foreground server; Ctrl+C stops it
|
||||
pipelines ping
|
||||
pipelines version --json # local client identity (offline)
|
||||
pipelines ping --json # running server identity
|
||||
pipelines retention report --keep 200 # show what run-history retention would remove
|
||||
pipelines retention apply --keep 200 --yes # remove it (artifacts go with their run)
|
||||
pipelines help edit
|
||||
```
|
||||
|
||||
Run-history retention is explicit and never automatic: nothing prunes runs or
|
||||
their artifacts until you run `pipelines retention apply`, protected runs (active,
|
||||
waiting on a person, or referenced by a retained retry) are kept, and pipeline
|
||||
definitions and versions are never touched.
|
||||
|
||||
CLI `new`/`edit` open the configured harness (**OpenCode** or **Pi**, native host
|
||||
by default; a profile is Docker-linked only when a checkout is explicitly linked)
|
||||
directly with the Pipelines skill. The installed skill asks
|
||||
|
||||
Reference in New Issue
Block a user