Commit Graph

7 Commits

Author SHA1 Message Date
William Valentin 576b11106f fix(audit): expand home paths across phase0 CLI scripts
Apply HOME-based ~ expansion to summarize/drift/prune audit scripts for input/output path flags to match capture behavior and avoid literal ~/ path bugs. Architecture/protocol diagrams reviewed; no updates needed for this path-resolution change.
2026-02-27 13:30:08 -08:00
William Valentin bfa857f074 fix(audit): dedupe repeated backend CLI selections
Normalize repeated --backend values in phase0 capture/drift scripts so backend lists are unique and deterministic. Architecture/protocol diagrams reviewed; no updates needed for this parsing-only change.
2026-02-27 13:27:35 -08:00
William Valentin 5b9bcbafee fix(audit): validate phase0 artifact tag inputs
Add shared artifact-tag normalization/validation and apply it to capture, drift, and prune scripts for --tag/--report-tag/--baseline-tag paths. Architecture diagrams reviewed; no flow changes required.
2026-02-27 13:25:35 -08:00
William Valentin 98f954de0d feat(audit): add reaction-rate drift gate thresholds
Add optional reaction match-drop and skip-increase drift thresholds, expose CLI flags, and enable conservative defaults in cadence package scripts. Includes tests and docs/state sync.
2026-02-27 13:23:28 -08:00
William Valentin bf79f734f1 fix(audit): require integer drift minimum sample thresholds
Enforce non-negative integer minCandidateSampledEvents/minBaselineSampledEvents in drift gate evaluation and CLI parsing; add regression coverage. Architecture/protocol diagrams reviewed and no updates were needed for this validation-only change.
2026-02-27 13:16:00 -08:00
William Valentin e905fe1d56 feat(audit): persist phase0 backend drift report artifacts 2026-02-27 09:05:25 -08:00
William Valentin 20224f1601 feat(audit): add phase0 backend drift and freshness gates 2026-02-27 09:01:43 -08:00