From 32c8c7b767ab9b2c1fe03dd41b335047393ed806 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Wed, 29 Jul 2026 14:02:52 -0400 Subject: [PATCH] chore(hardening): refresh routing inventory --- docs/reports/hardening-inventory.json | 16 ++++++++-------- docs/reports/hardening-inventory.md | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/reports/hardening-inventory.json b/docs/reports/hardening-inventory.json index d36b40a8..41590117 100644 --- a/docs/reports/hardening-inventory.json +++ b/docs/reports/hardening-inventory.json @@ -1,8 +1,8 @@ { "scope": "src/**/*.{ts,tsx,js,jsx,mjs,cjs}", "syncFs": { - "totalOccurrences": 2382, - "filesAffected": 256, + "totalOccurrences": 2388, + "filesAffected": 257, "hotpathOccurrences": 1103, "hotpathFilesAffected": 151, "topHotpathFiles": [ @@ -573,8 +573,8 @@ }, "loggerCoverage": { "filesWithCreateLogger": 65, - "totalSourceFiles": 754, - "coverageRatio": 0.0862, + "totalSourceFiles": 756, + "coverageRatio": 0.086, "subdomainsWithZeroCreateLogger": [ "api", "bin", @@ -737,6 +737,10 @@ "file": "src/web-server/model-pricing.ts", "loc": 1127 }, + { + "file": "src/cliproxy/config/generator.ts", + "loc": 1109 + }, { "file": "src/cliproxy/auth/oauth-process.ts", "loc": 1048 @@ -749,10 +753,6 @@ "file": "src/web-server/routes/settings-routes.ts", "loc": 1042 }, - { - "file": "src/cliproxy/config/generator.ts", - "loc": 1034 - }, { "file": "src/cliproxy/proxy/tool-sanitization-proxy.ts", "loc": 1020 diff --git a/docs/reports/hardening-inventory.md b/docs/reports/hardening-inventory.md index ef785347..9839ced0 100644 --- a/docs/reports/hardening-inventory.md +++ b/docs/reports/hardening-inventory.md @@ -6,8 +6,8 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}` | Metric | Value | |---|---:| -| Sync fs occurrences (all) | 2382 | -| Sync fs files affected (all) | 256 | +| Sync fs occurrences (all) | 2388 | +| Sync fs files affected (all) | 257 | | Sync fs occurrences (runtime hotpaths) | 1103 | | Sync fs files affected (runtime hotpaths) | 151 | | Legacy shim markers | 456 | @@ -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/754 | +| files with createLogger | 65/756 | | 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 | @@ -94,10 +94,10 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}` | `src/cliproxy/auth/oauth-handler.ts` | 1467 | | `src/cursor/cursor-executor.ts` | 1234 | | `src/web-server/model-pricing.ts` | 1127 | +| `src/cliproxy/config/generator.ts` | 1109 | | `src/cliproxy/auth/oauth-process.ts` | 1048 | | `src/cliproxy/config/env-builder.ts` | 1045 | | `src/web-server/routes/settings-routes.ts` | 1042 | -| `src/cliproxy/config/generator.ts` | 1034 | | `src/cliproxy/proxy/tool-sanitization-proxy.ts` | 1020 | | `src/commands/cliproxy/variant-subcommand.ts` | 997 | | `src/cliproxy/quota/quota-manager.ts` | 954 |