sentinel_snapshot
Capture a model integrity snapshot with per-table row counts, group totals, and measure health. Use before and after changes to diff and catch regressions.
Instructions
Sentinel (the trust layer): take a model integrity snapshot - grand total, per-table row counts, per-group totals, and per-measure health - and optionally write it to a file. Take one before and one after a refresh (or any change), then sentinel_diff them to catch a regression - a vanished category, collapsed rows, a newly-broken measure - the instant it happens. CI/observability for BI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outPath | No | write the snapshot JSON to this path so you can diff it later | |
| maxGroups | No | max grouping columns to capture (default 14) | |
| sessionId | Yes | ||
| anchorMeasure | No | measure to anchor totals (default: first model measure) | |
| maxValuesPerGroup | No | only capture columns with at most this many distinct values (default 500) |