feat(audit): automate gateway phase0 live-window capture
This commit is contained in:
@@ -1629,7 +1629,17 @@ Live baseline artifacts (sample JSONL + JSON/Markdown summaries) can be captured
|
||||
pnpm audit:phase0-baseline:live
|
||||
```
|
||||
|
||||
Gateway-origin windows can be captured separately (for example when validating cancel paths) by restricting source + time window:
|
||||
One-shot refresh for both channel + gateway live windows:
|
||||
```bash
|
||||
pnpm audit:phase0-baseline:live:refresh
|
||||
```
|
||||
|
||||
Gateway-origin windows can be captured separately (for example when validating cancel paths):
|
||||
```bash
|
||||
pnpm audit:phase0-baseline:live:gateway
|
||||
```
|
||||
|
||||
The gateway command auto-selects the most recent session window containing both `run.cancel` and `run.state=cancelled` (with configurable padding). You can still capture explicit windows by restricting source + time bounds:
|
||||
```bash
|
||||
node --import tsx/esm scripts/capture-phase0-live-baseline.ts \
|
||||
--audit ~/.local/share/flynn/audit.log \
|
||||
|
||||
Reference in New Issue
Block a user