feat(auth): share canonical Claude memory

Refs #1688
This commit is contained in:
Tam Nhu Tran committed 2026-08-08 21:17:32 -04:00
1 parent 7fb56d62e1
commit 6841025bb4
14 files changed
+1011 -70

No files matched your search

+10 -10
View File
@@ -1,10 +1,10 @@
{
"scope": "src/**/*.{ts,tsx,js,jsx,mjs,cjs}",
"syncFs": {
"totalOccurrences": 2427,
"filesAffected": 258,
"hotpathOccurrences": 1142,
"hotpathFilesAffected": 152,
"totalOccurrences": 2446,
"filesAffected": 260,
"hotpathOccurrences": 1161,
"hotpathFilesAffected": 154,
"topHotpathFiles": [
{
"file": "src/management/shared-manager/diverged-file-adopter.ts",
@@ -498,10 +498,10 @@
"maintainability": {
"typedErrors": {
"totalThrows": 452,
"typedThrows": 80,
"plainThrows": 312,
"typedThrows": 81,
"plainThrows": 311,
"otherThrows": 60,
"adoptionRatio": 0.177,
"adoptionRatio": 0.1792,
"topSubdomainsByThrows": [
{
"subdomain": "web-server",
@@ -579,8 +579,8 @@
},
"loggerCoverage": {
"filesWithCreateLogger": 65,
"totalSourceFiles": 759,
"coverageRatio": 0.0856,
"totalSourceFiles": 761,
"coverageRatio": 0.0854,
"subdomainsWithZeroCreateLogger": [
"api",
"bin",
@@ -616,7 +616,7 @@
},
{
"subdomain": "management",
"count": 33,
"count": 35,
"withLogger": 1
},
{
+6 -6
View File
@@ -6,10 +6,10 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}`
| Metric | Value |
|---|---:|
| Sync fs occurrences (all) | 2427 |
| Sync fs files affected (all) | 258 |
| Sync fs occurrences (runtime hotpaths) | 1142 |
| Sync fs files affected (runtime hotpaths) | 152 |
| Sync fs occurrences (all) | 2446 |
| Sync fs files affected (all) | 260 |
| Sync fs occurrences (runtime hotpaths) | 1161 |
| Sync fs files affected (runtime hotpaths) | 154 |
| Legacy shim markers | 458 |
| Legacy shim files affected | 173 |
@@ -56,11 +56,11 @@ Scope: `src/**/*.{ts,tsx,js,jsx,mjs,cjs}`
| Metric | Value |
|---|---:|
| typed-error adoption (typed/total throws) | 17.7% (80/452) |
| typed-error adoption (typed/total throws) | 17.9% (81/452) |
| typed-error adoption (P4 locked subdomains) | 93.3% (28/30), target 40% |
| hotpath console.error/warn occurrences | 266 (571 total, 305 CLI-UX exempt) |
| hotpath console.error/warn files | 82 |
| files with createLogger | 65/759 |
| files with createLogger | 65/761 |
| 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 |