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.
This commit is contained in:
William Valentin
2026-02-27 13:30:08 -08:00
parent c91262ac30
commit 576b11106f
4 changed files with 57 additions and 9 deletions
+13
View File
@@ -604,6 +604,19 @@
],
"test_status": "pnpm typecheck + node --import tsx/esm scripts/prune-phase0-baseline-artifacts.ts --artifacts-dir <missing-dir> --format json passing"
},
"phase0-live-baseline-home-path-expansion-consistency": {
"status": "completed",
"date": "2026-02-27",
"updated": "2026-02-27",
"summary": "Added `~` home-path expansion consistency across phase-0 summarize/drift/prune CLIs for audit/artefact path flags (`--audit`, `--artifacts-dir`, `--summary-*-out`, `--out`) to match capture script behavior.",
"files_modified": [
"scripts/summarize-phase0-baseline.ts",
"scripts/check-phase0-baseline-backend-drift.ts",
"scripts/prune-phase0-baseline-artifacts.ts",
"docs/plans/state.json"
],
"test_status": "pnpm typecheck + HOME=/tmp path-expansion smoke checks passing"
},
"phase0-instrumentation-ticket-checklist": {
"status": "completed",
"date": "2026-02-25",