feat(audit): add phase0 backend drift and freshness gates

This commit is contained in:
William Valentin
2026-02-27 09:01:43 -08:00
parent 68cdc2cf8b
commit 20224f1601
10 changed files with 1157 additions and 7 deletions
+7 -2
View File
@@ -1640,9 +1640,14 @@ One-shot refresh for both channel + gateway live windows:
pnpm audit:phase0-baseline:live:refresh
```
Cadence scheduling (example: every 6 hours via host cron):
Backend drift/freshness gate for backend-scoped artifacts (`pi_embedded` vs `native`):
```bash
0 */6 * * * cd /path/to/flynn && pnpm audit:phase0-baseline:live:refresh >> ~/.local/share/flynn/phase0_baseline_refresh.log 2>&1
pnpm audit:phase0-baseline:live:drift
```
Cadence scheduling (example: every 6 hours via host cron) with drift check:
```bash
0 */6 * * * cd /path/to/flynn && pnpm audit:phase0-baseline:live:refresh:drift >> ~/.local/share/flynn/phase0_baseline_refresh.log 2>&1
```
`audit:phase0-baseline:live*` scripts now default to the current UTC date tag when `--tag` is omitted.