Archive pipelines: hide unused ones while keeping their history

archived_at on pipelines (migrated in place). archive_pipeline and
unarchive_pipeline by id or name with an expected-version guard;
list_pipelines hides archived unless include_archived. Archived
pipelines refuse runs, retries, new versions and name reuse, and
cannot be archived while an enabled schedule points at them.
CLI archive/unarchive and list --archived/--all, docs and skill note.
This commit is contained in:
2026-11-04 23:25:55 +00:00
parent fa6c0864db
commit 06bf580154
16 changed files with 630 additions and 14 deletions
+3 -1
View File
@@ -25,7 +25,7 @@ EXECUTE
rpc <request.json|-> Send any protocol command (automation escape hatch)
BROWSE
list List registered pipelines
list List active pipelines; --archived/--all show archived ones
search QUERY Search pipelines, versions, runs, steps, field text, artifacts
show <name|id> Inspect graph, settings, source and history
versions <name|id> List immutable versions
@@ -42,6 +42,8 @@ AUTHORING — only when the user explicitly asks to create or change a definitio
import [FILE.zip] Select/import definitions; explicitly resolve conflicts
MAINTAIN
archive <name|id> Hide an unused pipeline; versions and runs are kept
unarchive <name|id> Return an archived pipeline to lists and runs
retention report Show what a run-history policy would remove (read-only)
retention apply Remove it after approval; artifacts go with their run