Commit Graph

28 Commits

Author SHA1 Message Date
William Valentin 8818c326b7 fix(audit): clarify missing drift artifacts-dir errors
Replace raw ENOENT from drift artifact directory scans with a clear explicit error message containing the resolved path. Architecture/protocol diagrams reviewed; no updates needed.
2026-02-27 13:30:56 -08:00
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 c91262ac30 fix(audit): tolerate missing phase0 artifact dir in prune
Treat missing artifacts dir as empty input for prune planning/apply workflows on fresh hosts; keep report output behavior intact. Architecture/protocol diagrams reviewed; no updates needed for this script robustness change.
2026-02-27 13:28:40 -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 0decf34760 fix(audit): require integer gateway window padding
Enforce non-negative integer padding_ms/--window-padding-ms across gateway window helper and live baseline capture CLI, with regression coverage for invalid values. Architecture/protocol diagrams reviewed; no updates were needed for this validation-only change.
2026-02-27 13:18:37 -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 a4794ddea8 fix(audit): require integer phase0 summary row limits
Require non-negative integer maxSessions/maxChannels/maxSkipReasons in summary core and both phase0 summary/capture CLIs to prevent silent flooring of fractional values. Architecture/protocol diagrams reviewed; no flow or API shape changes required.
2026-02-27 13:14:24 -08:00
William Valentin 06998ac65d fix(audit): require integer rolling retention keep limits
Validate keepPerFamily/--keep-per-family as non-negative integers, remove silent flooring, add regression coverage, and sync runbook/docs wording.
2026-02-27 13:11:31 -08:00
William Valentin 6e7a0aa37f feat(audit): add prune reports to rolling cadence flow 2026-02-27 10:48:49 -08:00
William Valentin 134fa60af1 feat(audit): add rolling phase0 artifact retention tooling 2026-02-27 10:20:14 -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
William Valentin 68cdc2cf8b feat(audit): add backend-scoped phase0 live baseline capture 2026-02-27 08:47:31 -08:00
William Valentin 826df1d35b feat(audit): automate gateway phase0 live-window capture 2026-02-26 23:56:30 -08:00
William Valentin 4b07a1f166 feat(audit): replace probe baseline workflow with live anonymized capture 2026-02-26 23:41:13 -08:00
William Valentin 820af97859 fix(companion): make reference-app exports reproducible by default
No diagram change needed: this change only makes generated reference-app timestamps deterministic and adds an override flag.
2026-02-26 20:58:31 -08:00
William Valentin d303869866 feat(companion): add runnable macOS menu-bar reference app scaffold 2026-02-26 20:51:00 -08:00
William Valentin be8b1f29a4 feat(companion): add generated macos ios android reference app surfaces 2026-02-26 19:37:28 -08:00
William Valentin 3839c04a7d feat(companion): add build-and-verify bundle automation pipeline 2026-02-26 19:35:02 -08:00
William Valentin 0b8f7c7299 feat(audit): add phase-0 baseline summary tooling
Diagrams reviewed: docs/architecture/AGENT_DIAGRAM.md, docs/architecture/GATEWAY_SESSIONS_AND_QUEUE.md, docs/api/PROTOCOL.md (no changes required).
2026-02-25 09:14:38 -08:00
William Valentin 959216ac5c feat(audit): add router-based guard probe harness for pi canary 2026-02-23 22:44:26 -08:00
William Valentin c5b310c852 feat(audit): add guard-coverage thresholds to canary gate 2026-02-23 22:38:14 -08:00
William Valentin 34d1562ce8 feat(audit): add sample-size gate thresholds for canary evaluation 2026-02-23 22:34:50 -08:00
William Valentin afddd1ba7a feat(audit): add pi canary summary analyzer and cli script 2026-02-23 22:26:29 -08:00
William Valentin 076379bfc1 refactor(config): generate paas profile from default overlay 2026-02-23 17:11:02 -08:00
William Valentin 01ee6ba53f feat(backup): add MinIO snapshot backups via CLI and scheduler 2026-02-16 13:16:29 -08:00