chore(reports): refresh hardening inventory

This commit is contained in:
Tam Nhu Tran committed 2026-07-29 12:53:00 -04:00
1 parent d700030018
commit 794983ca13
2 files changed
+12 -12

No files matched your search

+7 -7
View File
@@ -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
},
{
+5 -5
View File
@@ -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 |