From 794983ca138237e3b697f0c09d4ee614e1716a48 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Wed, 29 Jul 2026 12:53:00 -0400 Subject: [PATCH] chore(reports): refresh hardening inventory --- docs/reports/hardening-inventory.json | 14 +++++++------- docs/reports/hardening-inventory.md | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/reports/hardening-inventory.json b/docs/reports/hardening-inventory.json index 8bf3992d..59ee2800 100644 --- a/docs/reports/hardening-inventory.json +++ b/docs/reports/hardening-inventory.json @@ -1,10 +1,10 @@ { "scope": "src/**/*.{ts,tsx,js,jsx,mjs,cjs}", "syncFs": { - "totalOccurrences": 2378, - "filesAffected": 254, - "hotpathOccurrences": 1102, - "hotpathFilesAffected": 150, + "totalOccurrences": 2379, + "filesAffected": 255, + "hotpathOccurrences": 1103, + "hotpathFilesAffected": 151, "topHotpathFiles": [ { "file": "src/utils/browser/mcp-installer.ts", @@ -573,8 +573,8 @@ }, "loggerCoverage": { "filesWithCreateLogger": 65, - "totalSourceFiles": 752, - "coverageRatio": 0.0864, + "totalSourceFiles": 753, + "coverageRatio": 0.0863, "subdomainsWithZeroCreateLogger": [ "api", "bin", @@ -605,7 +605,7 @@ }, { "subdomain": "utils", - "count": 88, + "count": 89, "withLogger": 1 }, { diff --git a/docs/reports/hardening-inventory.md b/docs/reports/hardening-inventory.md index 0e8578b2..734ddef6 100644 --- a/docs/reports/hardening-inventory.md +++ b/docs/reports/hardening-inventory.md @@ -6,10 +6,10 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}` | Metric | Value | |---|---:| -| Sync fs occurrences (all) | 2378 | -| Sync fs files affected (all) | 254 | -| Sync fs occurrences (runtime hotpaths) | 1102 | -| Sync fs files affected (runtime hotpaths) | 150 | +| Sync fs occurrences (all) | 2379 | +| Sync fs files affected (all) | 255 | +| Sync fs occurrences (runtime hotpaths) | 1103 | +| Sync fs files affected (runtime hotpaths) | 151 | | Legacy shim markers | 456 | | Legacy shim files affected | 171 | @@ -60,7 +60,7 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}` | typed-error adoption (P4 locked subdomains) | 91.7% (22/24), target 40% | | hotpath console.error/warn occurrences | 266 (571 total, 305 CLI-UX exempt) | | hotpath console.error/warn files | 82 | -| files with createLogger | 65/752 | +| files with createLogger | 65/753 | | subdomains with zero createLogger | 15 (api, bin, channels, cliproxy, cliproxy/accounts, cliproxy/ai-providers, cliproxy/binary, cliproxy/config, cliproxy/management, cliproxy/sync, cliproxy/types, config, dispatcher, shared, types) | | files > 400 LOC | 91 | | files > 600 LOC | 42 |