Compare two snapshots
cs_compare_snapshotsCompare two snapshot folders to detect drift in solution version, agents, flows, connection references, and environment variables. Writes markdown and JSON reports, and can fail on drift to gate pipelines.
Instructions
Offline diff of two snapshot folders: solution version, per-agent YAML differences (noise such as ids, audit info and connection ids removed), flows, connection references, environment variables, unpublished changes. Writes /-vs-.md and .json. failOnDrift returns an error result when drift is found (for pipeline gates).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Snapshot folder (earlier stage, e.g. DEV) | |
| b | Yes | Snapshot folder (later stage, e.g. TEST) | |
| reportDir | No | Default: parent of b | |
| failOnDrift | No | ||
| ignoredKeys | No | ||
| includeDiffs | No | Default true: unified diffs in the report | |
| strictVariables | No | Treat differing environment variable values as drift |