Retain selected artifact deliveries
vivac_artifactsCapture, list, verify, and restore retained HTML or frontend previews with pinned revisions and provenance, preferring no backend.
Instructions
Retain visual or interactive previews by default: self-contained HTML or a complete HTML/CSS/JS frontend. Use vivac-artifacts and prefer no backend. Other UTF-8 files, including reports, documentation, JSON results, SQL, source and configuration, require the person's explicit selection as deliveries. Operations mirror vivac artifacts: capabilities, list, show, capture, check and restore. Capabilities reports installed formats and limits without reading project state; it takes no other arguments. Capture requires exactly one of path or bundle, an explicit producer from, and a brief description of what this revision does. Bundle names a project-relative JSON selection file, not another delivery. Use artifact and previous to continue a known identity; never merge by filename. List defaults to focus lineage; all lists the project. Returned references pin artifact identity and revision; retention does not approve a delivery or prove a source snapshot. Check verifies the complete retained revision independently of member pagination; metadata listings remain unverified. Restore writes a new file or complete directory and never overwrites. Store check reports unrecorded objects without inventing provenance; orphan restore rescues their bytes without recording a delivery. Custody does not execute content, install dependencies or watch folders. PNG/MP4 bundle members require installed media support and prior human review of exact bytes; automatic inspection covers structure and accessible text, not pixels or speech. SQLite requires explicit installed support; never assume it. Content and descriptions must pass sensitive-value guards; a complete revision is limited to 10 MiB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | New project-relative destination for restore. | |
| all | No | List the whole project, instead of focus lineage. | |
| from | No | Producer node for capture, or scope node for list. | |
| path | No | Selected project-relative source; capture only. | |
| limit | No | List page size, between 1 and 100. | |
| store | No | Check the retained store explicitly; takes no artifact identity. | |
| bundle | No | Project-relative JSON selection file for a complete frontend bundle, optionally with paired database and fixed runtime identity when sqlite_application is supported; capture only, exclusive with path. | |
| offset | No | Nonnegative list offset. | |
| orphan | No | Unrecorded retained object identity for explicit rescue. | |
| artifact | No | Stable artifact identity, never inferred from a filename. | |
| previous | No | Expected previous revision for capture. | |
| revision | No | Exact retained revision for show, check or restore. | |
| operation | Yes | capabilities, list, show, capture, check or restore. | |
| description | No | Required for capture: what this revision does, in one line of up to 280 Unicode characters. | |
| operation_id | No | Opaque ULID for retrying one capture without recapturing bytes. |