{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"cmdSync (cyclomatic 830): cmdSync has cyclomatic complexity 830 (threshold 15). Of this number, 710 points are the body\u0027s own statements and 120 belong to 88 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe87777fd5a3e0f57d0b4406bb25c98207bce487aace2202e46dd64936d6e8c"}},{"ruleId":"D1","level":"warning","message":{"text":"createLocalApiHandler::handleLocalApi (cyclomatic 645): createLocalApiHandler::handleLocalApi has cyclomatic complexity 645 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ef87527c0cf0b1227f4b93eadd89e38809eab49ac610a065e885d46580209"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.createLocalApiHandler.handleLocalApi (cyclomatic 634): local-api.createLocalApiHandler.handleLocalApi has cyclomatic complexity 634 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (local-api.createLocalApiHandler.handleLocalApi::aggregateEntries) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"26949dd9006e777a4a7939c0e9439d0b210c18a2e902f96f4e24739799449c47"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdStatus (cyclomatic 408): cmdStatus has cyclomatic complexity 408 (threshold 15). Of this number, 381 points are the body\u0027s own statements and 27 belong to 40 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c400bc8cf5071797227e3684a6254c7058e51d288f01b8c1d984afe7b018b9"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudCheckoutPage.CloudCheckoutPage (cyclomatic 334): CloudCheckoutPage.CloudCheckoutPage has cyclomatic complexity 334 (threshold 15). Of this number, 207 points are the body\u0027s own statements and 127 belong to 17 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48521b93b792723a4ce53abd45dc230947f3a6a62e76f2dc586afd55c39c3b3"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardPage.DashboardPage (cyclomatic 317): DashboardPage.DashboardPage has cyclomatic complexity 317 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 252 belong to 79 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"30181df7f9127a7f33959806f04288a5a79e41deb1b0487febdeaedf8b7c1565"}},{"ruleId":"D1","level":"warning","message":{"text":"IpCheckPage.IpCheckPage (cyclomatic 278): IpCheckPage.IpCheckPage has cyclomatic complexity 278 (threshold 15). Most of this is not in the body itself: 2 of the 278 points are its own statements and the rest belongs to 38 function literals inside it that branch (lines 821, 465, 643, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f981ed4ff4f5d887fec2121e5277a8ad168e928266624a4a3fc864ac13f945"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsPage.SkillsPage (cyclomatic 252): SkillsPage.SkillsPage has cyclomatic complexity 252 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 179 belong to 66 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"e430f4240cc3daaedb6e2dc1c408b10f8ee2024118ea26df4cad5badb8e5384a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseAntigravityIncremental (cyclomatic 241): rollout.parseAntigravityIncremental has cyclomatic complexity 241 (threshold 15). Of this number, 240 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22484}}}],"partialFingerprints":{"codehealthFindingId/v1":"73baf913cc8851058da236287458cb901b3ddb481aaefddf5f160b9fabccfa47"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseWorkbuddyIncremental (cyclomatic 215): rollout.parseWorkbuddyIncremental has cyclomatic complexity 215 (threshold 15). Of this number, 152 points are the body\u0027s own statements and 63 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dafeea96cb3dceee8092a006b42d7f9ad8e57801d3b3c50ab1e2a0e6dd2ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseDshIncremental (cyclomatic 200): rollout.parseDshIncremental has cyclomatic complexity 200 (threshold 15). Of this number, 182 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3bd17af4788d6c76893ed40918eae5617dbbd3e506bf35751f02d01ecc137c"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchUsageLimitsUncached (cyclomatic 191): fetchUsageLimitsUncached has cyclomatic complexity 191 (threshold 15). Of this number, 156 points are the body\u0027s own statements and 35 belong to 54 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4478}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7144879fc810ae7f39d8f7670d76efcf038d7af3a7e6a67d2d775cf088238"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseRolloutIncremental (cyclomatic 169): rollout.parseRolloutIncremental has cyclomatic complexity 169 (threshold 15). Of this number, 123 points are the body\u0027s own statements and 46 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac539e932686eb5c5755d3c4b42d0ec5b994a02c4b8915d8bc549b4bf1b9517"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile (cyclomatic 151): codex-rollout-parser.parseCodexRolloutFile has cyclomatic complexity 151 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (codex-rollout-parser.parseCodexRolloutFile::recordModelUsage, codex-rollout-parser.parseCodexRolloutFile::getExecKeys) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2b1ffe7c721273215d6d021640217fbea4578505cd7a128a66836a27a41f97"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseGrokBuildIncremental (cyclomatic 141): rollout.parseGrokBuildIncremental has cyclomatic complexity 141 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21746}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0b3b62bd0e2b21c12f9553d75ed919d95160a45e792c128122639312e29679"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.buildSessionAnalyticsInternal (cyclomatic 135): session-analytics.buildSessionAnalyticsInternal has cyclomatic complexity 135 (threshold 15). Of this number, 126 points are the body\u0027s own statements and 9 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f06a4ac7a13f41c3a94c8b491a0bbb29b04775a8eb475139ad6494d3e9c14f9"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 135): App.App has cyclomatic complexity 135 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 28 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae99ae5fe4761a6f083773839354b5580428abf7ff82057d681259cc1f17ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"handleLocalApi (cyclomatic 133): handleLocalApi has cyclomatic complexity 133 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4938a8ecd52e8e9006bc5df1d257bbd3022c68aaa1bb8ff99816becd08a64b"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-daily.getModelPricing (cyclomatic 132): tokentracker-account-daily.getModelPricing has cyclomatic complexity 132 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed3da686facab7a0857c9a825e445a22fba7c42884afd585dd8627fd20226eb"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getModelPricing (cyclomatic 132): tokentracker-account-model-breakdown.getModelPricing has cyclomatic complexity 132 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0b44f7c79faa50156dff0b086314c240eb9d83ee7d76b5afa89fe73be834c0"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-summary.getModelPricing (cyclomatic 132): tokentracker-account-summary.getModelPricing has cyclomatic complexity 132 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb65104189fc55f6d4d6a115336e1838a596939f22526e76a5d386b98b80407"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-profile.getModelPricing (cyclomatic 132): tokentracker-leaderboard-profile.getModelPricing has cyclomatic complexity 132 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1fe93a8b83c65c077be791f95b42cbf2803d988fb9175e7787368ac33d3562"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.getModelPricing (cyclomatic 132): tokentracker-leaderboard-refresh.getModelPricing has cyclomatic complexity 132 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b7bc679efa8d16da379890b458051639b61808e573f05273a5ad55018ce58b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.enqueueTouchedBuckets (cyclomatic 122): rollout.enqueueTouchedBuckets has cyclomatic complexity 122 (threshold 15). Of this number, 118 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dafb4155646f16f7add5f6bcabad7a4561f93c0f67eedc6ba1595c1206483f"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseRolloutRecords (cyclomatic 121): rollout.parseRolloutRecords has cyclomatic complexity 121 (threshold 15). Of this number, 112 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305e53487a0411030f22cd53b7412933bb4672beed7553d7589e49a5ded3cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-qa-server.createNativeQAServer.server (cyclomatic 120): native-qa-server.createNativeQAServer.server has cyclomatic complexity 120 (threshold 15). Of this number, 109 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c990182760f2f067ec3e36219dc965f3c9017c2f1add52805f3af6e305fc4b27"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardPage.LeaderboardPage (cyclomatic 120): LeaderboardPage.LeaderboardPage has cyclomatic complexity 120 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 70 belong to 26 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46873555e4b4e12b1ac9a9068e47204cbc973f969317e75338a1851d94a357a"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudPage.CloudPlanView (cyclomatic 114): CloudPage.CloudPlanView has cyclomatic complexity 114 (threshold 15). Of this number, 99 points are the body\u0027s own statements and 15 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8e908b38988c1dc070b3555e74d7c705875d33be3e5e3fb89af1e97521c43f"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parsePiLikeIncremental (cyclomatic 112): rollout.parsePiLikeIncremental has cyclomatic complexity 112 (threshold 15). Of this number, 109 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17582}}}],"partialFingerprints":{"codehealthFindingId/v1":"990751fbc3163eabf696dc83aaff1b59724451966716a2addf1c714c830d9ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCopilotSessionStoreIncremental (cyclomatic 112): rollout.parseCopilotSessionStoreIncremental has cyclomatic complexity 112 (threshold 15). Of this number, 111 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6914b289649eee6476b41dd9bbf64536d883649acd7fc073a2165b536bee097c"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPage.SessionsPage (cyclomatic 111): SessionsPage.SessionsPage has cyclomatic complexity 111 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 76 belong to 19 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8730d9a9585629ce7143ade8ccc957b43431be1d29d238db4a7a1d1f07f1b1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-billing.billing (cyclomatic 110): tokentracker-billing.billing has cyclomatic complexity 110 (threshold 15). Of this number, 102 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43e0d3a803413ee8e93542c668ee9725c180d7202d2b61cea0a84d352cbb94"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseClaudeIncremental (cyclomatic 105): rollout.parseClaudeIncremental has cyclomatic complexity 105 (threshold 15). Of this number, 101 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae1489bb9e8d95d9a3b62f6352d419b95f0798646dc4857b13f576b76d532b3"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCodebuddyIncremental (cyclomatic 104): rollout.parseCodebuddyIncremental has cyclomatic complexity 104 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10876}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb36b2f7629e12a544c5ca5dbcceb9c363e0190093f72d4accc2849c8d6a45e"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityHeatmap.ActivityHeatmap (cyclomatic 101): ActivityHeatmap.ActivityHeatmap has cyclomatic complexity 101 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 56 belong to 23 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41c6d49f105f8d4df6f2367d9a7d5db67c63a82a8af31fd91a3a82c10c02c7"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginCard.LoginCard (cyclomatic 99): LoginCard.LoginCard has cyclomatic complexity 99 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 52 belong to 13 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458f67fc2e057b004e117aae1d2756edc3f39c432d76dbeede269560ebdb0b1"}},{"ruleId":"D1","level":"warning","message":{"text":"repairCodexRescanInflation (cyclomatic 99): repairCodexRescanInflation has cyclomatic complexity 99 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"442fb4245d44c9a07828f11c8a218b159a97c2b4bf3dc4c29967a876cb6ea221"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityHeatmap3D.ActivityHeatmap3D (cyclomatic 96): ActivityHeatmap3D.ActivityHeatmap3D has cyclomatic complexity 96 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 70 belong to 30 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6521f30d44dcf0f6e42dda1186fd26ef6b2c253552d7c9f62b045501097076b"}},{"ruleId":"D1","level":"warning","message":{"text":"readKimiSessions (cyclomatic 92): readKimiSessions has cyclomatic complexity 92 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 7 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7c2fbe9afdf66fa662b18a274359c68847c1d587ae1a86991b4dc0b375e732"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.buildZcodeSessionRecords (cyclomatic 91): session-analytics.buildZcodeSessionRecords has cyclomatic complexity 91 (threshold 15). Of this number, 82 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3030571dd57661e23e8808d410f5097e9082e86edf426ce5b3f4f0d3ac1d74"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOmpLikeIncremental (cyclomatic 90): rollout.parseOmpLikeIncremental has cyclomatic complexity 90 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 35 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17016}}}],"partialFingerprints":{"codehealthFindingId/v1":"61295fc35af095d2106cc9e9cd93ec85f7d9c53a1d3413aa50b07054b2f37817"}},{"ruleId":"D1","level":"warning","message":{"text":"computeCodexContextBreakdown (cyclomatic 90): computeCodexContextBreakdown has cyclomatic complexity 90 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 14 belong to 27 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97115c31e574b7cb4f5d454466c40dfc1c635a961258be9947dc442a20b7c80"}},{"ruleId":"D1","level":"warning","message":{"text":"readOmpSessionFiles (cyclomatic 89): readOmpSessionFiles has cyclomatic complexity 89 (threshold 15). Of this number, 86 points are the body\u0027s own statements and 3 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e3211f638ca4ac1ca89dec95316b5230abee1111b53dde15d56672d25065d6"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseAntigravityFile (cyclomatic 87): rollout.parseAntigravityFile has cyclomatic complexity 87 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc38fe81549bc00191f6d0ab0e1a700add0e4072dcd021f33641d43dc458c53"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseDroidIncremental (cyclomatic 85): rollout.parseDroidIncremental has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16393}}}],"partialFingerprints":{"codehealthFindingId/v1":"178c4cdf0840396205f99ed6e744c320ca8a7641f03f06a0dcba6fa545d7d75c"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageOverview.UsageOverview (cyclomatic 85): UsageOverview.UsageOverview has cyclomatic complexity 85 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 33 belong to 16 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed756910a53af8a1a59aeef13dbffd454d5cf5a56471dcfbb820c1f08a80c423"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseQoderNewIncremental (cyclomatic 84): rollout.parseQoderNewIncremental has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d347994747c3acd7ac37ef7e05e4994ebc88db1ed8300546b4e1aca11161bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.ContextBreakdownPanel (cyclomatic 83): ContextBreakdownPanel.ContextBreakdownPanel has cyclomatic complexity 83 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 40 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"401ccfc82d878e7fc091262fa3b9d5b06f4061efbd2db4c76566b6831abe53b5"}},{"ruleId":"D1","level":"warning","message":{"text":"readPiSessionFiles (cyclomatic 83): readPiSessionFiles has cyclomatic complexity 83 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 5 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"0630f14349cdc899f61f97d18c18ff9145bb3d64608813c3437f94b83aebd36b"}},{"ruleId":"D1","level":"warning","message":{"text":"init.applyIntegrationSetup (cyclomatic 81): init.applyIntegrationSetup has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b85d337e96672c4348a007fdd611136bf0af57114d733dc04aebc9a23eef46"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.default (cyclomatic 80): tokentracker-leaderboard-refresh.default has cyclomatic complexity 80 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6342eaa90c91271b1c8820c02964392590488af98b4e929c8c4b6e469eb75a0"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudMembershipCard.CloudMembershipAccount (cyclomatic 79): CloudMembershipCard.CloudMembershipAccount has cyclomatic complexity 79 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 15 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2e10f485e75012be37759593266d4c64ee9d7439c86da9a226e41ec188b30b"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-profile.default (cyclomatic 78): tokentracker-leaderboard-profile.default has cyclomatic complexity 78 (threshold 15). Of this number, 77 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aacd5a4923353d93c3c1670f020570f8b21319865eab325612f5bd59442d0ee"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardWindow.InitializeWebViewCoreAsync (cyclomatic 76): DashboardWindow.InitializeWebViewCoreAsync has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 2 of the 76 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 474, 403, 443, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff58ee52fbf03985edb41796857defd7b373d4c763b2f58288cc98545eac72e"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-model-breakdown.handleAccountRequest (cyclomatic 76): tokentracker-account-model-breakdown.handleAccountRequest has cyclomatic complexity 76 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e613d5fb4029d22b437e62a18734d67c8ffa96799c5b91098e2bea7708430c3"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKiroCliIncremental (cyclomatic 75): rollout.parseKiroCliIncremental has cyclomatic complexity 75 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9596}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d49bf8deb2068b4205da23f51961b421e50880039a77bc12247bdd74123cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"InsforgeAuthContext.InsforgeAuthProvider (cyclomatic 75): InsforgeAuthContext.InsforgeAuthProvider has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 3 of the 75 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 163, 142, 294, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3571ed8a8d3b5b89b4005091eb2fc6a7f04abf4aff158b5abe7d07c6fe40be1e"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseClineIncremental (cyclomatic 74): rollout.parseClineIncremental has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c209c4e930b4fbe19ac21bb6f63baaef06b3eacc909f2b1991abb56169ca289a"}},{"ruleId":"D1","level":"warning","message":{"text":"TrendMonitor.TrendMonitor (cyclomatic 73): TrendMonitor.TrendMonitor has cyclomatic complexity 73 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 32 belong to 15 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04e177fa75db5a9ab84306245a84c0e243eeab0d481f6d19e3c15999b767119"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.scanGrokSession (cyclomatic 72): session-analytics.scanGrokSession has cyclomatic complexity 72 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf1eaf4faa526fc2c302dbd93af5e48e3dcb74fda31715c01194c27e88bfad"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpenclawIncremental (cyclomatic 71): rollout.parseOpenclawIncremental has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"7212cf51b5cfbd97252dbe2dbb867b19b543f0fa2876ced0649e69b2fdff199b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseDevinIncremental (cyclomatic 71): rollout.parseDevinIncremental has cyclomatic complexity 71 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d36e0323764b1a98ce7d407cc714f969e7e398f5e1c8b949fe282df47564e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo-processing.reconcileWaffoOrder (cyclomatic 71): waffo-processing.reconcileWaffoOrder has cyclomatic complexity 71 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo-processing.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88aa6f6872e00932643c49f8dfb8268744b545486f33a0490c6004c4767aa5a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpencodeDbIncremental (cyclomatic 69): rollout.parseOpencodeDbIncremental has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6282}}}],"partialFingerprints":{"codehealthFindingId/v1":"412ea2eebc3bcd68bee61da7f8220dd63a412ae1b29b5d95b7798f6354483895"}},{"ruleId":"D1","level":"warning","message":{"text":"use-trend-data.useTrendData.refresh (cyclomatic 67): use-trend-data.useTrendData.refresh has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd72ccac59e02eda570b50aae5444f96d4603be0952e8fd0893766bb5438ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.scanClaudeSession (cyclomatic 65): session-analytics.scanClaudeSession has cyclomatic complexity 65 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c9c83c65e7020cb8566aba39f234dae47a08c2e51c8f5b58153e7b5bf39d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionDetailModal.SessionDetailModal (cyclomatic 65): SessionDetailModal.SessionDetailModal has cyclomatic complexity 65 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 30 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2105fd86afb909d732b5006acf4f2264588b683f719b1292e7cc846b9bdde2"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-ingest.default (cyclomatic 64): tokentracker-ingest.default has cyclomatic complexity 64 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b5627a75260dc45d665b4c46f2f0fbeae502fa3d457a9e54796cee10b47ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsView.sectionIfContent (cyclomatic 64): UsageLimitsView.sectionIfContent has cyclomatic complexity 64 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3109dd7d2bda2a4a1ff35c786d1b529849532f8113c85cb3ffcc14381d0f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"matcher.lookupPricing (cyclomatic 63): matcher.lookupPricing has cyclomatic complexity 63 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ba2868a18acff02c2a83fa003c63f863d3f6b24cd7cdc633e66ccf1fc99219"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.scanOpencodeSessions (cyclomatic 63): session-analytics.scanOpencodeSessions has cyclomatic complexity 63 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba999adb20acae128dfdc6314e72a32fd2f32a3a1454ba3fdd919cca89c4af"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudUsageExport.CloudUsageExport (cyclomatic 63): CloudUsageExport.CloudUsageExport has cyclomatic complexity 63 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 26 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dce813b57b7e47155d64c87455d08774970d43812202f3fca0a1e84988480b"}},{"ruleId":"D1","level":"warning","message":{"text":"pet.Pet (cyclomatic 63): pet.Pet has cyclomatic complexity 63 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 25 belong to 13 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e509c66cb85a22658c073af83de7f9f5254c763e60cf71e9d4c484c87842bd"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseLmstudioIncremental (cyclomatic 62): rollout.parseLmstudioIncremental has cyclomatic complexity 62 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14250}}}],"partialFingerprints":{"codehealthFindingId/v1":"06152f022db526166a32122c0a3da55d9951df9105d3c96c70454784d4f23415"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readKiroCliV2SessionTurns (cyclomatic 61): rollout.readKiroCliV2SessionTurns has cyclomatic complexity 61 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a13df9daf0fe5d5206144de28d68031aead2c2ba54c2fe616b7d9dc2950df55"}},{"ruleId":"D1","level":"warning","message":{"text":"RedeemProCode.RedeemProCode (cyclomatic 60): RedeemProCode.RedeemProCode has cyclomatic complexity 60 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (RedeemProCode.RedeemProCode::perform) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb10fd145cf818a8753e3c94e8cb5329ab4081cc1d012fe0a10e9a236346a5c4"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCommandCodeIncremental (cyclomatic 59): rollout.parseCommandCodeIncremental has cyclomatic complexity 59 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff5bc80217dce509fa1e79a4737652c30ea3233897b6d59e1e55fa25f8918f8"}},{"ruleId":"D1","level":"warning","message":{"text":"repairWorkbuddyContextUsage (cyclomatic 59): repairWorkbuddyContextUsage has cyclomatic complexity 59 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 1 belongs to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9e57fe384926c4aa5797a308aa1689f186bbdbd9895b1113c2dc5dd11e99e6"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCopilotIncremental (cyclomatic 58): rollout.parseCopilotIncremental has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4208a4720ed24ede69f4c0777f9853dabc308d12517a7ce3baf73058339eeb7c"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionSettingsCard.SubscriptionSettingsCard (cyclomatic 58): SubscriptionSettingsCard.SubscriptionSettingsCard has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 9 of the 58 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 398, renderForm, a function literal at line 167, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe0185fadcbf70c802cd0dbc1bd5251c78979dca77f72f8fd57f967d40a6bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdUninstall (cyclomatic 58): cmdUninstall has cyclomatic complexity 58 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c60bd826761fd8b6d457b228158fc7cad5b812a98f15e4bf47d9cb8d66b6d"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-context-breakdown.parseGrokUpdatesFile (cyclomatic 57): grok-context-breakdown.parseGrokUpdatesFile has cyclomatic complexity 57 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 17 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79d283dd533733be31a9ae11f509cefc9d4bfb2a0c2db7f75253403915c00a6"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-prompt-policy.cloudContextualPromptDecision (cyclomatic 57): cloud-prompt-policy.cloudContextualPromptDecision has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f645f5126f6ce375f1112fe7b45fe1c1e89d7c18503d11c51270ace0283454"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBarController.buildMenuBarDisplayValues (cyclomatic 57): StatusBarController.buildMenuBarDisplayValues has cyclomatic complexity 57 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6eed0102d81072f4eb7b6e4f629eb8ec7d805193e4edce2e05ddb357fba70a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseMuseIncremental (cyclomatic 56): rollout.parseMuseIncremental has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (rollout.parseMuseIncremental::handleRecord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0621d5de26b197923f0e5f8f92d78176702e755c54cfaa87c2fea765925e0645"}},{"ruleId":"D1","level":"warning","message":{"text":"use-trend-data.useTrendData (cyclomatic 56): use-trend-data.useTrendData has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 11 of the 56 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 376, 74, 163). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7abeef0bedc4b772178f9c3da0a26bbbf8584cb02f971907e02855c27c326f5"}},{"ruleId":"D1","level":"warning","message":{"text":"renderLightTable (cyclomatic 55): renderLightTable has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4be4c1f90bb5d3e33f6821e0ce9ee05a3515db4e70e1a0b0060e629d4bc476b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseGeminiIncremental (cyclomatic 54): rollout.parseGeminiIncremental has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2cfc280513db199d09f0724950d621650db9d524bc581dc8fcafc7fb10dc0e"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKimiCodeIncremental (cyclomatic 54): rollout.parseKimiCodeIncremental has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2eb68aa6e46ceff532a84b71e61c744867711b66e2d1425feff7b2a64a9d50"}},{"ruleId":"D1","level":"warning","message":{"text":"session-performance.createCodexPerformanceCollector.consume (cyclomatic 54): session-performance.createCodexPerformanceCollector.consume has cyclomatic complexity 54 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4abd8c1c6b5dc831667c6b190869ff07d28be0274671474bd0336f2952f467e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-activity-heatmap.useActivityHeatmap.refresh (cyclomatic 54): use-activity-heatmap.useActivityHeatmap.refresh has cyclomatic complexity 54 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"45801f47ed875a7081fb75126212566b6422d42178e76ad1c1843afcf646601a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-usage-data.useUsageData.refresh (cyclomatic 54): use-usage-data.useUsageData.refresh has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"662f49272c72c390dd1a11cd956d488624b554f41ad7cb16c98a0953690572b8"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodexPerformanceCollector.consume (cyclomatic 54): createCodexPerformanceCollector.consume has cyclomatic complexity 54 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15bb60c49843d98325d57b013f5959f412804233d067d90025090453127d9e7"}},{"ruleId":"D1","level":"warning","message":{"text":"repairDroidDuplicateSessionInflation (cyclomatic 53): repairDroidDuplicateSessionInflation has cyclomatic complexity 53 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c069b437d87533273eab1c0347e2d6d5d4544bae6cc089bb74c169063bc1e4d"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-model-repair.repairKimiModelAttribution (cyclomatic 52): kimi-model-repair.repairKimiModelAttribution has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-model-repair.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"346abccead9241a78921ed5e5e1ce34b9be4d34c52df043e2da2532b66bd417b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.filterColdCodexRolloutFiles (cyclomatic 51): rollout.filterColdCodexRolloutFiles has cyclomatic complexity 51 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5b94c957bac0b419bc322742afb3745e84914e8f77a96ad54e3b0cfd2773b6"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.scanRolloutProjectFileContexts (cyclomatic 51): rollout.scanRolloutProjectFileContexts has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d73daa0d28e9be21658aeb9241a92fe5b2c1ab201e9e31bb76fc9570880f1"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCraftIncremental (cyclomatic 50): rollout.parseCraftIncremental has cyclomatic complexity 50 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19b443b4aea13dff0f62097539192735003352762c1be53c068a69678c218c0"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnostics.collectTrackerDiagnostics (cyclomatic 50): diagnostics.collectTrackerDiagnostics has cyclomatic complexity 50 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb82832d80fb4855b23edaa4b59d68e523d6a9dc55dc63a5f97f072d112c64f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectDetailModal.ProjectDetailModalContent (cyclomatic 50): ProjectDetailModal.ProjectDetailModalContent has cyclomatic complexity 50 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"98decac6fea1bac2e4cf293295b9888700cb94aef2421de73b5b916d00b86b53"}},{"ruleId":"D1","level":"warning","message":{"text":"quota.QuotaWidget (cyclomatic 50): quota.QuotaWidget has cyclomatic complexity 50 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 22 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/quota.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a11aa9a709525f301cb54185b1e90702ef17bc970d00bfb230de83ae82acd4b"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchQoderLimits (cyclomatic 50): fetchQoderLimits has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de21bbe8e1b67ff7154e3c87db530174c56122e884a16b8744cfeefdc9096bb"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseGeminiFile (cyclomatic 49): rollout.parseGeminiFile has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9525f9a3d48bbfc768c555116a16ae82960bf01759c90bffbb80856486dff"}},{"ruleId":"D1","level":"warning","message":{"text":"dsh-session.parseDshTranscript (cyclomatic 49): dsh-session.parseDshTranscript has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fed74e26137603ea34f5b3fefe32b9ee2398778497876ff46e8b978d17c31e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareModal.ShareModal (cyclomatic 49): ShareModal.ShareModal has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 9 of the 49 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 180, 80, 152, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4775a01cbd7394d487888c1aac032e65ccca0942eaf5a5cc36e074c5235a49"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudMembershipCard.CloudMachineList (cyclomatic 49): CloudMembershipCard.CloudMachineList has cyclomatic complexity 49 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 33 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d0737f4c9271f7e0c82e8c309bf42c2848b2976d3019b051c95a3e429e89a8"}},{"ruleId":"D1","level":"warning","message":{"text":"repairCodebuddyLogJsonlOverlap (cyclomatic 49): repairCodebuddyLogJsonlOverlap has cyclomatic complexity 49 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 2 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1fd822c4703295411a56b12975ed4c33c4bb01f61608242b558537cce41dd"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseZedIncremental (cyclomatic 48): rollout.parseZedIncremental has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9181b47f17d7d28084c3cff6fbaf439d43c9f3a79fd6433b19ae779480fe8ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseTraeIncremental (cyclomatic 48): rollout.parseTraeIncremental has cyclomatic complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23717}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b8d88a9b411deb754f6f6442ad4d26041f51dbd1ac70befd00d6fcfab31a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairClaudeQueueFromGroundTruth (cyclomatic 48): sync.repairClaudeQueueFromGroundTruth has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e93a5f35f493f65c5c113e3db7c654aef8c8e04a4f0ecfd62a6cbb03744c4eb"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKiroCliFromSessionFiles (cyclomatic 47): rollout.parseKiroCliFromSessionFiles has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10039}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aa3ca64fb6270bc1242d145db8906eaa7d3611c68146f01ce52cce8f458ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkSection.NetworkSection (cyclomatic 47): NetworkSection.NetworkSection has cyclomatic complexity 47 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 24 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855769bb14cf149fb6f636acf784fcd781c4d2e8f9884727eeca0e5153a65d1"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeBridge.applySetting (cyclomatic 47): NativeBridge.applySetting has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ba23a0cde94ba4b10faea18508b970a6b4b7848e663b5c6f0edb09d6307323"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetSnapshotWriter.limitProviders (cyclomatic 47): WidgetSnapshotWriter.limitProviders has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f06ef4b21692d1ce80e37b3a6fc7cda76098928936b42b655a4808e2c41ff5f"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpenclawSessionFile (cyclomatic 46): rollout.parseOpenclawSessionFile has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"88579ca16176c3a4e85757538f81f634a6aa52ffa9b331ce424d1383b49c1e9c"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseQoderDbIncremental (cyclomatic 46): rollout.parseQoderDbIncremental has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c8f11332c61d760074bd88b4fd3c92805d7cec9d52ccc73e562f8d70697a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.computeOutputTokenBreakdown (cyclomatic 46): claude-categorizer.computeOutputTokenBreakdown has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55f4d6f97e0fe5e17ffc42bc20a88313963483978ce6b8d1884c4906f913bf"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.fetchZcodeLimits (cyclomatic 46): zcode-limits.fetchZcodeLimits has cyclomatic complexity 46 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"722d8df1b78062fc96359914ed78efb4241d5a4160b83f48a6981283c70591c4"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.normalizeWaffoOrder (cyclomatic 46): waffo.normalizeWaffoOrder has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3507e68dbbc68db618c53acf1cd06772200c7ba93c0cee2747f8e33974e99f21"}},{"ruleId":"D1","level":"warning","message":{"text":"trae-usage.normalizeTraeUsage (cyclomatic 45): trae-usage.normalizeTraeUsage has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-usage.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a952bc5a0af93da520f715390436d042b3c80992f18eacd179156a5195a4397f"}},{"ruleId":"D1","level":"warning","message":{"text":"summarizeSessions (cyclomatic 45): summarizeSessions has cyclomatic complexity 45 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c557e4d5907b48b22d777c47b431f8a91511d3a37b7b6dfa448605b769056c69"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.mergeSessionFragments (cyclomatic 44): session-analytics.mergeSessionFragments has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a68d385474205b4002d25c8325e89c271b1318b49e4e8206b2dac19fdc1e1"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsPanel.renderProviderGroup (cyclomatic 44): UsageLimitsPanel.renderProviderGroup has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a0b16922e38fc8240f6f21f5bb86a19bd236b872a663e67f040639accf3fe"}},{"ruleId":"D1","level":"warning","message":{"text":"buildRow (cyclomatic 44): buildRow has cyclomatic complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f727bc77e128dddf0a1521887b246814364107b0f5329e65144977f49127c0f5"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpencodeIncremental (cyclomatic 43): rollout.parseOpencodeIncremental has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d633eea23ba58432f8843bdce185d9f78f3b5010b6d14196f710ecc82ab9f02c"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.extractDshSessionUsage (cyclomatic 43): rollout.extractDshSessionUsage has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25312}}}],"partialFingerprints":{"codehealthFindingId/v1":"235fd3eb00f8b021090800c2a4c21ceb43bac57a771734095c11fa668c2d4aa1"}},{"ruleId":"D1","level":"warning","message":{"text":"workbuddy-ipc.openWorkbuddyIpc (cyclomatic 43): workbuddy-ipc.openWorkbuddyIpc has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 123, 63, 167, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a24fb2d090c17643b35fecccbb786b05dd67868e2439a20b0669c07c8db9e85"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.annotateThreadUsage (cyclomatic 43): session-analytics.annotateThreadUsage has cyclomatic complexity 43 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b7b20023540a9ae369835d567eb4552bad17cc8f794edf8ebf71afdae2105"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-daily.default (cyclomatic 43): tokentracker-account-daily.default has cyclomatic complexity 43 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"6774b0af0f7f3cb3d28bef23e62589244e06ca459a9930c35801ed5f6e639497"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenGalaxy.TokenGalaxy (cyclomatic 43): TokenGalaxy.TokenGalaxy has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 4 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 159, 335, 122, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"507ab1964fc5ab4272bc72e216c98072045dd6f9090bb3641143da573362fc40"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailPanel.SkillDetailPanelInner (cyclomatic 43): SkillDetailPanel.SkillDetailPanelInner has cyclomatic complexity 43 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillDetailPanel.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ddfca0d87d30a7052fa946b9fc23a21acb395e0e4c0d7539c96f6eda12e1b2"}},{"ruleId":"D1","level":"warning","message":{"text":"PetPage.PetPage (cyclomatic 43): PetPage.PetPage has cyclomatic complexity 43 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 23 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"843948c22f489dde303439943b92007241e613781e7c6d3d2e41a08cc145327b"}},{"ruleId":"D1","level":"warning","message":{"text":"createLimitsCache.normalizeEntry (cyclomatic 43): createLimitsCache.normalizeEntry has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6862a358a0b997f3078c5761cdf38edbeefad6779d72eb1718eb272b54683b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"cleanRow (cyclomatic 43): cleanRow has cyclomatic complexity 43 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c1b05f6ebefb6f4a692bb939014c45a4d44f8bbc6f0cd14f6cd3286b47406"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregateWrapped (cyclomatic 43): aggregateWrapped has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wrapped-aggregator.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30187344b0c1832ad1eaed069c66a57ff1d14dcdfb9ca695f0d6202d064bca6"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseClaudeFile (cyclomatic 42): rollout.parseClaudeFile has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51040b1e22cbf398a3d0002936a5987ad5ffcbbe495f708f360644b42605f95"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpenSquillaIncremental (cyclomatic 42): rollout.parseOpenSquillaIncremental has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14574}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a63e4852b1c24e71eecc42bd7a0bad7e27887850949c341b5530527d791ce20"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseGooseIncremental (cyclomatic 42): rollout.parseGooseIncremental has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15860}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e87d7c49618210f582ee55e18084c09d440d8056bc8c2f9f99e98c2efef40e"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-heatmap.default (cyclomatic 42): tokentracker-account-heatmap.default has cyclomatic complexity 42 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ad66b47c489cb59d9469489e555fc59f3e86f24f67cb4fd99008211a471b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-monthly.default (cyclomatic 42): tokentracker-account-monthly.default has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da446539fcb29dea49b432a67fabef5c101f9e871b3c26ed6ff184686b44e8d"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-public-visibility.default (cyclomatic 42): tokentracker-public-visibility.default has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f54054a68b3f1339966e4ddc9aac085d117ad75a8c57b682c028fb6ad5ee266"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsPage.SessionRow (cyclomatic 42): SessionsPage.SessionRow has cyclomatic complexity 42 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc45373ff853c5048ec8fdfc28ecd547d8b745bd40d9bc567b94ac8da06502"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readKiroCliSessionTurns (cyclomatic 41): rollout.readKiroCliSessionTurns has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9026}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ce91dce61a4805ba6b59aa90c1080d90ee82860c151b9536728eb49344892a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKimiIncremental (cyclomatic 41): rollout.parseKimiIncremental has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10238}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a5ba75d1eb62e27fd1da0c583ad2830903019eb31311473ca25d0ff4e8bbbf"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.computeClaudeGroundTruthBuckets (cyclomatic 41): claude-categorizer.computeClaudeGroundTruthBuckets has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f512f27c8137d1b5e7a13f6e03b535bb10ea3d61604af5bc0d0d84a649f0f8"}},{"ruleId":"D1","level":"warning","message":{"text":"limits-cache.createLimitsCache.normalize (cyclomatic 41): limits-cache.createLimitsCache.normalize has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ddda43601b3233c164ad3e348ea081d53ac416496c4d851178dff2c3dd953a"}},{"ruleId":"D1","level":"warning","message":{"text":"LimitsPage.LimitsPage (cyclomatic 41): LimitsPage.LimitsPage has cyclomatic complexity 41 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 21 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ae06c346629bdfbf749a27cdd2bd38c3fb1da5edb1f0006ede3d6b4415204"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudMembershipCard.RestoreCloudOrder (cyclomatic 41): CloudMembershipCard.RestoreCloudOrder has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 15 of the 41 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 333, 351, 386, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c18e5b1d937cf02860c3ddbffdc0350e17851aff85e1fd73d4ae3d86726099"}},{"ruleId":"D1","level":"warning","message":{"text":"createBackendResolver (cyclomatic 41): createBackendResolver has cyclomatic complexity 41 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 24 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913874a1770d379f37d2b3fd741b25e2d35f49a4db5010e10b52f1bc683320d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-qa-auth.createRAMAuthBroker.execute (cyclomatic 40): native-qa-auth.createRAMAuthBroker.execute has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132b7eebe55db8a07c2023b977675db693bc42f16aad2a7e45df76abfcbe354"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCopilotAppDbIncremental (cyclomatic 40): rollout.parseCopilotAppDbIncremental has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21043}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef14d86e47bedfa41d281343d126e167d6c777d0263218519fd1c6a2809a4f"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.buildToolCallsBreakdown (cyclomatic 40): claude-categorizer.buildToolCallsBreakdown has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 8 of the 40 points are its own statements and the rest belongs to 7 function items inside it that branch (groupIntoCategories, a function literal at line 785, a function literal at line 798, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f5ed05ce8ab7811f445c6171b1a48d94ee4d9c9e4d22fbbe7b7a8a7331f373"}},{"ruleId":"D1","level":"warning","message":{"text":"index.computeRowCost (cyclomatic 40): index.computeRowCost has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a52aff60522c82460d4b02b41a8722b0a8f5ec67d7e9e5042f823f2926bede"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard.default (cyclomatic 40): tokentracker-leaderboard.default has cyclomatic complexity 40 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9ab8c12fd12b0d354b4a2c94a637fa1a4cc6f40c5e8f822ecd01a1d11e87b7"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-profile-likes.default (cyclomatic 40): tokentracker-profile-likes.default has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b0d90c3a0719416d32236f612d906906e079e78b2c2dd0a7c00e41b66ddd90"}},{"ruleId":"D1","level":"warning","message":{"text":"TrendMonitorZoomModal.TrendMonitorZoomModal (cyclomatic 40): TrendMonitorZoomModal.TrendMonitorZoomModal has cyclomatic complexity 40 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 19 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"012ee7ef002c6b681a48c59e1337a7c4aea5788930d8f3c2851c29a3abf55c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceUsageCard.DeviceUsageCard (cyclomatic 40): DeviceUsageCard.DeviceUsageCard has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 7 of the 40 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 126, a function literal at line 284, commitEdit, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e3184786df757c7f9e0ab932b33443f97560861b7e5d517c673484c47350f"}},{"ruleId":"D1","level":"warning","message":{"text":"createLocalApiHandler::issueDeviceTokenForLocalSync (cyclomatic 40): createLocalApiHandler::issueDeviceTokenForLocalSync has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2c6140b33ea13e184546ffe9eff39cd03270ed54f77a2c17b5287a0d30d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchArkCodingPlanLimits (cyclomatic 40): fetchArkCodingPlanLimits has cyclomatic complexity 40 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda19317807563d0f6710721e558bd87359b1194662c05660a972cfd0788c8ca"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchArkAgentPlanLimits (cyclomatic 40): fetchArkAgentPlanLimits has cyclomatic complexity 40 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8e0a4bb47f79933edad696d15d0e56a2a5c908469519444e1dbdde48792e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.migrateCopilotChatLogRecordDedup (cyclomatic 39): rollout.migrateCopilotChatLogRecordDedup has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19321}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c97187f50928d3b0ca0e34a23272cf9afdf7ef1721deb11d5dd2d608c55410"}},{"ruleId":"D1","level":"warning","message":{"text":"command-runner.runCommand (cyclomatic 39): command-runner.runCommand has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 2 of the 39 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 42, 86, 126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/command-runner.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cc27e294d8fe2e6396fd3d621cf494df737db1dcae3eeaa2544a1e3f9b4a07"}},{"ruleId":"D1","level":"warning","message":{"text":"device-login.cmdDeviceLogin (cyclomatic 39): device-login.cmdDeviceLogin has cyclomatic complexity 39 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b610925e29ebf9d3860bb846b6af81eb2d5bc86ea3231fcd92f00c6e77cc9b55"}},{"ruleId":"D1","level":"warning","message":{"text":"native-bridge.saveUsageExport (cyclomatic 39): native-bridge.saveUsageExport has cyclomatic complexity 39 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 15 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/native-bridge.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdbbd048e779ab7b73447f42b9c3de35ec0b68aef65a3f444f9aebc3913801d"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 39): CommandPalette.CommandPalette has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 9 of the 39 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 67, a function literal at line 31, onInputKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CommandPalette.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"181d5fd47bb11cdfe483e9abbd10ebb5dcd2f61d96afd1b1dcbd1599e82827de"}},{"ruleId":"D1","level":"warning","message":{"text":"use-usage-data.useUsageData (cyclomatic 39): use-usage-data.useUsageData has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 8 of the 39 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 338, 52, 419, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c102893242f4c9149e90717d7951f4b4fd7e8e2b71325c6c4586db925ebdfb"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdCompanionView.activePetLimits (cyclomatic 39): ClawdCompanionView.activePetLimits has cyclomatic complexity 39 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b428a57fc3255fd5ca5d8c2b9db7790e97b96c0d19be2914931d7d50d46db5f"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeZcodeBalanceResponse (cyclomatic 39): normalizeZcodeBalanceResponse has cyclomatic complexity 39 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 22 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7362928da22e130a3af6d082530a961c3c4eea4a46939599bb537a3904fc35"}},{"ruleId":"D1","level":"warning","message":{"text":"trae-snapshot.openTraeSnapshot (cyclomatic 38): trae-snapshot.openTraeSnapshot has cyclomatic complexity 38 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9578feba27a165e572d93878b5a38946a5d5a32a3bf4e652e32506cbe975036"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseRoocodeIncremental (cyclomatic 38): rollout.parseRoocodeIncremental has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (rollout.parseKilocodeIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12807}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb40c52a64d440a29373fb464b53782c467b3d1e4e40b5b5d55b5de4b4f9ea89"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKilocodeIncremental (cyclomatic 38): rollout.parseKilocodeIncremental has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (rollout.parseRoocodeIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddad58ffa87186553f1ad2d4d0971acc4110db61b2155240f8015d0cf138ffc5"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-account.fetchAccountUsage (cyclomatic 38): cloud-account.fetchAccountUsage has cyclomatic complexity 38 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"5481b706ceff709c5f7bd4829335e7434a8969884c5b6a4346b70c61d7f4afa5"}},{"ruleId":"D1","level":"warning","message":{"text":"readQueueBatch (cyclomatic 38): readQueueBatch has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4557}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7515861aa658e0128f1b9a2c2d443e4bfc7d34681e674e48f119341ee05c11"}},{"ruleId":"D1","level":"warning","message":{"text":"InsforgeUserHeaderControls.InsforgeUserHeaderControls (cyclomatic 37): InsforgeUserHeaderControls.InsforgeUserHeaderControls has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da6b7b010fd39fb6a70a73e3992230c57c499dd09b5352f10b3fa0246e3215e"}},{"ruleId":"D1","level":"warning","message":{"text":"cmdServe (cyclomatic 37): cmdServe has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 11 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"24442e8dad508b5433cd53362e3a00cf21f8adffa1a142d33ae68525dd67f458"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseHermesIncremental::ingestProfile (cyclomatic 36): rollout.parseHermesIncremental::ingestProfile has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8627}}}],"partialFingerprints":{"codehealthFindingId/v1":"849f1ea36962a04283fcf73a0781cab5d0174f2248543f952a52297708e51961"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.normalizeCursorUsageSummary (cyclomatic 36): usage-limits.normalizeCursorUsageSummary has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"511f65ede3e5d032255fdf2be301d58e115d683ca3a0e7ec0eac728f3625762e"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardProfileModal.ProfileContent (cyclomatic 36): LeaderboardProfileModal.ProfileContent has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b418c68025fcc50be2f4d7bca353754ead6dedfd345deca8fa008238c9bce3e2"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardView.DashboardView (cyclomatic 36): DashboardView.DashboardView has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 5 function items inside it that branch (renderLeftCard, renderRightCard, a function literal at line 403, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7695abf5b25a9049e7389e7f8a4ae180471076c983ead4853fa02733b335c2fc"}},{"ruleId":"D1","level":"warning","message":{"text":"startLinuxPetHost (cyclomatic 36): startLinuxPetHost has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 13 function items inside it that branch (refreshUsage, fetchHeatmap, fetchTopModels, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dea540eab1135936b82bb98a32cad4fa2af92fe2e6927d05d143bc91cadc89f"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseMuseIncremental::handleRecord (cyclomatic 35): rollout.parseMuseIncremental::handleRecord has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (rollout.parseMuseIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18523}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c345508ae595152ae5021cdf2d7a515f6713422a99579b1ef8e5e68824d381"}},{"ruleId":"D1","level":"warning","message":{"text":"dumate.parseDumateIncremental (cyclomatic 35): dumate.parseDumateIncremental has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dumate.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82b5b792b96f72886ab389bfec12752787705a84f22d01f5b3229f0014b7f52"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.readCodexObjectsIncremental (cyclomatic 35): codex-rollout-parser.readCodexObjectsIncremental has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"123989e653b69fd6e40c2f29d9bc5d53f6beb03949fd7394ee359c293a6ff6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.loadZcodeAuthCandidates (cyclomatic 35): zcode-limits.loadZcodeAuthCandidates has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bd40c2153fd9504dbb5833458653f34970b8cadd132aab13e2fb0dab9dd3ae"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.fetchAntigravityLimits (cyclomatic 35): usage-limits.fetchAntigravityLimits has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"44816382dfd6f96023df293dffc5bd8d68cf391bd83363850aea29e2b5ed11c9"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor.buildDiagnosticsChecks (cyclomatic 35): doctor.buildDiagnosticsChecks has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"777e829168a53a81abf49d8da0b2868bd5e9a73bb6862b08c84379d38b65bcfe"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardViewModel.loadAll (cyclomatic 35): DashboardViewModel.loadAll has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7086a2f4c560152cb6832b567b3e0ebc9004a0abe336780a7a7d29332f4378e5"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchOpencodeGoApiLimits (cyclomatic 35): fetchOpencodeGoApiLimits has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 2 function items inside it that branch (resolveApiWindow, a function literal at line 610). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1139b0f9e38354cbe6d3592a92c907b8d253d52effae4bca673e50624da1e5"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseUnslothIncremental (cyclomatic 34): rollout.parseUnslothIncremental has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14947}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0a75763ce60c9a9621a43a136b491d1fd284ba9ded1f9d79bb2eddb950f635"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.normalizeCommandCodeState (cyclomatic 34): rollout.normalizeCommandCodeState has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ef27b09aebf610416c578a2e4ed0ef299f27f16214920245a23404571ab49"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.discoverCodexSessionFiles (cyclomatic 34): codex-rollout-parser.discoverCodexSessionFiles has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e859e6979cb281945525c2340721e5c9d6e6954858ed6351623cc1e65156f5d3"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-manager.updateSkills (cyclomatic 34): skills-manager.updateSkills has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b19d0c2da60b5bb949cffe0c650e5f52c06727d2ca062e734310b9776cd191b"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairMimoClaudeMislabel (cyclomatic 34): sync.repairMimoClaudeMislabel has cyclomatic complexity 34 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4930}}}],"partialFingerprints":{"codehealthFindingId/v1":"574427e25ea96cdfec94d5e0012079ccc3a50a812410b022b48eb10b5170953c"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-summary.default (cyclomatic 34): tokentracker-account-summary.default has cyclomatic complexity 34 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6332daffe37aa9e76418511237e366dcb2bca3e7db04c8926357195b31a673"}},{"ruleId":"D1","level":"warning","message":{"text":"use-community-stats.useCommunityStats (cyclomatic 34): use-community-stats.useCommunityStats has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 151, 144, 229, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6654aaa4d100ceb55e3c30859869342ecb895454078fafc07c37216fd038ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"installSkill (cyclomatic 34): installSkill has cyclomatic complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86a87a440ae27401945e9010cce8d4202ef9652d1650ece1c231b8a4924a194"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseOpencodeMessageFile (cyclomatic 33): rollout.parseOpencodeMessageFile has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6596578da68961bfafa10bf4045d2f4091e0421b7e5a52585f9ef1f7b5dc5717"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseCursorApiIncremental (cyclomatic 33): rollout.parseCursorApiIncremental has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7877}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6abc58baf1d6ed0a4b44f63e7d8eb57be2251fe8e5910c572a3ff8200b2ae2"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveCodebuddyProjectFiles (cyclomatic 33): rollout.resolveCodebuddyProjectFiles has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 2 function items inside it that branch (walkLogs, walkJsonl). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10740}}}],"partialFingerprints":{"codehealthFindingId/v1":"4946ea048502f7d76ef226adda22273d9b89ec3e9865d8e54f5090d0ab618730"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseAnythingllmIncremental (cyclomatic 33): rollout.parseAnythingllmIncremental has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15194}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e546e0a2d0e73a6ddd44286e9b10a40eddf5b2bba53549490054b38e51194"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.classifyOneMessage (cyclomatic 33): claude-categorizer.classifyOneMessage has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"72464772809ebcd8a77a8359b90b7a44b5503a682127fe32f68beb9c3fb5a827"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-device-usage-reset.default (cyclomatic 33): tokentracker-device-usage-reset.default has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-usage-reset.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0654a529533ba99b6273bdb876dbf5336e58040e6ea32d0642528ba036b25b51"}},{"ruleId":"D1","level":"warning","message":{"text":"CostAnalysisModal.CostAnalysisModal (cyclomatic 33): CostAnalysisModal.CostAnalysisModal has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 164, 78, 40, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0c45887e0486f4c1544b771431952c9f15e13d45cc16f1610893576e1ec2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"discoverSessionFiles (cyclomatic 33): discoverSessionFiles has cyclomatic complexity 33 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 8 belong to 16 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"881d608a3fb000c5eacf944700af183ab54d52af7a0bade2fb929b99d906658a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseTraeCnApiIncremental (cyclomatic 32): rollout.parseTraeCnApiIncremental has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6b2112d899995457cb04d064d7f5ed916d78cf6528ec5eab3a1bd1297d2a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.inspectDshZstdFrames (cyclomatic 32): rollout.inspectDshZstdFrames has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24629}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd4ac8bae1a757cd06af10e30363b2c61c8cc017a6dcb7a70bb7086f5348dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-context-breakdown.computeGrokContextBreakdownUncached (cyclomatic 32): grok-context-breakdown.computeGrokContextBreakdownUncached has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e32d650caf44f34bfef8811957e1ee00a3881a632b05e900b42ad56d9c8c305"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.scanCodexSession (cyclomatic 32): session-analytics.scanCodexSession has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e327b05a87d69947f222b9f9f08a7cd62aa9c9ba2a505fc5de8b65a1f749d22"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsView.toolSection (cyclomatic 32): UsageLimitsView.toolSection has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a379e0f575ad59f75db684e425562ddb90c302d41108dd11f3a7774051081d74"}},{"ruleId":"D1","level":"warning","message":{"text":"drainQueueToCloud (cyclomatic 32): drainQueueToCloud has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7d68b4ef84996998201f949cecd546405f9d2ec0a6e263728a76c397a6d4c9"}},{"ruleId":"D1","level":"warning","message":{"text":"collectResourceGroups (cyclomatic 32): collectResourceGroups has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae92ddb64bfc530ef86003b9942c010c6aefe9a8e7075b23ddeaca51307124cf"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readKiroCliMessageChars (cyclomatic 31): rollout.readKiroCliMessageChars has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8950}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde1c6f2d66f52773c5443a87ca75b83628a7aa5eb4111527e5b8b8161122a32"}},{"ruleId":"D1","level":"warning","message":{"text":"project-usage-purge.purgeProjectUsage (cyclomatic 31): project-usage-purge.purgeProjectUsage has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/project-usage-purge.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b83ea16ea7b20087e948e2643ecc92522b347f468fb16359c66d5706d9a4e7"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.parseKiroUsageOutput (cyclomatic 31): usage-limits.parseKiroUsageOutput has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3c7346c17d82acefc2decc16f52907ff3ac8e45f4be6f615c86ab675f65c9"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorConnectionControl.CursorConnectionControl (cyclomatic 31): CursorConnectionControl.CursorConnectionControl has cyclomatic complexity 31 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CursorConnectionControl.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5add0541be85b670dc06c7b4b4f299928352dd005377395cfb461ffe2c01dd"}},{"ruleId":"D1","level":"warning","message":{"text":"LikeButton.LikeButton (cyclomatic 31): LikeButton.LikeButton has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (sendAction, a function literal at line 87, handleLikeClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/LikeButton.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56f96e0ba9b0e5b3653a9cbe397a9eae4bba5b8c2899666531320328c82174c"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsResponse.limitWindowReadings (cyclomatic 31): UsageLimitsResponse.limitWindowReadings has cyclomatic complexity 31 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde88bbb12e82c90f60047fa6145b50693910c850c1629f8e6451938ffe258f0"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseKiroIncremental (cyclomatic 30): rollout.parseKiroIncremental has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efed960b6fe6115547e0354ae2579b4c5333579c6c19783dd24c6341c58482d"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-config.normalizeEntriesForCommand (cyclomatic 30): claude-config.normalizeEntriesForCommand has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 189, a function literal at line 214, a function literal at line 200, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d368f36391f3eae2d7c10d028c75dc65ea4246217c2d914ca3f6a63d18e83ece"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-config.resolveRuntimeConfig (cyclomatic 30): runtime-config.resolveRuntimeConfig has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-config.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4a9a3675bac5fc35ce4e6549a175f4c52d29864fcd44232958433e310e222d"}},{"ruleId":"D1","level":"warning","message":{"text":"init.previewIntegrations (cyclomatic 30): init.previewIntegrations has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e10d2e0c46ab6da13d2c735f243ea892c49ffbfcf726b544a82a3aafe546ecf"}},{"ruleId":"D1","level":"warning","message":{"text":"upload-queue.compactPendingQueue (cyclomatic 30): upload-queue.compactPendingQueue has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b961e19bcc77225c3a332dc329e8440d6c7ab32a9687dabc944d8a2c08ac4f85"}},{"ruleId":"D1","level":"warning","message":{"text":"outcomes-engine.computeQualityPerDollar (cyclomatic 30): outcomes-engine.computeQualityPerDollar has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c1c0f3f49161a2a692747bd73f17536b66634a9cb3959d1ef4d6d8694cecf4"}},{"ruleId":"D1","level":"warning","message":{"text":"git-outcomes.buildGitOutcomesInternal (cyclomatic 30): git-outcomes.buildGitOutcomesInternal has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"47433a6400f19a756d6845fa17c716435a53333adb240b934a46ec7859f681ef"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.computeLocalAchievements (cyclomatic 30): local-api.computeLocalAchievements has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1a370e133e8f11333d1d5578db58b390117e2f1fa82ab2d5b38c192c4e155e"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.applyOpenclawTotalsFallback (cyclomatic 30): sync.applyOpenclawTotalsFallback has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"73840e8244f9c7241630a5e7c42a306e263eda18654f2f64ba4f0ce8c5c3e5c3"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-sync.syncCloudUsageWithRecovery (cyclomatic 30): cloud-sync.syncCloudUsageWithRecovery has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b161f5918d8d37129764a7c3007efbb18704689dc65dcb2f25313afb4fd2da8"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudBillingParts.cloudBillingErrorText (cyclomatic 30): CloudBillingParts.cloudBillingErrorText has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudBillingParts.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b990544a420662d6771e4077b388fd21c8cb8b3717c2d62eb5554e29abbe387"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-usage-export.fetchCloudUsageExport (cyclomatic 30): cloud-usage-export.fetchCloudUsageExport has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-usage-export.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ea0378ad463231e79153b764749e542c0e8407a35e4b14163b107a85d0a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeBridge.handle (cyclomatic 30): NativeBridge.handle has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"341fba5044d9530cd39a97cf44f0c75cf87f8c99a0aba45e83faaef0cffd5e9d"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.recordProjectMeta (cyclomatic 29): rollout.recordProjectMeta has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4995}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d083deee59c41baa2e496437e180f001ec7f7b434510195024daa107fad2745"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.extractAntigravityGenInfo (cyclomatic 29): rollout.extractAntigravityGenInfo has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95b55e7c15953c1373aaea309d17a42a3c514bbaf3a643a99e0b5a6e73f471c"}},{"ruleId":"D1","level":"warning","message":{"text":"omp-hook.removeOmpHook (cyclomatic 29): omp-hook.removeOmpHook has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8156139f8e58bc818dae3c34322dd352c91c8f9e60e5926d728d6beaff25e728"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-limits.refreshGrokTokens (cyclomatic 29): grok-limits.refreshGrokTokens has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78a7e017be1ceb209f3483f44de9621240f95e5e53f91abf54e46910eb12937"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairZcodeUsageMigration (cyclomatic 29): sync.repairZcodeUsageMigration has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132a962a90fc5b11b6607ed929cdafc815a139f0a7d72722ab5fde0c324154c"}},{"ruleId":"D1","level":"warning","message":{"text":"mock-data.getMockLeaderboard (cyclomatic 29): mock-data.getMockLeaderboard has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0a706fc98f188f00ba1d38832daf6fc0b74bea95cf73e5b67c95b463e9496e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-usage-limits.useUsageLimits (cyclomatic 29): use-usage-limits.useUsageLimits has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 368, 249, 326, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"980049509c44379e9f244ead799cdbf08328846e76a178aa2eff84adc08b9687"}},{"ruleId":"D1","level":"warning","message":{"text":"model-breakdown.buildAllModels (cyclomatic 29): model-breakdown.buildAllModels has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee24a78c80302bb900c4e9685cd8c26e693190f13311dd81c4415fa4b743a06"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsResponse.isProviderAvailable (cyclomatic 29): UsageLimitsResponse.isProviderAvailable has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: MenuBarDisplayMetric.menuLabel (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b826676a24d3196fc303802b313a0a04a628ea8a6397b241fae8895bd9ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdCompanionView.clawdState (cyclomatic 29): ClawdCompanionView.clawdState has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa08ca2d927ebcddef9a16b06cee08d97587578fbdcf0348a892d35b08181608"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetStrings.limitLabel (cyclomatic 29): WidgetStrings.limitLabel has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0780f4e1eea36fce21d47fcf773a1266a1afd1effce3675254f77fac6f71512a"}},{"ruleId":"D1","level":"warning","message":{"text":"commit (cyclomatic 29): commit has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab6903f6c51ce0fdf6b20254596e6b3efc46d998d9a73f275f081783ee9811"}},{"ruleId":"D1","level":"warning","message":{"text":"removeOpenclawSessionPluginConfig (cyclomatic 29): removeOpenclawSessionPluginConfig has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3ad8e4af09b3e0c33b36138274cb071d3ce43b96620df4ec2b6e8e6a033d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"useCloudSyncControl (cyclomatic 29): useCloudSyncControl has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 53, a function literal at line 76, a function literal at line 86, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/useAccountProfileSettings.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e832466ef22aacf2d2707f9c10dd89332f39227f37c355cb6c08757cd7c56"}},{"ruleId":"D1","level":"warning","message":{"text":"removeOpenclawHookConfig (cyclomatic 29): removeOpenclawHookConfig has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e9b981827e141e307fc71bca21090f349a27110aa3e8ae822e05af8420a74c"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.recordOpencodeMessage (cyclomatic 28): rollout.recordOpencodeMessage has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9c1cd4046d4923acdec1be64b703b9f2bf42011bf46430a9cac9540b7d5b4"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.dedupeDroidSettingsFilesBySession (cyclomatic 28): rollout.dedupeDroidSettingsFilesBySession has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16325}}}],"partialFingerprints":{"codehealthFindingId/v1":"53392f04fa3686ed594862bbaf0fe8b4899d69edcef88cac78d95f5c7936c59b"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-store.isGenerationMetadata (cyclomatic 28): cursor-store.isGenerationMetadata has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f4a93e325564b8a14324f29c9e5b5ec2a3874e8de7c286dc58fec55a141b69"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.normalizeZcodeCodingPlanQuotaResponse (cyclomatic 28): zcode-limits.normalizeZcodeCodingPlanQuotaResponse has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"391a0256625d81e4dd6310ab5b44d3212e0e7006b322e10f142b3b7a2fd4b206"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.migrateRolloutCumulativeDeltaBuckets (cyclomatic 28): sync.migrateRolloutCumulativeDeltaBuckets has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5809}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d24f0c86fffff9702537cb00d0a5e2102a1a28f310e5f846fed742ec195b45"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-hourly.default (cyclomatic 28): tokentracker-account-hourly.default has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda15d8454fc65020e79284618d96cbde2d75311cf28136bf542ee6d526bd351"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getUsageModelPricing (cyclomatic 28): tokentracker-account-model-breakdown.getUsageModelPricing has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"0492b97bc2d2ccd3afb0884f93c7b56bcdcd759fb516365369c112fe42ff21bd"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-badge-svg.default (cyclomatic 28): tokentracker-badge-svg.default has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6f0da188a3c41d1abbabf8d65dc0ce04fcff9aa2ab3e44d2a5c893f9fa5ae6"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-profile.computeRowCost (cyclomatic 28): tokentracker-leaderboard-profile.computeRowCost has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423273ee5bea6c593eb033aaa2eaaf37c5fbc5ece560adb29006447a922505f"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.computeRowCost (cyclomatic 28): tokentracker-leaderboard-refresh.computeRowCost has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86362a9192b24a5ce70a875a387493a027dae1b206a7efeb5840c32201c65ba"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunityStatsModal.CommunityStatsModalContent (cyclomatic 28): CommunityStatsModal.CommunityStatsModalContent has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 474, onTablistKeyDown, a function literal at line 542, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba71ff92d9ad2932b79981240b361cb4a1f560ad68742bd680fbd4351bef1b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginPage.LoginPage (cyclomatic 28): LoginPage.LoginPage has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 36, 51, 69, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LoginPage.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451b311ce5b9d8555af865b5394a896818097afd32f2dcd8878207fb4544330"}},{"ruleId":"D1","level":"warning","message":{"text":"PetWindow.HoverTick (cyclomatic 27): PetWindow.HoverTick has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d334d72d0d5ce53ca66197113752a3b4333e25fa020037b66f9712947fc2d34a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveWorkbuddyProjectFiles (cyclomatic 27): rollout.resolveWorkbuddyProjectFiles has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (walkJsonl, walkTraces, a function literal at line 11460). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96289b3b57f5f83b1320c9735f06e7aeb735a7729482627bef2bd2341cbd2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"categorizer-utils.categorizeTool (cyclomatic 27): categorizer-utils.categorizeTool has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca084b1357b91a90d3de7f76b3401c201575c8dd78ae9c7eed547d110e94f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"categorizer-utils.inferExecCommandKind (cyclomatic 27): categorizer-utils.inferExecCommandKind has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b832769d3ba6ce65cd8704a09290dee4c0975f5ee7674a4d5102faf670bbeba"}},{"ruleId":"D1","level":"warning","message":{"text":"heatmap-compact.expandHeatmapCompact (cyclomatic 27): heatmap-compact.expandHeatmapCompact has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/heatmap-compact.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c7b42c55b4dcb868005a6e807a330ed73eec1ab2f1c367527dc678dc3b8bd"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.createLocalApiHandler::tryServeAccountView (cyclomatic 27): local-api.createLocalApiHandler::tryServeAccountView has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (local-api.createLocalApiHandler::currentCloudUploadFailure, local-api.createLocalApiHandler::getRuntime) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"2142f7499e9a58dc9b0da95b627b495adb98418f5c18bb1e9b83650957f205aa"}},{"ruleId":"D1","level":"warning","message":{"text":"status.formatCopilotLines (cyclomatic 27): status.formatCopilotLines has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5b6f8dddb640eb2308d6fd08fccea71fdbda8b8c23ee9aff771af773a8b3f0"}},{"ruleId":"D1","level":"warning","message":{"text":"static-server.serveStaticFile (cyclomatic 27): static-server.serveStaticFile has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/static-server.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"63744f297d37b25f4a51092675993645e6246d1772428fcbfae9334f3f97eacd"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-daily.computeRowCost (cyclomatic 27): tokentracker-account-daily.computeRowCost has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"8252153e0fab2f132cfff36780c2ce2976f98c4f45860b17b2b105269c3db6d2"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-summary.computeRowCost (cyclomatic 27): tokentracker-account-summary.computeRowCost has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1246270e6a09d37da30186f1ad17c64bb70c49056737444e9e71d6cfd5312e"}},{"ruleId":"D1","level":"warning","message":{"text":"heatmap-compact.expandHeatmapCompact (cyclomatic 27): heatmap-compact.expandHeatmapCompact has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9e1284472c384fb0cb914a48d00e1cd88a49a8baf64f11f873fd3b8a946f49"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudContextualPrompt.CloudContextualPrompt (cyclomatic 27): CloudContextualPrompt.CloudContextualPrompt has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 84, 91). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudContextualPrompt.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a768f58622664af18d433816384597987fd989c6313a46701a9657a69b05696"}},{"ruleId":"D1","level":"warning","message":{"text":"AchievementsSection.AchievementsSection (cyclomatic 27): AchievementsSection.AchievementsSection has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a5a8cc7990a7cc1888829deff6620de41d5f4c18de4c435ff7108828eeba6"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeQAProfile.validate (cyclomatic 27): NativeQAProfile.validate has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"321a2a910d905f0458b8cd28e709afdfa42e3ee8e8426d4c2ef0f87f4ccb3632"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdCompanionView.drawDisconnected (cyclomatic 27): ClawdCompanionView.drawDisconnected has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5016c9c6aa0fba19e07e6c9c8f18e6eb5ee068b44677c3168c3fc5df94c2626"}},{"ruleId":"D1","level":"warning","message":{"text":"migrateLegacyDeepseekHarnessSource (cyclomatic 27): migrateLegacyDeepseekHarnessSource has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c329a1540c01d6eb1505219cc55297a7d722cbed6a8f5bff48d433f647ade8"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeCodexCreditWindow (cyclomatic 27): normalizeCodexCreditWindow has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e003de428cb9736457e73d344bdd179889278884f5814ed8b996e054f211661"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-account.performMint (cyclomatic 26): cloud-account.performMint has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde33ff021fdfd225d76ca62d39e6556cfb9aee70b814cab75e2e1ddb84c0edd"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-limits.normalizeGrokBillingResponse (cyclomatic 26): grok-limits.normalizeGrokBillingResponse has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c54e0c2472a43f8cdc4fae567dacb8c8df8fd60cd31a523c3e6da33cda58cf"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairGrokQueueFromSessionSnapshots (cyclomatic 26): sync.repairGrokQueueFromSessionSnapshots has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d2eb1438c8ad1621ca29b4bfde91c78867a2b65e38eb4f10ed64732568fb21"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.scanCodexUsageLineages (cyclomatic 26): sync.scanCodexUsageLineages has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6844}}}],"partialFingerprints":{"codehealthFindingId/v1":"20416c1bd4ad545aaf7f68e047425f03a1c3dbef8b203226ed234f370b34b564"}},{"ruleId":"D1","level":"warning","message":{"text":"paddle.normalizePaddleEvent (cyclomatic 26): paddle.normalizePaddleEvent has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7d461e00c4b0669f1fb53957ad086577e0045a30960df187f74da143e7d841"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.confirmExpiredUnusedWaffoCheckout (cyclomatic 26): waffo.confirmExpiredUnusedWaffoCheckout has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7dcb31a3f59b05e57e3a1b5a03017e58c6592ebf87c5d3f8ca151fc1b4793c"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-devices.default (cyclomatic 26): tokentracker-account-devices.default has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d99fd2ee2c13ca73fd9c8f2d01cb21a8243d3da085f0e0857a643f5afd87b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"SegmentedControl.SegmentedControl (cyclomatic 26): SegmentedControl.SegmentedControl has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 7 function items inside it that branch (moveSelection, a function literal at line 66, a function literal at line 54, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/SegmentedControl.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c79a84ad3f181e8878959970f3fe44efca6e44de9132d16e9ed19758da6d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-trend-data.parseHourLabel (cyclomatic 26): use-trend-data.parseHourLabel has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f5c3a35c96d795fe641c3ed17200c9ad27b1760a37a58d9c1e3b5b253e0ad3"}},{"ruleId":"D1","level":"warning","message":{"text":"model-breakdown.buildFleetData (cyclomatic 26): model-breakdown.buildFleetData has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 370, 363, 331, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c7747656749d6e8eacba38494c07a415771c6a427e7fb28a001a0a5d54ee40"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeZcodeQuotaLimit (cyclomatic 26): normalizeZcodeQuotaLimit has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0b6dd4ab42e4edceb3806b4e11ee6f7c4380826fe17fb3128c1a7fce6a667"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchTraeCnUsagePage (cyclomatic 26): fetchTraeCnUsagePage has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48e83426d414504c0065322a0a71adc7c6295cdb3b038bf44e277ce61685d9"}},{"ruleId":"D1","level":"warning","message":{"text":"jsonl-lines.physicalJsonlRecords (cyclomatic 25): jsonl-lines.physicalJsonlRecords has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/jsonl-lines.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"454988295fee21a46808a517e8af1f8aadaa30fc31ea14cebf07b0b5e1d8d467"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.preserveCodexModelBuckets (cyclomatic 25): rollout.preserveCodexModelBuckets has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d3c7df83ea02079ea4d7e3191ecaa73223e8ae7d9fb556359e30c64d2152f"}},{"ruleId":"D1","level":"warning","message":{"text":"V2CursorStore.loadOpencodeMessagesForBatchUnchecked (cyclomatic 25): V2CursorStore.loadOpencodeMessagesForBatchUnchecked has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a0e12461e04847c5d1a4189d9e663e6b3ca4902eb4be1062b097db62f4baf4"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-context-breakdown.mapGrokToolName (cyclomatic 25): grok-context-breakdown.mapGrokToolName has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd07610080061b7ddeeed307b0f43eba93555c55785b717becf8590df4fb9a"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-go-limits.fetchOpencodeGoLimits (cyclomatic 25): opencode-go-limits.fetchOpencodeGoLimits has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3081e40831afbb40b39f33a16fca446ab4ab183d5ce0a31e7f3878b458fb0cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-usage.scanFile (cyclomatic 25): skill-usage.scanFile has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2846bfced878cf6e8c52ad8935858587464d7de9b00af7dff146183b302e5f17"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.relabelClaudeMemQueueRows (cyclomatic 25): sync.relabelClaudeMemQueueRows has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7814}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487d2e5333ace771c326098f6164ba520c6633347efb845c21c06427a1f48c9"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-skills.default (cyclomatic 25): tokentracker-account-skills.default has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ef4b4520bc6861f7e190cc33b773de994e2c5e58630639bf25424e48cbe89"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-device-token-issue.default (cyclomatic 25): tokentracker-device-token-issue.default has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"203d29feb6e92e575a86634a44c0f2ea755addd557b044e25ce6aec5775f57dd"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-action-intent.readCloudAction (cyclomatic 25): cloud-action-intent.readCloudAction has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-action-intent.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f489f676999d071425307fa3e745d5456df499feddb6068f0a1b2c07632959cb"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchableSelect.SearchableSelect (cyclomatic 25): SearchableSelect.SearchableSelect has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 80, a function literal at line 145, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/SearchableSelect.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f54c858f6c525ca1f93b5ca3ef0e23f556e29cababb49919fba11c88d03bd6"}},{"ruleId":"D1","level":"warning","message":{"text":"BadgeDetailModal.BadgeDetailBody (cyclomatic 25): BadgeDetailModal.BadgeDetailBody has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeDetailModal.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a1babbbc2ca486d151e75f601a21636e4ee8d2fc0bd9192d520bd9baac0b86"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDetails.DataDetails (cyclomatic 25): DataDetails.DataDetails has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DataDetails.jsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a48d594ca76f72e8366b62f5112112303c442679c19258f43105a7295accf53"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.normalizeToolRows (cyclomatic 25): ContextBreakdownPanel.normalizeToolRows has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 225, 247). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce820dfef1eb0547520d82ea55a99c48562fe5a5209b8df0c80283722fc6f15"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-quips.buildQuipPool (cyclomatic 25): pet-quips.buildQuipPool has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"db25b22464b178b03dd50a6bfae123c447cb3fa26f9da839d103ac353481e852"}},{"ruleId":"D1","level":"warning","message":{"text":"toSessionBrowserRow (cyclomatic 25): toSessionBrowserRow has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df553fde0c677dfacf7b2e2dbf2ac941d3918a1d6d4f846b338caebc788f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"collectPetLimitRows (cyclomatic 25): collectPetLimitRows has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to 20 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa84c83f48a27205210baf640dc61c9f779bd848c57f42bda7ebab3a29e0ad5"}},{"ruleId":"D1","level":"warning","message":{"text":"useLimitsDisplayPrefs (cyclomatic 25): useLimitsDisplayPrefs has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 28 function items inside it that branch (a function literal at line 400, a function literal at line 339, a function literal at line 356, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d23ca3cffca67af8d1e7e9c17af3a3347bd128cce2217f29fe15978db22760"}},{"ruleId":"D1","level":"warning","message":{"text":"openLock (cyclomatic 25): openLock has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce04bbc7372d76ea6a4a92ca6b24c98366b309662935c0343990ac7b81f4eb4c"}},{"ruleId":"D1","level":"warning","message":{"text":"preloadLeaderboardDefaultState (cyclomatic 25): preloadLeaderboardDefaultState has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da81ba19526c1d777f0d6e546288dc79db9b9a28d3b16bad6fd6179745f5b62"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudUsageExport.Save (cyclomatic 24): CloudUsageExport.Save has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/CloudUsageExport.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef809a6b9b9ac0cd81935c88cd19a201beccf341ee721d13022d71d8bbafdfce"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.normalizeHourlyState (cyclomatic 24): rollout.normalizeHourlyState has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f093e6bf20fc39cb2c3447341ee5357e48fb03382bf4978e56e3a739cb841035"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveProjectMetaForPath (cyclomatic 24): rollout.resolveProjectMetaForPath has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"1079a931544d9ca2e70026b8443037ce0eb26a982cd29467741db71142fe2059"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-packages.readCodexBuiltinPets (cyclomatic 24): pet-packages.readCodexBuiltinPets has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca6863935460f537153321d4ef96016c108e01102b420029dc244d6da76068"}},{"ruleId":"D1","level":"warning","message":{"text":"dsh-session.firstStreamTokenTime (cyclomatic 24): dsh-session.firstStreamTokenTime has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2d667431004608aca07ab1f990092bb819584ded705c04f3065557b9c9e24c"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairCodexForkReplayInflation (cyclomatic 24): sync.repairCodexForkReplayInflation has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7bcff5765a1b3931ca2963e67c605fd67b055c999b829d36b6d22392deb373"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-device-rename.default (cyclomatic 24): tokentracker-device-rename.default has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b5c8e616c52567aef997189e49a79f3e173b61535f14905b8d4c318009b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeProvider.ThemeProvider (cyclomatic 24): ThemeProvider.ThemeProvider has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 66, 87, 125, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/ThemeProvider.jsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae189fb965b0cbb61e55b3e1c39585389c703b0a655b74bad1717abf3f4b070"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-sync.rebuildCloudDeviceUsage (cyclomatic 24): cloud-sync.rebuildCloudDeviceUsage has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecdc232d089a514336b924e17f5376d8e12660ea4ae47cff482f9a9fe53eb25"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-billing.cloudBillingRequest (cyclomatic 24): cloud-billing.cloudBillingRequest has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-billing.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e38873bedadea8de49b8461e393e924923e81ca362cf610f7bf95f445d78a6"}},{"ruleId":"D1","level":"warning","message":{"text":"use-trend-data.fillHourlyGaps (cyclomatic 24): use-trend-data.fillHourlyGaps has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2985fd5240cd74a4e1d894ea1c10a4df3c835bc316a17e101daca1c1a32cb38c"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardPage.MobileLeaderboardRow (cyclomatic 24): LeaderboardPage.MobileLeaderboardRow has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0123958d87fd9148de822989f27dc1cd8b30db08dd3afc09561be36d834e8a6"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsPage.BrowseCard (cyclomatic 24): SkillsPage.BrowseCard has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f0409a4029b94ae0af34027f2652310f64d52600ef67e13e894eb91d66b7f3"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBarController.buildMenu (cyclomatic 24): StatusBarController.buildMenu has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"38873c7d5b657f29221293e820940250193e2f8b92ea47e1c4ce7fae3d1adf0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdCompanionView.drawIdleLiving (cyclomatic 24): ClawdCompanionView.drawIdleLiving has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b922f184ad0d3230817c2d6e18be6fbd58508868d2ed01aebaca881277425d5"}},{"ruleId":"D1","level":"warning","message":{"text":"parseAntigravityCredentialPayload (cyclomatic 24): parseAntigravityCredentialPayload has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3643}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a58240f42d543ec422eec1524a825ae0dee8d01645ab6e487f7830c5f32a66"}},{"ruleId":"D1","level":"warning","message":{"text":"limitRows (cyclomatic 24): limitRows has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d3e577690df575b5743413ac47464a75f3ac4353e78b041ff0ee5efbc17bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"localDataApiPlugin.configureServer (cyclomatic 24): localDataApiPlugin.configureServer has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1231, 1279, 1285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92c4577e76e7ae6c0642f231c777c40bf06e4f3d347455cfa1e67d34e102c26"}},{"ruleId":"D1","level":"warning","message":{"text":"readQoderLocalQuotaWithAge (cyclomatic 24): readQoderLocalQuotaWithAge has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4100876212a004a11a3f2513cf8bad5a11dde332d607286f1fe94f4df20f4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readZcodeNativeUsageMessages (cyclomatic 23): rollout.readZcodeNativeUsageMessages has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3f7ba0844d6ba50cf96f74f279bb07a63ef113546085526af61cef69faebf7"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseClaudeScienceIncremental (cyclomatic 23): rollout.parseClaudeScienceIncremental has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7756}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef89115c0ac374342403fff0e337f8c2701745227c24bd0f5849c6a441529f1"}},{"ruleId":"D1","level":"warning","message":{"text":"cli-ui.promptMenu (cyclomatic 23): cli-ui.promptMenu has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 92, rerender, a function literal at line 66, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cli-ui.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d8d68c72c411f9a2f2d39a9567852d6608eeb9e3414a357ede2673aec0b613"}},{"ruleId":"D1","level":"warning","message":{"text":"deepseek-status.parseDeepSeekStatusPage (cyclomatic 23): deepseek-status.parseDeepSeekStatusPage has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-status.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc9f3993ce4ea76d50c52a80eb7e0c1257cad5e2628d2d217cf6569f1d2e26"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.scanZcodeBalanceLogs (cyclomatic 23): zcode-limits.scanZcodeBalanceLogs has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e742a087748b508120280a71a5a962a07c0f3f06ff28780b738b54d7d1c792"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.normalizeAntigravityResponse (cyclomatic 23): usage-limits.normalizeAntigravityResponse has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b55dfbac27cab351e30989e0b512c146e490fa5b560de8fc052d0ad9226e76e"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.providerRoots (cyclomatic 23): session-analytics.providerRoots has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9891a342cceb4ca2e6aa8c7d3279f8a5735a81a9567d50b0e9cc9cd6e5bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.groupClaudeFilesAcrossRoots (cyclomatic 23): session-analytics.groupClaudeFilesAcrossRoots has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb416600c780a69d176ffecad05bd70a347cbe1b462455b6d4912a4ab441b8be"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-heatmap.buildActivityHeatmap (cyclomatic 23): activity-heatmap.buildActivityHeatmap has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"867be002c0f9f1fbb1e098cbfe45f839c7c2f2a42bf584801b81d4d87ddcc752"}},{"ruleId":"D1","level":"warning","message":{"text":"use-community-stats.normalizeCachedData (cyclomatic 23): use-community-stats.normalizeCachedData has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9f2058ac3160742d6b400524e0342ce3d3780752a9105fcb646156463e10c"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-inventory.mergeSkillInventories (cyclomatic 23): skills-inventory.mergeSkillInventories has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/skills-inventory.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e127d2e527732969e2b8e910e0adcf6ad8a6d1869936177f04ca110fddb4b4a0"}},{"ruleId":"D1","level":"warning","message":{"text":"use-usage-model-breakdown.useUsageModelBreakdown.refresh (cyclomatic 23): use-usage-model-breakdown.useUsageModelBreakdown.refresh has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-model-breakdown.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba5a74aec204a76e25d0a49874a98a45ae9a3bd7041791bf653865eedeeeccb"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.ToolCallsExpanded (cyclomatic 23): ContextBreakdownPanel.ToolCallsExpanded has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 632, 646, 655). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab21bf56b954093cc6f2b42cd2c2da315a4607c30c7e95f06f8e0b75f4054363"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsPage.SkillRow (cyclomatic 23): SkillsPage.SkillRow has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3ae285087d5fa558daf94172b70e62577416863f3a606111c750dada7b4c6"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeQAProfile.permitsNativeMessage (cyclomatic 23): NativeQAProfile.permitsNativeMessage has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"514eb2d0043ea7f52b8550d26c80461d63ddabda233e703ee4b85a1cebf70b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawdCompanionView.quipPool (cyclomatic 23): ClawdCompanionView.quipPool has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2ca0e7ce4faa9583439eb3290cccbdcf8a91ec16ea61f5e0585f4de23180b1"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchGeminiLimits (cyclomatic 23): fetchGeminiLimits has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c8dc9700c2e4379925752f6ff0cca98f7e5844c7efe481de4afe0056eda889"}},{"ruleId":"D1","level":"warning","message":{"text":"useCommunityStats::(anonymous)::run (cyclomatic 23): useCommunityStats::(anonymous)::run has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a77cfc412b585836031836c4e9b2894d017fcc5a66a2d52fa45267cfd316387"}},{"ruleId":"D1","level":"warning","message":{"text":"probeWslDistros (cyclomatic 23): probeWslDistros has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"495524552f4bb52b672d421a7d709e46d566a3d6af1271c486c00d9dd0fe7e86"}},{"ruleId":"D1","level":"warning","message":{"text":"native-qa-auth.createRAMAuthBroker.acceptSession (cyclomatic 22): native-qa-auth.createRAMAuthBroker.acceptSession has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d782498fa8c65e67573b5a5ead1eaa5cd8c77040e9ba33c66c659027ae26688"}},{"ruleId":"D1","level":"warning","message":{"text":"trae-snapshot.indexWal (cyclomatic 22): trae-snapshot.indexWal has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6b3150c2a895d395409ddfcf17ccc0429c7e0f6148c572a05405ec53d0afa5"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.parseRolloutFile (cyclomatic 22): rollout.parseRolloutFile has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3a5c2149c2198dd478fc4431898e3f179157135a5af3f0626d428eca506764"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.diffGeminiTotals (cyclomatic 22): rollout.diffGeminiTotals has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2301e38b3bbb13ac3392deb5f759b5261566685203ef61e4b0a644e6f7b4bd54"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readOpencodeDbMessagesIncremental::appendRows (cyclomatic 22): rollout.readOpencodeDbMessagesIncremental::appendRows has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca79c510854c713bd2586a92f876b5134ba8c1d14b1c81d4a2e85cccd41f9b2"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.writeKiroCliCreditsSidecar (cyclomatic 22): rollout.writeKiroCliCreditsSidecar has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ecd8323ed953f27e4b0533e0431e99e0015ab70a5e647207588b48086d480"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveGooseDbPath (cyclomatic 22): rollout.resolveGooseDbPath has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c43469e68767500ae43c9690cae733b2b867811261f198fb1fd2248f7a9a965"}},{"ruleId":"D1","level":"warning","message":{"text":"init.parseArgs (cyclomatic 22): init.parseArgs has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7805fefb9b91b592f65b0ae430b7cc8e1fcd03fa0ed42ea261844352834e7819"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-context-breakdown.openValidatedResumeFile (cyclomatic 22): codex-context-breakdown.openValidatedResumeFile has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed0cfcbcac99e57ef6d0b80ec1c40899e1396c86a5a74d902fcd2e01e1d8d4b"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-packages.normalizeManifest (cyclomatic 22): pet-packages.normalizeManifest has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fd051fd9400555f343f9923e1fc962c76d81b6970b4345126a13458c53ce12"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-packages.readZipEntries (cyclomatic 22): pet-packages.readZipEntries has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 203, 243, 196, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7eb48173b45f6bede76b757e2e04a391457cc78ab401a8f0703bdf0a45c52d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-token-refresh.refreshCodexTokens (cyclomatic 22): codex-token-refresh.refreshCodexTokens has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-refresh.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"069b5daba2ff426f5b73a3d832a3dc0adf1704bd78f8b827c9440484dffe4a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.readZcodeLimitsCache (cyclomatic 22): zcode-limits.readZcodeLimitsCache has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b4886af3d5f1b79ce33d9d310a02aa061920bb56c04677833b2e68fa3b2c05"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-go-limits.collectOpencodeGoLocal (cyclomatic 22): opencode-go-limits.collectOpencodeGoLocal has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"40117bb9164026770e3c1fde74c8aba36b40a6af1acd649276ede162ddcd5166"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.closeSingleUnpaidWaffoOrder (cyclomatic 22): waffo.closeSingleUnpaidWaffoOrder has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5b94f172af1763d0035e4c82d0401934ac3b459e041c07177e7b05b6335c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"insforge-config.getOrCreateInsforgeClient (cyclomatic 22): insforge-config.getOrCreateInsforgeClient has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-config.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d857d7a72c3f7817bdafa6f72fa11272c3a552baac290a0f802e44fb24591b68"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsPanel.UsageLimitsPanel (cyclomatic 22): UsageLimitsPanel.UsageLimitsPanel has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"16861851573f21718868c4c9ba67d33f96bf3bc7daa4aea6c70a23f28256e502"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAuthCallbackPage.NativeAuthCallbackPage (cyclomatic 22): NativeAuthCallbackPage.NativeAuthCallbackPage has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 88, 56, 77, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/NativeAuthCallbackPage.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5972120b8e804ac6d0c3d7be52a0ceb3894a9e7dac7923745414ed209714b226"}},{"ruleId":"D1","level":"warning","message":{"text":"WrappedPage.WrappedPage (cyclomatic 22): WrappedPage.WrappedPage has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WrappedPage.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc2cea56d2c27f62a77e1acd1957ceb954291197974936c8373e0783249966f"}},{"ruleId":"D1","level":"warning","message":{"text":"upsertOmpHook (cyclomatic 22): upsertOmpHook has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b974219509cc508a69e98046f864759af561d27887ee9d9740cb5e7f7cf8453d"}},{"ruleId":"D1","level":"warning","message":{"text":"validateSnapshot (cyclomatic 22): validateSnapshot has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba24fed399bc05455a52d3b534157cd839559bc46a435785f58a676ffdda45c3"}},{"ruleId":"D1","level":"warning","message":{"text":"detectPassiveProviders (cyclomatic 22): detectPassiveProviders has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (logsPredicate, logsPredicate, logsPredicate, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/passive-mode.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"151159443d49653f798a0a2d76e9e8ebfb31845b58c1772bc688949c260b8aee"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableDownloader.DownloadAsync (cyclomatic 21): ResumableDownloader.DownloadAsync has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a706dfb77f3ef6b7e576830b69c9815f56c07225f3de784564a259612c08f8"}},{"ruleId":"D1","level":"warning","message":{"text":"UsagePoller.FetchTopModelsAsync (cyclomatic 21): UsagePoller.FetchTopModelsAsync has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"262403565e1c3a7fac3df7d59a83fae8cd84d0617fdcb9af19f65424771c5f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-token-usage.consumeUsageDelta (cyclomatic 21): codex-token-usage.consumeUsageDelta has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-usage.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3797931f4975f0448312f0773c72b5897b1210d41b019e078d78c92400a0667"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.listRolloutDayFiles (cyclomatic 21): rollout.listRolloutDayFiles has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acba81bfd99f84af78f3e44e3d42a90acf62e1f63893802d9d1d7d173a3af42"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.sameOpenclawFileGeneration (cyclomatic 21): rollout.sameOpenclawFileGeneration has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3f11f45b75745dc078e9529c1afb27853f37ed2ab44a9b6d9fd8f89546dd66"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.antigravityProjectAssignmentChanged (cyclomatic 21): rollout.antigravityProjectAssignmentChanged has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5034}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd2c21f490f374f8df41a0720452731c2ec737d05731d4b783a79d8b828d119"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.collectPiStyleSubagentFiles (cyclomatic 21): rollout.collectPiStyleSubagentFiles has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d183ba9ad74c32b593eddfdaf27bad84f7687d907234bcce6ccb826020dec12"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveOpenSquillaDbPaths (cyclomatic 21): rollout.resolveOpenSquillaDbPaths has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6298cbca326e530e91379463d6228ef0075fc8e6aa6318ca20453723b4b9b70"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readCommandCodeSessionSnapshot (cyclomatic 21): rollout.readCommandCodeSessionSnapshot has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26242}}}],"partialFingerprints":{"codehealthFindingId/v1":"690081c6147be679e92ca82b5186540af343b0b370bdef00c3aa59c0e2dae33a"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw-session-plugin.ensureOpenclawSessionPluginPolicy (cyclomatic 21): openclaw-session-plugin.ensureOpenclawSessionPluginPolicy has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3dc1ce282bcdee7cd197f8c2866b20d23976616ab7805ac6c0bd52b3796729"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-discovery.discoverT3AntigravityBrainDirs (cyclomatic 21): antigravity-discovery.discoverT3AntigravityBrainDirs has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51eb2a96e0e465df2cb5f1642ddac2d3b63f69b0b4a96b68972abdd7dcb34f"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.getConfiguredResources (cyclomatic 21): claude-categorizer.getConfiguredResources has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"6346ab9f7f2784591d0c43ed59c8134b6a2ac09d03de140bf93d03c7942fa7f7"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-store.buildCodexFileShardMetadata (cyclomatic 21): cursor-store.buildCodexFileShardMetadata has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e291fead2a07a46c3a8c636f22862105815323cfb04d72d3b114df7b26613656"}},{"ruleId":"D1","level":"warning","message":{"text":"zcode-limits.readZcodeLogSnapshotCache (cyclomatic 21): zcode-limits.readZcodeLogSnapshotCache has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0e78cf04a7f532a1855f009db3a290dbaa41eeb09fe69c9354c934b6a3243c"}},{"ruleId":"D1","level":"warning","message":{"text":"workbuddy-ipc.readWorkbuddyIpcDiscovery (cyclomatic 21): workbuddy-ipc.readWorkbuddyIpcDiscovery has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f802fe8e6d0d4fe6a10798a83295090a6c2b1eebed53c334ab5b73bd573a0eba"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-profile.resolveKimiProfile (cyclomatic 21): kimi-profile.resolveKimiProfile has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-profile.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4b311e42f9af283d08b9e3e489ee91f5f82c1da59e6ab83994162dffecdb05"}},{"ruleId":"D1","level":"warning","message":{"text":"outcomes-engine.sanitizeOutcome (cyclomatic 21): outcomes-engine.sanitizeOutcome has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2047f41bd3ecae8658f99a508197aba3228240ce099c274fc6ae48025fdb92"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.createCodexDeliverySignalCollector.consume (cyclomatic 21): session-analytics.createCodexDeliverySignalCollector.consume has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b690fa7cd49d370cb4970e53861204f192324a077f6f00da1acef7f341af5ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-manager.listInstalledSkills (cyclomatic 21): skills-manager.listInstalledSkills has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"728ee88d12a1e23a6ffa48e7929881005c3606566446c1ff15c5db4f15b0090a"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.repairZcodePruneWindowRestore (cyclomatic 21): sync.repairZcodePruneWindowRestore has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5464}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e00e77bb4a7d33745e0bf0fb5cb9103e6888037cdfd3e7e22875d86ebff171"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor.buildRuntimeChecks (cyclomatic 21): doctor.buildRuntimeChecks has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e85e4f890919c69846229906e8599d694f71cff01061e1bd1fbab5202b8c9a5"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.validateWaffoProduct (cyclomatic 21): waffo.validateWaffoProduct has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbadff02e3b6de09de7f1c20b097bfc19a9336b815707d1ca6eda7fa744a8a6"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.validateProviderOrder (cyclomatic 21): waffo.validateProviderOrder has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc415961a201795d7158d7a95f9606eac48ad78d643e11dd98cb78ac704f1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-community-models.default (cyclomatic 21): tokentracker-community-models.default has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-community-models.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"516eff7f9b85e96106a582af23ad9d7de4556ffcf371160eb31d067a7e2a2260"}},{"ruleId":"D1","level":"warning","message":{"text":"insforge-deployment-config.validateInsforgeDeployment (cyclomatic 21): insforge-deployment-config.validateInsforgeDeployment has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-deployment-config.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3958e9bc80cf7657a602a1370bde6bd96c61ea75647109dbd6656960519605"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountViewContext.AccountViewProvider (cyclomatic 21): AccountViewContext.AccountViewProvider has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 105, 61, 69, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/AccountViewContext.jsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3146c2fecc243ce851dab7c002f21979e58184f5d4e300892950c03ed7e6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"detail-sort.parseHourKey (cyclomatic 21): detail-sort.parseHourKey has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eec268902851e95f7c35f95c47b8f0411288c99c3ee24f3d4f3a2d94e02e23c"}},{"ruleId":"D1","level":"warning","message":{"text":"model-breakdown.buildTopModels (cyclomatic 21): model-breakdown.buildTopModels has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c1529d2968388dba2ecf1db4f027920ca0ba6dece895e8d2d07f8314fcb57"}},{"ruleId":"D1","level":"warning","message":{"text":"DevicePage.DevicePage (cyclomatic 21): DevicePage.DevicePage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (onSubmit, a function literal at line 39). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DevicePage.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5746fc8515fcd2c6d7839b712f75c617d55ddd5c8bcb9c4018e52fc703ada5"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardWindowController.handleScriptMessage (cyclomatic 21): DashboardWindowController.handleScriptMessage has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a5f9b357f04cdb1fb87925d33334f6a5c5a0aa1be1cd0e4862d8db1baeb3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"BotSpriteView.draw (cyclomatic 21): BotSpriteView.draw has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/BotSpriteView.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1167dc2106e64ea558e5c3c4b73464af9579aada07a4ed26ea594ab2fd19e5de"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodexDeliverySignalCollector.consume (cyclomatic 21): createCodexDeliverySignalCollector.consume has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b15068594fe29871aafde76752201a2eca1f56ad9c63e1293b895685b2db86d"}},{"ruleId":"D1","level":"warning","message":{"text":"commitOpencodeShards (cyclomatic 21): commitOpencodeShards has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23db1e9b10fcd9233ca4ba7fcd6917283630d6123550a99acb38013a07758bd"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaWidgetWindow.ReceiveMessage (cyclomatic 20): QuotaWidgetWindow.ReceiveMessage has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250599575d37349d0915321b457ef0f6ca9a69c86760882b2a97bcae803766d"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.collectCodexDominantModels (cyclomatic 20): rollout.collectCodexDominantModels has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e65639be2c537b5fb9cc38b88c40b4b5c489017936d0a4d7667c5f6428be73a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-config.readTomlArrayLiteral (cyclomatic 20): codex-config.readTomlArrayLiteral has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (scanChunk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This shape REPEATS in the file: one other method here (codex-config.findTomlArrayBlockEnd) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4234b0c8862d2a877e3d179e4e65b368d00016f1e8afc827b0404c4afcea2e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-config.findTomlArrayBlockEnd (cyclomatic 20): codex-config.findTomlArrayBlockEnd has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (scanChunk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This shape REPEATS in the file: one other method here (codex-config.readTomlArrayLiteral) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7241fc73932a0ad63e4dd4c17366a9a4177c586356e77c7fe4fcb4044faa2591"}},{"ruleId":"D1","level":"warning","message":{"text":"async-queue-reader.createAsyncQueueReader::load (cyclomatic 20): async-queue-reader.createAsyncQueueReader::load has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-queue-reader.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc4ab7e7e7308fdd84df965b4ac60e1e41d0509e2b3449039992dc23db751a"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-limits.fetchGrokLimits (cyclomatic 20): grok-limits.fetchGrokLimits has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f79c050d0004de995769aa919ba4c301bef40fc3302aed6d0d9b60c96d5c1"}},{"ruleId":"D1","level":"warning","message":{"text":"devin-limits.readDevinCredentials (cyclomatic 20): devin-limits.readDevinCredentials has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ab5c158b8915955f350f7ccffbb8adfb3dd363f345150fc7fcce133515211"}},{"ruleId":"D1","level":"warning","message":{"text":"qoder-limits.normalizeQoderRpcUsage (cyclomatic 20): qoder-limits.normalizeQoderRpcUsage has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad5b23bd7459e3fecc48ac77a02f78dc77e9868faa043ed49dbf79d5ceb57f"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.codexSparkFallbackCandidates (cyclomatic 20): usage-limits.codexSparkFallbackCandidates has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5d8ae0111a28bc145467fc3e4a1b6d0c66ca36c7a69e31c5f0dca8ac1520dd"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-session.listNestedJsonlSync::walk (cyclomatic 20): pi-session.listNestedJsonlSync::walk has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24cab1b9fcfc60df250ebd9231fa5dcd095a9ec83f356acb1ab0e89a968f29e"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-manager.searchSkillsSh (cyclomatic 20): skills-manager.searchSkillsSh has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1245). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c51367a169c5695a33dfe5afeb6c7b962a04f04e5329a79dbb9c9e3a46c1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.reincludeClaudeMemObserverFiles (cyclomatic 20): sync.reincludeClaudeMemObserverFiles has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7764}}}],"partialFingerprints":{"codehealthFindingId/v1":"88333b02c089891381b5eddfc26f87f24d8c576cdb4c6e19f29d1ead8bf52d3e"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.providerOrders (cyclomatic 20): waffo.providerOrders has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a768fc0fd9ebf004438362804200501e076dcc5c61704692d627748be5983"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-daily.getRowPricing (cyclomatic 20): tokentracker-account-daily.getRowPricing has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b505dc36d2cc7634201681ec8cc4cfc5b7b1fb520ba2a49faa37caeef28e014a"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getRowPricing (cyclomatic 20): tokentracker-account-model-breakdown.getRowPricing has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7339405addf69b8a9a5b966ba32106b30b7b9f847e7579888d2d0dbc11fa4e1"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-summary.getRowPricing (cyclomatic 20): tokentracker-account-summary.getRowPricing has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a1ac84b039352b1db148116d40534febd15c14d25d29310a75bda08d287c82"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-profile.getRowPricing (cyclomatic 20): tokentracker-leaderboard-profile.getRowPricing has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e92809e3f710c4b898d6c81ff6cd7c67e36f45bf38275697c4fe4c91e4f61d"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.getRowPricing (cyclomatic 20): tokentracker-leaderboard-refresh.getRowPricing has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"13564cce8bef7bb11537e181ea11b1a6f318befc9ad70a0f432bdd2366dd41e9"}},{"ruleId":"D1","level":"warning","message":{"text":"api.cachedAccountJsonGet (cyclomatic 20): api.cachedAccountJsonGet has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 96). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"47516ef4917f145ec7573bfba0e47a772aa40374d98c4af1e85e3f378c1f7107"}},{"ruleId":"D1","level":"warning","message":{"text":"api.fetchLocalJson (cyclomatic 20): api.fetchLocalJson has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d41aa2274bbf45c385ce5201415c460359c84458295e7fc3371b811d5cf888a"}},{"ruleId":"D1","level":"warning","message":{"text":"AchievementBadge.AchievementBadge (cyclomatic 20): AchievementBadge.AchievementBadge has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementBadge.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3566b71ee4e465d0a4e82132701ebd6692e94c217b84c0561bef12bcf42c30b4"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalDataSection.LocalDataSection (cyclomatic 20): LocalDataSection.LocalDataSection has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21c39a9da7ec2ff09de091aee26694e4fef7257715e727db6e4a0598ef787f6"}},{"ruleId":"D1","level":"warning","message":{"text":"BotAnimated.BotAnimated (cyclomatic 20): BotAnimated.BotAnimated has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09d5f15a4496545a0504dbbf7c6153804117e27a40eb11fe84053f991e3edcb"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudUsageExport.init (cyclomatic 20): CloudUsageExport.init has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/CloudUsageExport.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"302aaff002a40da57bf5f60b7fab08e90648680e59b79d505572a94a1e700a46"}},{"ruleId":"D1","level":"warning","message":{"text":"PetCatalog.refresh (cyclomatic 20): PetCatalog.refresh has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92c25d1b150e3469f827c31f1fdbfcb8ba59182324784328568b8ef87723d58"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableDownloader.urlSession (cyclomatic 20): ResumableDownloader.urlSession has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ResumableDownloader.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221e024c7fd7c743ad9d072c7911685a9ed29c4a7d19c1480c122ae2c12fa47"}},{"ruleId":"D1","level":"warning","message":{"text":"LimitsSettingsView.providerIcon (cyclomatic 20): LimitsSettingsView.providerIcon has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8876f5b1f5d491b99ddc29b162adbc57c415341aad5f42f2d160dd352c137e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregateHourlyByDay (cyclomatic 20): aggregateHourlyByDay has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eda9cf253f6edfb04112c767998bcd1e80b220176a70516d2097c201209b808"}},{"ruleId":"D1","level":"warning","message":{"text":"runSyncCommand (cyclomatic 20): runSyncCommand has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 885, a function literal at line 927, (anonymous)::finish, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9fca57fd0c15a26d732b45085a9f1fd75870355bbdf993563e3168b8606365"}},{"ruleId":"D1","level":"warning","message":{"text":"openWorkbuddyIpc::(anonymous)::onPacket (cyclomatic 20): openWorkbuddyIpc::(anonymous)::onPacket has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e33e1de19899ae1f3f5e88659e328417b32a6f627bb34c2ec583ac58e809a9"}},{"ruleId":"D1","level":"warning","message":{"text":"scopeSessionsToRange (cyclomatic 20): scopeSessionsToRange has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 7, sum, a function literal at line 9, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-insights.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828f9aa0cac963c1c2668fbe70adc75064e8b6dcf81fea753f907b2aaa73e53"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableDownloader.DownloadNextChunkAsync (cyclomatic 19): ResumableDownloader.DownloadNextChunkAsync has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3735e54d7b480343e6e4bfbcb814231d2ea3298ac5abdd4765acda80f35c75d3"}},{"ruleId":"D1","level":"warning","message":{"text":"native-qa-server.installFileAndProcessGuards (cyclomatic 19): native-qa-server.installFileAndProcessGuards has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (allowed, a function literal at line 40, a function literal at line 57, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a977aa6eb2ac98d9399141aeb75a759ef0ff8505ca88a6f32e2d3ae433256e2c"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-copy.copyRuntimeTree (cyclomatic 19): runtime-copy.copyRuntimeTree has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-copy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"233d688c638162ee03d5e10086971e5f242e45f11fb246ed6980ff3349255e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-model-attribution.applyCodexModelEvent (cyclomatic 19): codex-model-attribution.applyCodexModelEvent has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-model-attribution.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4998450925b155712b8ae638e6d41d49e7e918b32eb7c5bc6f20db1c95e488d2"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-config.decodeCursorSandUsageStatus (cyclomatic 19): cursor-config.decodeCursorSandUsageStatus has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace29735ce8add05bc697d4b7c8bcf0e404c5c162ecabb3bdb9b3df8c1751c75"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveZcodeInstallPaths (cyclomatic 19): rollout.resolveZcodeInstallPaths has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6124}}}],"partialFingerprints":{"codehealthFindingId/v1":"427007e6731e73613c9fefd251b4f40db09a674d01440fff248d122f55917fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.normalizeQoderNewTokens (cyclomatic 19): rollout.normalizeQoderNewTokens has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab9821c22c48c66ce8b9280f9df69a9f5c2dccdd8d1f97375f80c982b05976b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readGrokUpdateTokenEvents (cyclomatic 19): rollout.readGrokUpdateTokenEvents has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d216a697f47326c31958e9718782ea9765e2c2a8022b3663622ffefbcf805"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.normalizeTraeCnSession (cyclomatic 19): rollout.normalizeTraeCnSession has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff66c86ff2cddcadf391786cf1de2f311ee6064d0f6a018dbf7e1d2dc2cbf67"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.isCompleteDshJsonLine::parseValue (cyclomatic 19): rollout.isCompleteDshJsonLine::parseValue has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (rollout.isCompleteDshJsonLine::parseNumber) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3010a0aa8bd3fb8f724e4fe2f62cca9fe32e98cf3d71711963edb9457d94ae8b"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw-cli.resolveOpenclawCommand (cyclomatic 19): openclaw-cli.resolveOpenclawCommand has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-cli.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e30261e7fa5347d86dfee0010a6f4c1084322709f42cd68069652871d7fbbb8"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-usage-reset.resetCloudDeviceUsage (cyclomatic 19): cloud-usage-reset.resetCloudDeviceUsage has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-usage-reset.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b778135e83497e668f49807c7de327b8d5e21e514293a7d7b1a8fc04a64f221e"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-device-token.resolveDeviceTokenPresence (cyclomatic 19): cloud-device-token.resolveDeviceTokenPresence has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-device-token.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7d48c4d14a136eb3430a6919ed668b2232bf70539f6e1d8923f47c78ad21b1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.isConservativeRangeCandidate (cyclomatic 19): codex-rollout-parser.isConservativeRangeCandidate has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53dace85c8068c04c9debf559c3af0bf0680180d82896641f87399bb62d7c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile::getExecKeys (cyclomatic 19): codex-rollout-parser.parseCodexRolloutFile::getExecKeys has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (codex-rollout-parser.parseCodexRolloutFile, codex-rollout-parser.parseCodexRolloutFile::recordModelUsage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c61a32bc81ad605418db313f9311e72adb0c6ae0963f960c6ced5a04a443d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-status.parseOpenCodeStatusPayload (cyclomatic 19): opencode-status.parseOpenCodeStatusPayload has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-status.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"361b7ceedd6cdcde795890dbbf52bde97c3f24db0a389f2c37a946fb29fcdc13"}},{"ruleId":"D1","level":"warning","message":{"text":"qoder-limits.normalizeQoderActivityResponse (cyclomatic 19): qoder-limits.normalizeQoderActivityResponse has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f0caaa923244a7abc48ce29d5445a4cbe75ba737551f5f7645224e0edb127"}},{"ruleId":"D1","level":"warning","message":{"text":"dsh-session.discoverDshSessionFiles (cyclomatic 19): dsh-session.discoverDshSessionFiles has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4adca0c86137887534e435166f6784c12d842e9879236b7de8a81fbda2534b6"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.repriceSessionRecord (cyclomatic 19): session-analytics.repriceSessionRecord has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ff9758b6dc4f7d1a4b6d0a7c92975321fe7c892ca0d6882e13b5a82f70fdc8"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.buildCodexCategoryFallbackFromQueue (cyclomatic 19): local-api.buildCodexCategoryFallbackFromQueue has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c1ba577601d96f5717b78da84bafed7cb7823a065817ed1d5d8fcb0087ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.createLocalApiHandler::currentCloudUploadFailure (cyclomatic 19): local-api.createLocalApiHandler::currentCloudUploadFailure has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (local-api.createLocalApiHandler::getRuntime, local-api.createLocalApiHandler::tryServeAccountView) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"764f456514e381207c096742d0be97613b32e94e3311a5e0c94ddb29c1c20169"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.MobileDrawer (cyclomatic 19): Sidebar.MobileDrawer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 464, 490, 456, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Sidebar.jsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c08b29f3372425ae8f91a022c910be630a322a71058dce68713d23e1a4b6bd"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardSummaryCard.LeaderboardMeChip (cyclomatic 19): LeaderboardSummaryCard.LeaderboardMeChip has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LeaderboardSummaryCard.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4cea2782441e6e6b61140dae2cf4f55a2d92626d0e0e969b5d1e8442592757"}},{"ruleId":"D1","level":"warning","message":{"text":"Badge3DCoin.Badge3DCoin (cyclomatic 19): Badge3DCoin.Badge3DCoin has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (onPointerMove, onPointerEnd, onKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/Badge3DCoin.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec88f075ca10bc417f35a970032cac2301876784751c70c65289c0ed7b5de98"}},{"ruleId":"D1","level":"warning","message":{"text":"LeaderboardProfilePage.LeaderboardProfilePage (cyclomatic 19): LeaderboardProfilePage.LeaderboardProfilePage has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardProfilePage.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4b370904531f664bc0e25372b42e5718baffce69b0daf2f453338ecbb50463"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardViewModel.loadMenuBarSummaries (cyclomatic 19): DashboardViewModel.loadMenuBarSummaries has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bede6232f13384a7ea1e5cf39582a58c639e9ebb901a91b55ab7a7fb37b2ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicIslandView.wingContent (cyclomatic 19): DynamicIslandView.wingContent has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/DynamicIslandView.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a6d3cb3f5d05284cca2c4e6e64e42fd16fdf0f88999b3d5f9816e3573e79a8"}},{"ruleId":"D1","level":"warning","message":{"text":"scanForForkedCodexRollout (cyclomatic 19): scanForForkedCodexRollout has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6997}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4f6001109c8df587fe34562feddaa09c7611d98e3378d28c5f11f6bbab2b07"}},{"ruleId":"D1","level":"warning","message":{"text":"buildDailyAggregates (cyclomatic 19): buildDailyAggregates has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcd060bd5a79d4f22dd1f3b19573ddf742a654e45ddbeee56060d91639f0e42"}},{"ruleId":"D1","level":"warning","message":{"text":"createLocalApiHandler::handleLocalApi::aggregateEntries (cyclomatic 19): createLocalApiHandler::handleLocalApi::aggregateEntries has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceba7a2fd4c2559775b144d979c4c814d932ac625f7906345bba63e51698d13"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerManager.StartServerOnceAsync (cyclomatic 18): ServerManager.StartServerOnceAsync has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"66468b311233795fdc7af75943c68650dea4585fa4828319f714c1a107d5fa04"}},{"ruleId":"D1","level":"warning","message":{"text":"UsagePoller.FetchAsync (cyclomatic 18): UsagePoller.FetchAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"519feb2b57d193b43c146e8999718a6d3ab9d3c08b342a6b07a087e6e0fff452"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-user-identity.collectClaudeForkAliases (cyclomatic 18): claude-user-identity.collectClaudeForkAliases has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-user-identity.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ca9652138f4f1c79371eee7ca79ca0f25fee5619095b824a138493816a20bd"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readKiroCliRequests (cyclomatic 18): rollout.readKiroCliRequests has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d2df9b91b56065019cf095f9c3f4fc70e1f719f232e1df9115aaa0f21f016a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolvePiSessionFiles (cyclomatic 18): rollout.resolvePiSessionFiles has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddee8a61ed1e56d6c1a5f7a8f05f1796ef264c4e536dc990627f7296e9d9fd9f"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.extractGrokTurnUsageEvents (cyclomatic 18): rollout.extractGrokTurnUsageEvents has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f088a514b5f88b86bd4242c1b78848ee67542caed3ce12bd9eed36798ea09e"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resetAntigravityBucketsForRebuild (cyclomatic 18): rollout.resetAntigravityBucketsForRebuild has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6003044df97767be2d64b92c9df9e9a1fa04b75f9301c91f12ff90993bb6f22"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.isCompleteDshJsonLine::parseNumber (cyclomatic 18): rollout.isCompleteDshJsonLine::parseNumber has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (rollout.isCompleteDshJsonLine::parseValue) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3cea7f4e728fe2304b986bc0a90779417b460e47f80d97dbb06cfd4b5bb31e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-config.parseTomlStringArray::parseString (cyclomatic 18): codex-config.parseTomlStringArray::parseString has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f92d39449d15523290938d6aadd6413d88c2c80f2154ad0dd93cdcd95341fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"init.runSetup (cyclomatic 18): init.runSetup has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2463138dd6f6d035f724ed68ebae022dcbe1b36117e351689664a2bc781d5f52"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.iterateCodexObjects (cyclomatic 18): codex-rollout-parser.iterateCodexObjects has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a649a42444fd904a0df79aef947c4b29e6f1f8c0e3e52bc19133e58a68756e"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-packages.readWebpDimensions (cyclomatic 18): pet-packages.readWebpDimensions has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"13255c8e629a9d3fb43854a14da4788918cf7adc9a6f6d0c3004e085e4dc7a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.normalizeCodexSparkRateWindows (cyclomatic 18): usage-limits.normalizeCodexSparkRateWindows has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5275a592f7f98b1cda8bfdfad1d86f0b6f3da69ee23409a5cfd7adbbcf460c"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.parseLinuxProcListeningPorts (cyclomatic 18): usage-limits.parseLinuxProcListeningPorts has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7543c68e35002eb3e307e116820632caf2fa280227e6f52a66b8dbb30c3e8f4"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.normalizeAntigravityQuotaSummary (cyclomatic 18): usage-limits.normalizeAntigravityQuotaSummary has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e8ae6d80bd1531dac61bc37a7e8f73f014ffa598d89292230dccea2edba95"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.persistAntigravityCredentials (cyclomatic 18): usage-limits.persistAntigravityCredentials has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac62c87e235668c74c0550ec523fc7418ea1a34ccaf42897aeea1a0bff44c49f"}},{"ruleId":"D1","level":"warning","message":{"text":"proxy-env.applyUndiciProxyIfNeeded (cyclomatic 18): proxy-env.applyUndiciProxyIfNeeded has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-env.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5105d5204e0339042c8c234a78cfb50aca8cd1af3b094e4db1f24588922466"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-manager.scanPluginInventoryRoot::walk (cyclomatic 18): skills-manager.scanPluginInventoryRoot::walk has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3400755df27b9f5a711b154960f3ea5492ad964c698a89d4bdc29990c2e0191c"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-manager.fetchPopularSkillsSh (cyclomatic 18): skills-manager.fetchPopularSkillsSh has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55fb4426a9bc92475ea05826cb09878b92a96b63e57c1209dad5a917f7c1a3f"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.billingUserId (cyclomatic 18): auth.billingUserId has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/auth.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa3fa12290aed7497851877179154ce19062b5c6d24875e6ffa7adb2bfb934"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.currentPeriod (cyclomatic 18): waffo.currentPeriod has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 381). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"609c025dfa15ca90234a35ec151eda383e35588d7d6ffae8ca5bea717ef85dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"format.formatUsdCurrency (cyclomatic 18): format.formatUsdCurrency has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3d846ec06df335d663594e637ca16ca74518cb85ccbb1c23c5b0602522b39"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-prompt-policy.publishCloudPromptBilling (cyclomatic 18): cloud-prompt-policy.publishCloudPromptBilling has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cba8306c90f12ed056b92f970a547780e4c9c6d4fad95f2d8592baf8d49fce"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsPanel.LimitBar (cyclomatic 18): UsageLimitsPanel.LimitBar has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac17ed1232a300da60759debbcf862f348521e613dc73535375929108d7f4a37"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsPanel.ZcodeResetBankSection (cyclomatic 18): UsageLimitsPanel.ZcodeResetBankSection has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85d07719dbfe4ab426c7bcf8fd415b8327d6a2467e7fe463fa2fefcba36946b"}},{"ruleId":"D1","level":"warning","message":{"text":"use-trend-data.getNowParts (cyclomatic 18): use-trend-data.getNowParts has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef67b5336fe5b205323811292f8ac01f179ab469d78942069ee507c33415e543"}},{"ruleId":"D1","level":"warning","message":{"text":"TrendMonitor.TrendBar (cyclomatic 18): TrendMonitor.TrendBar has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47d84f1dc0e0eec338b3c2f57fd72929d13179dc0c5e6a7b177675650a8cb37"}},{"ruleId":"D1","level":"warning","message":{"text":"TrendMonitor.computeInterpolatedSeries (cyclomatic 18): TrendMonitor.computeInterpolatedSeries has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7ac15245184ed50b58e133252986f04873e023e351cc9edeba3730b2bac1eb"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionInsightsCard.SessionInsightsCard (cyclomatic 18): SessionInsightsCard.SessionInsightsCard has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc1e62127109e82980a4e8ffe6ef722c8cb54d8c5829baf52eada77663d5617"}},{"ruleId":"D1","level":"warning","message":{"text":"build-share-card-data.buildShareCardData (cyclomatic 18): build-share-card-data.buildShareCardData has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/build-share-card-data.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdb7c2cf425a49902a6cd26c7aabfd8e9646163d48bd4f97c6acd858c1101fb"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnualReportCard.rebucket (cyclomatic 18): AnnualReportCard.rebucket has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"538653ed8338642285d4af68368727b0ab9c8380786f5871c1add10028986a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPage.SettingsPage (cyclomatic 18): SettingsPage.SettingsPage has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SettingsPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f40244d1d7a2943dd666a4627b6f263dfb16983df1405c5825a95250a738cd"}},{"ruleId":"D1","level":"warning","message":{"text":"IslandOnboardingCard.IslandOnboardingCard (cyclomatic 18): IslandOnboardingCard.IslandOnboardingCard has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/IslandOnboardingCard.jsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b914dfb2aa1764aeddae2f98110fa969eac6294608ac8149290653a6272a679d"}},{"ruleId":"D1","level":"warning","message":{"text":"collectExpiringResourceCredits (cyclomatic 18): collectExpiringResourceCredits has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"43474059e2a2492a16f9965338085bb2accd0240c5f8fd97fe7466e8e79669ca"}},{"ruleId":"D1","level":"warning","message":{"text":"fetchAccountFunction (cyclomatic 18): fetchAccountFunction has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f7478d1f33adf77f39b9e44a908997cdc21d76e6d2c505cda620c716482c42"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeCommandcodeWindow (cyclomatic 18): normalizeCommandcodeWindow has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"80780cb88fa4813fa2f8dd7a8420b7dbd8654022f79e72223f8a461c88587fda"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerManager.StartHealthLoop (cyclomatic 17): ServerManager.StartHealthLoop has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 790). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9700845936c58f5999673a5fde46ea802ac6fa8a45cba1ce1452942cb0c24f"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-config.parseCursorCsv (cyclomatic 17): cursor-config.parseCursorCsv has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab42ea7835a9747cfacad6d2d55412d28f5b287e3f4ae990af381ea7bd805290"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.codebuddyJsonlHasUsage (cyclomatic 17): rollout.codebuddyJsonlHasUsage has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e216207e438f6069b9bedb98148226fce88c405d5877a1a6812cbbd4cd30b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.scanOmpLikeTranscript (cyclomatic 17): rollout.scanOmpLikeTranscript has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16973}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cf51f0f0033c48d49161cf49fe237d240eac2a29c5950ef755669c486b7007"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.normalizeGrokSessionSnapshots (cyclomatic 17): rollout.normalizeGrokSessionSnapshots has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21270}}}],"partialFingerprints":{"codehealthFindingId/v1":"398cc6676174620a64e997f11ab3ffcf52994502208cefea037701fdd8ea90d8"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveDshSessionFiles (cyclomatic 17): rollout.resolveDshSessionFiles has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24568}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb267e4628ff5c8f320a167c45fb66d34ba4457e494aeca072105b138046c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.findDshJsonProperty::valueEnd (cyclomatic 17): rollout.findDshJsonProperty::valueEnd has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea997783daac7069a1399ace5d631f4f74300ba673737eb9af30cc6e2382e96"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveCommandCodeSessionFiles (cyclomatic 17): rollout.resolveCommandCodeSessionFiles has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9577f8b3015e52271bb990dbb8d0eb561592522fb985cd47bd087f36614f70d"}},{"ruleId":"D1","level":"warning","message":{"text":"openclaw-session-plugin.installOpenclawSessionPlugin (cyclomatic 17): openclaw-session-plugin.installOpenclawSessionPlugin has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc3f17c864168b2268d9d1292487d273ed5a4b9856bc86fe4d9d1a1008efa57"}},{"ruleId":"D1","level":"warning","message":{"text":"machine-id.getOrCreateMachineId (cyclomatic 17): machine-id.getOrCreateMachineId has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/machine-id.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb7a19be10620549c29a201c192a44ab48ba9e93091b445a28efb3d17fbb32f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile::recordModelUsage (cyclomatic 17): codex-rollout-parser.parseCodexRolloutFile::recordModelUsage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (codex-rollout-parser.parseCodexRolloutFile, codex-rollout-parser.parseCodexRolloutFile::getExecKeys) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ebc280ec22e73517bbf6a608ce048766ff54c6a6c4fded45646956fd1f2c39"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-account.accessTokenFromRefreshPayload (cyclomatic 17): cloud-account.accessTokenFromRefreshPayload has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (cloud-account.refreshTokenFromRefreshPayload) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"21221568c58fe438d3e67aa09d407651420248db6d01924b36f85755e75e6a86"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-account.refreshTokenFromRefreshPayload (cyclomatic 17): cloud-account.refreshTokenFromRefreshPayload has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (cloud-account.accessTokenFromRefreshPayload) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10d207114ea7ec3104a0eec62e55a5e6fb3ea7794eeb3e1b98000c956baccf"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-go-limits.scrapeOpencodeGoWeb (cyclomatic 17): opencode-go-limits.scrapeOpencodeGoWeb has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367057e173238eada4480a687793af2ff18730d62e2920950aeb179e4716ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"ark-coding-plan-limits.normalizeArkCodingPlanResponse (cyclomatic 17): ark-coding-plan-limits.normalizeArkCodingPlanResponse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e31f7c7aea66bddf585eb66d52df6b943355fb7515135841f41fa151430c5"}},{"ruleId":"D1","level":"warning","message":{"text":"ark-agent-plan-limits.normalizeArkAgentPlanResponse (cyclomatic 17): ark-agent-plan-limits.normalizeArkAgentPlanResponse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210e592696087d256f9ad5f39fa8d4c144d9ad6ef6aab2257e72fe70fca5b62"}},{"ruleId":"D1","level":"warning","message":{"text":"workbuddy-limits.fetchVariant (cyclomatic 17): workbuddy-limits.fetchVariant has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"350e5662d035958fcf5005619de9cca5c911aa6367b84c1c868cfd11ee931043"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.describeCopilotOtelStatus (cyclomatic 17): usage-limits.describeCopilotOtelStatus has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7628d1b4b1a9d0959fbb123b854817ba26d88aa793e4d9e9563e956f48a2b8"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.normalizeModelUsageRows (cyclomatic 17): session-analytics.normalizeModelUsageRows has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d9c2039c8ef3d9c6e493ae431db45bdd8308f0dcf1c5927fae61d9c97d5a29"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.analyticsEntryStatKey (cyclomatic 17): session-analytics.analyticsEntryStatKey has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c0e8d46fc1eedecab404499c28627635f7f4d7ce802d2236df1ae044586f07"}},{"ruleId":"D1","level":"warning","message":{"text":"session-analytics.scopeSessionUsage (cyclomatic 17): session-analytics.scopeSessionUsage has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"53404f8b363af0341da8d3732890d1aa2bae7ba9ce87e5a691f12c201e67a327"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.createLocalApiHandler.handleLocalApi::aggregateEntries (cyclomatic 17): local-api.createLocalApiHandler.handleLocalApi::aggregateEntries has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (local-api.createLocalApiHandler.handleLocalApi) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee8b6784c7cf6fb5e3f635f2d6e682ac642197efdadde3c0d44fdff7465421d"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.mergeCopilotAppDbStates (cyclomatic 17): sync.mergeCopilotAppDbStates has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97703ebeeb5c34cee1f25c0b058451eb3accb5b4f9ab5eeb75375317a02c4e5"}},{"ruleId":"D1","level":"warning","message":{"text":"status.formatSubscriptionLine (cyclomatic 17): status.formatSubscriptionLine has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbfae17b8c2ae13ab93eb7ba1b0e989ef9867ad05d47b344559a3e04a2bd13a"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-device-flow-poll.default (cyclomatic 17): tokentracker-device-flow-poll.default has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-poll.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cefa29deff8728483b6e26c0ddc481542bc1fb30f44610c0320c9b6d35e094"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.verifiedClaimsFromJwt (cyclomatic 17): tokentracker-leaderboard-refresh.verifiedClaimsFromJwt has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b997f0335df8f887027e743731c72e3263ccc5f85555a8d7ce616381866270"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-telemetry.default (cyclomatic 17): tokentracker-telemetry.default has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-telemetry.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e0a33981e8fd6a1298a64103cdc5a19ec7fbafb349d52867b0d4b31ea3374"}},{"ruleId":"D1","level":"warning","message":{"text":"api.fetchAccountFunction (cyclomatic 17): api.fetchAccountFunction has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afeed731db7e97d1cedb814c281b61d974c6a66357feca21efacf7289285d25"}},{"ruleId":"D1","level":"warning","message":{"text":"InsforgeAuthContext.pickDisplayNameFromUser (cyclomatic 17): InsforgeAuthContext.pickDisplayNameFromUser has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699d984a2f1608aba815bcff9f778ecc3eb9aeca2aae444e1b98d9ba347648a"}},{"ruleId":"D1","level":"warning","message":{"text":"InsforgeAuthContext.accessTokenFromRefreshPayload (cyclomatic 17): InsforgeAuthContext.accessTokenFromRefreshPayload has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"605ecffa7ba5f4ae8442e2059f8538e7e9d8a45971c1594c266e47087b0faf6e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cloud-usage-sync.useCloudUsageSync (cyclomatic 17): use-cloud-usage-sync.useCloudUsageSync has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 42, 34, 61). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-cloud-usage-sync.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d49612794fb48dfd5a3c408c3df3e37fecbe5d5a0deca5a8b1690ceaf2c24"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsPanel.renderConfiguredProvider (cyclomatic 17): UsageLimitsPanel.renderConfiguredProvider has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a90ccf3e6f5ece51bcf03e22dec2040aa1cf4e040c61ffb2ebbe4a64155fb1"}},{"ruleId":"D1","level":"warning","message":{"text":"use-activity-heatmap.useActivityHeatmap (cyclomatic 17): use-activity-heatmap.useActivityHeatmap has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 354, 124). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe917d9c2c53fbc2cec1b7ca7b6cfd6fc89d2432a43a2a68b008eae10b6523f"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.normalizeExecRows (cyclomatic 17): ContextBreakdownPanel.normalizeExecRows has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 325, 349). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"23655b929f1a61ed77ad8563ed51d1bee09a882de0b03e729199b64ea9267f45"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountSectionUtils.pickDisplayName (cyclomatic 17): AccountSectionUtils.pickDisplayName has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda255a584348b1fdcb50719829bd1f519c833d3658746e2ec7266f1f6c60afa"}},{"ruleId":"D1","level":"warning","message":{"text":"sentry.isBenignBrowserNetworkNoise (cyclomatic 17): sentry.isBenignBrowserNetworkNoise has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9756f571fbd93e021cd01fe2ceddbf96e2f2f2e5bad1995a3af1b67683f917"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeQAProfile.load (cyclomatic 17): NativeQAProfile.load has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"993b9286efa9de692ceda4c222e7b2aedfd3804ef83bd16dd33efda6bab5a002"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageLimitsView.brandIcon (cyclomatic 17): UsageLimitsView.brandIcon has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc81983a21bbbbb0e0eddd5a2a94029424579addd152477a79308f3affad4611"}},{"ruleId":"D1","level":"warning","message":{"text":"handleLocalApi::aggregateByDay (cyclomatic 17): handleLocalApi::aggregateByDay has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b93fd7243596fa3c60ef2f623f98ce1da905838d27a7b016ca0a2a06be69620"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeQuotaSummary (cyclomatic 17): normalizeQuotaSummary has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81b7b9956ea8f8c907994cbfa2207b0ce872cb4455fd5d8fa7283f83657dce"}},{"ruleId":"D1","level":"warning","message":{"text":"withLimitsCacheFallback (cyclomatic 17): withLimitsCacheFallback has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"12efcf83ac5c6b9e3f6f16e360348618077002138b0705e53563a60f7b7144b8"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveInstallPaths (cyclomatic 17): resolveInstallPaths has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc93466578ff20c3095185ef6bd090243be079fef4c1b335618f6e3ab867b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerManager.StartTrackerProcess (cyclomatic 16): ServerManager.StartTrackerProcess has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b846b1378920a6dfb99e29409c5599a614b8f9e50fdcff4aa67104d51b39bc9b"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenTrackerIndicator._refreshOnce (cyclomatic 16): TokenTrackerIndicator._refreshOnce has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d48a260a6bd76ab2f0f79be1c58e2e4d74e843eedad786d1ebb71feebb2ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-backend.captureClaudeBackend (cyclomatic 16): claude-backend.captureClaudeBackend has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"703e13882bdc4cdb9dbddbb379cdff87fae9babc38d464e8debb1ff89977b300"}},{"ruleId":"D1","level":"warning","message":{"text":"sqlite-reader.readSqliteJsonRows (cyclomatic 16): sqlite-reader.readSqliteJsonRows has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (sqlite-reader.readSqliteJsonRowsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c1466fc7b1ed0a8ebb3073f216e2f0677d90df034465e6df0589c7005b6c47"}},{"ruleId":"D1","level":"warning","message":{"text":"sqlite-reader.readSqliteJsonRowsAsync (cyclomatic 16): sqlite-reader.readSqliteJsonRowsAsync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (sqlite-reader.readSqliteJsonRows) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b35ca76b2bc14eb6ec1b56f897970cbfe64705232217f5517addd1b0a6ff6b"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-login.createCursorLogin.finishPoll (cyclomatic 16): cursor-login.createCursorLogin.finishPoll has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-login.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd79947409bdef852aee960a19d82c308e6dbf499cf625a8e3e691a6f16c32ba"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.enqueueTouchedProjectBuckets (cyclomatic 16): rollout.enqueueTouchedProjectBuckets has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3983}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d57b295ce11375243367f34a234be0ce6ed4f780cdd6b29bbc0821cfd82766b"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveKiroCliSessionFiles (cyclomatic 16): rollout.resolveKiroCliSessionFiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8875}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b56ff36e77bd7d2004c9b768f8ca57044f7af7f431b03e47d78706fdc5f55b4"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.museResumeLooksAppendOnly (cyclomatic 16): rollout.museResumeLooksAppendOnly has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674a26069e71792b3feba34d3d7c365e0cd4dbeabb31113ae59a4559eb0347a"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.resolveCopilotOtelPaths (cyclomatic 16): rollout.resolveCopilotOtelPaths has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18971}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dbbb741b189263bd88574d66330052a1d5f210cf150bce06487c06762295eb"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.copilotOtelCursorHasLegacyCliUsage (cyclomatic 16): rollout.copilotOtelCursorHasLegacyCliUsage has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb474494093fc512ab1de29970944aabede576cb95c1d3cc987a77ec2b719d1"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.retractStaleSourceQueueRows (cyclomatic 16): rollout.retractStaleSourceQueueRows has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea67f9e46b019b3bfbcaec4353f67a8bcce0282ee0acd65c216c5e77606e27"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readAntigravityConversationDb (cyclomatic 16): rollout.readAntigravityConversationDb has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196bd3b030b5a3275360315aa83aa4b7246a45405155c3e6a223983cde339e8"}},{"ruleId":"D1","level":"warning","message":{"text":"rollout.readDshSessionSnapshot (cyclomatic 16): rollout.readDshSessionSnapshot has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24985}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c6ff13bab432a583f5a39d2debd406ec9440b8f22d2c6a9c2da7ab36eaa3e1"}},{"ruleId":"D1","level":"warning","message":{"text":"init.cmdInit (cyclomatic 16): init.cmdInit has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb3094b6aee0b4ce37ca5a8016afd24266ff2c80a3d332435c7b55e4f332f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-usage-reset.finishCloudDeviceUsageReset (cyclomatic 16): cloud-usage-reset.finishCloudDeviceUsageReset has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-usage-reset.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b557c9f0476a53e4ec66c2aa03d1e80f82057dc5e02dfd152a714815fa9ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-categorizer.categorizeSessionFile (cyclomatic 16): claude-categorizer.categorizeSessionFile has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbbe6c4a99783ec2453c9c5554c294b4d7e09c7ab6c8b6631111612564b1a6c"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-store.openCursorStore (cyclomatic 16): cursor-store.openCursorStore has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d685b1f173b5b78525ffdb54accffd487aa2ac5869a15f52e08e427c5b6011"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-context-breakdown.selectAppendHashPaths (cyclomatic 16): codex-context-breakdown.selectAppendHashPaths has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cfcab91f396a425251003194a0c1b2c19e77e491ec522505bb6663c6e45635"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-packages.importFromCodex (cyclomatic 16): pet-packages.importFromCodex has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d236b3d585fc03b94f21bb89281a3c7894c6495d1700be6ac64c55f9d488f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-limits.loadGrokAuthEntry (cyclomatic 16): grok-limits.loadGrokAuthEntry has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba49e28d66dfabafd4939a0e44a1c1ca45d92bbabf52c96ce5610662bc257f39"}},{"ruleId":"D1","level":"warning","message":{"text":"qoder-limits.readQoderActivityCache (cyclomatic 16): qoder-limits.readQoderActivityCache has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a4f25939ca6044995972ad8ff624aa05e8ab4b95ddad45ee5887b9c25cbe55"}},{"ruleId":"D1","level":"warning","message":{"text":"qoder-limits.parseQoderAccountUsageLog (cyclomatic 16): qoder-limits.parseQoderAccountUsageLog has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fc8d70514105ef36272b123ebe01769e7b9490e4d7092b4b68cebd1b081cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"workbuddy-limits.readWorkbuddyLimitsCache (cyclomatic 16): workbuddy-limits.readWorkbuddyLimitsCache has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c644f7bd463ae9bf6aabcead393928c2b594c82b1809753c703fda49225ce12"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.extractClaudeScopedWeekly (cyclomatic 16): usage-limits.extractClaudeScopedWeekly has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bccdbcf6fe358d8af30f8832af530b65966f247bfc48eb2ff46f35705bcdac6"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-limits.fetchCopilotLimits (cyclomatic 16): usage-limits.fetchCopilotLimits has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a2cbb66b205784f984bdcf30b7e8a9473ac0e0d269e4a7c10af15063dfefea"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-session.discoverPiSessionFiles (cyclomatic 16): pi-session.discoverPiSessionFiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b064173d06dff10e05fad99b7b9b00bfa73a6e2e617a77011e7f79b6d1cafed"}},{"ruleId":"D1","level":"warning","message":{"text":"local-api.createLocalApiHandler::getRuntime (cyclomatic 16): local-api.createLocalApiHandler::getRuntime has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (local-api.createLocalApiHandler::currentCloudUploadFailure, local-api.createLocalApiHandler::tryServeAccountView) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceb343a7079a447d354387642a0041bb97817dc03c1fb967de734937070183f"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.isCodexHistoryCovered (cyclomatic 16): sync.isCodexHistoryCovered has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6966}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227f1ef04c31fe4a9ac00e8464562fc746837a3ca87bc99f3563f651a9fc4ec"}},{"ruleId":"D1","level":"warning","message":{"text":"wechat.normalizeWechatEvent (cyclomatic 16): wechat.normalizeWechatEvent has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/wechat.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e2f3087920fbf4eb0f276158bc074db738a3ba09fc03f9b0962059c8eba93"}},{"ruleId":"D1","level":"warning","message":{"text":"waffo.createWaffoCheckout (cyclomatic 16): waffo.createWaffoCheckout has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3820b0f233ae2e1072a02e0e4def39433fc40509410acefa52978c76504e913a"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.rpc (cyclomatic 16): runtime.rpc has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: runtime.configuredProviders (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed95e8b9aa14ea444d8643919af4a5c4b078220c4d886599db356e2330c315bb"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-daily.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-daily.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4079c254f07f251f2f5b8d69908f61f291ec62a65f8878ea201efd56bf3569cd"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-devices.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-devices.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8424359a0d7b63b71ac62492b0cb1865ab1aaf5f55f9f76b108cbb8e6cea97f0"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-heatmap.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-heatmap.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd579d0e66fbf014151aef8089961403d2731bc1caa77b486ba3c1f010e37bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-hourly.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-hourly.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596505cb6bce5eb595c3c089545411fcc3091507cad465e02fb1bc280fec1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-model-breakdown.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-model-breakdown.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b869317bbda8c156ec46504326be8cfa1e33b4b547e92e804e04ba77a30637ad"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-monthly.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-monthly.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd9e01e88bee6272e565903d5e2323079be1bac30583c51495ea3e8ece547fb"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-account-summary.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-account-summary.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2d59fb93a710da01e2b20bec6a44145920375969aa3a4d90e6aae7190dff6"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-device-rename.verifiedUserIdFromJwt (cyclomatic 16): tokentracker-device-rename.verifiedUserIdFromJwt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4333e08c775d434c9abae7dc3010aa703ae13a60410753d8ff1a0abe8f440a8"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-embed-svg.default (cyclomatic 16): tokentracker-embed-svg.default has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2b48f329af6eb6b24603fd96ab5e63f47925ef73e3807c70a977e2697b3f1"}},{"ruleId":"D1","level":"warning","message":{"text":"tokentracker-user-badges-refresh.default (cyclomatic 16): tokentracker-user-badges-refresh.default has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-user-badges-refresh.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4f40d65abeefd4e0fcfb458e2b57c79cb7fb6c599be444cb716fcf199cbd01"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-prompt-policy.readDismissal (cyclomatic 16): cloud-prompt-policy.readDismissal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"90726260b8bd811715ac7021541e323af9c338775079661b895f4ccbb73c7f7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.Row (cyclomatic 16): ContextBreakdownPanel.Row has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf683d0dfdbe846c6ef9ab2018b9ce868150dc626aa5c44ac8dcbb95fbe68a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextBreakdownPanel.ExecDrillDown (cyclomatic 16): ContextBreakdownPanel.ExecDrillDown has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 574, 529). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"063974815c8eb828d41c169abba9298d90bc76bd214e08704427923d5efaa774"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageOverview.ProviderExpandedSection (cyclomatic 16): UsageOverview.ProviderExpandedSection has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"de276f1a06604c1df3b9aea4a4a8291a425b90b749f5fc32f5558a38f3627fde"}},{"ruleId":"D1","level":"warning","message":{"text":"CountUp.CountUp (cyclomatic 16): CountUp.CountUp has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 54, 70, 37). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/CountUp.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ed219ad94ee4588ba000d5919dd77a8a4cec6834e7da1d87a5ef0da7c6fbf7"}},{"ruleId":"D1","level":"warning","message":{"text":"RedeemProCode.RedeemProCode::perform (cyclomatic 16): RedeemProCode.RedeemProCode::perform has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (RedeemProCode.RedeemProCode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25fabb3e1db25651fd4f7ed6c4f9736fdf228b2bb1f7d8f717995ab001d396a"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudSection.CloudRebuildControl (cyclomatic 16): CloudSection.CloudRebuildControl has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (rebuild). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/CloudSection.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edc0a1e724ed876744f2768b9a063136dc203597435a4fb1907b1f633148726"}},{"ruleId":"D1","level":"warning","message":{"text":"use-proxy-settings.useProxySettings.save (cyclomatic 16): use-proxy-settings.useProxySettings.save has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-proxy-settings.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b676367eade77b434da723c7805599632c263eadf8b2dd15944e0a8b5eebed"}},{"ruleId":"D1","level":"warning","message":{"text":"eyefit.resous (cyclomatic 16): eyefit.resous has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/eyefit.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0901f6fe76dab19ed08b54b12819cdc9cdefd28388540f0c4df12fee89cacbf"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-linux-host.buildTopModels (cyclomatic 16): pet-linux-host.buildTopModels has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"075c7ea5ead1a8725188092be7fd13853d63ca6af822dadd740e790d12e81acd"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateChecker.startDownloadAndInstall (cyclomatic 16): UpdateChecker.startDownloadAndInstall has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/UpdateChecker.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3577d40be1ba489483ec78bfbb8e1dcc812f3ed13a65c9423df3637e7f04e"}},{"ruleId":"D1","level":"warning","message":{"text":"extractGeminiOauthClientCredentials (cyclomatic 16): extractGeminiOauthClientCredentials has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a1d529bdf0792f773348ba92f2b23e74a0ae3c1144001cfc2bcb50d6138ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"startLocalCallbackServer (cyclomatic 16): startLocalCallbackServer has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 39, 119, 34, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b785900e590df131e3432f6c55ab90cf5e08e58001a82d378f2dd1f202d7aa49"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregateSessionStates (cyclomatic 16): aggregateSessionStates has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e3e76e73252dd1a7b76441a4c84d196f1c5ef85754b31b2c190ee9152cfbbf"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdSync (cognitive 1298): cmdSync has cognitive complexity 1298 (threshold 15). Drivers by points: if/else 308 (598 pts), boolean chains 252, ternaries 129 (231 pts), error handling 71 (173 pts), loops 22 (44 pts) (nesting depth added 516). Of this number, 1096 points are the body\u0027s own statements and 202 belong to 88 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f465ba80ed62e6f114e365268269045e3365b712de500c776d90962143adb79c"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalApiHandler::handleLocalApi (cognitive 1058): createLocalApiHandler::handleLocalApi has cognitive complexity 1058 (threshold 15). Drivers by points: if/else 261 (577 pts), boolean chains 259, error handling 43 (101 pts), ternaries 33 (80 pts), loops 12 (32 pts), other 7, match/switch 1 (2 pts) (nesting depth added 442). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"e623ff5e0acd51f7135540d1f6fa82b6080ad34fb3ae6b0943c2f662da8bffb9"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler.handleLocalApi (cognitive 1041): local-api.createLocalApiHandler.handleLocalApi has cognitive complexity 1041 (threshold 15). Drivers by points: if/else 283 (641 pts), boolean chains 300, error handling 42 (99 pts), ternaries 31 (76 pts), loops 15 (40 pts), match/switch 1 (2 pts) (nesting depth added 486). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (local-api.createLocalApiHandler.handleLocalApi::aggregateEntries) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a249ed7641fed78f25e626093c8a6d1ea8b6accebb9c2a96817478e94714473"}},{"ruleId":"D2","level":"warning","message":{"text":"status.cmdStatus (cognitive 536): status.cmdStatus has cognitive complexity 536 (threshold 15). Drivers by points: ternaries 219 (339 pts), boolean chains 128, if/else 30 (46 pts), error handling 10 (15 pts), loops 7 (8 pts) (nesting depth added 142). Of this number, 509 points are the body\u0027s own statements and 27 belong to 17 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adbeedbf53e96a4d70da9efcb94f52320e6b9a78dc89bba0ba80269f4ca92ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardPage.DashboardPage (cognitive 333): DashboardPage.DashboardPage has cognitive complexity 333 (threshold 15). Drivers by points: if/else 118 (139 pts), boolean chains 95, ternaries 67 (81 pts), loops 8 (13 pts), error handling 5 (nesting depth added 40). Of this number, 53 points are the body\u0027s own statements and 280 belong to 79 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e0d71a592f22333adbaa6fb96b169254751640bb4bc6addac007df6884e9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseWorkbuddyIncremental (cognitive 320): rollout.parseWorkbuddyIncremental has cognitive complexity 320 (threshold 15). Drivers by points: ternaries 59 (125 pts), if/else 43 (101 pts), boolean chains 79, error handling 4 (9 pts), loops 4 (6 pts) (nesting depth added 131). Of this number, 209 points are the body\u0027s own statements and 111 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d0c3eab9d6b91d5b3271548ac5895ce62cd0bd60a26ee21a3984ad79e637ce"}},{"ruleId":"D2","level":"warning","message":{"text":"IpCheckPage.IpCheckPage (cognitive 312): IpCheckPage.IpCheckPage has cognitive complexity 312 (threshold 15). Drivers by points: if/else 122 (153 pts), boolean chains 73, ternaries 31 (59 pts), error handling 18 (21 pts), loops 5 (6 pts) (nesting depth added 63). Most of this is not in the body itself: 1 of the 312 points is its own statement and the rest belongs to 38 function literals inside it that branch (lines 821, 465, 643, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f533e9fe20c680cdabf62716033a17b50d0ab54f7a7e8ff05ed343d0e5c73"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseAntigravityIncremental (cognitive 297): rollout.parseAntigravityIncremental has cognitive complexity 297 (threshold 15). Drivers by points: if/else 46 (118 pts), boolean chains 90, ternaries 31 (56 pts), loops 12 (33 pts) (nesting depth added 118). Of this number, 296 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22484}}}],"partialFingerprints":{"codehealthFindingId/v1":"629fb0262f2ef4df244a135d210fab2bccaebfb36f72bb17d22acc528064022c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.SkillsPage (cognitive 275): SkillsPage.SkillsPage has cognitive complexity 275 (threshold 15). Drivers by points: boolean chains 113, if/else 83 (94 pts), ternaries 32 (56 pts), error handling 7 (8 pts), loops 4 (nesting depth added 36). Of this number, 83 points are the body\u0027s own statements and 192 belong to 66 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b4744ac43adc5242640ac84c2e0f32eb825c328703c731f23415ccedc7bea9"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchUsageLimitsUncached (cognitive 260): fetchUsageLimitsUncached has cognitive complexity 260 (threshold 15). Drivers by points: ternaries 52 (90 pts), boolean chains 73, if/else 45 (63 pts), error handling 16 (29 pts), other 4, loops 1 (nesting depth added 69). Of this number, 225 points are the body\u0027s own statements and 35 belong to 54 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6896c65c619d1100253882efd9ed88ad5640acb284249e7a85710217ede991a7"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseGrokBuildIncremental (cognitive 238): rollout.parseGrokBuildIncremental has cognitive complexity 238 (threshold 15). Drivers by points: if/else 35 (112 pts), boolean chains 62, ternaries 19 (35 pts), loops 9 (29 pts) (nesting depth added 113). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21746}}}],"partialFingerprints":{"codehealthFindingId/v1":"46abb03414bcdac5d7bda8c4634f93227ee78657293e3ff9fc385ac0f1284328"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseDshIncremental (cognitive 238): rollout.parseDshIncremental has cognitive complexity 238 (threshold 15). Drivers by points: if/else 52 (115 pts), boolean chains 75, ternaries 17 (34 pts), loops 10 (12 pts), error handling 1 (2 pts) (nesting depth added 83). Of this number, 218 points are the body\u0027s own statements and 20 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfd1c186e4aa54fcaa05070d8999e4788398d5941698b682e43f530361f0e40"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCodebuddyIncremental (cognitive 232): rollout.parseCodebuddyIncremental has cognitive complexity 232 (threshold 15). Drivers by points: if/else 31 (124 pts), ternaries 22 (56 pts), boolean chains 35, error handling 5 (14 pts), loops 2 (3 pts) (nesting depth added 137). Of this number, 225 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10876}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0d5338f911fdbc382b73a3c74cee862d57cc44982abbcdb5c53b91aa18260d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.enqueueTouchedBuckets (cognitive 230): rollout.enqueueTouchedBuckets has cognitive complexity 230 (threshold 15). Drivers by points: if/else 50 (132 pts), boolean chains 42, ternaries 12 (34 pts), loops 11 (22 pts) (nesting depth added 115). Of this number, 223 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"6940e44b2583312fe73003282455cf747a38122aa1e631bcdde361914f6de4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"readKimiSessions (cognitive 228): readKimiSessions has cognitive complexity 228 (threshold 15). Drivers by points: if/else 24 (96 pts), ternaries 19 (73 pts), boolean chains 32, loops 7 (21 pts), error handling 1 (4 pts), other 2 (nesting depth added 143). Of this number, 220 points are the body\u0027s own statements and 8 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69f565353401965eed848790b8a73c713454a8f685f8d06ff01287bbe1ff61"}},{"ruleId":"D2","level":"warning","message":{"text":"readOmpSessionFiles (cognitive 225): readOmpSessionFiles has cognitive complexity 225 (threshold 15). Drivers by points: if/else 32 (139 pts), boolean chains 33, ternaries 8 (26 pts), loops 6 (16 pts), error handling 3 (10 pts), other 1 (nesting depth added 142). Of this number, 221 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0988e2928026750231c32910360ec8d833059bb25069a650ae4d62c137a913ca"}},{"ruleId":"D2","level":"warning","message":{"text":"readPiSessionFiles (cognitive 224): readPiSessionFiles has cognitive complexity 224 (threshold 15). Drivers by points: if/else 36 (144 pts), ternaries 9 (28 pts), boolean chains 26, loops 6 (15 pts), error handling 3 (10 pts), other 1 (nesting depth added 143). Of this number, 215 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d500bca7125692a5acbb49f1190278929401c44ab2153de1a73107a33b049c"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudCheckoutPage.CloudCheckoutPage (cognitive 217): CloudCheckoutPage.CloudCheckoutPage has cognitive complexity 217 (threshold 15). Drivers by points: boolean chains 94, if/else 62 (77 pts), ternaries 32 (43 pts), error handling 3 (nesting depth added 26). Of this number, 109 points are the body\u0027s own statements and 108 belong to 17 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"511e463bd93c5957160f7978fd6b7755aaa5ffe740520553ba73f3c6db420276"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parsePiLikeIncremental (cognitive 215): rollout.parsePiLikeIncremental has cognitive complexity 215 (threshold 15). Drivers by points: if/else 31 (96 pts), ternaries 20 (43 pts), boolean chains 38, error handling 8 (24 pts), loops 7 (14 pts) (nesting depth added 111). Of this number, 208 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17582}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c2872a459b826f65ac9423d8a3488f56019524eeb2d0a1b619bea090ab2375"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile (cognitive 213): codex-rollout-parser.parseCodexRolloutFile has cognitive complexity 213 (threshold 15). Drivers by points: if/else 68 (138 pts), boolean chains 91, ternaries 41 (49 pts), loops 6 (10 pts), error handling 1 (3 pts) (nesting depth added 84). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (codex-rollout-parser.parseCodexRolloutFile::recordModelUsage, codex-rollout-parser.parseCodexRolloutFile::getExecKeys, codex-rollout-parser.parseCodexRolloutFile::attributeTurn) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f4714b72cfee18b5b39db7a70af4caa286ab1c1483d361ab4b88e3b8ee14ae"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseRolloutIncremental (cognitive 200): rollout.parseRolloutIncremental has cognitive complexity 200 (threshold 15). Drivers by points: if/else 46 (71 pts), ternaries 38 (65 pts), boolean chains 55, loops 6 (9 pts) (nesting depth added 55). Of this number, 145 points are the body\u0027s own statements and 55 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe89b2e0591dbdd944e49222a96ac1c03811d17612b0d8fcb0dda3f4ca5997"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCopilotSessionStoreIncremental (cognitive 181): rollout.parseCopilotSessionStoreIncremental has cognitive complexity 181 (threshold 15). Drivers by points: if/else 32 (96 pts), boolean chains 44, ternaries 17 (30 pts), loops 5 (9 pts), error handling 1 (2 pts) (nesting depth added 82). Of this number, 180 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d72e95826fa13d92377155b6ac1aee96c2356de4b2f858c33dc9ec1e41e7cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseRolloutRecords (cognitive 178): rollout.parseRolloutRecords has cognitive complexity 178 (threshold 15). Drivers by points: if/else 48 (110 pts), boolean chains 45, ternaries 9 (12 pts), error handling 3 (10 pts), loops 1 (nesting depth added 72). Of this number, 170 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead0aa4817fe644544ea00684bae5f4bfb20e24307b425a80caee7268d5fa58"}},{"ruleId":"D2","level":"warning","message":{"text":"handleLocalApi (cognitive 177): handleLocalApi has cognitive complexity 177 (threshold 15). Drivers by points: boolean chains 102, if/else 49 (93 pts), loops 13 (27 pts), error handling 8 (14 pts), ternaries 5 (7 pts), other 3 (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615137365364c058c8e6ab9b376d93a846cba6a275d949844bdefe6e6d49ade"}},{"ruleId":"D2","level":"warning","message":{"text":"repairCodexRescanInflation (cognitive 163): repairCodexRescanInflation has cognitive complexity 163 (threshold 15). Drivers by points: if/else 38 (79 pts), boolean chains 25, loops 15 (22 pts), error handling 11 (21 pts), ternaries 9 (16 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db3d388039510d64a11364ce9babf29f89c9551c37a52dc4b07de5cc2a0a80a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-billing.billing (cognitive 160): tokentracker-billing.billing has cognitive complexity 160 (threshold 15). Drivers by points: if/else 55 (97 pts), boolean chains 33, ternaries 11 (21 pts), loops 2 (6 pts), error handling 2 (3 pts) (nesting depth added 57). Of this number, 154 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"88edcb9b5421affe028a5ccc1b9364198ea8d7218f4d4d34f33190485c58ee63"}},{"ruleId":"D2","level":"warning","message":{"text":"buildSessionAnalyticsInternal (cognitive 160): buildSessionAnalyticsInternal has cognitive complexity 160 (threshold 15). Drivers by points: if/else 37 (91 pts), boolean chains 30, ternaries 16 (30 pts), error handling 3 (6 pts), loops 2 (3 pts) (nesting depth added 72). Of this number, 152 points are the body\u0027s own statements and 8 belong to 15 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c732700486bc8e7287c7affc737ade267ccb25e5da1d6162dca389862f31bd0a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionsPage.SessionsPage (cognitive 155): SessionsPage.SessionsPage has cognitive complexity 155 (threshold 15). Drivers by points: ternaries 27 (63 pts), if/else 38 (48 pts), boolean chains 38, loops 4 (5 pts), error handling 1 (nesting depth added 47). Of this number, 49 points are the body\u0027s own statements and 106 belong to 19 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbe6e094311a8c011c332485c98bb8f98d445dc87a33363d2d0651b66b6c2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseDroidIncremental (cognitive 153): rollout.parseDroidIncremental has cognitive complexity 153 (threshold 15). Drivers by points: if/else 26 (58 pts), ternaries 24 (58 pts), boolean chains 26, error handling 3 (6 pts), loops 3 (5 pts) (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16393}}}],"partialFingerprints":{"codehealthFindingId/v1":"922d3ff031bb854e8eadf48e9fc4a9cee7830f00635f713a762e38c1dc856530"}},{"ruleId":"D2","level":"warning","message":{"text":"native-qa-server.createNativeQAServer.server (cognitive 150): native-qa-server.createNativeQAServer.server has cognitive complexity 150 (threshold 15). Drivers by points: if/else 38 (91 pts), boolean chains 46, ternaries 2 (6 pts), error handling 2 (4 pts), loops 1 (3 pts) (nesting depth added 61). Of this number, 132 points are the body\u0027s own statements and 18 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06dcfff67fa3c2d001ecc1c1a348379b462039e659fb44bc76d7638e2ddb933"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseQoderNewIncremental (cognitive 147): rollout.parseQoderNewIncremental has cognitive complexity 147 (threshold 15). Drivers by points: if/else 32 (85 pts), boolean chains 24, ternaries 11 (22 pts), loops 6 (11 pts), error handling 2 (5 pts) (nesting depth added 72). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5547a4cf9fa7889a87d02cf598a2c9fdbb4facecc5133ae6f99258068c4508"}},{"ruleId":"D2","level":"warning","message":{"text":"buildZcodeSessionRecords (cognitive 146): buildZcodeSessionRecords has cognitive complexity 146 (threshold 15). Drivers by points: if/else 29 (69 pts), boolean chains 39, ternaries 14 (28 pts), loops 8 (10 pts) (nesting depth added 56). Of this number, 137 points are the body\u0027s own statements and 9 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ddca7cb1ac2d7407575edb49cb5479a57cb4a377914f39a8041e438a1a1286"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-context-breakdown.computeCodexContextBreakdown (cognitive 144): codex-context-breakdown.computeCodexContextBreakdown has cognitive complexity 144 (threshold 15). Drivers by points: if/else 19 (53 pts), boolean chains 49, ternaries 12 (25 pts), error handling 3 (12 pts), loops 5 (nesting depth added 56). Of this number, 130 points are the body\u0027s own statements and 14 belong to 12 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6883b049716db10e18f3575ab4fe02bd309072d6938439b764c7396e172141"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseClaudeIncremental (cognitive 142): rollout.parseClaudeIncremental has cognitive complexity 142 (threshold 15). Drivers by points: if/else 27 (59 pts), boolean chains 40, ternaries 24 (38 pts), loops 5 (nesting depth added 46). Of this number, 139 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f90929f3c49784060b74bb449923db9cd5f8d3f2a09b2b818c457cc04b92dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.default (cognitive 136): tokentracker-leaderboard-refresh.default has cognitive complexity 136 (threshold 15). Drivers by points: if/else 33 (62 pts), ternaries 16 (31 pts), loops 8 (19 pts), boolean chains 18, error handling 3 (6 pts) (nesting depth added 58). Of this number, 129 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217bc36cd1a9fa1619c6d25fd4fbdffcf4f55868bbe76e32c8f638c55df0e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseAntigravityFile (cognitive 131): rollout.parseAntigravityFile has cognitive complexity 131 (threshold 15). Drivers by points: if/else 30 (66 pts), ternaries 21 (35 pts), boolean chains 27, error handling 1 (2 pts), loops 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88365a359bc880f81980de176783fe32d272e078a1c7031ecf29fdf0cc03669"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-daily.getModelPricing (cognitive 129): tokentracker-account-daily.getModelPricing has cognitive complexity 129 (threshold 15). Drivers by points: if/else 113 (115 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fa1c587d2a25ce499ee8eae4c08acc6f83c848d6c84b773f87aeb6d250d268"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getModelPricing (cognitive 129): tokentracker-account-model-breakdown.getModelPricing has cognitive complexity 129 (threshold 15). Drivers by points: if/else 113 (115 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a9cc69f74069b0035aec08fb7239c7e41b6b8ec7c90d9765def6262abd5d04"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-summary.getModelPricing (cognitive 129): tokentracker-account-summary.getModelPricing has cognitive complexity 129 (threshold 15). Drivers by points: if/else 113 (115 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab0d32fa13648bc3358b2e5170fdfdf6660603e44d2de92e4d4017cc0d78a56"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-profile.getModelPricing (cognitive 129): tokentracker-leaderboard-profile.getModelPricing has cognitive complexity 129 (threshold 15). Drivers by points: if/else 113 (115 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09791fe448c4e783c1f39a14bba350f0b0bdeb687f2707f635a6c23c6ba5cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.getModelPricing (cognitive 129): tokentracker-leaderboard-refresh.getModelPricing has cognitive complexity 129 (threshold 15). Drivers by points: if/else 113 (115 pts), boolean chains 14 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb60e66a2cd9bc58586af6da3cc18b55870417b44114cc5d716804b03e124356"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.scanClaudeSession (cognitive 128): session-analytics.scanClaudeSession has cognitive complexity 128 (threshold 15). Drivers by points: if/else 22 (70 pts), boolean chains 29, ternaries 5 (16 pts), loops 4 (8 pts), error handling 2 (5 pts) (nesting depth added 66). Of this number, 124 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"273715dcc23f2c9da2c0175993a4952d6683084e04180ee187f334c964d59e09"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseClineIncremental (cognitive 121): rollout.parseClineIncremental has cognitive complexity 121 (threshold 15). Drivers by points: if/else 25 (63 pts), boolean chains 23, ternaries 12 (22 pts), loops 6 (7 pts), error handling 3 (6 pts) (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2394075af84feb5f7b07cc60f836410092386831fa995f629d2fd10fc69af5"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpenclawIncremental (cognitive 120): rollout.parseOpenclawIncremental has cognitive complexity 120 (threshold 15). Drivers by points: if/else 14 (40 pts), ternaries 18 (37 pts), boolean chains 24, loops 7 (19 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46548736d5a1d6dc30a66d308fe902bff4db85e479ef7bb5724bc2f8126b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"init.applyIntegrationSetup (cognitive 118): init.applyIntegrationSetup has cognitive complexity 118 (threshold 15). Drivers by points: if/else 54 (59 pts), ternaries 19 (39 pts), boolean chains 18, error handling 1, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dee2e5feeb0124893f90cc5f9011fe175586f532ce8b76bbfa3c5754019f038"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudMembershipCard.CloudMembershipAccount (cognitive 110): CloudMembershipCard.CloudMembershipAccount has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 39 (77 pts), boolean chains 24, if/else 7 (8 pts), error handling 1 (nesting depth added 39). Of this number, 88 points are the body\u0027s own statements and 22 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8f128a324582b49961359dc855abd4cd97d27060a5b811e8d3d8cce649036b"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.computeClaudeGroundTruthBuckets (cognitive 107): claude-categorizer.computeClaudeGroundTruthBuckets has cognitive complexity 107 (threshold 15). Drivers by points: if/else 15 (59 pts), ternaries 5 (21 pts), boolean chains 10, error handling 3 (9 pts), loops 6 (8 pts) (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a705c54faf84d829ab166848f49f90aedef255378068d24522b83a28a55908e5"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.scanGrokSession (cognitive 106): session-analytics.scanGrokSession has cognitive complexity 106 (threshold 15). Drivers by points: if/else 23 (53 pts), boolean chains 30, ternaries 13 (20 pts), error handling 1 (2 pts), loops 1 (nesting depth added 38). Of this number, 101 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee06d0a25b86f67103c99185a5c88ef533d72a15d6853d26d6d79cf0dda7f38"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCopilotIncremental (cognitive 105): rollout.parseCopilotIncremental has cognitive complexity 105 (threshold 15). Drivers by points: if/else 23 (62 pts), boolean chains 21, error handling 4 (9 pts), ternaries 7 (8 pts), loops 3 (5 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc02ff162e8538975d20ac025e2d0d56dfd3034344b6cc8d8eb256deecae9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityHeatmap3D.ActivityHeatmap3D (cognitive 102): ActivityHeatmap3D.ActivityHeatmap3D has cognitive complexity 102 (threshold 15). Drivers by points: if/else 42 (46 pts), ternaries 20 (28 pts), boolean chains 23, error handling 1 (3 pts), loops 2 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 74 belong to 30 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540d75cc2967abd03a6974daf0aefc8c6725e993fc078e0dd822b29b08ec236"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaderboardPage.LeaderboardPage (cognitive 102): LeaderboardPage.LeaderboardPage has cognitive complexity 102 (threshold 15). Drivers by points: boolean chains 47, if/else 34, ternaries 15 (18 pts), error handling 2, loops 1 (nesting depth added 3). Of this number, 49 points are the body\u0027s own statements and 53 belong to 26 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b005309fb373cc7b2c50fb2ca658422254473f64faaa091075253e30699d2b63"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudPage.CloudPlanView (cognitive 102): CloudPage.CloudPlanView has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 41 (55 pts), boolean chains 41, if/else 6 (nesting depth added 14). Of this number, 87 points are the body\u0027s own statements and 15 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"351c1c6e70bb74807cf357d7f3e73a8a6804e1e26d5b8ea897695b0cd10a044f"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo-processing.reconcileWaffoOrder (cognitive 101): waffo-processing.reconcileWaffoOrder has cognitive complexity 101 (threshold 15). Drivers by points: if/else 20 (47 pts), boolean chains 27, ternaries 8 (21 pts), loops 6 (nesting depth added 40). Of this number, 96 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo-processing.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb13076c60b1619afd9b4b782a3da373a1d3f6e5b4c064b4e2387ce251ead7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-profile.default (cognitive 101): tokentracker-leaderboard-profile.default has cognitive complexity 101 (threshold 15). Drivers by points: if/else 23 (43 pts), boolean chains 31, ternaries 14 (17 pts), loops 6 (9 pts), error handling 1 (nesting depth added 26). Of this number, 100 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1359a6f64146ebce1e0886ca7455d63e2b2574671028c62dc117b1cd7cfb1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKiroCliIncremental (cognitive 100): rollout.parseKiroCliIncremental has cognitive complexity 100 (threshold 15). Drivers by points: if/else 27 (58 pts), boolean chains 28, loops 6 (9 pts), ternaries 5 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68245e196e23230904b9feeed3c1fe2a6a6fb985902496bce112cc1111f4881"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 100): App.App has cognitive complexity 100 (threshold 15). Drivers by points: if/else 43 (44 pts), boolean chains 32, ternaries 12 (21 pts), loops 1 (2 pts), error handling 1 (nesting depth added 11). Of this number, 72 points are the body\u0027s own statements and 28 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cba107adb245dc2252d6198262b1af0d04556fd0b8a362541bef36a5316be68"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpencodeDbIncremental (cognitive 98): rollout.parseOpencodeDbIncremental has cognitive complexity 98 (threshold 15). Drivers by points: if/else 22 (45 pts), ternaries 17 (27 pts), boolean chains 24, loops 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3883febd02a043103952c5109190229377704abbdca29c2621cc28d1d78e23d6"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseLmstudioIncremental (cognitive 97): rollout.parseLmstudioIncremental has cognitive complexity 97 (threshold 15). Drivers by points: if/else 15 (40 pts), boolean chains 17, loops 8 (17 pts), ternaries 9 (15 pts), error handling 3 (8 pts) (nesting depth added 45). Of this number, 96 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7102ceb730d3a00a6617514002bafa8215f97b0d919707bf5c6c95ab7002a1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.scanOpencodeSessions (cognitive 97): session-analytics.scanOpencodeSessions has cognitive complexity 97 (threshold 15). Drivers by points: if/else 21 (45 pts), boolean chains 22, ternaries 8 (14 pts), loops 10 (13 pts), error handling 1 (3 pts) (nesting depth added 35). Of this number, 90 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bb5b7b258770a0700113da1a1f06540a5fe12c90ed2bb48f5073f87115e370"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKimiCodeIncremental (cognitive 96): rollout.parseKimiCodeIncremental has cognitive complexity 96 (threshold 15). Drivers by points: if/else 16 (43 pts), ternaries 10 (21 pts), boolean chains 20, error handling 4 (9 pts), loops 2 (3 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd560dc943be3d4952977521934f53410292b859e4b9ac9e32b85041a3c42b7"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOmpLikeIncremental (cognitive 96): rollout.parseOmpLikeIncremental has cognitive complexity 96 (threshold 15). Drivers by points: boolean chains 30, if/else 15 (29 pts), ternaries 21 (29 pts), error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 26). Of this number, 67 points are the body\u0027s own statements and 29 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17016}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a6da27d9cc0ee4b2f0585e376fdf07bf4d32154835eb9de554b1e62bfc3ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseMuseIncremental (cognitive 96): rollout.parseMuseIncremental has cognitive complexity 96 (threshold 15). Drivers by points: if/else 28 (49 pts), boolean chains 31, error handling 7 (19 pts), ternaries 13 (19 pts), loops 6 (15 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.parseMuseIncremental::handleRecord) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71a143e122758a2d7619ba98ce083c0175d5d04abc97b4517dec1da23e260f"}},{"ruleId":"D2","level":"warning","message":{"text":"uninstall.cmdUninstall (cognitive 95): uninstall.cmdUninstall has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 47 (88 pts), boolean chains 6, if/else 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c840ec0bfb1fd39cd9c5c9811d90451738553948e470e48edc460caf0b4fc2d8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseDevinIncremental (cognitive 91): rollout.parseDevinIncremental has cognitive complexity 91 (threshold 15). Drivers by points: if/else 17 (36 pts), ternaries 15 (27 pts), boolean chains 26, loops 2 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77f103111e360b7e4c2865a555fdb7cbe0adbcba1fefcc5b58f3dacf8dfe939"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseClaudeFile (cognitive 90): rollout.parseClaudeFile has cognitive complexity 90 (threshold 15). Drivers by points: if/else 19 (50 pts), ternaries 5 (21 pts), boolean chains 13, error handling 2 (5 pts), loops 1 (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"383252b388617c15de1bcd03e3a7f79963cdf3938589edd70d68721aa4c33ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"matcher.lookupPricing (cognitive 89): matcher.lookupPricing has cognitive complexity 89 (threshold 15). Drivers by points: if/else 32 (52 pts), boolean chains 20, ternaries 6 (11 pts), loops 3 (6 pts) (nesting depth added 28). Of this number, 86 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f489bbc692a1fa59b12378ed54ec3f467d88c7630f98093029f16af0043acee9"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginCard.LoginCard (cognitive 88): LoginCard.LoginCard has cognitive complexity 88 (threshold 15). Drivers by points: boolean chains 40, if/else 29 (35 pts), ternaries 8 (11 pts), error handling 1 (2 pts) (nesting depth added 10). Of this number, 32 points are the body\u0027s own statements and 56 belong to 13 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e32940d7a5ba42e43606a9d4a840b1af01dad19931a030898c9639e3c12075"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readKiroCliV2SessionTurns (cognitive 84): rollout.readKiroCliV2SessionTurns has cognitive complexity 84 (threshold 15). Drivers by points: if/else 22 (47 pts), boolean chains 21, ternaries 6 (10 pts), error handling 4 (5 pts), loops 1 (nesting depth added 30). Of this number, 74 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9192}}}],"partialFingerprints":{"codehealthFindingId/v1":"58951906521850a3e78f7c7774566e6e7c2d813a319f75a4a21bed2ebd95b83c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.scanRolloutProjectFileContexts (cognitive 83): rollout.scanRolloutProjectFileContexts has cognitive complexity 83 (threshold 15). Drivers by points: if/else 19 (49 pts), boolean chains 18, error handling 3 (9 pts), ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"300905c636453761b1f21605420ff40aecb21347b9fe3c5f4c099573ed50bf09"}},{"ruleId":"D2","level":"warning","message":{"text":"InsforgeAuthContext.InsforgeAuthProvider (cognitive 83): InsforgeAuthContext.InsforgeAuthProvider has cognitive complexity 83 (threshold 15). Drivers by points: if/else 41 (47 pts), boolean chains 21, ternaries 4 (8 pts), error handling 5 (7 pts) (nesting depth added 12). Most of this is not in the body itself: 2 of the 83 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 163, 142, 294, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d1148250e2b4b139a709757a4ab108515f6c7593ae1976b71c1dc6c017a489"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardWindow.InitializeWebViewCoreAsync (cognitive 82): DashboardWindow.InitializeWebViewCoreAsync has cognitive complexity 82 (threshold 15). Most of this is not in the body itself: 1 of the 82 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 474, 403, 443, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec75a88c7a6ecc09b1bb8aa44ae096482ff11c30c37233b94defa040dc7ee1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionSettingsCard.SubscriptionSettingsCard (cognitive 82): SubscriptionSettingsCard.SubscriptionSettingsCard has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 30 (52 pts), boolean chains 16, if/else 10 (12 pts), error handling 2 (nesting depth added 24). Most of this is not in the body itself: 9 of the 82 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 398, renderForm, a function literal at line 167, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f636692e4a28fe4e890930ca03df31c34073e8c452b9549be9647c1d0e7979e"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityHeatmap.ActivityHeatmap (cognitive 82): ActivityHeatmap.ActivityHeatmap has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (30 pts), boolean chains 25, ternaries 18 (22 pts), loops 2 (3 pts), error handling 2 (nesting depth added 8). Of this number, 30 points are the body\u0027s own statements and 52 belong to 23 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfbf106659aa4d60cc6da1a6b8e21783e6fe1e4363f5ef9f41c88d062c6289c"}},{"ruleId":"D2","level":"warning","message":{"text":"repairClaudeQueueFromGroundTruth (cognitive 82): repairClaudeQueueFromGroundTruth has cognitive complexity 82 (threshold 15). Drivers by points: if/else 16 (36 pts), error handling 8 (19 pts), boolean chains 15, loops 7 (11 pts), ternaries 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51286f22f90257e342f7665d92d0513d815b3760ccdfa9a26e995d9fa115766"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCommandCodeIncremental (cognitive 81): rollout.parseCommandCodeIncremental has cognitive complexity 81 (threshold 15). Drivers by points: if/else 18 (34 pts), ternaries 12 (19 pts), boolean chains 17, loops 8 (11 pts) (nesting depth added 26). Of this number, 74 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26305}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19131873babae924b1cd058b8e99df2acbcbbd316f3c2b70cc476dbd616709"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-profile-likes.default (cognitive 81): tokentracker-profile-likes.default has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (60 pts), boolean chains 9, error handling 3 (6 pts), ternaries 3 (6 pts) (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee50548e7320f94a53f1d1c917db84fcb8c94daec6d7afd288b61385c97213a"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.useTrendData.refresh (cognitive 78): use-trend-data.useTrendData.refresh has cognitive complexity 78 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 25, ternaries 10 (23 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b922c80113201eeb804c6d16646e369966627a5c502186dc7ec2d34df92347"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchZcodeLimits (cognitive 78): fetchZcodeLimits has cognitive complexity 78 (threshold 15). Drivers by points: if/else 18 (39 pts), ternaries 7 (18 pts), boolean chains 16, loops 3, error handling 1 (2 pts) (nesting depth added 33). Of this number, 60 points are the body\u0027s own statements and 18 belong to 11 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefa3606011d57d010592fc94fc4b3c3d3e1f01a5967e46e32b896f17ba18593"}},{"ruleId":"D2","level":"warning","message":{"text":"use-activity-heatmap.useActivityHeatmap.refresh (cognitive 77): use-activity-heatmap.useActivityHeatmap.refresh has cognitive complexity 77 (threshold 15). Drivers by points: if/else 28 (44 pts), boolean chains 15, ternaries 8 (11 pts), loops 2 (5 pts), error handling 2 (nesting depth added 22). Of this number, 75 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d423eb0b438585419fb5b2eb8476b4ddcc090bfb66466b772f882c25ef9b3d03"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageOverview.UsageOverview (cognitive 77): UsageOverview.UsageOverview has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 37, ternaries 22 (28 pts), if/else 11 (12 pts) (nesting depth added 7). Of this number, 48 points are the body\u0027s own statements and 29 belong to 16 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb67da403d3ce9f7113c1b2b98b272e000a58c7d0e4d412134ff957d2f999391"}},{"ruleId":"D2","level":"warning","message":{"text":"openLock (cognitive 77): openLock has cognitive complexity 77 (threshold 15). Drivers by points: if/else 12 (47 pts), error handling 10 (28 pts), boolean chains 2 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0f8d4f67f0233a83229bb71f4ab04f2374c5a73d310c675da7b4b2462e282f"}},{"ruleId":"D2","level":"warning","message":{"text":"status.renderLightTable (cognitive 75): status.renderLightTable has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 13 (28 pts), boolean chains 20, if/else 11 (19 pts), loops 6 (8 pts) (nesting depth added 25). Of this number, 73 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac12bf9962d21707fca4d153e83b32809fe81525704b03b3b3bedc8fb95e86c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBreakdownPanel.ContextBreakdownPanel (cognitive 75): ContextBreakdownPanel.ContextBreakdownPanel has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 55, ternaries 11 (13 pts), if/else 7 (nesting depth added 2). Of this number, 40 points are the body\u0027s own statements and 35 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b218e509e6088c4aa96080517d1f8e4e3c38c81c3f31dd02628fc1b63c7d10"}},{"ruleId":"D2","level":"warning","message":{"text":"quota.QuotaWidget (cognitive 75): quota.QuotaWidget has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 30 (62 pts), boolean chains 10, if/else 3 (nesting depth added 32). Of this number, 37 points are the body\u0027s own statements and 38 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/quota.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0c957cac2720d04c87be23ff94991abd98f4ab24df89c402ecafde24a253d1"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchQoderLimits (cognitive 75): fetchQoderLimits has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (33 pts), ternaries 14 (26 pts), error handling 5 (8 pts), boolean chains 6, loops 1, other 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6323dd29c7954f97f49288022d1ef1098fb69730e38dd25f4605e45518e84bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.filterColdCodexRolloutFiles (cognitive 74): rollout.filterColdCodexRolloutFiles has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (53 pts), boolean chains 14, ternaries 4 (6 pts), loops 1 (nesting depth added 29). Of this number, 67 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e412f926eb0b262034806e7a3eee8e1207e00e8384cc012062ec5cffefe161b"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCraftIncremental (cognitive 74): rollout.parseCraftIncremental has cognitive complexity 74 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 18, ternaries 9 (15 pts), error handling 4 (9 pts), loops 3 (5 pts) (nesting depth added 27). Of this number, 72 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18742}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d110fc2e51163d386b3bbd26ffa8c7a010df016309a4b01825a03934fcf55ae"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetSnapshotWriter.limitProviders (cognitive 73): WidgetSnapshotWriter.limitProviders has cognitive complexity 73 (threshold 15). Drivers by points: if/else 38 (62 pts), boolean chains 6, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d23655f9fdfe171224de7ef0c4a87f258a5e978b1b053b1a4aa58dbb3a5b62"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-model-repair.repairKimiModelAttribution (cognitive 72): kimi-model-repair.repairKimiModelAttribution has cognitive complexity 72 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 19, loops 8 (15 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-model-repair.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"967fa659c01a2bfe8588acf6910ba46d1b172bb84dadb71296abb8ab3740f066"}},{"ruleId":"D2","level":"warning","message":{"text":"mock-data.getMockLeaderboard (cognitive 72): mock-data.getMockLeaderboard has cognitive complexity 72 (threshold 15). Drivers by points: ternaries 16 (61 pts), boolean chains 10, if/else 1 (nesting depth added 45). Of this number, 68 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"a928777199c762aca2dbe0a993d865d29955caa88377df7a6ece78bb3e8100f8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKiroCliFromSessionFiles (cognitive 71): rollout.parseKiroCliFromSessionFiles has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (29 pts), ternaries 9 (18 pts), boolean chains 17, error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10039}}}],"partialFingerprints":{"codehealthFindingId/v1":"77977c8dca71bf93932b224b6c9dafe3ec42f1a475184b882e67052043ed16c1"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.rpc (cognitive 71): runtime.rpc has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 11 (67 pts), boolean chains 3, if/else 1 (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abbbdc0c611ff215ff57a449bd173b543f8f08d715cb87cbed337092b54ecf1"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-model-breakdown.handleAccountRequest (cognitive 71): tokentracker-account-model-breakdown.handleAccountRequest has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 45, if/else 12 (15 pts), ternaries 5 (8 pts), error handling 2, loops 1 (nesting depth added 6). Of this number, 64 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"d072fccbef9a593c4b55073cbdc6a258c143f71f1e71298bb9ca48778703eceb"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionDetailModal.SessionDetailModal (cognitive 70): SessionDetailModal.SessionDetailModal has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 28 (37 pts), boolean chains 26, if/else 7 (nesting depth added 9). Of this number, 33 points are the body\u0027s own statements and 37 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3767c6901bd85a73c69afa9945d08724637d2699c1996769c155ea02ffe9eca"}},{"ruleId":"D2","level":"warning","message":{"text":"repairWorkbuddyContextUsage (cognitive 70): repairWorkbuddyContextUsage has cognitive complexity 70 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 19, ternaries 9 (10 pts), error handling 7 (9 pts), loops 7 (nesting depth added 13). Of this number, 69 points are the body\u0027s own statements and 1 belongs to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"add66e6ede2f6691ef7695302cdf020ced88576d84378155b7500240e9ac1d70"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo.normalizeWaffoOrder (cognitive 69): waffo.normalizeWaffoOrder has cognitive complexity 69 (threshold 15). Drivers by points: if/else 17 (36 pts), ternaries 9 (18 pts), boolean chains 11, loops 3 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672ac43550884f71d97bfed706f5765d130a3842ded6e6153dbedfbb50f657d"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudMembershipCard.CloudMachineList (cognitive 68): CloudMembershipCard.CloudMachineList has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 21 (37 pts), if/else 12 (16 pts), boolean chains 10, error handling 4 (5 pts) (nesting depth added 21). Of this number, 18 points are the body\u0027s own statements and 50 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee36667262e666829c348529f9552823cbeee5524e2ae4c725390d7e5351e892"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseGeminiIncremental (cognitive 66): rollout.parseGeminiIncremental has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 16 (25 pts), if/else 11 (21 pts), boolean chains 19, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7009c9458e5247e5fc499c46c32f3d3e164f71c35f4f7893f4a82f1475a8c099"}},{"ruleId":"D2","level":"warning","message":{"text":"repairDroidDuplicateSessionInflation (cognitive 66): repairDroidDuplicateSessionInflation has cognitive complexity 66 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 18, error handling 9 (12 pts), loops 8 (nesting depth added 13). Of this number, 51 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa7359d8182eb143f76950ad20433cb1a2adb9fa132aa98d1aa4aca5cba08dc"}},{"ruleId":"D2","level":"warning","message":{"text":"mergeSessionFragments (cognitive 66): mergeSessionFragments has cognitive complexity 66 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 21, ternaries 2 (6 pts), loops 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"025a200321da4a8a3f861289f97b73b2b8a67b7b48553c403502c737ce5493a5"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseGeminiFile (cognitive 65): rollout.parseGeminiFile has cognitive complexity 65 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 19, ternaries 10 (11 pts), error handling 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaba138a84ab5ee9c0115b06d767bb99e4e3935a603f46da676e74aaf28efd6"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-ingest.default (cognitive 65): tokentracker-ingest.default has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 24, if/else 18 (22 pts), ternaries 8 (12 pts), loops 4 (5 pts), error handling 2 (nesting depth added 9). Of this number, 55 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe7b176996db1c9f57670cf867fe8ca80e6d1c8e5624c00db4f51a2dcfe5e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"readQueueBatch (cognitive 65): readQueueBatch has cognitive complexity 65 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 6 (18 pts), boolean chains 15, error handling 2 (3 pts), loops 1, other 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4557}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea2a8a538a2b9789957df87b84983fdc68dde346a1ee8e6e80c98892911cb5a"}},{"ruleId":"D2","level":"warning","message":{"text":"parseGrokUpdatesFile (cognitive 65): parseGrokUpdatesFile has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 20, loops 4 (6 pts), ternaries 5 (6 pts), error handling 2 (3 pts) (nesting depth added 17). Of this number, 47 points are the body\u0027s own statements and 18 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5454b6730f62d19e1fdfd986d56f07989e7e2a55f64615e86438f018b64a894c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKimiIncremental (cognitive 64): rollout.parseKimiIncremental has cognitive complexity 64 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 14, error handling 4 (9 pts), ternaries 7 (8 pts), loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10238}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a99640118da51edc9bb1df92f949d645fefd5b66efe0787bb1450e9e8f812e"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-public-visibility.default (cognitive 64): tokentracker-public-visibility.default has cognitive complexity 64 (threshold 15). Drivers by points: if/else 25 (50 pts), boolean chains 12, ternaries 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d8ccc9dc1a26dd7a6b571d5245780c3212f7153faa23059d8a9acf7de05b6"}},{"ruleId":"D2","level":"warning","message":{"text":"use-usage-data.useUsageData.refresh (cognitive 63): use-usage-data.useUsageData.refresh has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 19, ternaries 9 (15 pts), error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bde9b7ac2e3823506e637912713003a3093373190017d0d3360641c277101d"}},{"ruleId":"D2","level":"warning","message":{"text":"parseDshTranscript (cognitive 63): parseDshTranscript has cognitive complexity 63 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 8 (20 pts), boolean chains 11, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"714d25eae023d7367ad6d5a572f2901917f3a9bd5db4764d06a8dc42ea84261d"}},{"ruleId":"D2","level":"warning","message":{"text":"wrapped-aggregator.aggregateWrapped (cognitive 62): wrapped-aggregator.aggregateWrapped has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 12, loops 4 (6 pts), ternaries 4 (5 pts) (nesting depth added 20). Of this number, 60 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wrapped-aggregator.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd91483bd499abb11eddf52d0b0dc1aaa622184abb77566ff1a41b5dc0915844"}},{"ruleId":"D2","level":"warning","message":{"text":"createLimitsCache.normalizeEntry (cognitive 62): createLimitsCache.normalizeEntry has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (38 pts), ternaries 5 (11 pts), boolean chains 8, loops 3, other 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2b514b5a625cc4634569cc122b03c16ae5f8fdc4f2d3792fc1da52132240e2"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.migrateCopilotChatLogRecordDedup (cognitive 61): rollout.migrateCopilotChatLogRecordDedup has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 15, error handling 3 (7 pts), loops 6 (7 pts), ternaries 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19321}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc26d8b481ebb1e4a238ccb02a93b33d7549c2c9d8967d4ece1c3f94efcc0b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseTraeIncremental (cognitive 61): rollout.parseTraeIncremental has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 16, ternaries 3 (6 pts), loops 4 (5 pts), error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23717}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2fc31aa8a8e658f02c2ddd1668ee2ed95d210161b7ab96fff026f43f0ea63a"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.extractDshSessionUsage (cognitive 61): rollout.extractDshSessionUsage has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 18, ternaries 4 (8 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25312}}}],"partialFingerprints":{"codehealthFindingId/v1":"329b791d3e010e0fa71fdbe798dff2834e1550ff10c30be1d6bc4dc598e57a23"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsPanel.renderProviderGroup (cognitive 61): UsageLimitsPanel.renderProviderGroup has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 20 (39 pts), if/else 12 (13 pts), boolean chains 9 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1c2a294eca5b5478af2178620bc618e9267123c0b89bc33e52eee892fa2f1"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.useTrendData (cognitive 61): use-trend-data.useTrendData has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 28, ternaries 7 (17 pts), if/else 13 (16 pts) (nesting depth added 13). Most of this is not in the body itself: 10 of the 61 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 376, 74, 163). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07395c158713bb3bbb45fdc52fdf507db051fc0cb8673d28c25ad0c8f381af3"}},{"ruleId":"D2","level":"warning","message":{"text":"pet.Pet (cognitive 61): pet.Pet has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 22, ternaries 11 (16 pts) (nesting depth added 8). Of this number, 34 points are the body\u0027s own statements and 27 belong to 13 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c3a2b98f1e7be60be63a3350b106dae207298017023dff786e991ef7e17ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareModal.ShareModal (cognitive 60): ShareModal.ShareModal has cognitive complexity 60 (threshold 15). Drivers by points: if/else 27 (33 pts), ternaries 13 (16 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 11 of the 60 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 180, 152, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c529a8a82f4247dc9f7eac579db959d95f3303276d3c457e38a4dff9ba119fb"}},{"ruleId":"D2","level":"warning","message":{"text":"PetPage.PetPage (cognitive 60): PetPage.PetPage has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 14 (25 pts), if/else 11 (20 pts), boolean chains 12, error handling 3 (nesting depth added 20). Of this number, 29 points are the body\u0027s own statements and 31 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1024ba5f69c2131b20dd069f20d439a47ee74c8c466f79d71c1852681096ff81"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseRoocodeIncremental (cognitive 59): rollout.parseRoocodeIncremental has cognitive complexity 59 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 10, error handling 4 (9 pts), ternaries 6, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.parseKilocodeIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12807}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e6a69297d6867e2f38db7fd3534f5f682a1c8e83a003b41c5396e80534ecd6"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKilocodeIncremental (cognitive 59): rollout.parseKilocodeIncremental has cognitive complexity 59 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 10, error handling 4 (9 pts), ternaries 6, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.parseRoocodeIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16801}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf19a1ba77285120d76e680162fc60728de7d896b697be4b6113302557a684fc"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsView.sectionIfContent (cognitive 59): UsageLimitsView.sectionIfContent has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 28, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c5434b553edb9021eb3b680bfb2c5eb054bb2860275ad4471eda1c3d5d415"}},{"ruleId":"D2","level":"warning","message":{"text":"repairCodebuddyLogJsonlOverlap (cognitive 59): repairCodebuddyLogJsonlOverlap has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 13, error handling 7 (9 pts), loops 7, ternaries 4 (nesting depth added 12). Of this number, 57 points are the body\u0027s own statements and 2 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"455d4627ceefbc77c6a1dca01bf5eaefc3ee3b0cc6e59a552f4585de164c6166"}},{"ruleId":"D2","level":"warning","message":{"text":"buildRow (cognitive 59): buildRow has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 18, ternaries 7, loops 2 (nesting depth added 17). Of this number, 55 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2725a886c55086dbb9b5c62c309c76f088358c886ea0e596a12b2a6d1649e4"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpenclawSessionFile (cognitive 58): rollout.parseOpenclawSessionFile has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 17, ternaries 9 (11 pts), error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa7f843e7007231e635be9ddea05240c57aa8f59dc69078be59ec3488775489"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostics.collectTrackerDiagnostics (cognitive 58): diagnostics.collectTrackerDiagnostics has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 22 (32 pts), boolean chains 21, if/else 3 (5 pts) (nesting depth added 12). Of this number, 57 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d52218eb0d1e2a9b26cdc53608a08e04ab31d26961109d1820c63350fd26baa"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readKiroCliSessionTurns (cognitive 57): rollout.readKiroCliSessionTurns has cognitive complexity 57 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 17, ternaries 5 (8 pts), loops 4 (7 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9026}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b18618adbeeda1a9ea95dd0054eaa32541a3b30189d050d81f30d7795c99b1"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCopilotAppDbIncremental (cognitive 57): rollout.parseCopilotAppDbIncremental has cognitive complexity 57 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 15, ternaries 7 (10 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21043}}}],"partialFingerprints":{"codehealthFindingId/v1":"967933f3b0885cab99c58615f2111b43c96fab71dfb899bb88ca986ffbb52f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.activePetLimits (cognitive 57): ClawdCompanionView.activePetLimits has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 8, loops 3 (6 pts) (nesting depth added 19). Of this number, 49 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f579530c549509fa16dc290f525e87b5505a18bc779ed2843a8c2b3a80f8155a"}},{"ruleId":"D2","level":"warning","message":{"text":"summarizeSessions (cognitive 57): summarizeSessions has cognitive complexity 57 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 13, boolean chains 12, loops 3 (5 pts), other 2 (nesting depth added 17). Of this number, 50 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"8383f9fdd5c84ea071613dee08ccc4aab9ac06fbc183b0f96ae812ee58a4c5df"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchArkCodingPlanLimits (cognitive 57): fetchArkCodingPlanLimits has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (23 pts), error handling 7 (13 pts), boolean chains 11, ternaries 6 (10 pts) (nesting depth added 17). Of this number, 44 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96252a449ef76787052b12d32e27252079fd6a683be470eb03a0591a5f96ba"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchArkAgentPlanLimits (cognitive 57): fetchArkAgentPlanLimits has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (23 pts), error handling 7 (13 pts), boolean chains 11, ternaries 6 (10 pts) (nesting depth added 17). Of this number, 44 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a610b5c74786af76911e44184bb9d3b86ef1570d5382c22b03578da1cfcbaa"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.computeOutputTokenBreakdown (cognitive 56): claude-categorizer.computeOutputTokenBreakdown has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 25, if/else 13 (17 pts), loops 5 (9 pts), ternaries 3 (5 pts) (nesting depth added 10). Of this number, 54 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde8874c67bcec04e79264f58bdcf46aeae0616b1992b7341455bf24ee43190d"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.updateSkills (cognitive 56): skills-manager.updateSkills has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 10, loops 5 (9 pts), error handling 2 (5 pts), ternaries 2 (nesting depth added 25). Of this number, 53 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a1b7cd1e603d4ac44ab23e24a763e5bd07374eeadb997a21c674093c6acd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardViewModel.loadAll (cognitive 56): DashboardViewModel.loadAll has cognitive complexity 56 (threshold 15). Drivers by points: if/else 28 (48 pts), error handling 8 (nesting depth added 20). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a1d876f0f69d12ab0532427c983f83f91993506b868790e498538af66e8b32"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseQoderDbIncremental (cognitive 55): rollout.parseQoderDbIncremental has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 14, ternaries 10 (13 pts), loops 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0165ad22cb238d70cdb75ac79ffffb756e94cb63747e0bff0f192224cf0a25d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseZedIncremental (cognitive 55): rollout.parseZedIncremental has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 16, error handling 4 (7 pts), ternaries 6 (7 pts), loops 3 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13633}}}],"partialFingerprints":{"codehealthFindingId/v1":"42930d4c5a0e34ddb1137cf8e52714567a32e25b4d7c65ca01ed4e980deb88ed"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.inspectDshZstdFrames (cognitive 55): rollout.inspectDshZstdFrames has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (32 pts), ternaries 7 (13 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 24). Of this number, 53 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24629}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ce69d2a2f9fe689bfe119f0f101fc38ccb03ec8800ff3e285a536d833cb5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkSection.NetworkSection (cognitive 55): NetworkSection.NetworkSection has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 21, if/else 9 (10 pts), error handling 2 (nesting depth added 10). Of this number, 31 points are the body\u0027s own statements and 24 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"877b37c6e0963ca585988575de1511f68545ad482b9c7550971f94fda792b961"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeBridge.applySetting (cognitive 55): NativeBridge.applySetting has cognitive complexity 55 (threshold 15). Drivers by points: if/else 25 (46 pts), boolean chains 5, ternaries 1 (3 pts), match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"df91e8d48c5437481a7adbd4a27915e2ac09937d08391e2f53eeea226ba977ea"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseCursorApiIncremental (cognitive 54): rollout.parseCursorApiIncremental has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 14, loops 3 (6 pts), ternaries 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8d82ece21c92a6a41a4364a346d1c349392dfd6322fbc5b68875a2cc4563c6"}},{"ruleId":"D2","level":"warning","message":{"text":"limits-cache.createLimitsCache.normalize (cognitive 54): limits-cache.createLimitsCache.normalize has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (38 pts), boolean chains 8, ternaries 3 (5 pts), loops 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93c91b13a2c489f7eb5a85657edcde48a25ef23aaa8ae4f80ced0bcbc227c40"}},{"ruleId":"D2","level":"warning","message":{"text":"readCodexObjectsIncremental (cognitive 54): readCodexObjectsIncremental has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (33 pts), ternaries 6 (10 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 22). Of this number, 50 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"67806837901bbb09737a207a32fd5ea235cfdc8f46bf91120f35ec69fcf80bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"cloudContextualPromptDecision (cognitive 53): cloudContextualPromptDecision has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 12 (20 pts), boolean chains 18, if/else 12 (15 pts) (nesting depth added 11). Of this number, 52 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbf4b4414a3acf3550e013d38d9f3dfd3ff84f27769a231981ff142d36fcba"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonl-lines.physicalJsonlRecords (cognitive 52): jsonl-lines.physicalJsonlRecords has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (32 pts), ternaries 5 (9 pts), error handling 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/jsonl-lines.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9566865acbd460bf9c50815b8e02d64cf799c0b6e57b72c9949b854959a321"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpencodeIncremental (cognitive 52): rollout.parseOpencodeIncremental has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 14 (21 pts), boolean chains 15, if/else 8 (15 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b475862321dd484bb54e57d44d87873cffe61833c5ad3ed8218c040eb1ccda28"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpenSquillaIncremental (cognitive 52): rollout.parseOpenSquillaIncremental has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 11, ternaries 7 (9 pts), loops 7 (8 pts) (nesting depth added 14). Of this number, 48 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14574}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeab7725ac54884c5be430873a60c25f1761d7e5b6ae802526b6c5a456d4391"}},{"ruleId":"D2","level":"warning","message":{"text":"init.previewIntegrations (cognitive 52): init.previewIntegrations has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 16 (31 pts), if/else 20, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d1d77fa3744fbb52865d2ca99519961c807b8c7eb19948c161807f6f7dffb7"}},{"ruleId":"D2","level":"warning","message":{"text":"zcode-limits.loadZcodeAuthCandidates (cognitive 52): zcode-limits.loadZcodeAuthCandidates has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 13 (27 pts), boolean chains 13, if/else 4 (8 pts), loops 2 (3 pts), error handling 1 (nesting depth added 19). Of this number, 47 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed23ee84d1715f4f7e25ecec08ba428f5266184a241ab04aba12df298a9e25d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TrendMonitor.TrendMonitor (cognitive 52): TrendMonitor.TrendMonitor has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 36, if/else 10, ternaries 5 (6 pts) (nesting depth added 1). Of this number, 28 points are the body\u0027s own statements and 24 belong to 15 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce11062d165aebbd902046a3efa472296d9e6a51ebcd51312cef9db1499434ae"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseGooseIncremental (cognitive 51): rollout.parseGooseIncremental has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 16, ternaries 7 (10 pts), loops 2 (3 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15860}}}],"partialFingerprints":{"codehealthFindingId/v1":"79110cfd7f13a97f6c945310e8821e7fe76e6e2e38b077482ef230a8fcf82463"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudMembershipCard.RestoreCloudOrder (cognitive 51): CloudMembershipCard.RestoreCloudOrder has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 14 (28 pts), boolean chains 16, if/else 4 (7 pts) (nesting depth added 17). Of this number, 16 points are the body\u0027s own statements and 35 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a545088af9890314a06d104a5641b46eb6afe88cdd9fac7a1390f8c9c73dd14f"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodexPerformanceCollector.consume (cognitive 51): createCodexPerformanceCollector.consume has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 25, if/else 17 (23 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e902539d55435146eaba6c4d4c0663651cb61761080b6ea2af704fac99d1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.classifyOneMessage (cognitive 50): claude-categorizer.classifyOneMessage has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 18, loops 3 (8 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da2dd02fdb64b058cd370d41236d891e6d7641c021f6d7e48e4da2f1b2434da"}},{"ruleId":"D2","level":"warning","message":{"text":"project-usage-purge.purgeProjectUsage (cognitive 50): project-usage-purge.purgeProjectUsage has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 8, error handling 2 (5 pts), loops 3 (4 pts), ternaries 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/project-usage-purge.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b2e72fc0ced4a6e405a2879953a09b139467de559c8045da0e1f1ada22a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.fetchAntigravityLimits (cognitive 50): usage-limits.fetchAntigravityLimits has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (28 pts), ternaries 4 (10 pts), error handling 4 (6 pts), boolean chains 5, loops 1 (nesting depth added 17). Of this number, 46 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f79f964e941b4a13f99172d0dc550322475cac12b34ae96775d22040369ec1"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.scanCodexUsageLineages (cognitive 50): sync.scanCodexUsageLineages has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (29 pts), error handling 3 (7 pts), boolean chains 6, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba29746812cbafbede7f16f983edb2143f0b8c36afd41c8a3239606f7537e576"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor.buildDiagnosticsChecks (cognitive 50): doctor.buildDiagnosticsChecks has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 13 (26 pts), boolean chains 10, if/else 5 (9 pts), loops 2 (5 pts) (nesting depth added 20). Of this number, 45 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2808edc382f7f7c7e94daa674112d6408bcb9c31d91f1c24ffaaa60d4f268f2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 50): CommandPalette.CommandPalette has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 14, if/else 11 (nesting depth added 12). Most of this is not in the body itself: 13 of the 50 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 67, a function literal at line 31, onInputKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CommandPalette.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3f52b5a97ed6b38b298da0bb896bac29cea4780e81c89b441e4cc2592e73a2"}},{"ruleId":"D2","level":"warning","message":{"text":"drainQueueToCloud (cognitive 50): drainQueueToCloud has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 5 (12 pts), boolean chains 9, error handling 2 (3 pts), loops 1, other 1 (nesting depth added 21). Of this number, 49 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"9581a3dc63b96fa535027408325c6074be2bf4a1b409c37de934c0c60db288fb"}},{"ruleId":"D2","level":"warning","message":{"text":"session-performance.createCodexPerformanceCollector.consume (cognitive 49): session-performance.createCodexPerformanceCollector.consume has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 23, if/else 17 (23 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec5d3de8784845a8555b129b79c06c76665bae76e6c43a8f1f320701dfae689"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailPanel.SkillDetailPanelInner (cognitive 49): SkillDetailPanel.SkillDetailPanelInner has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 23 (30 pts), boolean chains 15, if/else 4 (nesting depth added 7). Of this number, 41 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillDetailPanel.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c077f809995cc8e478c5ed087c6ab24d612c5306acce13221453e03df863bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"annotateThreadUsage (cognitive 49): annotateThreadUsage has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 19, if/else 10 (18 pts), loops 6, ternaries 3 (6 pts) (nesting depth added 11). Of this number, 35 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696c59eb89f088d828071fddd1806705c4eb23d13c73c4388845a5e7b0176ea"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.normalizeCommandCodeState (cognitive 48): rollout.normalizeCommandCodeState has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 12, loops 3 (6 pts) (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26190}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab4c743d0ade4a3d8c07fb2cc785a7453aa335fd28801940347216622ae65b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.discoverCodexSessionFiles (cognitive 48): codex-rollout-parser.discoverCodexSessionFiles has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 9, error handling 2 (6 pts), ternaries 3 (5 pts), loops 3 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"06baf715e42d4de239ad9a70e6fad959dad93ccc8f860435b498374e8af2ae3c"}},{"ruleId":"D2","level":"warning","message":{"text":"InsforgeUserHeaderControls.InsforgeUserHeaderControls (cognitive 48): InsforgeUserHeaderControls.InsforgeUserHeaderControls has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 15 (32 pts), boolean chains 11, if/else 4 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a321d3f2f206bb341684e02eb1488bf28ac63ede12418049e2a1679fd2b5addf"}},{"ruleId":"D2","level":"warning","message":{"text":"RedeemProCode.RedeemProCode (cognitive 48): RedeemProCode.RedeemProCode has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 19 (28 pts), boolean chains 24, if/else 16 (21 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RedeemProCode.RedeemProCode::perform) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"05198c864b6427b2791d47c5c0c2633f4a277315f62b489550eacb6b19f7682c"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchAccountUsage (cognitive 48): fetchAccountUsage has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 13, ternaries 6 (8 pts), error handling 1 (2 pts) (nesting depth added 12). Of this number, 29 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca152f4693ea46b990a3f3a00a832fc2ed1a0d46c227897ec94f577c25747367"}},{"ruleId":"D2","level":"warning","message":{"text":"dumate.parseDumateIncremental (cognitive 47): dumate.parseDumateIncremental has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 19, if/else 7 (19 pts), loops 5 (7 pts), ternaries 1 (2 pts) (nesting depth added 15). Of this number, 45 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dumate.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4dea06d4a833b7d96c05945fc1273bf77e64de555e33221653116960c00ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.repairCodexForkReplayInflation (cognitive 47): sync.repairCodexForkReplayInflation has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 3 (9 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6658}}}],"partialFingerprints":{"codehealthFindingId/v1":"359de100db71c6251a4560fc058a4ca4922fd79de48a0c5b053a4eeadae094a7"}},{"ruleId":"D2","level":"warning","message":{"text":"device-login.cmdDeviceLogin (cognitive 47): device-login.cmdDeviceLogin has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 15, ternaries 3 (6 pts), error handling 1 (2 pts), loops 2 (nesting depth added 13). Of this number, 32 points are the body\u0027s own statements and 15 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45e5d0155416a0e7e9baf359cfc2bd89e61a4e246c0466e3b3a11c7b5875c54"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-heatmap.default (cognitive 47): tokentracker-account-heatmap.default has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 13, loops 5 (8 pts), ternaries 6, error handling 2 (nesting depth added 6). Of this number, 37 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"787b28362eb011385f70931ca529fa86518994b1c237f01b7e9debb6202b00ee"}},{"ruleId":"D2","level":"warning","message":{"text":"limitRows (cognitive 47): limitRows has cognitive complexity 47 (threshold 15). Drivers by points: if/else 6 (21 pts), ternaries 3 (12 pts), loops 3 (6 pts), boolean chains 5, other 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e73991b3a61bcd6abca9b7f6e5255b6f645cf139feaeb773752f4d6e7015a7"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readKiroCliMessageChars (cognitive 46): rollout.readKiroCliMessageChars has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 10, error handling 4 (8 pts), loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8950}}}],"partialFingerprints":{"codehealthFindingId/v1":"536e08371591dbdb8364bfebc58184557f6c8e40e4994393c750de403226c36a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-daily.default (cognitive 46): tokentracker-account-daily.default has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 21, if/else 12 (15 pts), loops 3 (5 pts), ternaries 3, error handling 2 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fed6c6cb53f46644b1ed35043f7a94e58bb5f0a95e4c40f7cf5653cd7b5c89"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionsPage.SessionRow (cognitive 46): SessionsPage.SessionRow has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 22 (27 pts), boolean chains 11, if/else 6, error handling 2 (nesting depth added 5). Of this number, 38 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dce8ed76ecf120794f50b1f9d7811010ca4235a9d74c17f134c641335665ba"}},{"ruleId":"D2","level":"warning","message":{"text":"commitOpencodeShards (cognitive 46): commitOpencodeShards has cognitive complexity 46 (threshold 15). Drivers by points: loops 9 (20 pts), if/else 5 (16 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"3929d8114a279883e247e4683ce685c229df9910d9417e21fcb9ecbd76fd2245"}},{"ruleId":"D2","level":"warning","message":{"text":"native-qa-auth.createRAMAuthBroker.execute (cognitive 45): native-qa-auth.createRAMAuthBroker.execute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 14, ternaries 4 (8 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd7505ab783ff48e5897b44fab9374cf186f7513bde8572b0dc2facf794e77c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseUnslothIncremental (cognitive 45): rollout.parseUnslothIncremental has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 11, loops 5 (8 pts), ternaries 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14947}}}],"partialFingerprints":{"codehealthFindingId/v1":"580419e6b23b2eda41ed02c62172e84d504df9bc0b30d9c157632412edf5ae4d"}},{"ruleId":"D2","level":"warning","message":{"text":"dsh-session.discoverDshSessionFiles (cognitive 45): dsh-session.discoverDshSessionFiles has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (25 pts), error handling 3 (9 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f7739eb7db852b433420b9cf0cbfa05f5e7abb169724caeb4ccee72cc04c4"}},{"ruleId":"D2","level":"warning","message":{"text":"model-breakdown.buildAllModels (cognitive 45): model-breakdown.buildAllModels has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 6 (12 pts), boolean chains 9, loops 4 (6 pts) (nesting depth added 17). Of this number, 42 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265a8c48ccee24762683fcab46addef63d86b40b9c3055d48bd64fc74b6a3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudUsageExport.CloudUsageExport (cognitive 45): CloudUsageExport.CloudUsageExport has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 14, ternaries 12 (14 pts), error handling 1 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 23 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dafc84af46276efdcf91c008b8ce57faca0140444c473ec1646b4fcaae7f50e"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-usage.normalizeTraeUsage (cognitive 44): trae-usage.normalizeTraeUsage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 11, loops 4 (5 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-usage.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3711a512ea3cb47f923f06e28c1546b6b92a587f891ca758463253af3a4fb5a"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-usage.scanFile (cognitive 44): skill-usage.scanFile has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 8, loops 3 (5 pts), ternaries 2 (5 pts), error handling 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc6d613a566c77f806f3098fde679afd0f631c66967c94b7925784acccad2c"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.repairZcodeUsageMigration (cognitive 44): sync.repairZcodeUsageMigration has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 7, loops 3 (6 pts), ternaries 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"61208039c03058b05056d8aaea464feead5a751685a4d005dd8a6782aef2499d"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-monthly.default (cognitive 44): tokentracker-account-monthly.default has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 18, if/else 14 (18 pts), ternaries 4 (5 pts), error handling 2, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce46b12d5b3d547c9af37b359184f93ffcfbb1fc62001d838a1e079dce32e31"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceUsageCard.DeviceUsageCard (cognitive 44): DeviceUsageCard.DeviceUsageCard has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 19, ternaries 14 (19 pts), if/else 4 (5 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 44 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 126, a function literal at line 284, commitEdit, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa7c925c272e5e9964dc8a6b42f26735263d0fb15e5056a359dfd672a1b1dad"}},{"ruleId":"D2","level":"warning","message":{"text":"commit (cognitive 44): commit has cognitive complexity 44 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 11, error handling 4 (9 pts), loops 5 (8 pts), ternaries 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"388bb8aa47b6c973914dbee222ac98c47e79cb6ab2114127bfcca855be5c39f3"}},{"ruleId":"D2","level":"warning","message":{"text":"firstStreamTokenTime (cognitive 44): firstStreamTokenTime has cognitive complexity 44 (threshold 15). Drivers by points: if/else 7 (22 pts), boolean chains 12, ternaries 2 (6 pts), loops 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7baea8432a88fba437dc67fb86a75cba440cf4ae62e714d6442b2049d933cb"}},{"ruleId":"D2","level":"warning","message":{"text":"workbuddy-ipc.openWorkbuddyIpc (cognitive 43): workbuddy-ipc.openWorkbuddyIpc has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 10, error handling 3, loops 2, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 43 points belong to 7 function literals inside it that branch (lines 123, 63, 167, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"765eaaf43e454827a0ad804c8a391becd51510cb5478de6c7f68994e3c25ce8a"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.scanCodexProjects (cognitive 43): local-api.scanCodexProjects has cognitive complexity 43 (threshold 15). Drivers by points: if/else 6 (27 pts), loops 4 (10 pts), error handling 2 (6 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"53092a4fae570c85d9d2d2cf74aa6b368621c2c2340d0e1b69d712bf6b6f1a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"LimitsPage.LimitsPage (cognitive 43): LimitsPage.LimitsPage has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 17 (19 pts), if/else 12 (13 pts), boolean chains 10, error handling 1 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 22 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0076fb642ec9d2d01954e3121fdcaf0761919ffa01ba6c817b6dd094f555c11"}},{"ruleId":"D2","level":"warning","message":{"text":"use-usage-data.useUsageData (cognitive 43): use-usage-data.useUsageData has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 19, if/else 11 (12 pts), ternaries 7 (12 pts) (nesting depth added 6). Most of this is not in the body itself: 7 of the 43 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 338, 52, 419, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d74d037cfb647c7f26bd63b495834d6822bea740b8bc9457ab4b1639efad773"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenGalaxy.TokenGalaxy (cognitive 43): TokenGalaxy.TokenGalaxy has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (18 pts), error handling 10, boolean chains 9, ternaries 5, loops 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 159, 335, 122, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"892bb2880e425772e37cc76ddde3e1d532c53ac01b9f437cd7da104f995bca15"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeZcodeBalanceResponse (cognitive 43): normalizeZcodeBalanceResponse has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 17, ternaries 12 (14 pts), if/else 6 (9 pts), loops 2 (3 pts) (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 21 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"510b1ee77a49d42920adba98c17154007f46a128d752b78f2bb4afd7a3ab6219"}},{"ruleId":"D2","level":"warning","message":{"text":"cleanRow (cognitive 43): cleanRow has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 15, loops 2 (3 pts), other 2, ternaries 1 (2 pts) (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 18 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad52664db81e43e8219569aad8d32d901b7f89a6e35e9923256295d117049275"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseAnythingllmIncremental (cognitive 42): rollout.parseAnythingllmIncremental has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 12, ternaries 5 (8 pts), loops 3 (nesting depth added 12). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41ccbf080e28c52f5d8c483198159f7347f6266c44474ae06bf493033e8755d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseTraeCnApiIncremental (cognitive 42): rollout.parseTraeCnApiIncremental has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 6, loops 4 (5 pts), ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24282}}}],"partialFingerprints":{"codehealthFindingId/v1":"48097644fa932f70f70018166ff663a6c5ecafefad0ad28e9028510e5958d777"}},{"ruleId":"D2","level":"warning","message":{"text":"index.computeRowCost (cognitive 42): index.computeRowCost has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 25, if/else 8 (10 pts), loops 2 (5 pts), ternaries 2 (nesting depth added 5). Of this number, 40 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e057c8bdffb67352ce6ea8f116971ca69630b32bd8a14c52087317a44eeac"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.normalizeCursorUsageSummary (cognitive 42): usage-limits.normalizeCursorUsageSummary has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 12, ternaries 6 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13850a80a82d5ef385ea16452a524e41b61b50148353fafd764059b7e5e1b15"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.groupClaudeFilesAcrossRoots (cognitive 42): session-analytics.groupClaudeFilesAcrossRoots has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 6 (9 pts), boolean chains 7 (nesting depth added 20). Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"437b9ca834b207ead53ba0a23e244b0b61718cb7222fe8aa903d534d1d3d10da"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard.default (cognitive 42): tokentracker-leaderboard.default has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 19, if/else 11 (14 pts), ternaries 4 (5 pts), error handling 2 (4 pts) (nesting depth added 6). Of this number, 36 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e020ba73d68baf39d6e13050d33b67ce26499545de8fbb634b81ee04471ccb7"}},{"ruleId":"D2","level":"warning","message":{"text":"repairMimoClaudeMislabel (cognitive 42): repairMimoClaudeMislabel has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 10, loops 3 (6 pts), ternaries 4, error handling 2 (nesting depth added 10). Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ac322d54018eb2c752a727b6cd0d8b95858c5c7e8ed3be571e0df305dfa60"}},{"ruleId":"D2","level":"warning","message":{"text":"collectResourceGroups (cognitive 42): collectResourceGroups has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (16 pts), other 9, boolean chains 8, ternaries 4 (7 pts), loops 1 (2 pts) (nesting depth added 12). Of this number, 34 points are the body\u0027s own statements and 8 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04e22b1e0e471b8a6a015af6de86d28db79b7de3de333c08ba7bbf0e653e38"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchOpencodeGoApiLimits (cognitive 42): fetchOpencodeGoApiLimits has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 9, other 7, error handling 2 (nesting depth added 12). Most of this is not in the body itself: 12 of the 42 points are its own statements and the rest belongs to 2 function items inside it that branch (resolveApiWindow, a function literal at line 610). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d02dc0154501d363a9bbf3dd02f24e903515c76c44f8ccf530589ad2332ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"runCommand (cognitive 42): runCommand has cognitive complexity 42 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 8, error handling 4 (5 pts), ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to 15 function items inside it that branch (a function literal at line 42, (anonymous)::settle, (anonymous)::scheduleCompletion, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/command-runner.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9232f14a9988ba2309707d55f5b55399d40496cb9bce96629db6781f6fa68221"}},{"ruleId":"D2","level":"warning","message":{"text":"TrendMonitorZoomModal.TrendMonitorZoomModal (cognitive 41): TrendMonitorZoomModal.TrendMonitorZoomModal has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 14, ternaries 11 (14 pts), if/else 11 (13 pts) (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 19 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d966805fec66256b4312402125ebe1ffde528041b0432f577cc62283a8e6cf"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarController.buildMenu (cognitive 41): StatusBarController.buildMenu has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 14 (25 pts), loops 3 (7 pts), if/else 3 (6 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"403f015a06c61d9c3b4fc39b918d92c13d1cd9fafc7a3c8182778785b52147c0"}},{"ruleId":"D2","level":"warning","message":{"text":"cmdServe (cognitive 41): cmdServe has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 13, error handling 7 (9 pts), loops 1, ternaries 1 (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 17 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd085e0ee8ff0a3768154b3ebf5abe1892dee3ab71bd6ca14860802dd41eede"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveProjectMetaForPath (cognitive 40): rollout.resolveProjectMetaForPath has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (10 pts), boolean chains 7, ternaries 2 (6 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac19b872a6fa549c63bcdc87eb41300b633b009794f8c420a7057bd006194e27"}},{"ruleId":"D2","level":"warning","message":{"text":"TrendMonitor.computeInterpolatedSeries (cognitive 40): TrendMonitor.computeInterpolatedSeries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 5 (11 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc36e85aad35df06113a3c527b35b86a88dd5e742f3d6b871bfc77fb88f848"}},{"ruleId":"D2","level":"warning","message":{"text":"scanForForkedCodexRollout (cognitive 40): scanForForkedCodexRollout has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 4 (10 pts), error handling 2 (5 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6997}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0012e85979f621b85e2b7cc0b84c77ad7762b5306d0bd72f019ac5ecc12aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalApiHandler::issueDeviceTokenForLocalSync (cognitive 40): createLocalApiHandler::issueDeviceTokenForLocalSync has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 14, ternaries 7 (9 pts), error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3579553d1e978fbad3da110a1a68b2a2f1dd18b7a216f51d8d0aa8e3756330d1"}},{"ruleId":"D2","level":"warning","message":{"text":"removeOpenclawSessionPluginConfig (cognitive 40): removeOpenclawSessionPluginConfig has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 11, error handling 3, loops 1 (2 pts) (nesting depth added 12). Of this number, 39 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70c71952a44ae2900c34edc71f5a63107bbe014658eb31447f0ef91d3396f84"}},{"ruleId":"D2","level":"warning","message":{"text":"createBackendResolver (cognitive 40): createBackendResolver has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, ternaries 6 (7 pts), error handling 3 (5 pts), loops 3 (nesting depth added 9). Most of this is not in the body itself: 12 of the 40 points are its own statements and the rest belongs to 5 function items inside it that branch (refreshDecisions, validInterval, a function literal at line 222, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba1500ac922827bbddaf7873a2b59726ec567605b38afc280d287fa1687de2"}},{"ruleId":"D2","level":"warning","message":{"text":"removeOpenclawHookConfig (cognitive 40): removeOpenclawHookConfig has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 11, error handling 2, loops 1 (2 pts) (nesting depth added 12). Of this number, 39 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b48e13a444788e576daa379b0eacf7946dfbb7da8ec7fc49f338e78203329"}},{"ruleId":"D2","level":"warning","message":{"text":"buildGitOutcomesInternal (cognitive 40): buildGitOutcomesInternal has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 5 (7 pts), ternaries 3 (6 pts), error handling 2 (4 pts) (nesting depth added 14). Of this number, 36 points are the body\u0027s own statements and 4 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"64204961f21046156e0b08cbb8b168a5c5110682bf726ad16aea2d30ac1f2a16"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-snapshot.openTraeSnapshot (cognitive 39): trae-snapshot.openTraeSnapshot has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 7, error handling 3 (4 pts), loops 3, ternaries 3 (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12c761a780a1dcb6c3bcbf5a1f747fdf8f634191cee1f73f877b5b247787c76"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseRolloutFile (cognitive 39): rollout.parseRolloutFile has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 11 (24 pts), if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 18). Of this number, 31 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"606051d854c672c78c9dfdde9105c7353b8bff489921cceb08b85d7572663f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseKiroIncremental (cognitive 39): rollout.parseKiroIncremental has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 8 (11 pts), boolean chains 8, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8182}}}],"partialFingerprints":{"codehealthFindingId/v1":"72424a00f2452bc01b0e44db8b2c427062ec227f0df6a5c413fc55a51b7bde2a"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseHermesIncremental::ingestProfile (cognitive 39): rollout.parseHermesIncremental::ingestProfile has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 13, ternaries 5 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8627}}}],"partialFingerprints":{"codehealthFindingId/v1":"03952eaf7975f749f0cbf7c9565d11a06852358c834702f87e13841cbe0e1ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.isCompleteDshJsonLine::parseValue (cognitive 39): rollout.isCompleteDshJsonLine::parseValue has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 3 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (rollout.isCompleteDshJsonLine::parseString, rollout.isCompleteDshJsonLine::parseNumber) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1448f815169bdb11488bf4c79ae47d21a097082fb23128cb7e0ad867108062"}},{"ruleId":"D2","level":"warning","message":{"text":"omp-hook.removeOmpHook (cognitive 39): omp-hook.removeOmpHook has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 5 (12 pts), boolean chains 10, error handling 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dd25e0b7fe8f3c1b9ef03fe9b72a0b4db474af57c6f9f3b32e16c635134882"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.buildToolCallsBreakdown (cognitive 39): claude-categorizer.buildToolCallsBreakdown has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 33, if/else 3 (5 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 39 points are its own statements and the rest belongs to 7 function items inside it that branch (groupIntoCategories, a function literal at line 785, a function literal at line 798, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23000e6e6f07e1b9e38eadd98ad9ca3e589f758e9ce35631929b5731984248"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.migrateRolloutCumulativeDeltaBuckets (cognitive 39): sync.migrateRolloutCumulativeDeltaBuckets has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 10, loops 4 (7 pts), ternaries 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5809}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d8e6cc63fd6858831d9417c6321d7d6294a6173a489e2ff03eb8496dc2b432"}},{"ruleId":"D2","level":"warning","message":{"text":"CostAnalysisModal.CostAnalysisModal (cognitive 39): CostAnalysisModal.CostAnalysisModal has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 16 (26 pts), boolean chains 11, if/else 2 (nesting depth added 10). Most of this is not in the body itself: 2 of the 39 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 164, 78, 40, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"141d9b7e7543ab94b669c0a255969be305ca6325594227f80e644ffd9ca7ec8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectDetailModal.ProjectDetailModalContent (cognitive 39): ProjectDetailModal.ProjectDetailModalContent has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 19, ternaries 14 (17 pts), if/else 3 (nesting depth added 3). Of this number, 35 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5895176de5dec09681d42e4a6362d773006f0b1722337d19a40095929416592c"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsResponse.limitWindowReadings (cognitive 39): UsageLimitsResponse.limitWindowReadings has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (25 pts), loops 4 (7 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a58f59b66cb4da7b64376439ca17d827a8aa9725d5c2d3eb4be257b5f115fc"}},{"ruleId":"D2","level":"warning","message":{"text":"collectOpencodeGoLocal (cognitive 39): collectOpencodeGoLocal has cognitive complexity 39 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 5 (12 pts), boolean chains 7, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719ad278d7a9de4d83259a49a1938960c0976fe1e5b55d4d5cee418d0682341"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.listInstalledSkills (cognitive 38): skills-manager.listInstalledSkills has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 20). Of this number, 28 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aaf229be07fa3cb68486f66c992dcb74af7ff50f1cdd47a2003699794b7686"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeProvider.ThemeProvider (cognitive 38): ThemeProvider.ThemeProvider has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 6 (12 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 12). None of this is in the body itself: all 38 points belong to 9 function literals inside it that branch (lines 87, 66, 111, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/ThemeProvider.jsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bd3f59aac2c0a0311331d7316a63c889ee5c70095b7f8df98ee7ad664e7727"}},{"ruleId":"D2","level":"warning","message":{"text":"use-community-stats.useCommunityStats (cognitive 38): use-community-stats.useCommunityStats has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 11, if/else 9 (10 pts), error handling 1 (nesting depth added 4). None of this is in the body itself: all 38 points belong to 6 function literals inside it that branch (lines 151, 144, 229, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"520138419b08d358723eaf9feaf480d07998962f7447f5a495752cbedc2d11b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.clawdState (cognitive 38): ClawdCompanionView.clawdState has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 11 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60ac48eca2a88a19378d3e80ae69d16a0d767cf3b7d286ed788074bbaa3cbef"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.dedupeDroidSettingsFilesBySession (cognitive 37): rollout.dedupeDroidSettingsFilesBySession has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (11 pts), error handling 2 (6 pts), loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a458fcbf1a5c7fd7386b0c91247a08849c409db66e827b34cbeeae077ac8d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseMuseIncremental::handleRecord (cognitive 37): rollout.parseMuseIncremental::handleRecord has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 13, ternaries 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (rollout.parseMuseIncremental) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18523}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ae6490ff022de133d72ac7992c0aadfc0941dec2b06531ce2faed94ff7db9"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveDshSessionFiles (cognitive 37): rollout.resolveDshSessionFiles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (5 pts) (nesting depth added 22). Of this number, 24 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d00a0a6258e8c1d53403c5b49b54ed88a147bb0008eece88bc3ac0f94f874c0"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.computeLocalAchievements (cognitive 37): local-api.computeLocalAchievements has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 14, loops 4, ternaries 1 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 15 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"771292f27a526bb2df377287465d700eb4887d2ec8a228d12e3bca04b2137fe3"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateLegacyDeepseekHarnessSource (cognitive 37): migrateLegacyDeepseekHarnessSource has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, error handling 3 (5 pts), loops 3, other 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"3615879b9e69f0adc7240421d2764f1ffa706aac9312b8007ebf2b0bd9a353a9"}},{"ruleId":"D2","level":"warning","message":{"text":"saveUsageExport (cognitive 37): saveUsageExport has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 15, if/else 14, ternaries 4 (7 pts), error handling 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/native-bridge.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14cd9c04cd9ba7effac2a082d4793e37c21337f5f2f765dd604dca447e52f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"heatmap-compact.expandHeatmapCompact (cognitive 36): heatmap-compact.expandHeatmapCompact has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 6, loops 4 (6 pts), ternaries 2 (4 pts) (nesting depth added 10). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/heatmap-compact.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c18595dccde09bb819da5efe931878dc663396f1675d1a37d91e3a7c5ff35"}},{"ruleId":"D2","level":"warning","message":{"text":"zcode-limits.scanZcodeBalanceLogs (cognitive 36): zcode-limits.scanZcodeBalanceLogs has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 9, ternaries 2 (4 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9c865f3932e451d50758476dd9bd1428bd26dee4686774cdbda9f8656e5f04"}},{"ruleId":"D2","level":"warning","message":{"text":"heatmap-compact.expandHeatmapCompact (cognitive 36): heatmap-compact.expandHeatmapCompact has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 6, loops 4 (6 pts), ternaries 2 (4 pts) (nesting depth added 10). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b59d41a3e9e7ef4d17b876f48dbf4153fb577d53ad9ee017f389f06f37371b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-inventory.mergeSkillInventories (cognitive 36): skills-inventory.mergeSkillInventories has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 11, ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 14). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/skills-inventory.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed72e3661de4208cbdb68422cf674a83acc4c3e8896f7741b1ac3f7011241e62"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.quipPool (cognitive 36): ClawdCompanionView.quipPool has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8422a0240294e611523763dcf18e3289b96a83f1273c1582222cf78f277f6"}},{"ruleId":"D2","level":"warning","message":{"text":"repairGrokQueueFromSessionSnapshots (cognitive 36): repairGrokQueueFromSessionSnapshots has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 5, error handling 2 (3 pts), loops 3, ternaries 1 (3 pts) (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5603}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d83f6f9a3be18ccb7a256e8feff7372b11a1a281c2dd7dcdbf095a1bade460"}},{"ruleId":"D2","level":"warning","message":{"text":"readQoderLocalQuotaWithAge (cognitive 36): readQoderLocalQuotaWithAge has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (5 pts), other 5, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"7130c3fca10a82df1943fc90d5899209f9f24501d303b6022ee4c65f45626bad"}},{"ruleId":"D2","level":"warning","message":{"text":"UsagePoller.FetchTopModelsAsync (cognitive 35): UsagePoller.FetchTopModelsAsync has cognitive complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f372def65b333bf6d1e8929c50a4f428a62c64d17cbb1cb6548e04b209f56c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.collectPiStyleSubagentFiles (cognitive 35): rollout.collectPiStyleSubagentFiles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 6 (13 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12429}}}],"partialFingerprints":{"codehealthFindingId/v1":"081a45802d94a1a08ead20b4f89b937724571c78c2aeee533d4a01f9a97936bc"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.resolveRuntimeConfig (cognitive 35): runtime-config.resolveRuntimeConfig has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 17 (23 pts), boolean chains 12 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-config.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7d80a9db845b5a50c3a92fcb6b4e9076a721e44eb2f1ea0e9ecc1f9e984e0"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-context-breakdown.computeGrokContextBreakdownUncached (cognitive 35): grok-context-breakdown.computeGrokContextBreakdownUncached has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 23, if/else 4 (8 pts), loops 3, ternaries 1 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62141f933a7f985244ebefac6403a5a481a30d93f660399201bf55a7050f486"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorConnectionControl.CursorConnectionControl (cognitive 35): CursorConnectionControl.CursorConnectionControl has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 10 (11 pts), boolean chains 7, error handling 3 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CursorConnectionControl.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"58691aca17fe00ce3a70e50f34410ac080d8ef13b3e367c6e44e614c8a56a634"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-quips.buildQuipPool (cognitive 35): pet-quips.buildQuipPool has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6fb25c1db1dcee1b971a92f7ef9dd38b219e81a5606d17e97d22a932efd36f"}},{"ruleId":"D2","level":"warning","message":{"text":"relabelClaudeMemQueueRows (cognitive 35): relabelClaudeMemQueueRows has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 4 (8 pts), boolean chains 7, ternaries 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7814}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2741f787a3e985369bf06d85c9c4271a8643e839a015dba6b038e1e2067431"}},{"ruleId":"D2","level":"warning","message":{"text":"upsertOmpHook (cognitive 35): upsertOmpHook has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 5 (11 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f51895fa8d5b1a00764b34c7942217c91d51942be845aa0f62423840dcf8679"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableDownloader.DownloadAsync (cognitive 34): ResumableDownloader.DownloadAsync has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d6bde52a942bd0c72f164eedd7e24a989c91d82edac49da62a84061ecd77b4"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveWorkbuddyProjectFiles (cognitive 34): rollout.resolveWorkbuddyProjectFiles has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 4 (8 pts), boolean chains 7, ternaries 4, loops 2 (nesting depth added 8). Most of this is not in the body itself: 3 of the 34 points are its own statements and the rest belongs to 3 function items inside it that branch (walkJsonl, walkTraces, a function literal at line 11460). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7206a2a3b5891b5857a6f15af58cd8b67b6d59854e410e10f1fed40bb57fcd5d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.extractAntigravityGenInfo (cognitive 34): rollout.extractAntigravityGenInfo has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 3 (7 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23144}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a1151c7bbb5dbd2a5e022404efdfb779eb658888066d32ba0544fa5e7ae92c"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-discovery.discoverT3AntigravityBrainDirs (cognitive 34): antigravity-discovery.discoverT3AntigravityBrainDirs has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, error handling 2 (5 pts), loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 15). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6632e837674e1fb4dd480bc30dfa184862241115254f7220ce29a305551933"}},{"ruleId":"D2","level":"warning","message":{"text":"categorizer-utils.categorizeTool (cognitive 34): categorizer-utils.categorizeTool has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bc9d35bbbb0e6e9a6499748b40bdb2b513ce539f985d887ac43094c1c94d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.parseLinuxProcListeningPorts (cognitive 34): usage-limits.parseLinuxProcListeningPorts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (22 pts), error handling 3 (5 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edf69df0fde58deee20e7ef0f52a1670edf70aa0769bcabe7bee8e977ea2df1"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-summary.default (cognitive 34): tokentracker-account-summary.default has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 11, ternaries 5, loops 3, error handling 2 (nesting depth added 2). Of this number, 30 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"102d30640d122346966b1aa7aedbb365bb82bf515759dcfc0a402af5c5d38f79"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-heatmap.buildActivityHeatmap (cognitive 34): activity-heatmap.buildActivityHeatmap has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 7 (11 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"133050accb2a966576a4bad3ed8379036fc47c567fa4d23e88c5cc53c024ef85"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-sync.syncCloudUsageWithRecovery (cognitive 34): cloud-sync.syncCloudUsageWithRecovery has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb86cf29cff2544c7eb59a9a76e39c746ea707970198283176ba6916e88a57a"}},{"ruleId":"D2","level":"warning","message":{"text":"LikeButton.LikeButton (cognitive 34): LikeButton.LikeButton has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 10 (11 pts), boolean chains 6, error handling 3 (4 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 63, a function literal at line 87, sendAction, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/LikeButton.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276f9e2107b5738a93bb52c1192016194570791b32c064e36500028522310c9"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginPage.LoginPage (cognitive 34): LoginPage.LoginPage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 7 (10 pts), error handling 4 (7 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 51, 36, 69, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LoginPage.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d7f43418e3d3376ac887a1f47d3745041532d5a3089f89ffbb1a761fb5aefe"}},{"ruleId":"D2","level":"warning","message":{"text":"installSkill (cognitive 34): installSkill has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 19, if/else 7 (9 pts), ternaries 2 (3 pts), loops 2, error handling 1 (nesting depth added 3). Of this number, 29 points are the body\u0027s own statements and 5 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1518c5c3a41434e7ca2b57867a9d926906c36da8921690d735ff3c743d374c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.preserveCodexModelBuckets (cognitive 33): rollout.preserveCodexModelBuckets has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, loops 4, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be8a9184410b41a4425553e98b991cd5c69692e1ee610f398714e917998a8bd"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.normalizeHourlyState (cognitive 33): rollout.normalizeHourlyState has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 8 (10 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e2a3302c63bfab5e2b3e53eb5ff9e24ae8f7d93468e14d7191ca0c1ab23729"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudBillingParts.cloudBillingErrorText (cognitive 33): CloudBillingParts.cloudBillingErrorText has cognitive complexity 33 (threshold 15). Drivers by points: if/else 25, ternaries 3 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudBillingParts.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0831d775361fcc5e9516dbade5850601cc3c223922abe43454db0c81d4017364"}},{"ruleId":"D2","level":"warning","message":{"text":"startLinuxPetHost (cognitive 33): startLinuxPetHost has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15, boolean chains 11, error handling 4, other 2, ternaries 1. None of this is in the body itself: all 33 points belong to 13 function items inside it that branch (refreshUsage, fetchHeatmap, fetchTopModels, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"463cc6608e1aa948d2069992939e40a765218d173c73078273131ddfafc10276"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveOpenclawSessionFiles (cognitive 32): rollout.resolveOpenclawSessionFiles has cognitive complexity 32 (threshold 15). Drivers by points: if/else 4 (17 pts), loops 5 (13 pts), boolean chains 2 (nesting depth added 21). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb803767e0719a8542e5f8c0c030437439ffcdeb714894b64069970ee40bef5"}},{"ruleId":"D2","level":"warning","message":{"text":"upload-queue.compactPendingQueue (cognitive 32): upload-queue.compactPendingQueue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, ternaries 2 (4 pts), loops 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c976aa4e408ed09928f22c96332e5ff8d614aaca5017819a3d620b0769c9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"outcomes-engine.computeQualityPerDollar (cognitive 32): outcomes-engine.computeQualityPerDollar has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 22, if/else 3 (6 pts), loops 4 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e61dfb9e7a9dbacab024d7194f1bca21f3a4934ad03eb2f7260c99089244839"}},{"ruleId":"D2","level":"warning","message":{"text":"api.fetchLocalJson (cognitive 32): api.fetchLocalJson has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5977c76bf09005ce83bdb998ff84b09b4d1a1ad232008d3b4fc68f80c58f95e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableDownloader.urlSession (cognitive 32): ResumableDownloader.urlSession has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 8, match/switch 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ResumableDownloader.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d3437c38bae24cffe822a72b0dea7c92902e219c7e5ecc337e306f8d358629"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsView.toolSection (cognitive 32): UsageLimitsView.toolSection has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 16, if/else 12, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef46f3f4fe74c3ad7771ddaad10ae0e8ef74d01e83a14b14122063b9172aac14"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-snapshot.indexWal (cognitive 31): trae-snapshot.indexWal has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (7 pts), boolean chains 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04dd710e6509c71dbe298fa7c2459a860c1bef48cf6dae14508154dab1c8ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseOpencodeMessageFile (cognitive 31): rollout.parseOpencodeMessageFile has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (9 pts), ternaries 7, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf010914f8331a77b7ff1a69a5c4d2155a395b7be013753783f3c863004bec1a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-config.readTomlArrayLiteral::scanChunk (cognitive 31): codex-config.readTomlArrayLiteral::scanChunk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 3, loops 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (codex-config.findTomlArrayBlockEnd::scanChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3622261179adc745d351c633d31e3694cb235cae94f4e5cc411d45ad4df94d25"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-config.findTomlArrayBlockEnd::scanChunk (cognitive 31): codex-config.findTomlArrayBlockEnd::scanChunk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 3, loops 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (codex-config.readTomlArrayLiteral::scanChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"7295841799df3bdfa3e450732e7448571861228ab176d8a1f850cc54578c0a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-go-limits.fetchOpencodeGoLimits (cognitive 31): opencode-go-limits.fetchOpencodeGoLimits has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 7, ternaries 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c790ec12cee736e801acfa4376bf68116534a0885b5d190dd0c47391df46d2"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-session.listNestedJsonlSync::walk (cognitive 31): pi-session.listNestedJsonlSync::walk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a512df706d0c3cf5361c8799e68ac9b5544417820dfbb9d32ca7d5362d7d8479"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.normalizeModelUsageRows (cognitive 31): session-analytics.normalizeModelUsageRows has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (8 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d2a345a62566a110acc0bf958beca6776d83943ea42cc96613d27b2a9e9df8"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler::tryServeAccountView (cognitive 31): local-api.createLocalApiHandler::tryServeAccountView has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 3 other methods here (local-api.createLocalApiHandler, local-api.createLocalApiHandler::captureSetCookies, local-api.createLocalApiHandler::buildRelayCookieHeader) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3b96dcb3f19d541e15e53475ff83ac94e249652cddab7c896c448e0d8f6eb"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getUsageModelPricing (cognitive 31): tokentracker-account-model-breakdown.getUsageModelPricing has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 13, if/else 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"d269845c73ed0d098bc417df87947a5fe1a5b4adf51f4ddf38630951b7539a25"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.fillHourlyGaps (cognitive 31): use-trend-data.fillHourlyGaps has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 5 (9 pts), boolean chains 5, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae7495997895309ce0162c3bd74030719e88d1c30b5b70a07c0fd0fcbe9ba52"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardView.DashboardView (cognitive 31): DashboardView.DashboardView has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 10, if/else 3, match/switch 2 (nesting depth added 7). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 5 function items inside it that branch (renderRightCard, renderLeftCard, a function literal at line 403, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2644a86565c994cbb308ef645a9f4c926ab1bd9e7d640e83ed8dd369acdc1135"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeBridge.handle (cognitive 31): NativeBridge.handle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 5, ternaries 1 (3 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e48472fb1ef9741ee0cbd25dcae9fbf6718c4ecb5ad1dcd04835903556c2d0"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardViewModel.loadMenuBarSummaries (cognitive 31): DashboardViewModel.loadMenuBarSummaries has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (24 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd82ddf6f32720800be07e4770a1c85e6fd6c9b22369ea6a64c7dcf9e121c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.drawDisconnected (cognitive 31): ClawdCompanionView.drawDisconnected has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 12, if/else 10, ternaries 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"781bc1177154c5a587eca26a164226c570a1bdf4a02ea650337db0d323aa5383"}},{"ruleId":"D2","level":"warning","message":{"text":"extractGeminiOauthClientCredentials (cognitive 31): extractGeminiOauthClientCredentials has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 2 (6 pts), loops 3 (6 pts), boolean chains 3, other 1, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8663d0c455d8afa874ba16b110fe7a8d5893aee36a7c4485b0ed608c1ba41d5"}},{"ruleId":"D2","level":"warning","message":{"text":"discoverSessionFiles (cognitive 31): discoverSessionFiles has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 13, if/else 2 (3 pts), loops 1 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 9 belong to 16 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ae19050a4314f58cf78b7d343d15ce0fd552f8301b565c64e3162b63ea101"}},{"ruleId":"D2","level":"warning","message":{"text":"refreshGrokTokens (cognitive 31): refreshGrokTokens has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (11 pts), ternaries 4, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b456a3d7765e604f0e517344e99843b760f5627a9dd34dd554d68fbef6c3fc5"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-packages.readCodexBuiltinPets (cognitive 30): pet-packages.readCodexBuiltinPets has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, error handling 5 (6 pts), ternaries 2 (5 pts), loops 2 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e38223ab9e641b77e23659eb22c38a5ce6a283349182597451b70f2c66a4ca"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.readPlaintextCopilotAuth (cognitive 30): usage-limits.readPlaintextCopilotAuth has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4ec86872b7ba979b7cf67920b776dbafe216b8f87738b9aca3f5ad84d77241"}},{"ruleId":"D2","level":"warning","message":{"text":"static-server.serveStaticFile (cognitive 30): static-server.serveStaticFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/static-server.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1ee4635e1bdaa984342df9a6319cbf7f0f796a11c7ab57cb819f3836da0bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-badge-svg.default (cognitive 30): tokentracker-badge-svg.default has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13, ternaries 6 (9 pts), boolean chains 7, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3eb7c7fe2cdde40a886e9174c57cf65e2cce81cc70db0cc7667ddec6335c9"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-usage-reset.default (cognitive 30): tokentracker-device-usage-reset.default has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 4 (8 pts), boolean chains 7, error handling 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-usage-reset.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"be75c09f0667ac8f194271f7725b5d9cfd86fb5937d20e2e2517c6d3823a44e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AchievementsSection.AchievementsSection (cognitive 30): AchievementsSection.AchievementsSection has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (15 pts), boolean chains 9, if/else 4 (5 pts), loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 14 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad11412757d46aee75d4a2d7d82d488fd378468669b9c0db1a8669409b4c7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateChecker.handleResult (cognitive 30): UpdateChecker.handleResult has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 2, match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/UpdateChecker.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"250f16cf51e86c9c9d0c36bd90f03d672661eb7ccb42cb6dd9eda37159d8fc5a"}},{"ruleId":"D2","level":"warning","message":{"text":"parseKiroUsageOutput (cognitive 30): parseKiroUsageOutput has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 11, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0581f6abb6c068cb8b248c51f5334408cb2702f8b4148b5ca85baf3cc58743a"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeEntriesForCommand (cognitive 30): normalizeEntriesForCommand has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 11, ternaries 3 (4 pts) (nesting depth added 3). None of this is in the body itself: all 30 points belong to 5 function items inside it that branch (a function literal at line 189, a function literal at line 214, a function literal at line 200, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7925d3bd25c26eed8214af1ab57512814d23777e3197f9c5e63dd8dc1763b12d"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-user-identity.collectClaudeForkAliases (cognitive 29): claude-user-identity.collectClaudeForkAliases has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-user-identity.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b135c203d5d752b233041c0f27af10bfe9e67ea1be873f25a99facd6c0e761d0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveGooseDbPath (cognitive 29): rollout.resolveGooseDbPath has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, ternaries 4 (7 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15745}}}],"partialFingerprints":{"codehealthFindingId/v1":"673bc55e097bd2a94e438d253b597cb74ad2c9868204ab6ebe9f4b791512177e"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCommandCodeSessionFiles (cognitive 29): rollout.resolveCommandCodeSessionFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (8 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25979}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc480e386447ee173be25b77ea29cf5fd35c4f4ecbf1ccd7d5125c28d9cefab5"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.getConfiguredResources (cognitive 29): claude-categorizer.getConfiguredResources has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bbf521dc171a964625fc71ac9c10ab2d0630fa1263461d5efe7d4fa258bf0c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.scanPluginInventoryRoot::walk (cognitive 29): skills-manager.scanPluginInventoryRoot::walk has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"647fb3332b742cbaf7bbb70a948b803f080172cc72e5afe42994057c1ebe4010"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-hourly.default (cognitive 29): tokentracker-account-hourly.default has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (10 pts), ternaries 3, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3492148895b38509ca4dd44977d59696212b29ef0548b197bb856f0a80d6fa23"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-skills.default (cognitive 29): tokentracker-account-skills.default has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 9, error handling 1 (2 pts), ternaries 2 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e3203be9d062b9c881966a4fc7bb5559cfc6c547d418f3e79d852ce5e7ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchableSelect.SearchableSelect (cognitive 29): SearchableSelect.SearchableSelect has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 7 (10 pts), boolean chains 6 (nesting depth added 6). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 80, a function literal at line 145, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/SearchableSelect.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db1f29abce480e1ecf5bb948b98a96656e1a72af67a973da7c9299d5286dd10"}},{"ruleId":"D2","level":"warning","message":{"text":"useLimitsDisplayPrefs (cognitive 29): useLimitsDisplayPrefs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 4, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 29 points belong to 28 function items inside it that branch (a function literal at line 400, a function literal at line 339, a function literal at line 356, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"18627d87a0054f3b7f3fe2081c1ebd9dee9324cd3866a709961ea3b3ec2e31cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-token-usage.consumeUsageDelta (cognitive 28): codex-token-usage.consumeUsageDelta has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-usage.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9419100f8f680241f0d6356da9e79cd3ac9fd91dc197e06bb9022619f2a66"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.recordOpencodeMessage (cognitive 28): rollout.recordOpencodeMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 9, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"173e42b45ccffc8479d886d779e9d616254153afdddb95d67af2644f5657f91d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.parseClaudeScienceIncremental (cognitive 28): rollout.parseClaudeScienceIncremental has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 5 (10 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7756}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c9727a600be5e7a5607bb603e39492cae6b50e6df137175eace590d7e688ff"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.findDshJsonProperty::valueEnd (cognitive 28): rollout.findDshJsonProperty::valueEnd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (3 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.findDshJsonProperty) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad250d0975288b0abd028eeaabc7502b3c708f09f8a14ae2aa723eeeecd7e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"zcode-limits.readZcodeLimitsCache (cognitive 28): zcode-limits.readZcodeLimitsCache has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (8 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe8899ba6f14edf10542ab450c8a7e8f684b969f8ae35fe4571a0d6bfc6422"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.scanCodexSession (cognitive 28): session-analytics.scanCodexSession has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 20, ternaries 5, if/else 3. Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8bcc2e4e8f91988bb7581f514fd6985e508b4ebdab76c33b6e2b19fbcbecd1"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.applyOpenclawTotalsFallback (cognitive 28): sync.applyOpenclawTotalsFallback has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 20, if/else 5, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43e452ec3e89064059fa881a3abc5e63e9337771b724c9d39662bd84415ac0d"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.repairZcodePruneWindowRestore (cognitive 28): sync.repairZcodePruneWindowRestore has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5464}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ad4750c5fa23cd95463bc61bf63d4c31712bf274cd8ad4874cddc401f1dba"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-token-issue.default (cognitive 28): tokentracker-device-token-issue.default has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 6 (9 pts), boolean chains 6, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8359269465b65770720faffc25714c9160ed368e6077c76238120e278729ef89"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsPanel.UsageLimitsPanel (cognitive 28): UsageLimitsPanel.UsageLimitsPanel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 8, ternaries 5, loops 1 (2 pts) (nesting depth added 9). Of this number, 25 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2ff9c60e456a1fcbdd4078483605c3a7a3cb2bbd4df04ca31c2504ce03f27"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaderboardProfileModal.ProfileContent (cognitive 28): LeaderboardProfileModal.ProfileContent has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 17, ternaries 11. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7bcb4131cccf682af24cd51924b28724dec946eae270165b9cb99f96bd4b08"}},{"ruleId":"D2","level":"warning","message":{"text":"model-breakdown.buildFleetData (cognitive 28): model-breakdown.buildFleetData has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 9, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 370, 363, 331, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ced8b97f84f27d703f51c32960ee5f945553cce1945a254baf6b9210a6fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnualReportCard.rebucket (cognitive 28): AnnualReportCard.rebucket has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 4 (8 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 13). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (lv, a function literal at line 70, a function literal at line 70). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e463b7964b8403aaab84d09ff07b478cade30c04b5560c9fb5b2007356f4072"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.BrowseCard (cognitive 28): SkillsPage.BrowseCard has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (19 pts), boolean chains 9 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e6c1937eca5ea4c22e9e023e8c7d17da9e9865afbb5544cc20fb177043a3a3"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeQAProfile.permitsNativeMessage (cognitive 28): NativeQAProfile.permitsNativeMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 11, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"595669675e01f473120b47c4256fa4e627355e4995dce1141c1590e7f589a334"}},{"ruleId":"D2","level":"warning","message":{"text":"buildCodexFileShardMetadata (cognitive 28): buildCodexFileShardMetadata has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (8 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d347b3f43f45c9df522f106bf5d63f9ef5045d2393240e56ae181d3c640864b"}},{"ruleId":"D2","level":"warning","message":{"text":"collectPetLimitRows (cognitive 28): collectPetLimitRows has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), loops 3 (5 pts), other 2, ternaries 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 12 belong to 20 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8615934cb1c25fdd54a4275f0a3e1dbd5197a85c1b41a9c914dd4620bff494f"}},{"ruleId":"D2","level":"warning","message":{"text":"PetWindow.HoverTick (cognitive 27): PetWindow.HoverTick has cognitive complexity 27 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9eb4154d89b023317034e35618ee37d763316b52599e9799bcc6665770e1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.collectCodexDominantModels (cognitive 27): rollout.collectCodexDominantModels has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 8, loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fd35a8c4c19e1bea9e17663d66c2277a4b3e8ee240256f553689afe3efaed7"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readLmstudioFileRecords (cognitive 27): rollout.readLmstudioFileRecords has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 3 (7 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506102cd15f39d5748eafd474742ac5752e75dd183b971721530343d8e28af1"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCraftWorkspaceRoots (cognitive 27): rollout.resolveCraftWorkspaceRoots has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (7 pts), ternaries 2 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18106}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f2eda77bcfc5b2179d69c276acbec429514d7978fddc15de6e7bb25a8fae30"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readCommandCodeSessionSnapshot (cognitive 27): rollout.readCommandCodeSessionSnapshot has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26242}}}],"partialFingerprints":{"codehealthFindingId/v1":"440b7933f8d12c45b29d4b2bc7d29004f0fa3c7cbb746c01b46d78de57a3ea44"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek-status.parseDeepSeekStatusPage (cognitive 27): deepseek-status.parseDeepSeekStatusPage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (9 pts), boolean chains 5, loops 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-status.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b986de8fe7d67017cbeeb8556d11d30bdcbfaf6b313e5acc0e587ff2f7d390"}},{"ruleId":"D2","level":"warning","message":{"text":"qoder-limits.parseQoderAccountUsageLog (cognitive 27): qoder-limits.parseQoderAccountUsageLog has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), error handling 3 (7 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"715a9f9d202c0378cdef5ac1b8e68746575c02b9553ee9ee497acb21a882829a"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo.providerOrders (cognitive 27): waffo.providerOrders has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 5, boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8536464a9287adf700136f51fe6f2e5d421c1823be3ec7baf2856b64e503f97"}},{"ruleId":"D2","level":"warning","message":{"text":"use-usage-limits.useUsageLimits (cognitive 27): use-usage-limits.useUsageLimits has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 7, ternaries 3, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 368, 249, 359, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec8078f453c81038d812d855f6f98e7d560dadfc3b0d0085f79a139dc75fe58"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.parseHourLabel (cognitive 27): use-trend-data.parseHourLabel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"38382cd9b7eb02b64791c0a15d4baeb413e01155bb05323a203d40ef9eb9f69a"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudMembershipCard.cloudMembershipSummary (cognitive 27): CloudMembershipCard.cloudMembershipSummary has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5804ce67901c3aa2a9ee3160edeed9905ac72cb081ee066fff8b896c4ac2fc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"repriceSessionRecord (cognitive 27): repriceSessionRecord has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4d5faee5d40e5504fa745447502c1b3ebe5576482c9ab8cdf60f9c73c3e764"}},{"ruleId":"D2","level":"warning","message":{"text":"performMint (cognitive 27): performMint has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (9 pts), if/else 6, error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7938cdd889b4244f73ef8e7108b7fa0b1a8249760f5c825bd677ded46d6c2df0"}},{"ruleId":"D2","level":"warning","message":{"text":"releaseOwnedLock (cognitive 27): releaseOwnedLock has cognitive complexity 27 (threshold 15). Drivers by points: error handling 8 (16 pts), if/else 5 (9 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d911a73a982e580ddcfa02e03e337bf9eafad371c8f17cf3bd1a48c8dd03a5"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-backend.preserveLegacyClaudeGroups (cognitive 26): claude-backend.preserveLegacyClaudeGroups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 2 (4 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 12). Of this number, 19 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e4f250add8be54631464851007f6360c084d1ff61d4d6d9589e7a003adfc0"}},{"ruleId":"D2","level":"warning","message":{"text":"categorizer-utils.inferExecCommandKind (cognitive 26): categorizer-utils.inferExecCommandKind has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c7b2915746198e1fa6faec795bd01430371df43216a6e10f616b242d62886"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-limits.fetchGrokLimits (cognitive 26): grok-limits.fetchGrokLimits has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (8 pts), boolean chains 5, error handling 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba7b597f7cba70f89a16e5fae94914b8e9c574a205a36c31819dad1e9af1da"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-session.discoverPiSessionFiles (cognitive 26): pi-session.discoverPiSessionFiles has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af168fc8b951ff0e36fa589e3678d54e301fa08671d055c4e7af7823bf569be"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.dropZcodeQueueRows (cognitive 26): sync.dropZcodeQueueRows has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (7 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48c8e97b02e46f1cac0c5da716d0345037ab5735c4b8552198254837f4df40e"}},{"ruleId":"D2","level":"warning","message":{"text":"BadgeDetailModal.BadgeDetailBody (cognitive 26): BadgeDetailModal.BadgeDetailBody has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeDetailModal.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ecd22e04f2d142a789ff9de6b6f7250e5d0e8a8211c2ac511125fbebd69126"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunityStatsModal.CommunityStatsModalContent (cognitive 26): CommunityStatsModal.CommunityStatsModalContent has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 14, boolean chains 9, if/else 3. Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 474, onTablistKeyDown, a function literal at line 542, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dd046d7bff833ee174daae15433942b90b564c4c27f40a7ca0715c8a12af28"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaderboardPage.MobileLeaderboardRow (cognitive 26): LeaderboardPage.MobileLeaderboardRow has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 7, if/else 2 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b2492ae6b4aeb99d0965be1bff8f8745790c8489d7c32437db9c3444f191af"}},{"ruleId":"D2","level":"warning","message":{"text":"use-usage-model-breakdown.useUsageModelBreakdown.refresh (cognitive 26): use-usage-model-breakdown.useUsageModelBreakdown.refresh has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, ternaries 3, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-model-breakdown.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"637957230437c92f6be636fea9cfa09a50627743f13da96a8b48057a2dc3209d"}},{"ruleId":"D2","level":"warning","message":{"text":"model-breakdown.buildTopModels (cognitive 26): model-breakdown.buildTopModels has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 6 (7 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"014500fcde41a830cacba18c2082f91939737144eafaa53c1f1f76f4f665a512"}},{"ruleId":"D2","level":"warning","message":{"text":"eyefit.resous (cognitive 26): eyefit.resous has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 6 (9 pts), ternaries 2, boolean chains 1 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/eyefit.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfe2a39530587633c5c3a57e6ddd9303d85123f84c519ca51216d74711d2462"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeQAProfile.validate (cognitive 26): NativeQAProfile.validate has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 23, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d838728962d0e2ba79b91db4e06a039b31ecb743589f2c6abe0375886193af35"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardWindowController.handleScriptMessage (cognitive 26): DashboardWindowController.handleScriptMessage has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 pts), ternaries 2 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6361af74ba86c282940951b881bd08817db719db0a0c3313aef1d4154a4cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"PetCatalog.refresh (cognitive 26): PetCatalog.refresh has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (7 pts), ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27869290f7f03a5937ce219bd72a5a4a126093d6e13ce4a421a53a28ec59bec"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarController.togglePopover (cognitive 26): StatusBarController.togglePopover has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7721d8e6775b1bbb5a107f90447c35d253fd8ba63fc91978156728338a82bfe7"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeCodexCreditWindow (cognitive 26): normalizeCodexCreditWindow has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 6 (8 pts), other 1, ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ff65e9b041a5ead9c07ae4e4fb247d07a3e7b38d7a5980fcf40c500d228a64"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeZcodeCodingPlanQuotaResponse (cognitive 26): normalizeZcodeCodingPlanQuotaResponse has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (10 pts), if/else 5 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b3e02ba019686c7fdf6929ffe6b523eb0b26963ad2ac748fffc0c9af64d3b"}},{"ruleId":"D2","level":"warning","message":{"text":"useCloudSyncControl (cognitive 26): useCloudSyncControl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (7 pts), boolean chains 6, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 53, a function literal at line 76, a function literal at line 86, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/useAccountProfileSettings.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b762c8a1ac3953a583727c84609cbf9622f1da96274b485b6acba24fdef23932"}},{"ruleId":"D2","level":"warning","message":{"text":"buildTopModels (cognitive 26): buildTopModels has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 3 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"683ae8f5606fe6bf5be0a83c2c675234aa22784c076a511c268d4e920ed830a1"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-copy.copyRuntimeTree (cognitive 25): runtime-copy.copyRuntimeTree has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-copy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f9606bba798b797a2ad550b495c761102cdfef1efcd9c1dd335eb7a8af5ced"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.recordProjectMeta (cognitive 25): rollout.recordProjectMeta has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), ternaries 4, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4995}}}],"partialFingerprints":{"codehealthFindingId/v1":"135efbd3a5accec739861686b05c19f850f8edf5fe138e8878ff2d28af1dc990"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-cn-config.parseTraeCnAuthValue (cognitive 25): trae-cn-config.parseTraeCnAuthValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (7 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3226c517c028938b209fd1bc84650bd771dfd7bef1195a3cf1c1de3f62afd5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.iterateCodexObjects (cognitive 25): codex-rollout-parser.iterateCodexObjects has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (8 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c24326e8c559013fc47a7cd5f4d7fd0f47b6b0901b3f1df211f86b4f2c077f5"}},{"ruleId":"D2","level":"warning","message":{"text":"omp-session.discoverOmpSessionFiles (cognitive 25): omp-session.discoverOmpSessionFiles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feb135ef7693f831fcc0a9e411785d88146d2d899f4d0aa0db7e74e9ee690dd"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler::captureSetCookies (cognitive 25): local-api.createLocalApiHandler::captureSetCookies has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (local-api.createLocalApiHandler, local-api.createLocalApiHandler::tryServeAccountView, local-api.createLocalApiHandler::buildRelayCookieHeader) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a3ad9bcacd72569c2ce3741c3bb3ea8a3f69297cf21725c375c5755e661353"}},{"ruleId":"D2","level":"warning","message":{"text":"paddle.normalizePaddleEvent (cognitive 25): paddle.normalizePaddleEvent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea09bf100f2501c1e5fef46c4f7f8942fc96c1a599587690510a88a965bad53"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-devices.default (cognitive 25): tokentracker-account-devices.default has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7, error handling 3, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ffc5d5d15a2141c0bb72d40fd225ae067a2e31579592f0eff53c8c6d0b6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"api.fetchAccountFunction (cognitive 25): api.fetchAccountFunction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). Of this number, 13 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cdefa5db3a351c3807ec8bbfdecd579acaf9eae245a177a5d52337a74d8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.SkillRow (cognitive 25): SkillsPage.SkillRow has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 9, if/else 1 (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52506a88e73f0986d61c053d19ba2a37845dc27cc97008c656b63d5f6ea0152"}},{"ruleId":"D2","level":"warning","message":{"text":"loadOpencodeMessagesForBatchUnchecked (cognitive 25): loadOpencodeMessagesForBatchUnchecked has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 pts), loops 3, ternaries 2 (nesting depth added 2). Of this number, 23 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e658ae3d7de529136126d889b0725af0eea27d5da55fbc4f96e5382211f34140"}},{"ruleId":"D2","level":"warning","message":{"text":"probeWslDistros (cognitive 25): probeWslDistros has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), ternaries 3 (5 pts), error handling 2 (4 pts) (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bd29142fc470c43fbab2acd15a22c7521da2d59a256430c1fde19ba79103b8"}},{"ruleId":"D2","level":"warning","message":{"text":"scopeSessionsToRange (cognitive 25): scopeSessionsToRange has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 6 (8 pts), boolean chains 7 (nesting depth added 6). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 7, sum, a function literal at line 9, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-insights.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be5096d33d1bc13481e2c52209195a77bdff2236a3eb0d84f62c4b31655e01"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerManager.StartHealthLoop (cognitive 24): ServerManager.StartHealthLoop has cognitive complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 790). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c23decb2c911de9da535a841fbb8214458a0e9552cac16468e50fb188d5e35"}},{"ruleId":"D2","level":"warning","message":{"text":"UsagePoller.FetchAsync (cognitive 24): UsagePoller.FetchAsync has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1459961f9a0cbd4d2170fbe8ae21f1ec0587e1fef57b4de678fd1b4fe489e506"}},{"ruleId":"D2","level":"warning","message":{"text":"scan-roots.resolveScanRoots (cognitive 24): scan-roots.resolveScanRoots has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/scan-roots.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a8e45c024c80d015a0b4025174bcddf40177891e154be8a64f0b8c43e54d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.isCompleteDshJsonLine::parseNumber (cognitive 24): rollout.isCompleteDshJsonLine::parseNumber has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (rollout.isCompleteDshJsonLine::parseString, rollout.isCompleteDshJsonLine::parseValue) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0ce94c812d8327e2c235c11b26a31563917da168441cbbb3b236639225e788"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-config.parseTomlStringArray::parseString (cognitive 24): codex-config.parseTomlStringArray::parseString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc30dd4c00a9597ed0724cb2020847c654a031a497d631bc822eaaf1bae3b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.categorizeSessionFile (cognitive 24): claude-categorizer.categorizeSessionFile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fd4da4d0f9007f298e1f25aa4b78d9190af24239d28bcae3a9976b9e4f38da"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-cn-config.fetchTraeCnUsagePage (cognitive 24): trae-cn-config.fetchTraeCnUsagePage has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), error handling 2, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8043d9d640559bcec85d1337f711a2f420bc3d71691fd24a7c24311df969c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-packages.importFromCodex (cognitive 24): pet-packages.importFromCodex has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (5 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34a6a93f83cd920f4fc06e412993bb0829fc90fc35a060e9285a291e8f3a6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"qoder-limits.normalizeQoderRpcUsage (cognitive 24): qoder-limits.normalizeQoderRpcUsage has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 5, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d206abd3db8011636598ceef609b16b8b2a87e658b72ca63e4a04e93d9fddbb1"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.normalizeCodexSparkRateWindows (cognitive 24): usage-limits.normalizeCodexSparkRateWindows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0051900599278ef8f67c6abe54c7278c9fa7e44460a2e8dc905792c58a295607"}},{"ruleId":"D2","level":"warning","message":{"text":"status.formatCopilotLines (cognitive 24): status.formatCopilotLines has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 5 (6 pts), if/else 3, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7282e8c862febed3b89399d752bf7e989e727283bc0c0d2242e4c43770a943fa"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-billing.cloudBillingRequest (cognitive 24): cloud-billing.cloudBillingRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-billing.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119867ed6455aff28157201f5312f91b98a6a97bbf70d3e04ef9a6a6ef4d47b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBreakdownPanel.normalizeToolRows (cognitive 24): ContextBreakdownPanel.normalizeToolRows has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, ternaries 8. Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 225, 247). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf20dda5aeaaaf50b02cfa5d9a911e0508e78a108e212fe10328b64c453099ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.drawIdleLiving (cognitive 24): ClawdCompanionView.drawIdleLiving has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 10, loops 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e147629f59a582ba6141513897c38a132f8409834f800ab5299866cb204671"}},{"ruleId":"D2","level":"warning","message":{"text":"toSessionBrowserRow (cognitive 24): toSessionBrowserRow has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, ternaries 5, other 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"690e7bb20628b5e995bf3dd47735933e359035fd8ceac17a7f8039c0fb820468"}},{"ruleId":"D2","level":"warning","message":{"text":"parseCsv (cognitive 24): parseCsv has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead970ca467fbd1918403c1311484373ca7ba759b7ac520e32c2d23d30c1765"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerManager.StartTrackerProcess (cognitive 23): ServerManager.StartTrackerProcess has cognitive complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4953a7979182c1b31a18ab9f8d9fa79b9294af7c9e538d2d5421b022a84ba70"}},{"ruleId":"D2","level":"warning","message":{"text":"TrayApplicationContext.InstalledCustomPets (cognitive 23): TrayApplicationContext.InstalledCustomPets has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce5b97db8b3beabc3ec9b6dbf48e1928f93d9ed78d78b200e7965ddd265051e"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readZcodeNativeUsageMessages (cognitive 23): rollout.readZcodeNativeUsageMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, error handling 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfac1dc019ddf82b370fb83c2cfb10152d5a5572a5919f01299e6f2e855723c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveKiroCliSessionFiles (cognitive 23): rollout.resolveKiroCliSessionFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, error handling 3 (4 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8875}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efd7e88955dcd062f43b292169e45c8a63e252e56d3122d20c81ac1d6ee7ce8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readKiroCliRequests (cognitive 23): rollout.readKiroCliRequests has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"4247198aabe6f12b1b030b19d06c5318c504eebda07e3eb9f85b254e70f8020f"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveKilocodeRoots (cognitive 23): rollout.resolveKilocodeRoots has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12630}}}],"partialFingerprints":{"codehealthFindingId/v1":"66be207aa693be5613ca6795310730b58f123cc584ca5c97f47b92a2ed9e89c9"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.retractStaleSourceQueueRows (cognitive 23): rollout.retractStaleSourceQueueRows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (3 pts), boolean chains 2, loops 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21652}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c9b2cb0dcd09dfb5f2b78369367e767c2d39e4b1be1f7568ef11eae5ef5dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"init.parseArgs (cognitive 23): init.parseArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 8, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7053ee82878f12501dcf6858274a26249366ecb4b9c60f7a86b4c3ecf59dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"async-queue-reader.createAsyncQueueReader::load (cognitive 23): async-queue-reader.createAsyncQueueReader::load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (5 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-queue-reader.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c6eccea349626441e190d273d4c2171c6e83acb779eb9444b467aba3c7997f"}},{"ruleId":"D2","level":"warning","message":{"text":"devin-limits.readDevinCredentials (cognitive 23): devin-limits.readDevinCredentials has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7 (8 pts), boolean chains 3, error handling 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a55444bae9d680108a51dfa738f55c7edac96db40c8f6eed8cc2c59f2512acc"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy-env.applyUndiciProxyIfNeeded (cognitive 23): proxy-env.applyUndiciProxyIfNeeded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (8 pts), boolean chains 3, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-env.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1388c41970df6d9135c42c94787f451833b7268e6b4d7885db635984c43756"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.hashDirectory::walk (cognitive 23): skills-manager.hashDirectory::walk has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), error handling 3 (7 pts), if/else 3 (5 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"4431c79d463955f671038dc7cf7a60a4afc937314559c4bf413b5b3e36805a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.aggregateHourlyByDay (cognitive 23): local-api.aggregateHourlyByDay has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 10, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c0fe7fad64732dc5ba337ce4c76b1d7bf1ad795ed891b54e510951cf9a096d"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.buildProxyHeaders (cognitive 23): local-api.buildProxyHeaders has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb60b39e6fc3adfdf128caa2c32df56abb605ec236d5d0af95d267a7eb58ab"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.collectZcodeQueuePeaks (cognitive 23): sync.collectZcodeQueuePeaks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d988598de4a8cb18552e1c52231d0c860e89c65abf953ad549e5f0b399b8444c"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.isCodexHistoryCovered (cognitive 23): sync.isCodexHistoryCovered has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (6 pts), boolean chains 4, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6966}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c35cec16ceced31b75304c22f59defe808a60c89aedc20f9da09bd209164cf"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-daily.getRowPricing (cognitive 23): tokentracker-account-daily.getRowPricing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb636ac4a2901750cf919bb4278f9f7ef243e4a2254c4e45942d3ebab508b76"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-model-breakdown.getRowPricing (cognitive 23): tokentracker-account-model-breakdown.getRowPricing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac1e6c1fa5cd7aa5c2c330116e63a9ccdffe06978749638f92a5d27773cfa2a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-summary.getRowPricing (cognitive 23): tokentracker-account-summary.getRowPricing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b534ee82c78baf47173b9cd2a4814eeea5dd8d66afbff3c0834a29f0f7390236"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-rename.default (cognitive 23): tokentracker-device-rename.default has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 5, boolean chains 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6ed8aa800d4e686fdd2ca91b8002f497d77181c27799abb71b93efa37aab95"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-profile.getRowPricing (cognitive 23): tokentracker-leaderboard-profile.getRowPricing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d192a97b7febc48ca50347578fddd09673fa74c336d3d786c512c5e496cb08f0"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-profile.computeRowCost (cognitive 23): tokentracker-leaderboard-profile.computeRowCost has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, ternaries 3 (4 pts), if/else 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"29573131ae2c7ea782173ea2a1697893ca6f209b89422d621d3cbfbd815f65c2"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.getRowPricing (cognitive 23): tokentracker-leaderboard-refresh.getRowPricing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce5976886d0d9cb706660be2193ef707d542e5721c69faa7daec4d347d71ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.computeRowCost (cognitive 23): tokentracker-leaderboard-refresh.computeRowCost has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, ternaries 3 (4 pts), if/else 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d4b9fc1264b7d346d64aa288e2f8be94d23b774bdd97cb981c4725dabe2005"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentedControl.SegmentedControl (cognitive 23): SegmentedControl.SegmentedControl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 4, loops 1. Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 7 function items inside it that branch (moveSelection, a function literal at line 54, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/SegmentedControl.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f213b8402c7c2b97f5c356ca670f20b6546ab0a3e6b0bc5f83ab86bfb4a8265"}},{"ruleId":"D2","level":"warning","message":{"text":"TrendMonitor.TrendBar (cognitive 23): TrendMonitor.TrendBar has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 4, if/else 4 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fde6492c8ed94090862a7fb247f040e2f95e71f365a93d3eeb9ff5d7a8f60bd"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAuthCallbackPage.NativeAuthCallbackPage (cognitive 23): NativeAuthCallbackPage.NativeAuthCallbackPage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 88, 56, 77, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/NativeAuthCallbackPage.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912324ba01cdb618fed93867e6fa0d0560723573d0df32828f911ef905567f4"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudUsageExport.save (cognitive 23): CloudUsageExport.save has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/CloudUsageExport.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f6a167c1b98163c0fe0b9574d98b9753903e8c1e155bfa53017690d57acfdc"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.application (cognitive 23): AppDelegate.application has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/TokenTrackerBarApp.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad41005473db2a606ce85b40f9da1eecd60802fb86f73cbfcf02179775d58a5"}},{"ruleId":"D2","level":"warning","message":{"text":"BotSpriteView.draw (cognitive 23): BotSpriteView.draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, loops 3, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/BotSpriteView.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5810620e0077c740e11ff2552b4f9d455e18dd0562540637f8fd868d4adb0ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"providerRoots (cognitive 23): providerRoots has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (7 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b4937ccf7c1f68e32614aaa8d0073cbcfb5d2410660d9c01cc8c70e1cab1d7"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeZcodeQuotaLimit (cognitive 23): normalizeZcodeQuotaLimit has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, ternaries 5, if/else 4, other 1. Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1d25e8971e5f75aaffe00e2938ea7b721322bd810dbf2bebb33abc9bdafe19"}},{"ruleId":"D2","level":"warning","message":{"text":"collectExpiringResourceCredits (cognitive 23): collectExpiringResourceCredits has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 2, ternaries 1 (2 pts), other 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae7c9a1000c93a84e71b0c46a504f90c2347e83515591de7963bbff9bbcab5"}},{"ruleId":"D2","level":"warning","message":{"text":"readWebpDimensions (cognitive 23): readWebpDimensions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cec077e0037fb9aec5c63cef00bcbc766e813af52d738686bf24e52e75440d"}},{"ruleId":"D2","level":"warning","message":{"text":"useCommunityStats::(anonymous)::run (cognitive 23): useCommunityStats::(anonymous)::run has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10, boolean chains 8, if/else 3 (4 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7650de2a48d6bfb28c0f93e2c4143f8bffdaaf2fc3d0f74c4acc8734106ace"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudUsageExport.Save (cognitive 22): CloudUsageExport.Save has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/CloudUsageExport.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5e0362df8f43599d01487bcc66c19a8b0ec29d07dd74617eac68b95f03e377"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableDownloader.DownloadNextChunkAsync (cognitive 22): ResumableDownloader.DownloadNextChunkAsync has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e3bac3308c0b4d410908d98c4f32eb0988bd6bf78881aa2e078c18a18061e"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateReleaseClient.ReadApiReleaseAsync (cognitive 22): UpdateReleaseClient.ReadApiReleaseAsync has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UpdateReleaseClient.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50ec6de87500a80b1a7bdf0aab01df6fa564b00e63590af860aaf5f809ccdb2"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveGitConfigPath (cognitive 22): rollout.resolveGitConfigPath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5165}}}],"partialFingerprints":{"codehealthFindingId/v1":"87145920ba7d0553e92a3b9850836a311e47e1b955edcd2828ca95987560a06f"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.collectQoderRuntimeModels (cognitive 22): rollout.collectQoderRuntimeModels has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (5 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7057}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64be4e99627af85a7c2ccc05c468e2f049b559d6c2f359935a37e1b118345ba"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.writeKiroCliCreditsSidecar (cognitive 22): rollout.writeKiroCliCreditsSidecar has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), error handling 2, loops 2, ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9411}}}],"partialFingerprints":{"codehealthFindingId/v1":"51552114134fde18068abd43baca7c84ad73422960b4bed53bccf215f8db0c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.scanClineSessionFiles (cognitive 22): rollout.scanClineSessionFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13069}}}],"partialFingerprints":{"codehealthFindingId/v1":"7895908eba5d07887b1f87d8585bebdb649cd17a5211d6cfc92d1367e9d9bdc8"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolvePiSessionFiles (cognitive 22): rollout.resolvePiSessionFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (5 pts), boolean chains 3, loops 3 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17434}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a2de60d105ad01d88eacc8282cbd95fecea9eb0a01c932410cc90039302340"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCopilotOtelPaths (cognitive 22): rollout.resolveCopilotOtelPaths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7866f18f204b0f40176b782676cdc7a8f8e88ba15f7657788af8a973a7c171d6"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.extractGrokTurnUsageEvents (cognitive 22): rollout.extractGrokTurnUsageEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a54a794abd358e2a24124b7b9b8c5c594411c86e7b109170635d770cf9818e"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readGrokUpdateTokenEvents (cognitive 22): rollout.readGrokUpdateTokenEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, error handling 3 (4 pts), ternaries 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2638385be7c099e57a3a46dcf83e44b0df3c119508864085cba6a15c2ce81a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"cli-ui.promptMenu (cognitive 22): cli-ui.promptMenu has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 92, rerender, a function literal at line 66, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cli-ui.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6767991f3f02eb41fb25e0d213e2a7790ff343ea8940e503c26c95b3d56d5f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"workbuddy-ipc.readWorkbuddyIpcDiscovery (cognitive 22): workbuddy-ipc.readWorkbuddyIpcDiscovery has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3328e386654ba5b30b44c04a6e200a81d02d8909eb0e925eb23880d4d29263c4"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.extractClaudeScopedWeekly (cognitive 22): usage-limits.extractClaudeScopedWeekly has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceef52bf4d23f62103561d7586323e76116c4e1dd377fc5e832877cd827b394"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.persistAntigravityCredentials (cognitive 22): usage-limits.persistAntigravityCredentials has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, ternaries 3 (4 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"75262ede9e7a6191ab4018fd7a22ba7045b3197fa4f132fc659dec2913491d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.createCodexDeliverySignalCollector.consume (cognitive 22): session-analytics.createCodexDeliverySignalCollector.consume has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"47544471049166903fe59b343947a3b761483a88f03e1ecf20514073a1ca1612"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.buildCodexCategoryFallbackFromQueue (cognitive 22): local-api.buildCodexCategoryFallbackFromQueue has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (8 pts), loops 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc989135497defcabbadff2e3532d81c158df04ddd0edf5abd2e0ed4e462e744"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.reincludeClaudeMemObserverFiles (cognitive 22): sync.reincludeClaudeMemObserverFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 4, loops 2 (3 pts) (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7764}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7666a0d35303ab8edd54d3f0316b0fad5ff8e7547774c32b5f2da0d890b4a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-daily.computeRowCost (cognitive 22): tokentracker-account-daily.computeRowCost has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, ternaries 3 (4 pts), if/else 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"3551a0a8ea9fc4139d2494d3d6f853dec76a65a320fa1de0283f7b368836c60a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-summary.computeRowCost (cognitive 22): tokentracker-account-summary.computeRowCost has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, ternaries 3 (4 pts), if/else 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f5784a8c8acf5038cc804fac6557005c4751c9e03430c7a2c3890dde985fab"}},{"ruleId":"D2","level":"warning","message":{"text":"copy-registry-plugin.parseCsv (cognitive 22): copy-registry-plugin.parseCsv has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/copy-registry-plugin.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c920c484e5ff6f7d416bb2c36202664d64eb726a1e79ed360bf5ff989238cf97"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarController.buildMenuBarDisplayValues (cognitive 22): StatusBarController.buildMenuBarDisplayValues has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38852da811837e2e846cde4a2dba5a63f29add3e6db5589e665eed53e99e3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"parseAntigravityCredentialPayload (cognitive 22): parseAntigravityCredentialPayload has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 4, error handling 2 (3 pts), other 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc37d22cb58968e679f77cc409e1fdc8657bd678746b056804fdb432be16dee"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodexDeliverySignalCollector.consume (cognitive 22): createCodexDeliverySignalCollector.consume has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81bacb2bc657061e11b27c1adb2b39f46b24f4541365a82f80a8823e62b154"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchAccountFunction (cognitive 22): fetchAccountFunction has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 6 (8 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94da34e89de8bfe9d9df2cfd29dca9b7216d51e75dc0766ea8f1b1442a12dde"}},{"ruleId":"D2","level":"warning","message":{"text":"ensureOpenclawSessionPluginPolicy (cognitive 22): ensureOpenclawSessionPluginPolicy has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"073d937c8a1a5f593f471ab1d3054c1ca68367eb65e6e08ef41ee352f4c52f50"}},{"ruleId":"D2","level":"warning","message":{"text":"computeStableMachineId (cognitive 22): computeStableMachineId has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 3 (6 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/machine-id.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ff8d79f8f77e429c416abe052ecb3ec219fc9dc9f0a467356ee8e129f446dc"}},{"ruleId":"D2","level":"warning","message":{"text":"UsagePoller.RefreshAsync (cognitive 21): UsagePoller.RefreshAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f6754253fcb075d1ed6c72e331a43bee1bfb5d96b5ab2f8f10568f206ac471"}},{"ruleId":"D2","level":"warning","message":{"text":"native-qa-server.installFileAndProcessGuards (cognitive 21): native-qa-server.installFileAndProcessGuards has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (7 pts), boolean chains 5, if/else 2 (4 pts), ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (allowed, a function literal at line 40, a function literal at line 57, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b3dad399b28ed2d98a2edbfd12450f44b9d8fe6390b8bbdee70ada2cf2f91"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenTrackerIndicator._refreshOnce (cognitive 21): TokenTrackerIndicator._refreshOnce has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 3, boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a23fc55f5b56ff7c664bf35ad03f05733d52b168fb4dac29cba268c8f4c893"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-config.readProtoFields (cognitive 21): cursor-config.readProtoFields has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ea2673f856fee6bd8dbf2c17c2cd8793d9a464e4c7a55d26e24dd5245b9fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.diffGeminiTotals (cognitive 21): rollout.diffGeminiTotals has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, if/else 4, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"63370b23f0c3ed81737c4b3e50b7e74d66064972f19e8e63a572167dd2c0abe9"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readOpencodeDbMessagesIncremental::appendRows (cognitive 21): rollout.readOpencodeDbMessagesIncremental::appendRows has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (8 pts), error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (rollout.readOpencodeDbMessagesIncremental::readCursorGeneration) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b482beaf2af1577eb73a5992f935396468753b5ae919c8105a2dd53a3f8194"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.normalizeGrokSessionSnapshots (cognitive 21): rollout.normalizeGrokSessionSnapshots has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0602b5a048e0c7daae836df2c12a322dad4dfa0d6f6b7da65ead662d27f00010"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resetAntigravityBucketsForRebuild (cognitive 21): rollout.resetAntigravityBucketsForRebuild has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f460e1becb1bee8623cd2a295303b12679f2d8319bacca88cd34a0080aeb0efd"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.findAntigravityProtoFields (cognitive 21): rollout.findAntigravityProtoFields has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9cef2e72f1d56ad0edd12113d4505be4f686bca8084529fabba45586537327"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readDshSessionSnapshot (cognitive 21): rollout.readDshSessionSnapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24985}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95eb23cc4bf0db04f754dc01eb1a5a6e1a5ec771cd3aee16bc5fb4b951e34cf"}},{"ruleId":"D2","level":"warning","message":{"text":"openclaw-cli.resolveOpenclawCommand (cognitive 21): openclaw-cli.resolveOpenclawCommand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-cli.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b379d818e7f1d5e2f93ea2feb66d4b5e59d4be1fd71f09f9fcf2122b9d1fe80"}},{"ruleId":"D2","level":"warning","message":{"text":"V2CursorStore.materializeAllCodexState (cognitive 21): V2CursorStore.materializeAllCodexState has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (13 pts), boolean chains 3, if/else 1 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd370dbe4815a82df46a6f58b10641330adc8565270d56539cd0e1ed8bdfd2e"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-context-breakdown.mapGrokToolName (cognitive 21): grok-context-breakdown.mapGrokToolName has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56c2505d2e3f4ab74320cea9ca061360f23f3fe24e1ecbd794cee054dab01fb"}},{"ruleId":"D2","level":"warning","message":{"text":"omp-session.listNestedJsonlSync::walk (cognitive 21): omp-session.listNestedJsonlSync::walk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"858411b914f34a5b75a329e4a58e7178eba7ffdf12c594d7938b8dcd8d9e1912"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.loadCodexTitleIndex (cognitive 21): session-analytics.loadCodexTitleIndex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b7cc73eeb24ab6f821a1bfec95a3cc942e1d515877dafa77c01fca69644457"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.buildDailyAggregates (cognitive 21): local-api.buildDailyAggregates has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (10 pts), loops 1 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8113111a981b652a1011a590dd9706f228182714807f41a270a49ca277f459bd"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-auth.isCommandAvailable (cognitive 21): browser-auth.isCommandAvailable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (7 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1cd10f3b885626f2f1853f5c3d0d2e2f56c6ebd4093843e59ae6b9e0f41864"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeQAProfile.requestApproval (cognitive 21): NativeQAProfile.requestApproval has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 7, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6da3d698a619739733d5a58a308530d698fb3e601b5d965afece7f30256e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardViewModel.buildTopModels (cognitive 21): DashboardViewModel.buildTopModels has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"665ea53d03f389b3d03c21084c253d1594757bb640145b202e22ff2f31ffc4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchGeminiLimits (cognitive 21): fetchGeminiLimits has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 2 (3 pts), error handling 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f81dbd28cc5e510a2c0dff536c7ae94c185ca65e3c8723aabbfe0e41f756fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeGrokBillingResponse (cognitive 21): normalizeGrokBillingResponse has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (9 pts), ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"288a9cec5fe7366819dbccdc66bdb3976339dea03f0eed494951c3ab30cace7c"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeManifest (cognitive 21): normalizeManifest has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 8, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950df7d7595f1f43c9a5bc33be243a1da51d9288cd2ee4a8971b5733ffb8b12"}},{"ruleId":"D2","level":"warning","message":{"text":"preloadLeaderboardDefaultState (cognitive 21): preloadLeaderboardDefaultState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, other 3, error handling 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eb9d6b33c6a3f206499b8557cd5d8e6b2f6ef6977c23a8dadd011235570b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-qa-auth.createRAMAuthBroker.acceptSession (cognitive 20): native-qa-auth.createRAMAuthBroker.acceptSession has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dad3f6b01f9e472f12b7941062f918e5df0a85b1f27295fb894e142ebd78ae"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.codebuddyJsonlHasUsage (cognitive 20): rollout.codebuddyJsonlHasUsage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, error handling 3 (5 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10656}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c3443f70ef122b8e26fbc29a2ae84ac6e02359d8ae9697ba55677a58dd1171"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCodebuddyProjectFiles::walkLogs (cognitive 20): rollout.resolveCodebuddyProjectFiles::walkLogs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.resolveCodebuddyProjectFiles) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10799}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac41f3d6b37f1b80f8ccb9f5332a07ae933192ea7fd4b477f2823f157f9466a"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveOpenSquillaDbPaths (cognitive 20): rollout.resolveOpenSquillaDbPaths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, ternaries 3 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8766d8f4bbef0461d50b453c678d8b544a4f51f172b389eb371d959d814da35c"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.scanOmpLikeTranscript (cognitive 20): rollout.scanOmpLikeTranscript has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 4 (7 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16973}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9c6c00e682c8cc6330eff3d1b552eac1d654c0025312a5f1079a376d330e66"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.coalesceCopilotDbStatesByIdentity (cognitive 20): rollout.coalesceCopilotDbStatesByIdentity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (5 pts), error handling 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd3f825ef3e88b897a702e1b8caf379b4c86e6554494b8fc0fc8b9799551f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.normalizeTraeCnSession (cognitive 20): rollout.normalizeTraeCnSession has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24123}}}],"partialFingerprints":{"codehealthFindingId/v1":"225a0eb7e4390c725f995862db1abbf6647896569616ded6422e7010c650b9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.isCompleteCommandCodeRecord (cognitive 20): rollout.isCompleteCommandCodeRecord has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26067}}}],"partialFingerprints":{"codehealthFindingId/v1":"06932eec984294713e00583e0c6b2483b6e8647380c450f1c0168366eb60ed28"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-packages.migrateLegacyCodexPets (cognitive 20): pet-packages.migrateLegacyCodexPets has cognitive complexity 20 (threshold 15). Drivers by points: error handling 6 (9 pts), if/else 5 (8 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcdd3db4ce747d0916884d8e95acb3d62874cd173d7a0fd7a827c3375289bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-limits.fetchGrokBilling (cognitive 20): grok-limits.fetchGrokBilling has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 3 (4 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"919c8a5ad24bd54d32c4de7399f4970479b057e110974eeed9b653d17aeace38"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-go-limits.scrapeOpencodeGoWeb (cognitive 20): opencode-go-limits.scrapeOpencodeGoWeb has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, error handling 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"771fc054984e00526605a49310b5406c9b08f2fa9ebc32d3f8ab1f3a4c2730e3"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.describeCopilotOtelStatus (cognitive 20): usage-limits.describeCopilotOtelStatus has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (6 pts), loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"673581e82e21dd8ca24b2d78ab3c70aecc7a8e0a8e9d9dc0a957ea7efff6fff2"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.fetchKiroLimits (cognitive 20): usage-limits.fetchKiroLimits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0125818a970db3c874a8380c3a9737bc10d0e4c1d771b98f6941ee6e27e2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.listAntigravityPorts (cognitive 20): usage-limits.listAntigravityPorts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7e7941b1eb6f45d0f936762489b89d3bec7d814569703bd07064e82ab7e36"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.scopeSessionUsage (cognitive 20): session-analytics.scopeSessionUsage has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (5 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ee8c559e55a3cca625c191a60a58b555b439932b75aed0d1f3f3f3bbf6f18"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.fetchPopularSkillsSh (cognitive 20): skills-manager.fetchPopularSkillsSh has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), loops 2 (3 pts), error handling 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9f0670aafdeb5be92eb57a47a1c92ab26673b7911e519f928ef52c3b84576"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler.handleLocalApi::aggregateEntries (cognitive 20): local-api.createLocalApiHandler.handleLocalApi::aggregateEntries has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (local-api.createLocalApiHandler.handleLocalApi) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b9c1c8dd04c7245b43e610fe98067d8ae0aebfcc92752e844e43799ef3c560"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.collectZcodeQueueLatest (cognitive 20): sync.collectZcodeQueueLatest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0562d84e2f97bfe0e35ad2d4250f0115c7c83291a93ccb9ade8f3591cebf8e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor.buildRuntimeChecks (cognitive 20): doctor.buildRuntimeChecks has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 9. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e1fa995cdf4533a6f9e0f5de8d4369c1110b7693c073fca80eecaf3d0c0678"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo.currentPeriod (cognitive 20): waffo.currentPeriod has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4 (nesting depth added 7). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 381). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d919883c77d5afb176631b923ed42fb04eb00be70691e8be6ee40ac798c3699e"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo.closeSingleUnpaidWaffoOrder (cognitive 20): waffo.closeSingleUnpaidWaffoOrder has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"d420bfbb8a6a39918690be04651e209ce36e63a5a29e2b3740a6e0a1dde425b7"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-community-models.default (cognitive 20): tokentracker-community-models.default has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10, if/else 5, boolean chains 4, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-community-models.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b09a065179612d25c1cb1bc9baabe1daff1fbc2d6bcc0aecf75e767dfe4cea"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-leaderboard-refresh.verifiedClaimsFromJwt (cognitive 20): tokentracker-leaderboard-refresh.verifiedClaimsFromJwt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c35a57735c1349b75a67ade0a685068dde1219f479535cec49488717c6a8fda"}},{"ruleId":"D2","level":"warning","message":{"text":"compare-visual-baselines.run (cognitive 20): compare-visual-baselines.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/compare-visual-baselines.mjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474806b8f0da354d606c85027e0d993b8375be987b393c2919fa9d5f110ef5a"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudContextualPrompt.CloudContextualPrompt (cognitive 20): CloudContextualPrompt.CloudContextualPrompt has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (6 pts), if/else 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 84, 91). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudContextualPrompt.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4cdb7d4addfa6b97dd359a814d86e2f1585c864b4b02c82557289cf345416f"}},{"ruleId":"D2","level":"warning","message":{"text":"limit-alerts.buildPredictiveLimitAlerts (cognitive 20): limit-alerts.buildPredictiveLimitAlerts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/limit-alerts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdc83bcd12d002ad3794f1f1bc841996fc2ac38df680a100f9c1d9b2b106d51"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsPanel.LimitBar (cognitive 20): UsageLimitsPanel.LimitBar has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 8, if/else 1 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa034de96cd83bf936cfe707643bca75f7106a1aedd2a0379cef6bc8dd111d92"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsPanel.ZcodeResetBankSection (cognitive 20): UsageLimitsPanel.ZcodeResetBankSection has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 5, if/else 2 (3 pts), loops 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 727, 784, 740). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6732f9f425ae2126dfc546a4cc54214568446174f131f8f203ebb32d0fefd1"}},{"ruleId":"D2","level":"warning","message":{"text":"AchievementBadge.AchievementBadge (cognitive 20): AchievementBadge.AchievementBadge has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementBadge.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ab6be72e6cb919d49f429e19d2cda71212d5974472f3cd281385ff0a327f0"}},{"ruleId":"D2","level":"warning","message":{"text":"model-breakdown.mergeSourcesByAlias (cognitive 20): model-breakdown.mergeSourcesByAlias has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bb8788ec2a27d418bd84b674cf8c7cc790d04a8a6544745b7a1d337a6b7048"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBreakdownPanel.ToolCallsExpanded (cognitive 20): ContextBreakdownPanel.ToolCallsExpanded has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, if/else 3, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 632, 646, 655). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b648f1fc6a6e1fca7116e1d2c80f8fddd4ec5e62bbbb062e5f525ad8df5d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnualReportCard.streak (cognitive 20): AnnualReportCard.streak has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43ba7ce8057453878780cf017e62cb65b89d36c4a26f6392638a51412d82bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DevicePage.DevicePage::onSubmit (cognitive 20): DevicePage.DevicePage::onSubmit has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 8, boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DevicePage.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"da50ebe9d01bd8da90e509504b1fc583c178e19eb55e84195da00df83b864a48"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappedPage.WrappedPage (cognitive 20): WrappedPage.WrappedPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 2. Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WrappedPage.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"120293666bff864fe42204de9a6333e53d75d6dbc5ec06ceefde066bac5d774d"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudSection.CloudRebuildControl (cognitive 20): CloudSection.CloudRebuildControl has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (5 pts), boolean chains 3, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (rebuild). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/CloudSection.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"da16fbc76b19d8d60f6b8dad3622f0c3ee94bae4b7e710bad79b592a71973ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudUsageExport.init (cognitive 20): CloudUsageExport.init has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 3 (4 pts), ternaries 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/CloudUsageExport.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc76ef64cd0e384210142265abfb176bd963f1825e8805d67d95fd9c66058d"}},{"ruleId":"D2","level":"warning","message":{"text":"FireworkOverlayView.body (cognitive 20): FireworkOverlayView.body has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 2, if/else 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ScreenConfettiOverlayController.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9931c8fbe94c46a1005320fde89781bb5edb9ed877c9bfa46117b59567d2d37b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsView.subscriptionByProvider (cognitive 20): UsageLimitsView.subscriptionByProvider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7f6d45cb8358965ae8107c9df18a78a886964f49a2fd07d17a2c7c0c390db3"}},{"ruleId":"D2","level":"warning","message":{"text":"getZonedParts (cognitive 20): getZonedParts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07f37dd648d7c82936211f3beab84f8dd0b8e137c461765535a7b146452d21a"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalApiHandler::currentCloudUploadFailure (cognitive 20): createLocalApiHandler::currentCloudUploadFailure has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"166aca250aefc8ee63f8d58c686191312ea6cb7092700c43c8d6546406ca25c8"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalApiHandler::getRuntime (cognitive 20): createLocalApiHandler::getRuntime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b07304af054c97d7b9d3abc722462a8a7127f0b7ef6a80f38146eac520ca4d"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalApiHandler::handleLocalApi::aggregateEntries (cognitive 20): createLocalApiHandler::handleLocalApi::aggregateEntries has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (8 pts), loops 1, other 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3597f551217b2bd59c9d6fb75af588d7765570d05264257bc515022e37169f"}},{"ruleId":"D2","level":"warning","message":{"text":"readZcodeLogSnapshotCache (cognitive 20): readZcodeLogSnapshotCache has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8536e45f2a443fd9504dd57009bb9b8fb7e189c8bc65a88714b8608d2ecc54"}},{"ruleId":"D2","level":"warning","message":{"text":"parseCursorCsv (cognitive 20): parseCursorCsv has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (6 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c97da5f9b03a02ed59eb3d69e94a01a76a34b1e08c15a3c37a311d869c3080"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeCachedData (cognitive 20): normalizeCachedData has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10, boolean chains 9, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c4c58a42900e12726dc8cb09cf59029a7390d4d3405784c412e839b01000d2"}},{"ruleId":"D2","level":"warning","message":{"text":"getOrCreateMachineId (cognitive 20): getOrCreateMachineId has cognitive complexity 20 (threshold 15). Drivers by points: error handling 5 (7 pts), if/else 5 (6 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/machine-id.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b909345112e8a04978011137873eb4972ec38bc015dc25dcc789482957a572"}},{"ruleId":"D2","level":"warning","message":{"text":"wsl-probe.discoverWslHome (cognitive 19): wsl-probe.discoverWslHome has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 3 (5 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b767c4ed52d02ccba2e7e361d7b89988880a4fd224e2eedc7553a5aa81b7362"}},{"ruleId":"D2","level":"warning","message":{"text":"trae-db.resolveTraeDbPaths (cognitive 19): trae-db.resolveTraeDbPaths has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 5, if/else 2 (4 pts), ternaries 3 (4 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-db.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8d5db646d4b8508dae2152247c13d24d67b20b68f3dd5da694f18d891f9abd"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-login.createCursorLogin.finishPoll (cognitive 19): cursor-login.createCursorLogin.finishPoll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-login.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc541ef0eb9ba6778a01a7b2d9984ffe37a410fa8e311771361840ca2323f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-config.decodeCursorSandUsageStatus (cognitive 19): cursor-config.decodeCursorSandUsageStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178060721ab9f48e588cf313382171e02137a0ab54fc684823beca7e5fc8fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.listRolloutDayFiles (cognitive 19): rollout.listRolloutDayFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533d6f73d5ce19a1e8f9dc590ecb49abca625844cc6fbffd9d4d1ba5677932f"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.activeCodexRolloutDates (cognitive 19): rollout.activeCodexRolloutDates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"855a4bed2e300c4f0d2face400ffff93e50d1e3ccd7e927a2b4aa7d252457545"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.enqueueTouchedProjectBuckets (cognitive 19): rollout.enqueueTouchedProjectBuckets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3983}}}],"partialFingerprints":{"codehealthFindingId/v1":"2870aad7bb6c6e41ecf4ba062fd3fd1cd3a142e7dd3892d79759c6fc62caaaa6"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readOpencodeDbMessagesIncremental::readCursorGeneration (cognitive 19): rollout.readOpencodeDbMessagesIncremental::readCursorGeneration has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.readOpencodeDbMessagesIncremental::appendRows) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5798}}}],"partialFingerprints":{"codehealthFindingId/v1":"55230f561297de4809df50eccd5218e812c7856b9cca3b4c4a05e1129cca38b1"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveClaudeScienceDbPaths (cognitive 19): rollout.resolveClaudeScienceDbPaths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f76e28e253336f54129434804b20fe2823cf2124b475b2823c347c8b6819713"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.findDshJsonProperty (cognitive 19): rollout.findDshJsonProperty has cognitive complexity 19 (threshold 15). Drivers by points: if/else 21 (39 pts), loops 5 (6 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.findDshJsonProperty::valueEnd) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08938aada2f0e6fe4a1fccfd597b1ef0335aa8872b7f9f13f8f0af85f095eed"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.extractExecCommands (cognitive 19): claude-categorizer.extractExecCommands has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (7 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afca76c227113a9e7187ea8d35bec4f7845d6d66495c2769eb88d719db2b81f"}},{"ruleId":"D2","level":"warning","message":{"text":"V2CursorStore.materializeAllOpencodeState (cognitive 19): V2CursorStore.materializeAllOpencodeState has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 2 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f521d9debccfe178c8fc326628b0d88407d37e7dea78bad0d99a3537c2f24beb"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-store.openCursorStore (cognitive 19): cursor-store.openCursorStore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff6be7f00432fad8a47adec11ce84577bc8c172b185d4e6731a5438eb6c005"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile::attributeTurn (cognitive 19): codex-rollout-parser.parseCodexRolloutFile::attributeTurn has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 5, ternaries 3, boolean chains 2 (nesting depth added 4). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: 3 other methods here (codex-rollout-parser.parseCodexRolloutFile, codex-rollout-parser.parseCodexRolloutFile::recordModelUsage, codex-rollout-parser.parseCodexRolloutFile::getExecKeys) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"267817116b7aff71e22d63d59a06d0a1fd0f55b367e4e163117cef5e33db69e4"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-packages.readZipEntries (cognitive 19): pet-packages.readZipEntries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 5, error handling 1, ternaries 1. Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 203, 243, 196, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"74774448486a7a3ef61fd7be22531951e0405fa79fa594b9be23d8d5242f9b62"}},{"ruleId":"D2","level":"warning","message":{"text":"limits-cache.withLimitsCacheFallback (cognitive 19): limits-cache.withLimitsCacheFallback has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55bc67a11c35406c2291b48fcee1e4d89f64d7bed488d827b93fb62bfa3d0ea"}},{"ruleId":"D2","level":"warning","message":{"text":"workbuddy-limits.fetchPlanQuota (cognitive 19): workbuddy-limits.fetchPlanQuota has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 3 (5 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 741). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bee67cb57b8b607afd557e53d935c0e644353d4182dcbb30826ab14cadfc77"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.fetchClaudeUsageLimits (cognitive 19): usage-limits.fetchClaudeUsageLimits has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"be87f79126480ef244324a0b01b0e865355c9a1cb8f2e8a8be321857fc2c6301"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.resolveCopilotAuthDbTokenFromRows (cognitive 19): usage-limits.resolveCopilotAuthDbTokenFromRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (usage-limits.resolveCopilotAuthDbTokenFromRowsAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c57fa92e19577308f03b60fee48be9894628a0243eeec430b1fb0dd1a5486b"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.resolveCopilotAuthDbTokenFromRowsAsync (cognitive 19): usage-limits.resolveCopilotAuthDbTokenFromRowsAsync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (usage-limits.resolveCopilotAuthDbTokenFromRows) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ab8ec3f6150b4588d97bd043f53f641006970f4a3f2e7f729c3f9ce7924155"}},{"ruleId":"D2","level":"warning","message":{"text":"context-health.computeContextHealth (cognitive 19): context-health.computeContextHealth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/context-health.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddccb0f2eae432c65c241817e0aa0c2b7f879ee28d7539db84f3ac907dbf29ee"}},{"ruleId":"D2","level":"warning","message":{"text":"status.formatSubscriptionLine (cognitive 19): status.formatSubscriptionLine has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 7, if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f99980eb214e2ab3e6db4c7172877b4bc85a391ad357689d76c2dbff9b18b56"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-flow-poll.default (cognitive 19): tokentracker-device-flow-poll.default has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 2 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-poll.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797f498be7f8fe7f986c1b64fb691c9b3fcd9b627aea22ad4b7b5fcdbb3682d"}},{"ruleId":"D2","level":"warning","message":{"text":"Badge3DCoin.Badge3DCoin (cognitive 19): Badge3DCoin.Badge3DCoin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (onPointerMove, onPointerEnd, onKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/Badge3DCoin.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd462b1b8337b1f0acd708d21939f3ad8c508779daee57e177940c77f1d2f3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.fillMonthlyGaps (cognitive 19): use-trend-data.fillMonthlyGaps has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (7 pts), boolean chains 6, if/else 4 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd8d7791fecf0cc9067f2b757bc568eb849e1e1b616f5f257fa83dfd6daf080"}},{"ruleId":"D2","level":"warning","message":{"text":"RedeemProCode.RedeemProCode::perform (cognitive 19): RedeemProCode.RedeemProCode::perform has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RedeemProCode.RedeemProCode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd82278c3b6d064706c625bfb46fbaef44938bc7935b6fe6ea404d3e30aaec4"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-usage-export.fetchCloudUsageExport (cognitive 19): cloud-usage-export.fetchCloudUsageExport has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, ternaries 2, loops 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-usage-export.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6641a056dd539a101161f775f395da0ccf9323bac863c313f062aae22622df6a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalDataSection.LocalDataSection (cognitive 19): LocalDataSection.LocalDataSection has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5, error handling 3, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (run, a function literal at line 67, a function literal at line 89, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"754508c4c93007116faa5e91e18ce0775e002f63d41796ce9237032fef4086ec"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker_linux::start_health_monitor (cognitive 19): tokentracker_linux::start_health_monitor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/main.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f23dde94386b2de3bf0947cadda2602d543408ffe93d2f6cfe8ee9c1797d0b6"}},{"ruleId":"D2","level":"warning","message":{"text":"mainUsageHourTotalsFromState (cognitive 19): mainUsageHourTotalsFromState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (7 pts), if/else 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96bbf8e64a9933722b61e7b314c74f1df0ea8b6019bc3522d15a75d5958b964"}},{"ruleId":"D2","level":"warning","message":{"text":"codexSparkFallbackCandidates (cognitive 19): codexSparkFallbackCandidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0fae8a170c0e4c7001fa2fa0f4fc8d202c15269a319c31ec00899bfe9ee0a"}},{"ruleId":"D2","level":"warning","message":{"text":"handleLocalApi::aggregateByDay (cognitive 19): handleLocalApi::aggregateByDay has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f52738ab7fe0b91c7e0b927fa850a450d962d30428cc298bcd09bbc5bb6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchVariant (cognitive 19): fetchVariant has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 3, error handling 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"065db3d9bd09f7aa9fa018391ef1ac91889a92a641a1c84a60ae2a8587b3545d"}},{"ruleId":"D2","level":"warning","message":{"text":"loadGrokAuthEntry (cognitive 19): loadGrokAuthEntry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fcd5dd0d07a95ff90819ccfc0a32cb08c30fd82d0a80053fb4dcd910660ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"upsertNotify (cognitive 19): upsertNotify has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (nesting depth added 7). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2038624e56006a852e28a16ca0aa8faa79f40384541604a7f056aa2560b2741"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregateSessionStates (cognitive 19): aggregateSessionStates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (3 pts), other 2, ternaries 2 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c77f897e63138f744f9642233a827853b0f1792a1a349183ef0aba2a43f09e"}},{"ruleId":"D2","level":"warning","message":{"text":"pickLegacyRow (cognitive 19): pickLegacyRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, other 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa94183bf930cbbc326e1f578e7ae4e7cb64b1601d7b3738acf1d77c85b28803"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizeOutcome (cognitive 19): sanitizeOutcome has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 3, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18fb852732a25db14a218e586ddf833f0e6bbb2b71d98eac88495e5aa054134"}},{"ruleId":"D2","level":"warning","message":{"text":"detectPassiveProviders (cognitive 19): detectPassiveProviders has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 16, other 3. Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (logsPredicate, logsPredicate, logsPredicate, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/passive-mode.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd80466c82e3507422a2129ba0a9f0a1375a338727da924f1705008405444498"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.sameOpenclawFileGeneration (cognitive 18): rollout.sameOpenclawFileGeneration has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, if/else 3 (4 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d741aedd051a25214da7fcf356db4eec6594ae3e4ef2d663f0a25e600a1fb45"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.normalizeQoderNewTokens (cognitive 18): rollout.normalizeQoderNewTokens has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 2 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d116e9eba49d94a074adea697b4bad2ce31b7d775069b61023e8eb512aa6d952"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.buildKiroModelTimeline (cognitive 18): rollout.buildKiroModelTimeline has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df3e7cb1ba8dde6501a0dca638fd707b80a436d50667af8dee111c3e209b04d"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveZedDbPath (cognitive 18): rollout.resolveZedDbPath has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 3 (6 pts), if/else 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13473}}}],"partialFingerprints":{"codehealthFindingId/v1":"94838d5b0758816f16c77f8f1303dcf67a7856375ab6a9f11eed6eb6e5fb76ed"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.copilotOtelCursorHasLegacyCliUsage (cognitive 18): rollout.copilotOtelCursorHasLegacyCliUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 1 (2 pts), ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19501}}}],"partialFingerprints":{"codehealthFindingId/v1":"03943136d0a6df48286a750b5f3e0bbb5d9ad0ddad5f9b0a9b1d3527c251a947"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.clearSourceHourlyBuckets (cognitive 18): rollout.clearSourceHourlyBuckets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9124b2100d4d47fe14cc0d90617a325777fe07496a1484f1c23a49faccf78c17"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-config.hasHook (cognitive 18): claude-config.hasHook has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c310e24299a04a47dc717639c5a1077c3b4e3a93339bd1da9dcb967ed01a55"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.isConservativeRangeCandidate (cognitive 18): codex-rollout-parser.isConservativeRangeCandidate has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 6. Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f92541770cec95d16004a87b56818993661733701db726fb1cb851ab3a5253c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile::recordModelUsage (cognitive 18): codex-rollout-parser.parseCodexRolloutFile::recordModelUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 3 other methods here (codex-rollout-parser.parseCodexRolloutFile, codex-rollout-parser.parseCodexRolloutFile::getExecKeys, codex-rollout-parser.parseCodexRolloutFile::attributeTurn) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7876ae12d96adb2ad3171384087c754a3667045fba718918329bea332f0fbac"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-context-breakdown.discoverGrokSessionFiles (cognitive 18): grok-context-breakdown.discoverGrokSessionFiles has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a9efc06f010f8adc384f1d53411c008f27c2b598586ce073ed0b5c57d9eb31"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-token-refresh.refreshCodexTokens (cognitive 18): codex-token-refresh.refreshCodexTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 1 (2 pts), ternaries 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-refresh.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57a0114f09fef0e43ace748df62f84d53c64c0a0c0abe32b0a4594921584def"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-go-limits.parseDataSlotFormat (cognitive 18): opencode-go-limits.parseDataSlotFormat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e302a13f7c706c2ca0d611bd971f3a6b55d0a5b596a05d8232cff8803a74ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"qoder-limits.listRecentQoderLogs (cognitive 18): qoder-limits.listRecentQoderLogs has cognitive complexity 18 (threshold 15). Drivers by points: error handling 2 (6 pts), if/else 3 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"819617b6806d34a7f1e6ca84871c801808cb620e865a9547e1aea902d99e87a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ark-coding-plan-limits.normalizeArkCodingPlanResponse (cognitive 18): ark-coding-plan-limits.normalizeArkCodingPlanResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a33e53be1b401e7863d8fabdd4ddfdc94c66697cda513ff6d0e34c29e0e51"}},{"ruleId":"D2","level":"warning","message":{"text":"ark-agent-plan-limits.normalizeArkAgentPlanResponse (cognitive 18): ark-agent-plan-limits.normalizeArkAgentPlanResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a3e2ffbbb09fe88d31b4dce4fa58fe8b370dbf07ed9b3c2f1f15ee20b69521"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.normalizeAntigravityResponse (cognitive 18): usage-limits.normalizeAntigravityResponse has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8, boolean chains 5, if/else 5. Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d72b296b910c58617357f57f68c0295de4f07e26398aaefea08150e57cad2b"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.mergeCopilotAppDbStates (cognitive 18): sync.mergeCopilotAppDbStates has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0473ea20f1a0e30e48ab979fbd74d23f0ed50e20ae04e344c0f1976bbf4d419"}},{"ruleId":"D2","level":"warning","message":{"text":"status.formatResolvedPaths (cognitive 18): status.formatResolvedPaths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (4 pts), ternaries 2 (3 pts), loops 2 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a77e17622edd7487d25536d2c4ef69e646c2b19a9792467520816c4fb718c7"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-daily.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-daily.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc59e7ce46d8e785b020a15ab9286795da04c04017d6421616dbd8a628d279d5"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-devices.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-devices.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63a94f9c5da57920950f701e415e6dc926e8e6865007d03b92cc9e52ae77fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-heatmap.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-heatmap.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6b3f1f7337ee1a101c710893c1b24a902f3867a0b02ef100b7e469fd55109a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-hourly.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-hourly.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e344fb034a95a2728296dd7956d3581de8a702318b3bbdd53f22a68adb12b"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-model-breakdown.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-model-breakdown.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a6cc3e1da3f576aaa9b3c6d4f1f733abe8086711174d5130e9fd4b1ea3f6ce"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-monthly.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-monthly.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"098fd18c7dcb1b440671890ec90573a87e9004dcc797ddfc0f48e764d53043f8"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-account-summary.verifiedUserIdFromJwt (cognitive 18): tokentracker-account-summary.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc7fb9fa3db7ec0f88f31f1a81bd5f78ac95314790f0ba27d349d8b892744f0"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-rename.verifiedUserIdFromJwt (cognitive 18): tokentracker-device-rename.verifiedUserIdFromJwt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27ff1892648eb704b383a501196e04dfddf27558d5495a778ed512ea5619c50"}},{"ruleId":"D2","level":"warning","message":{"text":"api.cachedAccountJsonGet (cognitive 18): api.cachedAccountJsonGet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 96). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4b6a8048d7cd9b1c2fb39b32ca2d04b93fd9cbf3dad00828a45176293aca28"}},{"ruleId":"D2","level":"warning","message":{"text":"build-share-card-data.buildShareCardData (cognitive 18): build-share-card-data.buildShareCardData has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (9 pts) (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/build-share-card-data.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb6d6eab09f42719cf8bc05b293393770fba23cf23c9bad24e277fe9dd3b799"}},{"ruleId":"D2","level":"warning","message":{"text":"BotEngine.sample (cognitive 18): BotEngine.sample has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8, if/else 4 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"935fb32fc5f128474d0c4c4fd4c314a29398b1e35484231549bd0fd5d8f732dc"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicIslandController.islandScreenHasFullscreenWindow (cognitive 18): DynamicIslandController.islandScreenHasFullscreenWindow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DynamicIslandController.swift"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d6b4573809a24e8e48ac403ea2888047c365f28048defda198a541a76609a"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker_linux::server::reap_orphaned_servers (cognitive 18): tokentracker_linux::server::reap_orphaned_servers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/server.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf153de4c4090c5cbbc79d72dd1710d63b9a8933d847080752e12c5cd5bec7c"}},{"ruleId":"D2","level":"warning","message":{"text":"runSyncCommand (cognitive 18): runSyncCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 2, other 1. None of this is in the body itself: all 18 points belong to 7 function items inside it that branch (a function literal at line 885, a function literal at line 927, (anonymous)::finish, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b58f8a03c814b4be6588503c62996a775374d0ce0f1e8278754e4e5eb4dd162"}},{"ruleId":"D2","level":"warning","message":{"text":"openWorkbuddyIpc::(anonymous)::onPacket (cognitive 18): openWorkbuddyIpc::(anonymous)::onPacket has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deb8765fe2ec25340bae1c9435e1c72fe57e99ad98d5ac953e8edc3900b5759"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerManager.StartServerOnceAsync (cognitive 17): ServerManager.StartServerOnceAsync has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb353ac25b59eb7b22060ba6fae252fe8e7bab64ec7de6b240dceb747e63c63"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerManager.StartDirectSync (cognitive 17): ServerManager.StartDirectSync has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c757c120a21f040a1d4b3039554d83b8301a1791cc7ec232a46aa02fd48099"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-model-attribution.applyCodexModelEvent (cognitive 17): codex-model-attribution.applyCodexModelEvent has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-model-attribution.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0080e046f2f26293ebcffdff0240519e55b1894878cbbd632f342ed70bfeea62"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.buildProjectFileContext (cognitive 17): rollout.buildProjectFileContext has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4886}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9c8181dbb06285abca4abad00b223f82fad87cae4329109900f32f351c011b"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCraftSessionFiles (cognitive 17): rollout.resolveCraftSessionFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18143}}}],"partialFingerprints":{"codehealthFindingId/v1":"017107534e4e7917a543e7cc7852e8dbcfdbe3d3b4c1a819e7988c98edbcc1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.isCompleteDshJsonLine::parseString (cognitive 17): rollout.isCompleteDshJsonLine::parseString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (rollout.isCompleteDshJsonLine::parseNumber, rollout.isCompleteDshJsonLine::parseValue) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa6b29e7a09d9c6a5d7021fce27cdc37e840bd06442ef34aa9fcf601983c412"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-categorizer.computeClaudeCategoryBreakdown (cognitive 17): claude-categorizer.computeClaudeCategoryBreakdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 3, error handling 1, ternaries 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ecd6697d9c33e066458d4263f77ee7ebcdc7414a85b3a06d0aac3f7e6edcb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-rollout-parser.parseCodexRolloutFile::getExecKeys (cognitive 17): codex-rollout-parser.parseCodexRolloutFile::getExecKeys has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (codex-rollout-parser.parseCodexRolloutFile, codex-rollout-parser.parseCodexRolloutFile::recordModelUsage, codex-rollout-parser.parseCodexRolloutFile::attributeTurn) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bc6d241a5870da26c48b54d0b801a2502f565b4298e408dd395e25eac29c71"}},{"ruleId":"D2","level":"warning","message":{"text":"local-usage-transfer.createLocalUsageTransfer.ownRows (cognitive 17): local-usage-transfer.createLocalUsageTransfer.ownRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae724ef713ce48150ece9e8685ea13ff8864ac6a0ea2b91efde44d63c4a8917"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-status.parseOpenCodeStatusPayload (cognitive 17): opencode-status.parseOpenCodeStatusPayload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-status.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"188f0e188ea2e7a7dcef83921477a408e8bfe04c6fc2a7729d60daeed8e30b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-limits.normalizeGrokProductUsage (cognitive 17): grok-limits.normalizeGrokProductUsage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02ecc87eb7c83dc4e4c23f0f575c63339f4e6284c52146d8240627b1cda8f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"zcode-limits.fetchZcodeBilling (cognitive 17): zcode-limits.fetchZcodeBilling has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66700bf920e01005c9b10fe96bc9ffaff2eaebb2333fa6a54f71a384bf6c58e"}},{"ruleId":"D2","level":"warning","message":{"text":"session-performance.createClaudePerformanceCollector.finish (cognitive 17): session-performance.createClaudePerformanceCollector.finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfa766e25090f6b4a32155f8eb7ddf41dd1167081e8767a69d50831402252c"}},{"ruleId":"D2","level":"warning","message":{"text":"session-analytics.analyticsEntryStatKey (cognitive 17): session-analytics.analyticsEntryStatKey has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 2 (3 pts) (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46a2fb04758a38369ad98ea408007e450a632c904e383b1753e56e96afbed5"}},{"ruleId":"D2","level":"warning","message":{"text":"context-health.walkNamedFiles (cognitive 17): context-health.walkNamedFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/context-health.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4701054678f470023bc1e336108e7a27beccf8f7b32192dca1d76d245884b5"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.scanClaudeProjects (cognitive 17): local-api.scanClaudeProjects has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"de684b6be7ffc39189681571cd93d49d516019d618496f1de07da10c98afea34"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler (cognitive 17): local-api.createLocalApiHandler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 116 (161 pts), boolean chains 81, ternaries 23 (31 pts), error handling 15, loops 8 (11 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (local-api.createLocalApiHandler::captureSetCookies, local-api.createLocalApiHandler::tryServeAccountView, local-api.createLocalApiHandler::buildRelayCookieHeader) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01e52cd9bbb887da7229f88d75fba25ba78382de0f1eb923470011ccdf0440b"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.normalizeIsoOrEpoch (cognitive 17): sync.normalizeIsoOrEpoch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15093e907dd46ad78dd70e5e02294d588d7cd2d2bfcc27914c400bc8c57182"}},{"ruleId":"D2","level":"warning","message":{"text":"wrapped.renderAscii (cognitive 17): wrapped.renderAscii has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 6 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/wrapped.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdb0f81b0eb03c976383e0ef3b68bdfbd87262d9e6fe586d08aea7c9001da52"}},{"ruleId":"D2","level":"warning","message":{"text":"waffo.confirmExpiredUnusedWaffoCheckout (cognitive 17): waffo.confirmExpiredUnusedWaffoCheckout has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a29dc3e47625824c86f3d8b7ed860c0f9f51272e26a3ecf60837bfd72201eb"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-paddle-webhook.default (cognitive 17): tokentracker-paddle-webhook.default has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-paddle-webhook.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecda39cbcc95c53fe0483371b80a942891fb93776d1128ba82fb4a33823b3a50"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-user-badges-refresh.default (cognitive 17): tokentracker-user-badges-refresh.default has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 6, boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-user-badges-refresh.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1ac60bc2c9f96974ec1ec44cb3850b00742f800323ef315669b4faf2c97870"}},{"ruleId":"D2","level":"warning","message":{"text":"format.formatUsdCurrency (cognitive 17): format.formatUsdCurrency has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6845e412997c6e0819c508c2d5646083809b1294287dff618007f27d5ddfd17"}},{"ruleId":"D2","level":"warning","message":{"text":"mock-data.buildDailyRows (cognitive 17): mock-data.buildDailyRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ad3946e501fc34b93b4d23f55de9449858e41a0b0648a35cc6e780ead41745"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-sync.rebuildCloudDeviceUsage (cognitive 17): cloud-sync.rebuildCloudDeviceUsage has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73dbcb6c564bbf4d4f7984cc0c81ee399afceaa9bf5e4a16756a3f5cd517b09"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.MobileDrawer (cognitive 17): Sidebar.MobileDrawer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 464, 490, 456, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Sidebar.jsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e5100288d490fef331ea1c22370c5ce89b3f307850f3508997aaa99805b5b1"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaderboardSummaryCard.LeaderboardMeChip (cognitive 17): LeaderboardSummaryCard.LeaderboardMeChip has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LeaderboardSummaryCard.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a7b428086086eb017d264144464fd23bb3b1ffcc63c208c61e158c1e0352c6"}},{"ruleId":"D2","level":"warning","message":{"text":"detail-sort.compareIntLike (cognitive 17): detail-sort.compareIntLike has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb5e78672c6dc139d4f8160d6455eb411d8c51094d99f6702995d217fcb7cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"BotAnimated.BotAnimated (cognitive 17): BotAnimated.BotAnimated has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8, if/else 5, boolean chains 4. Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 144, a function literal at line 164, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c53db195b165eabf429f34d2af64c4b9794d6ad3ad077331769c2e616704fe"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsView.body (cognitive 17): UsageLimitsView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e529555035d6854ece31f7663cd5c3b81cd1c8b80c429b93723bd222e8cfa3"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker_linux::pet::start_overlay_drag (cognitive 17): tokentracker_linux::pet::start_overlay_drag has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/pet.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c56ef6dcca40f5777098643d26d2cea99caea0e26794b92fb277b180eb41ae"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveZcodeDbRebuildFloorMs (cognitive 17): resolveZcodeDbRebuildFloorMs has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 3 (4 pts), error handling 2 (3 pts), boolean chains 1, loops 1, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5067}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b41c51afc63257bfbddf1e25567a84dba724b2f9ebb16a22e45f548c3115352"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeAntigravityQuotaSummary (cognitive 17): normalizeAntigravityQuotaSummary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, loops 2 (3 pts), ternaries 3 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef63874dc70e11c882f4de9cbc6acb4cb015ad8876dbab6cdc38a4ea011cf75"}},{"ruleId":"D2","level":"warning","message":{"text":"buildSessionBrowserFacets (cognitive 17): buildSessionBrowserFacets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e856bd7fefeb60c6576d1a2dc91214f5cf034ae19bdffafbf9176b7c861ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"isGenerationMetadata (cognitive 17): isGenerationMetadata has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 15, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23110823cc710cc739f3671e263635b331123fc77c46eaf402efc33c9a13b91"}},{"ruleId":"D2","level":"warning","message":{"text":"opencodeStateForNamespace (cognitive 17): opencodeStateForNamespace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f452a7c175eb07de2f76550519ad7d9dc357c48ceb78738f98acbd99742994a4"}},{"ruleId":"D2","level":"warning","message":{"text":"validateProjectSummary (cognitive 17): validateProjectSummary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c988c83af6cde341e856eb2d8fd3f6d0d73f7198ec2c55da9424531ec2d48a"}},{"ruleId":"D2","level":"warning","message":{"text":"importLocalSkill (cognitive 17): importLocalSkill has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a204bbe541d8e27edd2232fae9e6d55a1a82788765062207c45b70218d60709b"}},{"ruleId":"D2","level":"warning","message":{"text":"localDataApiPlugin.configureServer (cognitive 17): localDataApiPlugin.configureServer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 4). None of this is in the body itself: all 17 points belong to 3 function literals inside it that branch (lines 1231, 1279, 1285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c337ac92e559665909b55fe27acfe22e31d176292cecc9262e0c8c189ce3240"}},{"ruleId":"D2","level":"warning","message":{"text":"dayKeyFromIso (cognitive 17): dayKeyFromIso has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"854d43ac10ae63d049e25275471b5f2a15f970f85cddc699c7185285343e658b"}},{"ruleId":"D2","level":"warning","message":{"text":"openValidatedResumeFile (cognitive 17): openValidatedResumeFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, error handling 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a773f3a152d00d4a2f007bf99010fc103df54283d9f9f4741f5f4dc0ba99c"}},{"ruleId":"D2","level":"warning","message":{"text":"createLocalUsageTransfer.ownRows (cognitive 17): createLocalUsageTransfer.ownRows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0630ac2a392260df3c733c4d492a48a77a3b66c3d94e47e51476ff6f910358"}},{"ruleId":"D2","level":"warning","message":{"text":"publishCloudPromptBilling (cognitive 17): publishCloudPromptBilling has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 2 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90d256c97a4a7d0d0fe74bd745f2f3e33bce497501b4b7c811288a28eaf717d"}},{"ruleId":"D2","level":"warning","message":{"text":"createClaudePerformanceCollector.finish (cognitive 17): createClaudePerformanceCollector.finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8733b3213bb7b6b1923a487dc985150ad30ccd6a1c71560c3a095d898b365b23"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaWidgetWindow.ReceiveMessage (cognitive 16): QuotaWidgetWindow.ReceiveMessage has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6ba9a03bd8fe6074ca6844422729db9162b1ad98af5ce1fd5da3be493fde20"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.isProjectFileContextFresh (cognitive 16): rollout.isProjectFileContextFresh has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, ternaries 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4914}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e0813834315bbd9575493cb2fa4a5f63c5ac212fa3b59f49aea3bbb49c72e0"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.clampAndCapKiroCliState (cognitive 16): rollout.clampAndCapKiroCliState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, loops 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9989}}}],"partialFingerprints":{"codehealthFindingId/v1":"e528a1d4eb3cdd0b680e89a01bd78e6e9bdab838a0ada68b3d6074ebbe78a051"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveCodebuddyProjectFiles (cognitive 16): rollout.resolveCodebuddyProjectFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (34 pts), error handling 4 (14 pts), boolean chains 10, loops 3 (6 pts), ternaries 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (rollout.resolveCodebuddyProjectFiles::walkLogs) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10740}}}],"partialFingerprints":{"codehealthFindingId/v1":"546c5c438f380f7e41ce2c54bbeb106645e56e9bd45c8035ecd0f6292a78a158"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.lmstudioBalancedObjectEnd (cognitive 16): rollout.lmstudioBalancedObjectEnd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13900}}}],"partialFingerprints":{"codehealthFindingId/v1":"bead01be0c62f68fa653b18fce6b647f6beee28f34c1759886cb8a9aea0a4ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.extractDroidModelFromSidecarJsonl (cognitive 16): rollout.extractDroidModelFromSidecarJsonl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaa49029e58c6ddcbfe39512777328a0467d5597ca13a86ecc62994ba1920b2"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.resolveGrokBuildSessions (cognitive 16): rollout.resolveGrokBuildSessions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1faddb0e3bc192e5acb8449b7ef25cf0e67862ab61ea280692f227f6a36776f7"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.grokTimestampToIso (cognitive 16): rollout.grokTimestampToIso has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6436786ca5dac159e4e67698fc75b29a3c6b65d728eb4bcdf6a72f9256b2deb1"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.listAntigravitySessionFilesWithStatus (cognitive 16): rollout.listAntigravitySessionFilesWithStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd36e05155e0caa2b7b85e0d6ececb7751f1e2159c8d26fb98fe68f07bdd621b"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.decodeAntigravityVarint (cognitive 16): rollout.decodeAntigravityVarint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23081}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a7d79d41e35061236ced9f758b095e3fab0af03ca5f69449a5876e231257db"}},{"ruleId":"D2","level":"warning","message":{"text":"rollout.readAntigravityConversationDb (cognitive 16): rollout.readAntigravityConversationDb has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7fbff14bd1afc7e30e9149337a80d8caee726ee164cf04275ed29dc06494b"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-config.removeClaudeHooks (cognitive 16): claude-config.removeClaudeHooks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7485f7cb7ea0004a7f402d9137660c38a6dce88306216d41bb4ad4332300ab"}},{"ruleId":"D2","level":"warning","message":{"text":"init.cmdInit (cognitive 16): init.cmdInit has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), error handling 2, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a873a1585fd6a47d72e76536ec25fa4940ad96a96c059f82aa283f692bd7332"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-usage-reset.resetCloudDeviceUsage (cognitive 16): cloud-usage-reset.resetCloudDeviceUsage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-usage-reset.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3418ea1087846848e6f9b255eb1ae51327cf31b89b55500d7e0870a796d72804"}},{"ruleId":"D2","level":"warning","message":{"text":"V2CursorStore.loadCodexFilesForPaths (cognitive 16): V2CursorStore.loadCodexFilesForPaths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (5 pts), loops 3 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"332e68d60204d023d3f9832b244dd48e54c3c1342d2310d067420ae193d6ede8"}},{"ruleId":"D2","level":"warning","message":{"text":"accept-encoding.parseAcceptEncoding (cognitive 16): accept-encoding.parseAcceptEncoding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/accept-encoding.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5796f3d5903817cba49a4be363b0f238f0ba07efbd296eda09cfd2b5b9b8b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.computeModelPricingInfo (cognitive 16): index.computeModelPricingInfo has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 6, if/else 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8cd6c9758910472edb442c18029177238da07f5d081a9fa330c87a802c7b97"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-context-breakdown.selectAppendHashPaths (cognitive 16): codex-context-breakdown.selectAppendHashPaths has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (6 pts), loops 1, ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0310ef39612243fb4e0dbfd33fe112b203d3e3d39d9c6938dbbca0c4916d12"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-context-breakdown.timestampToIso (cognitive 16): grok-context-breakdown.timestampToIso has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f390b3b422cd95d9158f01746a7736b92fb6610342ed0fba44d2734fa9df892"}},{"ruleId":"D2","level":"warning","message":{"text":"workbuddy-limits.fetchVariantLive (cognitive 16): workbuddy-limits.fetchVariantLive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"e669204cea4c834952d29105a87aba6a98ece6975ae882cecc9b64e5542bc31e"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.fetchCopilotLimits (cognitive 16): usage-limits.fetchCopilotLimits has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb737ca499f6ab6d8041692f950761c17328d53589b622f534b2ce68058f2620"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-limits.fetchAntigravityQuotaSummaryJson (cognitive 16): usage-limits.fetchAntigravityQuotaSummaryJson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4348f34e06fade06b82cfadcd39427c12bb7238d73c951795dc3049d6123fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-session.piSessionProbe (cognitive 16): pi-session.piSessionProbe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2779c34fc8652a480d7dd3a1b0cc192d79e8513877916d18be06cfa6dbd270c8"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.readYamlField (cognitive 16): skills-manager.readYamlField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf04c2a840fd59ea312c945a72bb3a4691e3f643b00350ffb48c48989c18730"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-manager.searchSkillsSh (cognitive 16): skills-manager.searchSkillsSh has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 2 (3 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1245). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f8e6f93bc52d2bd16cd5b98292e31d143c85f92af2d0345f83ee45ff4e2c2"}},{"ruleId":"D2","level":"warning","message":{"text":"local-api.createLocalApiHandler::buildRelayCookieHeader (cognitive 16): local-api.createLocalApiHandler::buildRelayCookieHeader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (local-api.createLocalApiHandler, local-api.createLocalApiHandler::captureSetCookies, local-api.createLocalApiHandler::tryServeAccountView) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31c4dd6a5273fdd3ac0fb0b693fb2817509e0910dfb0ce073fd452896e721a6"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.parseArgs (cognitive 16): sync.parseArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3849}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf86b515567cfa3e1ef13c5c377c4561db8fe3d50d7ad4bf43fb1ea42d13d4"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.scanForInterleavedCodexUsage (cognitive 16): sync.scanForInterleavedCodexUsage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6814}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13f477def671b0940168ce6070e5af626a6ef6f3963aae516ba6a2c64abd8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"wechat.normalizeWechatEvent (cognitive 16): wechat.normalizeWechatEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/wechat.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6f891ceff57df6aab377388b4450b37cb772c8f60567d3b293614c60821d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-device-token-issue.verifiedUserIdFromJwt (cognitive 16): tokentracker-device-token-issue.verifiedUserIdFromJwt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaa7bb846f9b8c16cf64caf9856cc1d015ca67639d94a9a9f7852d7e0092730"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-profile-likes.verifiedUserIdFromJwt (cognitive 16): tokentracker-profile-likes.verifiedUserIdFromJwt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd9c2bd79235d1187fd85f1e921c8412a788177f8611fd0517a842e3ac20ec"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-public-visibility.verifiedUserIdFromJwt (cognitive 16): tokentracker-public-visibility.verifiedUserIdFromJwt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bdab5e007223baa36dca31e76a7c884ce7dbcddbceb331a95ca5baee334449"}},{"ruleId":"D2","level":"warning","message":{"text":"tokentracker-telemetry.default (cognitive 16): tokentracker-telemetry.default has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 5, boolean chains 1, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-telemetry.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4eb0c69a987c209483631607c0df276392f45d9e1f33c5dd8bd10857d155e6"}},{"ruleId":"D2","level":"warning","message":{"text":"insforge-deployment-config.validateInsforgeDeployment (cognitive 16): insforge-deployment-config.validateInsforgeDeployment has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-deployment-config.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadefa92ce727530c20c70b6ac5391af59d3230d92ff8e7e94a5542257c696b3"}},{"ruleId":"D2","level":"warning","message":{"text":"use-trend-data.buildHourlySlotLabels (cognitive 16): use-trend-data.buildHourlySlotLabels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"719ddb10a760ed85d128d165bb4bc58735fa4b12782dd2b11b687a90b98d21f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountViewContext.AccountViewProvider (cognitive 16): AccountViewContext.AccountViewProvider has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 3. Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 105, 61, 69, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/AccountViewContext.jsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6914cb38b64b6a325c677f1e7e2da3ca5ebb5db956990585ae088bdb461e6fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"use-activity-heatmap.useActivityHeatmap (cognitive 16): use-activity-heatmap.useActivityHeatmap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 354, 124). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"085dfe3ddb3b851a84968ec3798f236c647b728e3278a7a58804391b42e549a0"}},{"ruleId":"D2","level":"warning","message":{"text":"detail-sort.parseHourKey (cognitive 16): detail-sort.parseHourKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fcb8fad4aae318800eea3a992dcffa77ea1ffd1d3145e4a1dfe54ef4063734"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBreakdownPanel.normalizeExecRows (cognitive 16): ContextBreakdownPanel.normalizeExecRows has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, ternaries 2. Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 325, 349). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b891c2eb14a3a600b74769e4ed81a361c2b71cf8ac881bd110688250e83dfb71"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextBreakdownPanel.Row (cognitive 16): ContextBreakdownPanel.Row has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc3f074f90dc4d740735247b11be071b326ca1fde3b55d5b6be07a1d846e15e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnualReportCard.groupMonths (cognitive 16): AnnualReportCard.groupMonths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b765cd769807dccda0ff41b6e85e19568be86e8243e55fed12fb047d837057e9"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage.SettingsPage (cognitive 16): SettingsPage.SettingsPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, boolean chains 6, if/else 2. Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SettingsPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece5d489bf11598e0c5bd9639214627038a996d693675798a72644921b887178"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-quips.getPetLimitDisplay (cognitive 16): pet-quips.getPetLimitDisplay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843ecac935a5db6303d28c4b2bf83986c38344a62844dcd94f707929eab2d77"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeQAProfile.load (cognitive 16): NativeQAProfile.load has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a30a17d16eb9dee45ce636aa68619e598f263e55fff36f7f4109376d71c6409"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageLimitsResponse.isProviderAvailable (cognitive 16): UsageLimitsResponse.isProviderAvailable has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 1, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc787aafde0803e9fd8f7b496e0a776441f4a9f54798ba1ffd73b977a63934d4"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeBridge.applyPetSetting (cognitive 16): NativeBridge.applyPetSetting has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b018b9b02c0b417cf567657439f7cde541b745136cfd692f2769f65a12cf412b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.drawWorkingUltrathink (cognitive 16): ClawdCompanionView.drawWorkingUltrathink has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), loops 4, boolean chains 2, if/else 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f819de29b99a82a70022d5e1bfd3001482051d5ce94c62914fb431ae570d0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawdCompanionView.startIdleVariantLoop (cognitive 16): ClawdCompanionView.startIdleVariantLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf6b77a79f7145812fbb156e72fa2a9c7253f40cb1adcac56db7dfb2c697359"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageTrendChart.body (cognitive 16): UsageTrendChart.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageTrendChart.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffcee4147717543073f8640e3aa438b36d98c433ff08aaaa386dddcae103dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 16): _draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, other 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb767d9f63ad073a8318ccdedaae6d4c75d3a63884c98c634e9ee57043d2c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchTraeCnUsage (cognitive 16): fetchTraeCnUsage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1, other 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccb260b7070b730dc32d32d7e81ce2ca6618d044d41f73c07a195ca8d585a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"accessTokenFromRefreshPayload (cognitive 16): accessTokenFromRefreshPayload has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df01e52417e2cd9b9d05fd56bc9b50bff1bfc87c36e9d1c67e691856d7ac05c"}},{"ruleId":"D2","level":"warning","message":{"text":"refreshTokenFromRefreshPayload (cognitive 16): refreshTokenFromRefreshPayload has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d78aea8b7b9a2ab3c3344f958c0aa428a42c6380629f0b708767cf28676b1"}},{"ruleId":"D2","level":"warning","message":{"text":"startLocalCallbackServer (cognitive 16): startLocalCallbackServer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1. Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 39, 119, 34, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15c5a99251ac9dd1e7be822f516e83ff8c6707d6145d499bb627a75811adc11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/rollout.js: FileTooLong \u2014 18649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18149 over it, 37.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d75e32abb70aa113072dbb8cc3641faab2f02bf06531031f0323ea48f03a42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.cmdSync: FunctionTooLong \u2014 cmdSync runs 2300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2200 over it, 23.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"80096021306aa30aa12d5f5f7043e24ae8be5d5530f5f4a930d7c5cb0fa7ab2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-api.createLocalApiHandler: FunctionTooLong \u2014 createLocalApiHandler runs 2119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2019 over it, 21.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca7448d49bc7689bf7678ca43a4755c09d5741335cd1ad6c74171dc7467c535"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-api.createLocalApiHandler.handleLocalApi: FunctionTooLong \u2014 createLocalApiHandler.handleLocalApi runs 1616 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1516 over it, 16.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e8ab3748c62690a365d1feb6e39924057bf7ec2058023e2c9eca1f7972a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardPage.DashboardPage: FunctionTooLong \u2014 DashboardPage runs 1123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1023 over it, 11.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbb1a73e9a797a26867e8bc8380f4897f5a558d9621409bfbcb1e835a7354df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/sync.js: FileTooLong \u2014 5570 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 5070 over it, 11.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853e6b2649188ebfc082a96cbdcc57a00a989232307b7cfac7b501e9805e48d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status.cmdStatus: FunctionTooLong \u2014 cmdStatus runs 1047 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 947 over it, 10.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c28c6ddcbe48a850531232bf182bdc36fc2e25529dce540ce604509ce1e92f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IpCheckPage.IpCheckPage: FunctionTooLong \u2014 IpCheckPage runs 865 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 765 over it, 8.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4cf0d4e99328cecaa89cc5b0d601e15ba3cb208472f624acd6c736858402b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsPage.SkillsPage: FunctionTooLong \u2014 SkillsPage runs 857 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 757 over it, 8.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bbd70ea0541eb1412f1d2d4022638fe7ca80ca140e42fa7af624d0754c2e31"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudCheckoutPage.CloudCheckoutPage: FunctionTooLong \u2014 CloudCheckoutPage runs 739 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 639 over it, 7.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9330cafb5e414aa40eecc56f58c994ad18ff5f129af014bc65b11e0d855a88fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/usage-limits.js: FileTooLong \u2014 3521 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 3021 over it, 7.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"089321ef561e9ec961cd2ea7c7eb52a97c4313323fa574d0a2b77ea6021328d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LeaderboardPage.LeaderboardPage: FunctionTooLong \u2014 LeaderboardPage runs 644 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 544 over it, 6.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cf822f58b401827b8ad068d5840eced74fd151d51ce79beff4e473ddb6efef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: init.buildNotifyHandler: FunctionTooLong \u2014 buildNotifyHandler runs 637 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 537 over it, 6.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d7625176ac20c285af4833896a6071b3efb437fdbfc79bfe65b5dbc01d3214"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/local-api.js: FileTooLong \u2014 2916 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 73% of them inside a single declaration: createLocalApiHandler (1159-4117). The bar is 500 significant lines; this is 2416 over it, 5.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859606692ae20688bca95614d1f3d18eaa867433baa227cd3ef7e90b96394aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginCard.LoginCard: FunctionTooLong \u2014 LoginCard runs 534 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 434 over it, 5.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aeeefa8c5e6bbb24ed17030b1e30bceb59943678efda74834e3c35566e1ccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-rollout-parser.parseCodexRolloutFile: FunctionTooLong \u2014 parseCodexRolloutFile runs 530 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 430 over it, 5.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6bbd3ac5d3cac7288d7c1f6bb25e7576ef64668e31ee165e5d1ad38a114149"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityHeatmap3D.ActivityHeatmap3D: FunctionTooLong \u2014 ActivityHeatmap3D runs 522 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 422 over it, 5.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa3915a799888a6ed3cd1c4f854e908ea24efe5424c94dc78de3dd9db1cb98d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/session-analytics.js: FileTooLong \u2014 2281 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1781 over it, 4.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33629a18dcc9b3d2afa266b55515d1025cbf7a2c5859553de66672c8bc7a8333"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubscriptionSettingsCard.SubscriptionSettingsCard: FunctionTooLong \u2014 SubscriptionSettingsCard runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16df29cff92462d46f46866b3e5336410056bab6ce6136a379115fd3540633"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-trend-data.useTrendData: FunctionTooLong \u2014 useTrendData runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8f3bb6dd167b5250378f0bbe36cff32c9b10b23e5c7d23551f61939181eae0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-leaderboard-refresh.default: FunctionTooLong \u2014 default runs 380 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 280 over it, 3.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"06119715a3433432751df0fa749954d60f5a55604f6258534563bb2388418299"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-billing.billing: FunctionTooLong \u2014 billing runs 374 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 274 over it, 3.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a126c82ca2628e72ea3962e4f524995c46d5780442e3c94b9c94507a1edc881a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TrendMonitor.TrendMonitor: FunctionTooLong \u2014 TrendMonitor runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cb2853618a8d1cb018cb07e13beb9ed2261c724e7929df4c8b097d2635a064"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet.Pet: FunctionTooLong \u2014 Pet runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a39bfb0c18c1fae3e1d7527978ea09720ca90753e17f27096b1f376eaf05a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/init.js: FileTooLong \u2014 1824 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1324 over it, 3.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845b5eb5ad5dae1ce2ea8f8bc6b90fac0a99364de1153b1bd8ae8d39d028258a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BroadsheetCard.BroadsheetCard: FunctionTooLong \u2014 BroadsheetCard runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/BroadsheetCard.jsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc48af7c3554a7edd573b2dac203bb3d77aced7de194228ba09fa94ec3a5498"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-usage-data.useUsageData: FunctionTooLong \u2014 useUsageData runs 351 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 251 over it, 3.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b616c73a39650246074fd06aff205ef98bfdb38571859670500a78ca07114"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardView.DashboardView: FunctionTooLong \u2014 DashboardView runs 351 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 251 over it, 3.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e7052236282c056d806b164b2e578ad22bef4976442febbc719f36d0839852"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-context-breakdown.computeCodexContextBreakdown: FunctionTooLong \u2014 computeCodexContextBreakdown runs 341 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 241 over it, 3.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb21867c637188963411a02934a04c0ef9752c899020f4ef926d5e55c3f6992"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareModal.ShareModal: FunctionTooLong \u2014 ShareModal runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5fa419da304f2e540e22642a87fbbb697826d331a446a2caa936496c10db27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClawdCompanionView: ClassTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 914 over it, 3.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c680e71f736f4ace4c372e572a6ab51b73b10878181fcd3e523f6e92b46f38c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokenGalaxy.TokenGalaxy: FunctionTooLong \u2014 TokenGalaxy runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dec5100311679b0f3e42f33bf9a994f6b22d6df3878586df9b07054b69da85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/SkillsPage.jsx: FileTooLong \u2014 1574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1074 over it, 3.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6958ca6b6183534c11d0379041617b0c7829fc68e056722f865ec24559eb5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-activity-heatmap.useActivityHeatmap: FunctionTooLong \u2014 useActivityHeatmap runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"51317190a1ba0a4dc366cc2b643a7a2b0ddeab55b9cc38069502d8cb73bfe95f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContextBreakdownPanel.ContextBreakdownPanel: FunctionTooLong \u2014 ContextBreakdownPanel runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"0083d065a65cf7f66ad90f8f50a36ad590ef3e4366ea3c29dbebb83c545878f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: init.applyIntegrationSetup: FunctionTooLong \u2014 applyIntegrationSetup runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fdaf2015e319b1a3c134de6858c81162ecd2734f1c1438c9bfc0c5cd4d4b94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/ClawdCompanionView.swift: FileTooLong \u2014 1454 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ClawdCompanionView (6-1952). The bar is 500 significant lines; this is 954 over it, 2.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10a02a2bb1a6d4df7e6b7101cec67709cc8f3805ad9528bf38dcdfd19c065e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/status.js: FileTooLong \u2014 1406 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 74% of them inside a single declaration: cmdStatus (198-1530). The bar is 500 significant lines; this is 906 over it, 2.81\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23742e3a4e22d1eb3d726c9ed2843cfc8a5a7732a93a977ad39b4165969abb4d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardPage: ClassTooLong \u2014 1123 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 723 over it, 2.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad8de6f6ed8c450bf88e0145bd0ee003c660fad0d2aa9e77a89316cd832810c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/cursor-store.js: FileTooLong \u2014 1401 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 901 over it, 2.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a57b5b95c2a8ee32628621b2ab866ec4344f612d41b9af011c5e79aefc4859"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PetPage.PetPage: FunctionTooLong \u2014 PetPage runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd0687a1229f0d22a5c014b2b0bc82d973457442e5448f61e06f2ea0f83cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetailPanel.SkillDetailPanelInner: FunctionTooLong \u2014 SkillDetailPanelInner runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillDetailPanel.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e2f11519f7e6e9d376409c6bee0a9fabc361a0e8945ceb9b6743a2cd57368"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudMembershipCard.CloudMembershipAccount: FunctionTooLong \u2014 CloudMembershipAccount runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"54334a2359243910589984309534ec249628f3ad799fde82f8fca78fa82c459f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/UsageLimitsPanel.jsx: FileTooLong \u2014 1337 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 837 over it, 2.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3189f23143231b3e2cb75ecfa8a4c137e367bc3237c57e214890f263653a5767"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78315d76c694cbbdd2a9d458dea7ac9b4757e7823c023c6596b47859a873d5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/DashboardPage.jsx: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DashboardPage (132-1554). The bar is 500 significant lines; this is 734 over it, 2.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"057c80b923dde32164c822f4cb9791187204c182ce370c54d67443a5e549757e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StatusBarController: ClassTooLong \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 581 over it, 2.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1bc6d40affd469b2d9a04ea3763e7dfee10724c0ac0419e7873cc319a22f81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairCodexRescanInflation: FunctionTooLong \u2014 repairCodexRescanInflation runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"544266405c065975440b31d0b4eec5e60e34adf262638476946d5e746cc19c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StatusBarController: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf40e353542c260f4177f62389c34a9602e9aef00b2fdfcddb045337352928"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InsforgeAuthContext.InsforgeAuthProvider: FunctionTooLong \u2014 InsforgeAuthProvider runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64e443987b42a12d50962a0ece909d1b5aec12f02e641a458526d2b8e746c77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PetWindow: TooManyMethods \u2014 775 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bcbd4d8b414b5aacc1da622477121f64299e65d248c1da7365137075093ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPage.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SettingsPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"394da06909c9d5b6ece6c626f4b58919d49949b828df189d12c6c67d0c16c212"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UsageLimitsView: ClassTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 505 over it, 2.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c5434d8be59a7d11b54c8b4b0b40cdedbcbef9d649e7e08e959f9ebbf2c329"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-leaderboard-profile.default: FunctionTooLong \u2014 default runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e49ed8c27f595e62df5f89af85061797d440eb17bcbe0ba3b626565dbf9ee7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudPage.CloudPlanView: FunctionTooLong \u2014 CloudPlanView runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"56829ba2f9ec25f0fd432b03e35911b845bef1282167f2d879e9a3a03bf01694"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/codex-rollout-parser.js: FileTooLong \u2014 1115 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 615 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba68f8466d55f07acf7c3e0d7951ce59ffddbc11502c9854029064ad04e8b12d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NetworkSection.NetworkSection: FunctionTooLong \u2014 NetworkSection runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbee6b8a810a9ca4071aa9bdef80791ff835e2dd94b0f8f99050e82a5edc2c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Badge3DCoin.Badge3DCoin: FunctionTooLong \u2014 Badge3DCoin runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/Badge3DCoin.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7401221547eea98ebeaf0e6d4b8cf4ce40e0b9a721c78bbbaae1c4ff817a9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/skills-manager.js: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 589 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3151910fb3119cdefdbcf262d228ea05cbc02ccc2423838c18583ed7a8b37111"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mock-data.getMockUsageCategoryBreakdown: FunctionTooLong \u2014 getMockUsageCategoryBreakdown runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e832e49ec915630c19a70377176635ccb90e1c1128023f6c227348a2a825e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IpCheckPage: ClassTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 465 over it, 2.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4ffb3ef444718f07cfacce9d524120e6b139da221c8ac97db4461ecd9f1085"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/UsageLimitsView.swift: FileTooLong \u2014 1076 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: UsageLimitsView (4-1341). The bar is 500 significant lines; this is 576 over it, 2.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da817bcfadd73721fc585be411799ea8b827900808f47208fddc298887e78d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LimitsPage.LimitsPage: FunctionTooLong \u2014 LimitsPage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ab140659b228535bdb1128345706fcba2c865421c2e86bb6fccc00fa9d12c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillsPage: ClassTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 457 over it, 2.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08ca8fb0508e33e48748d482388476c45f0a616bc6e2c28e0685645d1028a50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diagnostics.collectTrackerDiagnostics: FunctionTooLong \u2014 collectTrackerDiagnostics runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3578dbe3ce449d46dd0fe048d7bdc6e1a5a8aaf2ad6367711db2c0e65e0b9092"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: [e-mail redacted]/extension.js: FileTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 551 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f745962d1a4b87656153c3a29e8153dab1ec6bc7c882e4d37f4c17780650fc12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/zcode-limits.js: FileTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 551 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202b4fe5cfa0885ef1bf0f5ee5826e6458bfa621d2911e43fe36a94a9c3d25c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-leaderboard-refresh.ts: FileTooLong \u2014 1040 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 540 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94673dc3dacecd4cc116acde0cc5cc0cb49c7864e5f8953943fbf5ebd6907b56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/IpCheckPage.jsx: FileTooLong \u2014 1038 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: IpCheckPage (169-1248). The bar is 500 significant lines; this is 538 over it, 2.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d7923717da2fde20f8199585bf1f00546221faeba2258748192ca50a51744d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/LeaderboardPage.jsx: FileTooLong \u2014 1038 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: LeaderboardPage (479-1246). The bar is 500 significant lines; this is 538 over it, 2.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf79b980a410df79755f155c0e4d3e38c7b0e84b05102101f53cf2ed3485659a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataDetails.DataDetails: FunctionTooLong \u2014 DataDetails runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DataDetails.jsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb03d83d55950ec20a2578ea05e02f9d7ecca6c5f7e95383707a83237b3c00e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrayApplicationContext: TooManyMethods \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf73649899a47f6b22034e6967b49b8a324aa1d3e29e19bc0f62acd7fb7c5b62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/StatusBarController.swift: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: StatusBarController (12-1527). The bar is 500 significant lines; this is 507 over it, 2.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1ef63c9b22f082cb2db8c47b183d01da7fcd885315c2bec76eeb7a211f224f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudMembershipCard.CloudMachineList: FunctionTooLong \u2014 CloudMachineList runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b4cbd1bf8dd86fbf1ef4361ae47ea43aaaf4eeb683696cd292ead60cc7c25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LeaderboardProfileModal.ProfileContent: FunctionTooLong \u2014 ProfileContent runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d62b4ed54b912e0772ea4b4061ca24a762c7e1097dca52ceb97d84b81a0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/vite.config.js: FileTooLong \u2014 978 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 478 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d274892d2f8206472eab64d70737726cedc44f267bc1e994af2fa88ea7dc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-usage-model-breakdown.useUsageModelBreakdown: FunctionTooLong \u2014 useUsageModelBreakdown runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-model-breakdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"513ce0baa9a1c0349443b14aad0c60f6b6ec69a8ef41c06d47580acff08975d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: uninstall.cmdUninstall: FunctionTooLong \u2014 cmdUninstall runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9649eaf043e8712ae6d92855316c29436166496e1a586e96a79fd61eeb04dc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/mock-data.ts: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 469 over it, 1.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c20c420412997e381c7ca355b5d892da0d2fa76e3589d2fb5099726818a46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionDetailModal.SessionDetailModal: FunctionTooLong \u2014 SessionDetailModal runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd39e6771cea44a27c9a36252b9f7ed17ed9db9e58801d706e302ebefe14c83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DashboardViewModel.loadAll: MethodTooLong \u2014 loadAll runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c8b0ebd1c44281954dc5beb326099091a75745b080271295d6f2a60e65cb2d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardViewModel: ClassTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 343 over it, 1.86\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7836ae72d5938774c3257345f83774da5d1c654363ce481aef733a7c2f8f4849"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CloudCheckoutPage: ClassTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 339 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d722e214f44dc409152595f8c4d6a746f115662bbd46d3f0a497d7e3cd156b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/claude-categorizer.js: FileTooLong \u2014 922 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 422 over it, 1.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85005fdf3aa6aaab6dae6aebcef6e3771f738f776e316810cec3f4682584fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsageLimitsView: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7c2966ba9439cf51d14d17f9c3662bf1fc9f6af1414a29dfbba0367e47f389"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-activity-heatmap.useActivityHeatmap.refresh: FunctionTooLong \u2014 useActivityHeatmap.refresh runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb03ae0b602d8b5438feddd962ac73b83fa40424a9846fe519f162e5505818f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WrappedPage.WrappedPage: FunctionTooLong \u2014 WrappedPage runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WrappedPage.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7974686a20afaffec95944c1c1489d2de4ece9c97c6d7d53f4509cf8afee18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/UsageOverview.jsx: FileTooLong \u2014 888 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 388 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce2a224faf84a1683bb682c9c792e947758979f0c52af038a77bba800b5f74e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LikeButton.LikeButton: FunctionTooLong \u2014 LikeButton runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/LikeButton.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1530df724e792506609719730a4ee70ec7d4e447ef8d7991c7469c3ee9e64cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarketingLanding.MarketingLanding: FunctionTooLong \u2014 MarketingLanding runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/MarketingLanding.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cfdf3ae6a1b4a2fac1de60092f268faddf92e7ef0a66803197d27e57214d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-qa-server.createNativeQAServer: FunctionTooLong \u2014 createNativeQAServer runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952d569043b1ca03dd9866f61ffae107d8a8bb31e7934ece0d8c2eeda6e37e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: omp-session.readOmpSessionFiles: FunctionTooLong \u2014 readOmpSessionFiles runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"493c1fad5f29f0d438bdc26bf5ba08b52e85c218705f508ea4ec1ca3218ced22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CommandPalette.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7d2936dce084e0f7770e319f44242f504c6e06557e4ae2e15b84fd508223a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-trend-data.useTrendData.refresh: FunctionTooLong \u2014 useTrendData.refresh runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a274e15bbdb2cce3ab50db9f55ca127d27c96af9006dd6cb08061c07478bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grok-context-breakdown.parseGrokUpdatesFile: FunctionTooLong \u2014 parseGrokUpdatesFile runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d8f461ca5d151614668d8eaa7415114feb29a9e648bf61ecbf25d502a2b9dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DashboardWindow.InitializeWebViewCoreAsync: MethodTooLong \u2014 InitializeWebViewCoreAsync runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70b09dbcd7fa58f9d8d781f04d841ad792b8541287c28d5c8c89068d5ab58ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RedeemProCode.RedeemProCode: FunctionTooLong \u2014 RedeemProCode runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef712f968425d4b4d7f1e94eda927b128c9cbe38a37ea9373f605e2385c167f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pi-session.readPiSessionFiles: FunctionTooLong \u2014 readPiSessionFiles runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9016b8a49e8eb151dfa9f1032e091c23f55b3a70762417d2c86485ef45b65179"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/api.ts: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 319 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcb0e325ade47a75289a90fa7da4ab0be169df8d5392dbb58187d5366bce0e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-model-breakdown.handleAccountRequest: FunctionTooLong \u2014 handleAccountRequest runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"5521d66c5ba2972b5c07359524d5501c165dc486c1d4b4fe1991af83c3710567"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-usage-data.useUsageData.refresh: FunctionTooLong \u2014 useUsageData.refresh runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee02b976a387e2534afea8cf80620cedb6bb96c903c2945266115be5025195"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairClaudeQueueFromGroundTruth: FunctionTooLong \u2014 repairClaudeQueueFromGroundTruth runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed98c96c529483da187ccae0666ffd72958059e6510564aa938c1c38a23f6425"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ContextBreakdownPanel.jsx: FileTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 310 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a573fd9f8ebcd711d47e85d47cf9d3be10590b84c03eec6e459b75ee4c36b88f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ActivityHeatmap.jsx: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 306 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143df75d70876e352fad4d0a42315240febc1cd15d6bb9c675efa33fcb0789a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LeaderboardPage: ClassTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 244 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337a4a6b80c0d56ea9fab188469216f2f60843df33fde2af92b88c28df8be71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BorderGlow.BorderGlow: FunctionTooLong \u2014 BorderGlow runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/components/BorderGlow.jsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b486efb735707ebd42f078cd6f62d78910647dd12ab9a33de55ef56bd2f539c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grok-context-breakdown.computeGrokContextBreakdownUncached: FunctionTooLong \u2014 computeGrokContextBreakdownUncached runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61aaa3bff597a6d4802c5d67af020508fdbdf770ecfffb3b8cf664a37a9f40b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/qoder-limits.js: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 290 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6edc4a3cb08aeed8ef6512ed7a85d1a30f9571d2cb150b08716c2bcfd74ed17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet.Bubble: FunctionTooLong \u2014 Bubble runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a23b27d70d632825c580be693551e33156bd4a96eb5db9b6004f3484dc93c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BotAnimated.BotAnimated: FunctionTooLong \u2014 BotAnimated runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ccd6a294abcdc1d8ec94cacf52c28e438780bc3ff4652bc440c711a2a205f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TokenTrackerWin/TrayApplicationContext.cs: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13f119150b27e206653b7a5c09a82d9aa7579cb9c79ff5b50792e6f09242ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TokenTrackerWin/PetWindow.cs: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa3e4518df6da7ca85b25475b9b19c76593f1a328c58f32ccd7e41ec8b7ddec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CloudCheckoutPage.jsx: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: CloudCheckoutPage (49-879). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c1f0c2b63d0c5d182bb6cb8422194304c7e1d8f99eb20bcc7e7d23c021fe0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-usage-transfer.createLocalUsageTransfer: FunctionTooLong \u2014 createLocalUsageTransfer runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4327a6220686c446db1e393f2ded2631ed3a114936ef52977d2549f1119c7149"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuotaWidgetWindow: TooManyMethods \u2014 382 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c637ff5a18214a565d9b6e0f04a9500836a32b232d0c9276c85847686a6de9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mock-data.getMockLeaderboard: FunctionTooLong \u2014 getMockLeaderboard runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1454742c067f722eeb754ff071d9883b941ef4ea33a66964ce34cb79b1bbca7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/DashboardViewModel.swift: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DashboardViewModel (34-1176). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a861afa0dfed735f75ee15480c36e7fa410ca7e6be0fa0d1abbf7810cd989000"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-leaderboard-profile.ts: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 260 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b42c1f8085ab1bca8c889e75b64d3f1668d45927aded313b65573eef8175396"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/SessionsPage.jsx: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a37e34a988566b8d940fa7ac0d7ad0000392fa4aab6fcc440939d116e1786d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DashboardWindow: TooManyMethods \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86507c5e0232fb93c365d66d6c29431e42e44ee1ce15e5b0afa111df65b81f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: V2CursorStore: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 197 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6f6615c528b5b5bb8ea42262fb6fa1972045b8e7c3fadf51792012fb381134"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pet.jsx: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63c37a87138abd46a89d2c6c1ab0587eb1505c7426215510856e80e543a79dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/use-trend-data.ts: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 235 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5c7ccd64ce5b0fc364618c0d77bbfd4ee3e67eeb895aa1ab305672f98af1f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CostAnalysisModal.CostAnalysisModal: FunctionTooLong \u2014 CostAnalysisModal runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb0a255a535582dd1092ff33db4e90aec77c14ebfd89d444dd46fac6ed2b9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-limits-display-prefs.useLimitsDisplayPrefs: FunctionTooLong \u2014 useLimitsDisplayPrefs runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2dbdd66343431873bd2a3720a9cddb50b841044ce15536affb86f57055b19a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrayApplicationContext.TrayApplicationContext(\u2026): MethodTooLong \u2014 TrayApplicationContext(\u2026) runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c69c8b4e5e66fa4cb5ca5915297c7218fe283e07a98462dfabafbd06542ade"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudUsageExport.CloudUsageExport: FunctionTooLong \u2014 CloudUsageExport runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf4dc0531bf090bbeb873154e83489ade66bbad9caef70d857264794df82d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-usage-limits.useUsageLimits: FunctionTooLong \u2014 useUsageLimits runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc4e842697635cbf00039776790722518bd6cd80e0e2d39a7307a7788adef7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairDroidDuplicateSessionInflation: FunctionTooLong \u2014 repairDroidDuplicateSessionInflation runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7279}}}],"partialFingerprints":{"codehealthFindingId/v1":"402c9aa6dd70d761dd0fd00178fcb3553f24a4a07972db37fbcb86a8f40958eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-account-model-breakdown.ts: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ec17bd76d991a7c0a32a525e10f4d0b932cb49a301f41d8ce654b5f0b37fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud/CloudMembershipCard.jsx: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d0dbd0f06156fd1242ab138656672bdb30300c6cefa2cb28a5644a0d753b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InsforgeUserHeaderControls.InsforgeUserHeaderControls: FunctionTooLong \u2014 InsforgeUserHeaderControls runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f991582d79e8d262dba5bb7eb32375d40cd1cdc9129f74eee1e5214a979f695b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairCodebuddyLogJsonlOverlap: FunctionTooLong \u2014 repairCodebuddyLogJsonlOverlap runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0400304969d27f3b3f9a03674665c59fcf74b531c0e917f537a96256787be4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Models/UsageLimits.swift: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac15acb23a2a159fe33d0e5c5a1b3fd59e1eb95e6a7f3d93317ab04fd1d976c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-embed-svg.renderProfileCard: FunctionTooLong \u2014 renderProfileCard runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84550fbab84ba7a7f499f110144392cb180746660733239beec8c81452d91d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsPage.BrowseCard: FunctionTooLong \u2014 BrowseCard runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c95d3848700fa0f6c37f95ef633eb0d418385e8aae9663a4175d3ba5a38d45c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairWorkbuddyContextUsage: FunctionTooLong \u2014 repairWorkbuddyContextUsage runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b846b50831987dc57a3e4f566d6d4b544b2d8b1acd3b46e83345ecf2da72ebd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/TrendMonitor.jsx: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b0027f1869ceb79777fc0ef39ea7e3f58e862cd6ee6317a213405e57223013"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoginCard: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 134 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3503824ca0aa9cdbae9e30e96ec7bd090c583de536ea219f3aaea0bb7790433"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: init.previewIntegrations: FunctionTooLong \u2014 previewIntegrations runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e77b4491760e8702f4ef1aa3da891d202d60292329ca3ed3cfe95fcf98eeeaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-account-summary.ts: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3654843fe3c780d00cf4c199741d3c249ada886544346ae627169346549c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/grok-context-breakdown.js: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ee481b7bf5fcbe976cde6131ea4b3347d48b932ce2741df884b0ab3609960"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusBarController.buildMenu: MethodTooLong \u2014 buildMenu runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7ed35b1b51fcc9771b73af9c97d21eeee7b5fc969b8d895ad7aef5336a0cc5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActivityHeatmap3D: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 122 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b86a9f2ba443b6446ba75c9352620fb9e23f169f5bf0fbf799eebd903f54c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DashboardWindowController: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d0f56882986cd7c1d8473a5fafaba4f0dfea5c9b6538090e9beef0579e0920"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudMembershipCard.RestoreCloudOrder: FunctionTooLong \u2014 RestoreCloudOrder runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21502f01c94592913f6a2512813146380176433fc733e964814a62a9720579"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionInsightsCard.SessionInsightsCard: FunctionTooLong \u2014 SessionInsightsCard runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff09af41681536a7187a1418b7278b05122ea623d3a6f8b67cbc82640c58bd0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Strings: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 115 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef93b6180799f97f5b5819f0ac3325372aaf2581e3448d3d470083b938395b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-daily.getModelPricing: FunctionTooLong \u2014 getModelPricing runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f319fcf37fe4604594ff8e3e95b454f3287640ff6f37ea52a247d90ed55f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-model-breakdown.getModelPricing: FunctionTooLong \u2014 getModelPricing runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7372c038c2b54decccd63acc7f02f30feb37f6da73a35709f83c69ac2b52c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-summary.getModelPricing: FunctionTooLong \u2014 getModelPricing runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4760d33195bbecc8af87f9b4d8a1fffa23cacefbd4533090b8c0d71c6bc04a2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-ingest.default: FunctionTooLong \u2014 default runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c220f6f8588ae3b5ff3eac1b7c574e7b9e3a02732c47f81b3eef3f2cd151a5cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-leaderboard-profile.getModelPricing: FunctionTooLong \u2014 getModelPricing runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8608c278aac9499f653483e773b3a597c665c41631cf5c95a86296eb72678a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-leaderboard-refresh.getModelPricing: FunctionTooLong \u2014 getModelPricing runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e306c3c89f42329ec6ecf755f93aae5e446524745ac4e200c0e11771d11c7538"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serve.cmdServe: FunctionTooLong \u2014 cmdServe runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cdc0912451cf78fdebe4d93ad841e09c8c5854a7da3dc7f856fbbf01ceb125"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardWindowController: ClassTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 111 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ac4d50dad085a07eb9c0ad3409cc805f0b74773d735b43c3b8f067e878f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrayStrings.For: MethodTooLong \u2014 For runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayStrings.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeede3c71073f8d19f7f4de6258daa8c1b8e06d350c0ac4484b57a8758ab798"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-qa-auth.createRAMAuthBroker: FunctionTooLong \u2014 createRAMAuthBroker runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d8b0deb1c6183c031b734882e275614dff5e11d6adac11b7bd3bd38566266"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: qoder-limits.fetchQoderLimits: FunctionTooLong \u2014 fetchQoderLimits runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d32819f3d128ea727978da1842a5d0e7b785bf6051d2e6799495bc7fab284fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-account-daily.ts: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb52b537afd955186c32d9738f280e2e63b6b47e3eb177ff1d7b403378848aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServerManager: TooManyMethods \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f88a3ef0edbc7c055cc965bf853a93e4e043f0f73a05423ca00a112c83535e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeBridge: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 104 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6a338034ee06546308c31d6e6187cc342a607968694349566ff8d545905bda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: V2CursorStore.commit: MethodTooLong \u2014 commit runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce98ca308faaad69caa96de690d63f1f262e1607b263b1bdc1c3511afd71b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-heatmap.default: FunctionTooLong \u2014 default runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd04da53212a0305c957da75583e11d3b8750f3e2a7ff753683de6d629fbd08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-account-summary.default: FunctionTooLong \u2014 default runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf1dfabd441be0bf03930732451c1b6732c86c31fdd6aee368efb00802b2d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: zcode-limits.fetchZcodeLimits: FunctionTooLong \u2014 fetchZcodeLimits runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6eafb2f5827b36cc8f1e3b2cc64294658da608e3972869d31f094dcffa730a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: leaderboard/LeaderboardProfileModal.jsx: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370784f449aaee55fe996d99756975e3bf68b28f1ccd2dd743e481f99189e5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UsageLimitsPanel.renderProviderGroup: FunctionTooLong \u2014 renderProviderGroup runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"295c47bf3732cc8512f37cc116b6e5e4a651fb905ef045aeae26497ae1818de8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-runner.runCommand: FunctionTooLong \u2014 runCommand runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/command-runner.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef8f0e25ce226b7468ae3bf46c45d5be1c27206a7371c9ca7523958951a4d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/codex-context-breakdown.js: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 114 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"521b27eddd9e23ac8e0c07cf9f1171ff6a21c8678f117aefa20e3f9551c44944"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WidgetSnapshotWriter.limitProviders: MethodTooLong \u2014 limitProviders runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"856e35a47e4fedec0462da7b74d298f232b71a8175d2cf0e07aa7bb1a84335fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TokenTrackerWin/DashboardWindow.cs: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d87f738bf17022321a5546cb7f8e549ae464145a99e99d3d004dbba128f5e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClawdCompanionView: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afa94614cac60bf4c69998fbabf5884afca6a513f75651b250cd57c970689ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchableSelect.SearchableSelect: FunctionTooLong \u2014 SearchableSelect runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/SearchableSelect.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9c8fb92b1f2118a07666f6c2401087df75d30ed9fff482a881c7d293fd200b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TokenTrackerIndicator: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe948cd13e4e025a1e7101c3ca82d42b4c35ab6703403bc4898fe22f3044e3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/workbuddy-limits.js: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7a2f4556d5ec5855bb0220a60be7ab7135089a710495b08940a9806bb5e10f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/grok-limits.js: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e9512a3d1f9beb011794077190fb68851b3904e9b9f5394525aa8f287a23c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tokentracker-leaderboard.default: FunctionTooLong \u2014 default runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f4143898e95c2481c831391350600c6faa3965d9d83d0adba9110b17f92ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginPage.LoginPage: FunctionTooLong \u2014 LoginPage runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LoginPage.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8fa05ae7e974b1b020d7ec7dc6c07e4150030764fa2f309c8e0539ecaaefac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StatsPanel.StatsPanel: FunctionTooLong \u2014 StatsPanel runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/StatsPanel.jsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd7071f7976a3e3aac369df9dc9cbd8b7175eabd9c8d31fbad2a39de4462a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge-patches/tokentracker-embed-svg.ts: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76cd4d208f911d75a3a0a388e711a537e03fb0921e0e480bab2f48cb2be0e82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DashboardViewModel: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb0bde2f3c9b87212d39d54de2fdbafd21bab91598b1320b22c751d3a9ae14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ActivityHeatmap3D.jsx: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ActivityHeatmap3D (81-812). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a76b88e3ce0fb07c55afe13c82240c53939b6f4adc60a0508423a728c83684e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kimi-session.readKimiSessions: FunctionTooLong \u2014 readKimiSessions runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2dbf43d1301e212ff4795c812092fa68f07fbd03c7dcb9f24f4625f966f12e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/PetPage.jsx: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9960331be9bc9e2c71844146f3860d89b41ac16023b2f3bca90955616eddde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LeaderboardProfilePage.LeaderboardProfilePage: FunctionTooLong \u2014 LeaderboardProfilePage runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardProfilePage.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbe3666549da9ba78d6e5818c238b093167199322d52dd88df3e44b863d16b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LoginCard.jsx: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: LoginCard (47-676). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb77b519edbe64c9c219b241d824eaba6e255b2f7caf98d3e5ccf68b6c519192"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/DynamicIslandView.swift: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: DynamicIslandView (14-551). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/DynamicIslandView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94181e29d3c7552c32127f95c9978204c470f040307ac50a2c70c76ed185c522"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pet.rs: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/pet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f7be7412055e0bc1bd214a0f264f92390df17a7c9f9cb215976168a3a611e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocalDataSection.LocalDataSection: FunctionTooLong \u2014 LocalDataSection runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173c47cb7f7b1040230d391ae1b12fe903bca7e0db4c909b3e39688ea3c9881"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DevicePage.DevicePage: FunctionTooLong \u2014 DevicePage runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DevicePage.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ab70c8bf885c90cb3962c086928c99ce66e23641b1a6bff7b415d559ac143e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusBarController.buildMenuBarDisplayValues: MethodTooLong \u2014 buildMenuBarDisplayValues runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d4e976ca49884a96c59e017cd749c76d0d3e99816dcbe3a02493ebb14c816c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-linux-host.startLinuxPetHost: FunctionTooLong \u2014 startLinuxPetHost runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4967bc6625ac3c46626f469a34935e1e23751cc4d6a5cc7791dfbf3af991be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BadgeDetailModal.BadgeDetailBody: FunctionTooLong \u2014 BadgeDetailBody runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeDetailModal.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b96565dba4b2bc67d983b11f1b321e80d919d32afeb1bd8c1c27c1b932c5bd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CapabilitiesSection.CapabilitiesSection: FunctionTooLong \u2014 CapabilitiesSection runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/CapabilitiesSection.jsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e34969813e0b5d15a794df937602d015b8c59d53cd5f3a572acd087cc6c1397"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ark-agent-plan-limits.fetchArkAgentPlanLimits: FunctionTooLong \u2014 fetchArkAgentPlanLimits runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5181ae33fe24da1202a7aa54f753e49b3931b282c466620ca47fa75adf64b18e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ark-coding-plan-limits.fetchArkCodingPlanLimits: FunctionTooLong \u2014 fetchArkCodingPlanLimits runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce1341bb2f194c8a59ba4a39ea5d93a1019066424cfbc175978442db970280"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dsh-session.buildRow: FunctionTooLong \u2014 buildRow runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"52765119b3b1fa6fc7e54e5aacf03022b2cf1b552c8c3519ec3bc62a172b19ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud/waffo.ts: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5049ba27fc475d34905d3281e46bee8c365392e79b06f870800ea2eb81a66342"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/DesktopPetWindowController.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: DesktopPetWindowController (11-543). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21491c245a8464809f4c8779dbc814306bd4ce2e8cca273a45b7cdfd625a672"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-qa-server.createNativeQAServer.server: FunctionTooLong \u2014 createNativeQAServer.server runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3102f37319a9f386707a3021b991841f3f2674c93b68e65022903e7666ac41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsPage.FilterToolbar: FunctionTooLong \u2014 FilterToolbar runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bf066122a49432c7f3fc7eae2fd5a729389063d0a1070b02b4ee99f93f3758"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.repairGrokQueueFromSessionSnapshots: FunctionTooLong \u2014 repairGrokQueueFromSessionSnapshots runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8939174f1e04e2f1401bee2992239601604e4fdc7773f1b0cd150604706bb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workbuddy-ipc.openWorkbuddyIpc: FunctionTooLong \u2014 openWorkbuddyIpc runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c0a9b6fb9c45369e3c055bff6f9e415aff9e075ece447254646f06315cbc2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommunityStatsModal.CommunityStatsModalContent: FunctionTooLong \u2014 CommunityStatsModalContent runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a13dba4ab50c94f9de856891c5dbcad42e1f704f4cdc57635c41827e570398"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MenuBarSection.MenuBarSection: FunctionTooLong \u2014 MenuBarSection runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/MenuBarSection.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0fce814d0543aaa976985aa268a9ee5a21ed165ad662a0e4cf19c88d8c9e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wrapped-aggregator.aggregateWrapped: FunctionTooLong \u2014 aggregateWrapped runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wrapped-aggregator.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"531196534648868fdffd1cdbf09ac628bbcfe3fccd5c441536d2f65cde2c4007"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/pet-packages.js: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd59dad1f11bde7d65dd1bada143b01ba4aa894be262fbdf61df62111357798"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/DashboardWindowController.swift: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DashboardWindowController (6-796). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"116af17b85f97ac1aa4e6363131563dd46a84433e39fa5bcc6651f4cff44c526"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DynamicIslandController: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 17 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DynamicIslandController.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec7786b19b9211587937add620be5245c0a2c6e56d778383df20ec1a5d3b1b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubscriptionSettingsCard: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d13cae388dc40a0b3f296e44852560198039f84787872013c3bcac4dffe647"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/opencode-go-limits.js: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3832ff194086fa148c03c4ffee18f4d9da33a582fc1b80eeef44978cfa3c1f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utilities/Strings.swift: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Strings (3-691). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295364951c5cc33cbecea2d94302c37081be07c8f393bc7db96f0ace28ccd4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AchievementsSection.AchievementsSection: FunctionTooLong \u2014 AchievementsSection runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71e93bd871beb6226b2dc99c751954edd6cf372585e90c6d5c26b880587ee7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: omp-hook.upsertOmpHook: FunctionTooLong \u2014 upsertOmpHook runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c356cf7e0e5b925af502b2edab429bc3a59df1045e764a3474fe02197132cb16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/DynamicIslandController.swift: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: DynamicIslandController (121-811). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DynamicIslandController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d47125819d9497689b36ff8480573299c19ac52707463e0a013afc5662beec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/NativeBridge.swift: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: NativeBridge (14-710). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ed1fbe5bed8ed03143e88597a58079dd41cc78ebb8ce37f91d22f558dd9aee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardSkeleton.DashboardSkeleton: FunctionTooLong \u2014 DashboardSkeleton runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/DashboardSkeleton.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7cb86aa801220535946c764e4eb26637a673feef9e05088abb2f01d28a315c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Counter.Counter: FunctionTooLong \u2014 Counter runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Counter.jsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1f871b72c27ebcc4ee4000103fde855710a862ab5e15d787e8ad6aa2c16799"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/WidgetsPage.jsx: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WidgetsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ca188fd861ef3c71ca301f6d1b1c93fe2fae07146ddd237eef770ad245749"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 7 shared lines): TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:29-47 | TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:147-190 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1241-1279 \u2014 These 3 members are variants of one another: a block of 7 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4abbd6f59d3f784d5b2b621972116ab30ccfbddcc43544c44fb31ff76b0f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1166-1177 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1235-1255 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7711daedcb8b9daf549042277d66f924974c260242edc7d42f1fff589e873a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:43-54 | TokenTrackerBar/TokenTrackerBar/Models/HourlyUsage.swift:41-52 | TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift:43-54 | TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift:32-43 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c26a69c13f875ca4fb02a8e49c8e6bf7bc3e638fd234aa5d934a06225b8e4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:811-855 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:857-902 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff9e96bbb398849dad0a86ad85924ad9d57f34087e36e23a339969380b6418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:768-809 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1113-1164 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e6b349f85b42d35b258ccbc2efa4dd8feec79081430f531b741cb3a4fdd00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:744-766 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1257-1273 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1275-1292 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"523ace5d82551996b952990aa21688f7e8859d778d927dd9527e092e18adf082"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/BoltShape.swift:6-50 | TokenTrackerBar/generate_menubar_icon.swift:5-40 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/BoltShape.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccea7cc4026006d61fef592bd2e29a1a3869665f5e665ec068004eb5a737990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1179-1196 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1198-1217 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1219-1233 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"56226e7e84e8ab2d34ecf7054f320d5394566e0412a7460b9fa19313071ca8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): TokenTrackerBar/TokenTrackerWidget/Views/SharedWidgetViews.swift:252-280 | TokenTrackerBar/TokenTrackerWidget/Widgets/UsageLimitsWidget.swift:80-118 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Views/SharedWidgetViews.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774c6c0dc3c36886de35970bcb924dbe6ac7e78cc9f514e42e0f75232abb9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:192-221 | TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:224-252 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f467a72900a4ff9db3623c5b506c00b8cef804b5fed708f4daa9f84c99619db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/QueueActivityMonitor.swift:56-95 | TokenTrackerBar/TokenTrackerBar/Services/QueueActivityMonitor.swift:101-129 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/QueueActivityMonitor.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9401cda4801e0c0c5c19b095585f86ada50a51b31d40a41a96aea27533fdb28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:192-211 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1281-1302 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fd55b87b38afbd0ce3ddea1caf6f168de47c94828c4ec1864290a25e71c0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): TokenTrackerBar/TokenTrackerBar/Utilities/TokenFormatter.swift:19-37 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetTheme.swift:60-73 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/TokenFormatter.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d049f5aa7ad15316416a81b41585199222a5ae76f0f6b9dba9fe3ee76c68ec1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/DashboardLoadFailureView.swift:17-44 | TokenTrackerBar/TokenTrackerBar/Views/ServerOfflineView.swift:8-34 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/DashboardLoadFailureView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4380419eaff5039e9d60b506a4d2cf2f5019e7ead24aeb6015373e26611cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:613-625 | TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:696-709 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab96148dc4123ec9c0f5b9e1106f6de17beea36b22ed16f7d1cf5f8cb54d7881"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:614-626 | TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:640-650 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8923fa8ad9be3e6ceb18fdf6edb2b9b4bed06a0afb89b69f4dab4040078c5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/HeatmapData.swift:17-25 | TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift:14-21 | TokenTrackerBar/TokenTrackerBar/Models/UsageSummary.swift:14-21 | TokenTrackerBar/TokenTrackerBar/Models/UsageSummary.swift:59-66 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/HeatmapData.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4d879dcb3ac0436008039266e9e825a8158a36603f8fe69e0bcce1f3966c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:190-222 | TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:232-257 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3191f9909742d7e628a984cabbadcddb05277b44c92c6c75e6d59af55ef25f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:543-549 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:551-557 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:601-607 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:659-665 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:667-673 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:682-689 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5878df11f59b851e3cb99353b97665bc6c4be60e2c53bac9bb973b73200d0c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): TokenTrackerBar/TokenTrackerWidget/Views/SharedWidgetViews.swift:37-55 | TokenTrackerBar/TokenTrackerWidget/Widgets/SummaryWidget.swift:168-183 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Views/SharedWidgetViews.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e96e57e84d77fc39ddece1bd406e16b5eaed2952eee3ec3725cf9d10f631b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:616-633 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:642-657 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e32c10a6f2df43d2c24b4b4a13e53edbbe74b31ca2adee9677c5de27da38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:34-41 | TokenTrackerBar/TokenTrackerBar/Models/HourlyUsage.swift:32-39 | TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift:34-41 | TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift:14-30 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e3e36dc983cf17375810a9dcf8d9308d37d2e5aa6e8953d1abdd2c0865bc16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): TokenTrackerLinux/src-tauri/src/server.rs:113-129 | TokenTrackerLinux/src-tauri/src/server.rs:589-606 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/server.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed660fc33fba025b5dc94fe582626acf45b8caaa40ce3e3d8039d3ba0d4fe68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift:43-47 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetTheme.swift:19-23 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a5219083c2cdd4e076c5102f11c63b27555b7f3e83659f498cbab0852ffb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:609-614 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:635-640 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:675-680 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f951b2782d34ce47e3ebf7500707930198de1169f5dc07d5ee8861c777278f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/MenuBarBotFrameProvider.swift:135-144 | TokenTrackerBar/TokenTrackerBar/Views/BotSpriteView.swift:191-195 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/MenuBarBotFrameProvider.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b5747a0059bf542e9e2c957aecaeb9800cbc5964912985c6b053777a54c95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): TokenTrackerLinux/src-tauri/src/pet.rs:570-581 | TokenTrackerLinux/src-tauri/src/pet.rs:588-602 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/pet.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d487e5493f8015a0e582f1c7702c6a7c15a5dd1d4a04a056f13a3d45500c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:562-571 | TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:573-582 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee63b673d9ccc5d20b9460490b11274d28176e7afaac16bee2d766530ea3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/ActivityHeatmapView.swift:171-178 | TokenTrackerBar/TokenTrackerBar/Views/ActivityHeatmapView.swift:198-205 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ActivityHeatmapView.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"239008b6b40052cc5b8707f675f6a6a35ab720c0af3c2d3b287afe889123f1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift:35-40 | TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift:55-60 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a047d76ffce416624a84973910088c87547935cd856f47ffb047550e360260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/DashboardView.swift:73-87 | TokenTrackerBar/TokenTrackerBar/Views/ServerOfflineView.swift:39-53 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/DashboardView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c760ea75d7a9aba61ba56e26c504a8d100fd509c1453f7427cab29242178aaab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:12-17 | TokenTrackerBar/TokenTrackerBar/Models/HourlyUsage.swift:11-15 | TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift:12-17 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ebe3dd1066636ae6aae0255b3180fc47bc21ce46318644eefb2d460c6cb0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:441-444 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:446-449 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00661ebdc23de6b85ef72e8a69312ac05eb2d5c1fbfad7ebeb103cf3ef1c756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/LimitPace.swift:70-76 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1224-1231 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/LimitPace.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8f8adce5c7a76cea92fc38721d25d2de7b29008aa6fe394d05d51f34b3073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): TokenTrackerBar/TokenTrackerWidget/Widgets/HeatmapWidget.swift:11-19 | TokenTrackerBar/TokenTrackerWidget/Widgets/SummaryWidget.swift:13-21 | TokenTrackerBar/TokenTrackerWidget/Widgets/TopModelsWidget.swift:10-18 | TokenTrackerBar/TokenTrackerWidget/Widgets/UsageLimitsWidget.swift:11-19 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Widgets/HeatmapWidget.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e5c242c032e88dc5bcd452b1f7d43fa50336a4024410e41910baded369beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift:10-12 | TokenTrackerBar/TokenTrackerBar/Models/UsageSummary.swift:10-12 | TokenTrackerBar/TokenTrackerBar/Models/UsageSummary.swift:55-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3c071e4b27359adeac36be326a3365bda8754da508a16eec85eab82ebf8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift:163-169 | TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:173-180 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d3add464a81e82c545ff07489a25d3413910cd95b3ca4b012fbc78ae8e0dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/APIClient.swift:66-71 | TokenTrackerBar/TokenTrackerBar/Services/APIClient.swift:79-84 | TokenTrackerBar/TokenTrackerBar/Services/APIClient.swift:94-99 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/APIClient.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c452de41891d96e0b15143b65ca964906806cc36b3ed56df10efae8e1729645c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:115-120 | TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:234-238 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3941be983988fa1cbea95a0c2012a5f63f2d195c5e4953e3b799f4cf675e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): TokenTrackerWin/NativeLocalization.cs:63-76 | TokenTrackerWin/NativeTheme.cs:57-70 | TokenTrackerWin/PetWindow.cs:919-927 | TokenTrackerWin/PetWindow.cs:1097-1105 | TokenTrackerWin/PetWindow.cs:1111-1119 | TokenTrackerWin/TokenUnits.cs:47-55 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeLocalization.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0043d93edb36e3c20c4b444e5be508d1d67cfad53573a7efc18e03fd7021b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): TokenTrackerWin/AutoUpdatePolicy.cs:39-52 | TokenTrackerWin/NativeLocalization.cs:50-60 | TokenTrackerWin/NativeTheme.cs:44-54 | TokenTrackerWin/TokenUnits.cs:33-44 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/AutoUpdatePolicy.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f4d65a00cef911f165366c2084d500bdff4a93ab29e8151076555b7392e308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:8-10 | TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift:8-10 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af677ecbcbb9c7337b49b255dce3a7b94516a6c7e2da8e8165341bb6ea422c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): TokenTrackerWin/NativeTheme.cs:86-97 | TokenTrackerWin/TrayApplicationContext.cs:1169-1181 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59225ac21f265111a8fb60e757828c2fb50e48ad73e4a870058afe9e4077598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:498-501 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1219-1222 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d56cf0f4ad3d6895ca614dd979da075575f1b53795499949b36b754f34c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): TokenTrackerWin/DashboardWindow.cs:681-688 | TokenTrackerWin/PetWindow.cs:360-364 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48ee5e13d253484d9789cff8a81f3cb882eccd669f49ec5022c4c07de109bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): TokenTrackerWin/DashboardWindow.cs:750-754 | TokenTrackerWin/PetWindow.cs:367-370 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"375322788eef428970dc59633338487eb339b61ab8dece2e2dab737bfac47976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): TokenTrackerWin/TrayMenuRenderer.cs:37-45 | TokenTrackerWin/TrayMenuRenderer.cs:48-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayMenuRenderer.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a903af8e276cb631571cb78f7d6075dc1e1b12373236a6054527c02ad2023a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): TokenTrackerWin/AutoUpdatePolicy.cs:55-65 | TokenTrackerWin/Currency.cs:73-80 | TokenTrackerWin/NativeLocalization.cs:79-89 | TokenTrackerWin/NativeTheme.cs:73-83 | TokenTrackerWin/TokenUnits.cs:58-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/AutoUpdatePolicy.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"62721b02051ee17321626a1b2409ce75a824972646ad9269ae221b3e4242baa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:250-263 | TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:277-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:250\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc510d19a8bc0b18cfd977261af15408b7c0ec4b56c0a0b2275ff62cf71846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:203-218 | TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:233-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:202\u0060 calls \u0060NSHomeDirectory\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift:232\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ServerManager.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1001ea6803292672fd353873fbe05b8dd3ddb74a316452aad9ea19237ecedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift:149-161 | TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift:360-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"716dd6cf4b85fa03f6bc7aaaff798fadee9a163f52a94cb0a47d1186b1bd70aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1309-1322 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1324-1337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d1e8e8ab03c85677362862f57e89539b7cd5bc404c20d8ac3138bf6e6b6703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift:233-245 | TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift:644-656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5677f7f4f7f3f49cb531a8332cdfee1b1fcf01330f94113e9823167c0f3ff0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Views/BoltShape.swift:21-33 | TokenTrackerBar/TokenTrackerBar/Views/BoltShape.swift:35-47 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/BoltShape.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db01e3f338ccad9f8a55bb21de06843f3304255edfbc7da13f089f625a4740e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:536-548 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:626-637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:536\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9de0c9c62c562fac45779c57db084b5e22d93b49ab1398a15b38836beb7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): TokenTrackerBar/generate_icon_composer_assets.swift:60-72 | TokenTrackerBar/generate_icon_composer_assets.swift:73-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/generate_icon_composer_assets.swift:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/generate_icon_composer_assets.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85992acd56fdc0f893eae5994791821e98b3eae21f57d1d592e6455a98e6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:792-801 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:884-891 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:792\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d2a9e871e41cd8c6366c7a1e7bc5828daad3dd521741eee0a8b023b8d8832a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:65-73 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:75-83 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:85-93 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:95-103 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9ad8ae4bc959ac248c18450ed6d4ab44c44b7b2691a4376c9e33c473c7fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift:137-145 | TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift:381-388 | TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift:425-432 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift:134\u0060 calls \u0060makeFullWindowBackground\u0060, \u0060addSubview\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift:424\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2feb83f4a2fed4e0186e4d0b14f835e072db2da2513675fbcac034dfdbc26f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:9-17 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:5-13 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"99721238c5088fb02cc8865198be9fdd11cdb0bc951371aaab972978071b5e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): TokenTrackerBar/generate_menubar_icon.swift:19-27 | TokenTrackerBar/generate_menubar_icon.swift:28-36 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/generate_menubar_icon.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"488a9f961ffaabd8d5d763467f73014ba04585756055f4dc893f248c324aa214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 6): TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:371-378 | TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:405-412 | TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:428-435 | TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:447-454 | TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:461-468 | TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:472-477 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:371\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:370\u0060 calls \u0060LimitProvider\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift:472\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71e30c73d8c9edfeff1eeeaf8b9c0a5847c38cca516483cc3380b1cc5ee89b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:619-626 | TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:643-650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift:619\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5be01ca0d5262cbb6a44db7ca66abaa50977868426d370ca3037be5f7e7ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift:50-57 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetTheme.swift:28-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060TokenTrackerBar/TokenTrackerWidget/Views/WidgetTheme.swift:25\u0060 calls \u0060opacity\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift:47\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a366fe3ac07da1c5ea0b7e9ecacb1813b8e7b0c1c189f332e9d3d30e09be7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:151-158 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1245-1252 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea03b6db7da517532138f62044160944b34d6dddc2117f3355ca8e62ccc171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:30-36 | TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:152-158 | TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift:1246-1252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"45158f4cc49b0c502177191b6312e990dc2bfedde90cbf469e4c8c7830696480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:423-429 | TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:457-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d5efdaf83c5dbe93cc120f9867a2f8b4cd3fe666450c6acfbef35a0f9aeefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): TokenTrackerBar/Shared/NativeQAProfile.swift:149-154 | TokenTrackerBar/Shared/NativeQAProfile.swift:229-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0accde34bf6c7dbc676f63fe2b0496cd711b14efd449e794c5fd68024ac324f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:260-266 | TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:267-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift:260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"172b9cc614c69d32e2a5f3596eda50a08302579dd339999529f65edde94a2669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:354-357 | TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:618-623 | TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift:702-707 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13d83c47e85656d8f20d878ff48c6a34f2f07289951579428d14a919bdb9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 12): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:674-678 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:817-821 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:866-868 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:914-916 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1065-1069 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1169-1171 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1182-1184 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1201-1203 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1222-1224 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1238-1240 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1263-1264 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1281-1282 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:674\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:822\u0060 calls \u0060fill\u0060, \u0060Path\u0060, \u0060r\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:916\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8abd1fd1da049f902a11b5783ad07155d4d8569d5120d7bb741cd4f2946d6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): TokenTrackerBar/Shared/NativeQAProfile.swift:155-160 | TokenTrackerBar/Shared/NativeQAProfile.swift:236-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/Shared/NativeQAProfile.swift:155\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3369d4e26fbe97c2892c8015feb439124cfe5ad9b947832d75035292b08faecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:376-380 | TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift:382-388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/MenuBarAnimator.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c863cc2e9542afbc25f7e30179c46977b92f1e93737fde792e52f53ba7e6859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): TokenTrackerBar/TokenTrackerBar/Services/ScreenConfettiOverlayController.swift:314-318 | TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift:193-197 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/ScreenConfettiOverlayController.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"982153494866da8b9a5900ad9cb653a7a5b05827362a67b52af73d14e13bf0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 25): TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:179-184 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:250-250 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:251-251 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:255-260 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:422-427 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:443-448 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:504-504 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:505-505 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:508-508 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:509-509 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:517-517 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:518-518 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:572-572 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:573-573 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:583-583 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:584-584 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:585-585 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:586-586 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:590-594 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:597-600 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:604-608 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:611-614 | TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:617-620 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:48-48 | TokenTrackerBar/TokenTrackerWidget/Views/WidgetStrings.swift:49-49 \u2014 there are 25 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 25 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:185\u0060 calls \u0060codexResetBankLabel\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift:504\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"53712cd476aad1a21d012aec3aa804d36bb7103411ef2bcea0b7b58f2d507e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:754-758 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:779-783 | TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:1122-1124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift:754\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c70d1b56a96c1fe8172b7ef8c532f2880095df2ffa67ab999b04007cbd0087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 5): TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:43-54 | TokenTrackerBar/TokenTrackerBar/Models/HourlyUsage.swift:41-52 | TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift:43-54 | TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift:34-36 | TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift:37-39 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift:33\u0060 calls \u0060container\u0060, \u0060decodeIfPresent\u0060 and \u0060TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift:43\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80c5508d6b3b7f2cdf3bf619364bb498ede1ccc21c27536ab4ccb9f4ef5920e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): TokenTrackerLinux/src-tauri/src/server.rs:115-122 | TokenTrackerLinux/src-tauri/src/server.rs:591-598 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060TokenTrackerLinux/src-tauri/src/server.rs:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/server.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7dd8b4233157c765015ddb157803910cc12c5b9e010c47d1b713493f28bb28"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 .NET suite: Coverage NOT MEASURED: the .NET half could not be measured \u2014 the coverage run wrote reports, but they instrument no source line \u2014 nothing was measured; the JavaScript/TypeScript half measured 92.1% (node:test via \u0060npm ci --ignore-scripts\u0060 in the repository root, the 3 run(s) test reliability made; its \u0060test:icons\u0060 script (\u0060node --test test/sync-tauri-icon.test.mjs\u0060) under node\u0027s V8 coverage via \u0060npm ci --ignore-scripts\u0060 in TokenTrackerLinux/). This repository\u0027s production source spans both ecosystems, and no partial figure is published as if it were the whole: coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3720adaaad90afbea5d1b5a17715b9e4945e86b8b1a879ed41b45481ccb6b7a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1f8754693a027061ed4b7c6bda57f70abffc2f95caa06ab1b0a4feb2b182086"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c55b9ace37de677f6b9d0514853f083d9c4d1e7261bbb15e075cf7d3095448b2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"958bf89e7e749a54df265df2fbfde5b824e06f46ce62affedb5f5ba1508bfa5f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08f898aa711249390cba4fee05ff3664714d4a868f7d3a2b12c40172b6b709e1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ee017ec60802e0f631d1fb4688fbf40fdcf13cc3585b0f25fc5ba190bfdc710"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d208dddb438674f12bb822a03d856bb16337afdfd462ed4f46a6a7dfb4da3ec"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"918fb580256e4ef9c96477bdada6ff4763dc3cdece7bdfdd0bda160c40360d7e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26b94d244660e36c973c89551a700bddd07d053079daad9093f8d8d6872881c6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/commands/sync.js: src/commands/sync.js changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 828 in sync.cmdSync at line 553. 30 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/commands/sync.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"140951113898f28f4c4748f7438c028b84467889adb8622c4c1f83aa56fb2926"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/local-api.js: src/lib/local-api.js changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 707 in local-api.createLocalApiHandler.handleLocalApi at line 1886. 27 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/local-api.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09b73ac312400b45aa50a72c5cfd04feff74fcd4cca85a6aac6491dd2eb20cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/rollout.js: src/lib/rollout.js changed 109 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 241 in rollout.parseAntigravityIncremental at line 22484. 74 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/rollout.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52a851d0c3dc5fb848d23cb8a0adbc4b753b74a3494959dd60e628afbc6037e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/commands/status.js: src/commands/status.js changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 407 in status.cmdStatus at line 198. 14 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/commands/status.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1fdc2258f454fa9e931fd1820fcc63589124d84fafd16915038a7401aa5398"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/usage-limits.js: src/lib/usage-limits.js changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 172 in usage-limits.fetchUsageLimitsUncached at line 4478. 25 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/usage-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c67041bdacd30af6d42023d5157c9d288347b0ab284f5ecd04e6f6e5960a962"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-account-model-breakdown.ts: dashboard/edge-patches/tokentracker-account-model-breakdown.ts changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in tokentracker-account-model-breakdown.getModelPricing at line 506. 27 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-account-model-breakdown.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4fe19699e7d30f37afdb82a946432299eca87043c7bd4e3611e87ff0aef8a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-leaderboard-refresh.ts: dashboard/edge-patches/tokentracker-leaderboard-refresh.ts changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in tokentracker-leaderboard-refresh.getModelPricing at line 486. 28 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f75275647ddaa7deed5ecff909201d7825eb478d109fce5d1b1c70d9e50898"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-leaderboard-profile.ts: dashboard/edge-patches/tokentracker-leaderboard-profile.ts changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in tokentracker-leaderboard-profile.getModelPricing at line 445. 28 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-leaderboard-profile.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"60824870304331c74ce58ce65a3bceada1ce4e7cc01a1422c650d1f9e0257355"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/session-analytics.js: src/lib/session-analytics.js changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in session-analytics.buildSessionAnalyticsInternal at line 2387. 23 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/session-analytics.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7286a0c1dc462fafeabf6d74ea7cb04103a890b9ca534800968e04431579cb89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-account-daily.ts: dashboard/edge-patches/tokentracker-account-daily.ts changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in tokentracker-account-daily.getModelPricing at line 487. 25 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-account-daily.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3006adedd6ea62adec6d4fb7cedd3ae036aca419de72e2a6d936e1d723f515a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-account-summary.ts: dashboard/edge-patches/tokentracker-account-summary.ts changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in tokentracker-account-summary.getModelPricing at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-account-summary.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"05951fc59516cd027cba4404c1258374aaed4b0fceffbcf2d902af1ca56ee25e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/DashboardPage.jsx: dashboard/src/pages/DashboardPage.jsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 317 in DashboardPage.DashboardPage at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/DashboardPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c784b9359d676b684c916207f9fd0df32531815d46386c05c639e6e7a020ed5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/codex-rollout-parser.js: src/lib/codex-rollout-parser.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 221 in codex-rollout-parser.parseCodexRolloutFile at line 590. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/codex-rollout-parser.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55a8cc33b8bfc31d311077bf02f1f9842314f81b4d6aebfb16c7224ba378a56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/SessionsPage.jsx: dashboard/src/pages/SessionsPage.jsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in SessionsPage.SessionsPage at line 435. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/SessionsPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5d34eaba0e35b4a2da806869b7fb5a5b25bea6d7db04d9805b719a9c24e04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift: TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in UsageLimitsView.sectionIfContent at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"773db0528575a7a97da041af60f22f41be20ebd68b8f3f5711bfc32ec8e95d3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/UsageOverview.jsx: dashboard/src/ui/dashboard/components/UsageOverview.jsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in UsageOverview.UsageOverview at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/UsageOverview.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0985569bb85c32e240e0054d620a31c29c83c848733d9622bb198cb6275a5b51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/CloudCheckoutPage.jsx: dashboard/src/pages/CloudCheckoutPage.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 334 in CloudCheckoutPage.CloudCheckoutPage at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/CloudCheckoutPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3435f4157b5a3c3fbc134e53ebca340b2fbb335c1205175580f90b01fd7df80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/commands/init.js: src/commands/init.js changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in init.applyIntegrationSetup at line 679. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/commands/init.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fcf4296fc4e91a858a913b11bf3e870bf46bbb696aa8b79c4e3d472aa888f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/SkillsPage.jsx: dashboard/src/pages/SkillsPage.jsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 252 in SkillsPage.SkillsPage at line 836. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/SkillsPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4411000e54849509cacf12e52a5cae4dc2425c90b81626e97ce9db7b696b08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx: dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in UsageLimitsPanel.renderProviderGroup at line 1078. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8db87d825c89c4fb8282a94e6274c1fb431a545377ba9ff602ce10f59a642ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/vite.config.js: dashboard/vite.config.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in handleLocalApi at line 528. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/vite.config.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"174ab861789fecb089c2ff32219427eca7e6f1dd3203fddd46cf6cb210c7c7e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/pricing/index.js: src/lib/pricing/index.js changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in index.computeRowCost at line 347. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/pricing/index.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd14619fbb7e3ca9472595d6acf3c2133888366d4d07ac39bd75930d6f784c4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/pricing/matcher.js: src/lib/pricing/matcher.js changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in matcher.lookupPricing at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/pricing/matcher.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d37368fb2882faefac6b5d89829452139e788594ff383679f7ef0efcd4ce4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/App.jsx: dashboard/src/App.jsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in App.App at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/App.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d19bbc5393e36fb8bf103eef20151930da1a3b763bf553bac8b214f0c96383a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerWin/DashboardWindow.cs: TokenTrackerWin/DashboardWindow.cs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in DashboardWindow.InitializeWebViewCoreAsync at line 367. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerWin/DashboardWindow.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f400b32b71bded0c4f244b14be5dce5e0d7a438dde699d6815850c679904ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/CloudPage.jsx: dashboard/src/pages/CloudPage.jsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in CloudPage.CloudPlanView at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/CloudPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32187a82dbea29613658fb2c106ac4d4dd56f53a22d58181b189b9d470ef8dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/contexts/InsforgeAuthContext.jsx: dashboard/src/contexts/InsforgeAuthContext.jsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in InsforgeAuthContext.InsforgeAuthProvider at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/contexts/InsforgeAuthContext.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b08abb7d7b2c3f14f2d6fc29c63279e78cf2395c12bff4318375b48010ee45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift: TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in StatusBarController.buildMenuBarDisplayValues at line 440. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dd3a1e793a9d1e429eadcc216416416199f7283c455891f90319fa37b56a83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-billing.ts: dashboard/edge-patches/tokentracker-billing.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in tokentracker-billing.billing at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-billing.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75e7aa7ea78168f059f2603e5d1c1723e2c5644bb023cfdd53120f6b015e797"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/LimitsPage.jsx: dashboard/src/pages/LimitsPage.jsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in LimitsPage.LimitsPage at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/LimitsPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f6bbee9b594426f8236a499a8af0ed93a2ed8957b0c51c5c6b066400d4e2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/LoginCard.jsx: dashboard/src/components/LoginCard.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 99 in LoginCard.LoginCard at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/LoginCard.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a788c5672b897c70b1d67b772aad2ab5f74d2ae616500dc57e6d4af8d765c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/commands/serve.js: src/commands/serve.js changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in serve.cmdServe at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/commands/serve.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"064c5b01358909f1520f3708203f7edb8ef76358b224e8c1b895472e8cb25056"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/cloud/CloudMembershipCard.jsx: dashboard/src/components/cloud/CloudMembershipCard.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in CloudMembershipCard.CloudMembershipAccount at line 472. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/cloud/CloudMembershipCard.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"33581b685fff859c4ccd39f890e24f139bb2ac9fac7189fc442c351e506ca652"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/native-bridge.js: dashboard/src/lib/native-bridge.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in native-bridge.saveUsageExport at line 178. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/native-bridge.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/native-bridge.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb4d42b59e278248622c74d421883352a27e1f3d40b0974b7c1dd5e76822f33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/hooks/use-usage-limits.ts: dashboard/src/hooks/use-usage-limits.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in use-usage-limits.useUsageLimits at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/hooks/use-usage-limits.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e94cc74ecec9b4e21e4b9ad62ea880d06f122f232fdef234c2a5b200c5f840"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/TrendMonitor.jsx: dashboard/src/ui/dashboard/components/TrendMonitor.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in TrendMonitor.TrendMonitor at line 444. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/TrendMonitor.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aa506e9d8c0861a4501ffc941ca406b7839cb1fa2d5f2350bafcdb181d7f5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/cloud-prompt-policy.js: dashboard/src/lib/cloud-prompt-policy.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in cloud-prompt-policy.cloudContextualPromptDecision at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/cloud-prompt-policy.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c137feb4f4e186ebc9d85182625d8b5801eb498acab3bc270fac7550306cfe10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/skills-manager.js: src/lib/skills-manager.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in skills-manager.updateSkills at line 1399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/skills-manager.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acfa6e4c0e969e33796c5801d04af4dcca9f8a8942484219aa98832a0887087"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/zcode-limits.js: src/lib/zcode-limits.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in zcode-limits.fetchZcodeLimits at line 1372. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/zcode-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f84f890d833d1b5b16e1b5f682ad0ffb6c04785dc07ee0e8661e2d08a28fb2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift: TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in DashboardViewModel.loadAll at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/ViewModels/DashboardViewModel.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"055409c650dea4e8cb4ed4e41b081177719cb8c6cfeea622dd778f9152e4ace9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pet.jsx: dashboard/src/pet.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in pet.Pet at line 529. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pet.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f832d9d77a3b5dd4824fb255e1a21b336df64ca66af6c983733dae98a01cefce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift: TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ClawdCompanionView.activePetLimits at line 1494. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/ClawdCompanionView.swift"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82706f7ab72509e46cc705af3591938951983f2e803dc832d059d49b51e4b80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift: TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in UsageLimitsResponse.limitWindowReadings at line 200. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e7a7b60d7c6bf7baa57a65811aef2d178013d8fea985648b24bd391f0e073"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/pet-quips.js: dashboard/src/lib/pet-quips.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in pet-quips.collectPetLimitRows at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/pet-quips.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d483d175ba68c0f9bafad70eafa0e707b7c1e22f74f1c675c8ff668b16617a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/qoder-limits.js: src/lib/qoder-limits.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in qoder-limits.fetchQoderLimits at line 843. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/qoder-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ee1eb1bfeee04e7c7c7e0abb2d03dfef31d966196542240ac94d55e5980ac7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/views/DashboardView.jsx: dashboard/src/ui/dashboard/views/DashboardView.jsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in DashboardView.DashboardView at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/views/DashboardView.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71d699d34d9f6f5d96b1aec6ee068fff6ee060b06a60c98e8a983b1359f5bcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/cloud-account.js: src/lib/cloud-account.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in cloud-account.fetchAccountUsage at line 435. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/cloud-account.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d17d6c316d746d52e367c31359576f49b619ce022538e4ba58eadc7b94540"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/LeaderboardPage.jsx: dashboard/src/pages/LeaderboardPage.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in LeaderboardPage.LeaderboardPage at line 479. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/LeaderboardPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b03f00e88a38f3ffa1c1a10ab77064a92ca6ee0e94f47a38cf785bc5fc9f2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/diagnostics.js: src/lib/diagnostics.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in diagnostics.collectTrackerDiagnostics at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/diagnostics.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cce88516221ec79a19c3258e95b1b4a22151c8c03625ad1a78fbb03b276e5ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-ingest.ts: dashboard/edge-patches/tokentracker-ingest.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in tokentracker-ingest.default at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-ingest.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34674f7c20a3fb8a8c005373e30fc6fbcae136afbe9b8be01abf11f1cfce02f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/sessions-insights.js: dashboard/src/lib/sessions-insights.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in sessions-insights.scopeSessionsToRange at line 5. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/sessions-insights.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-insights.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a6ba9cde37b0dd7dce1d04ac430cca1a131777fda98ab1e8b1ed59116a0761"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/api.ts: dashboard/src/lib/api.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in api.fetchLocalJson at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/api.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2881d1595de628308f4c50c3ce52453f3d2815df3bf473e6492a21616b5410"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/codex-context-breakdown.js: src/lib/codex-context-breakdown.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in codex-context-breakdown.computeCodexContextBreakdown at line 382. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/codex-context-breakdown.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e242bec69c551ffe9919f6168b70cda9e87a7656bad6b95744668d55f8de014"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/hooks/use-trend-data.ts: dashboard/src/hooks/use-trend-data.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in use-trend-data.useTrendData at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/hooks/use-trend-data.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8c877b908649ae29863816a3c2d6ed3b67e5c38b01fd48c9b770475efced39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/cloud/RedeemProCode.jsx: dashboard/src/components/cloud/RedeemProCode.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in RedeemProCode.RedeemProCode at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/cloud/RedeemProCode.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f97b8807f5962441a88a7eb3e0c2802887542d6022ffe85948083264e5fced"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-account-heatmap.ts: dashboard/edge-patches/tokentracker-account-heatmap.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in tokentracker-account-heatmap.default at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-account-heatmap.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde679f95a61f1095103e1b2396765cf0b90386479fab99cabe3291a05af161"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift: TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LimitsSettingsView.providerIcon at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c475230834cb5ec44e2af5f927d104d93998d78f6377249f0150888a13366523"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/ark-coding-plan-limits.js: src/lib/ark-coding-plan-limits.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ark-coding-plan-limits.fetchArkCodingPlanLimits at line 309. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/ark-coding-plan-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"05314766f2963888e128312fb66b2b2db927502a0a66c58e3dfcafbcdf319bc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/grok-limits.js: src/lib/grok-limits.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in grok-limits.normalizeGrokBillingResponse at line 616. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/grok-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53df5f41598dc46c18c21a75e7227357fa83cf545d7c8e8e4de4a739a9b03b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerWin/UsagePoller.cs: TokenTrackerWin/UsagePoller.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in UsagePoller.FetchTopModelsAsync at line 340. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerWin/UsagePoller.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"940f44b59ab28e969cfb60f518460f65cab6f291eafe0f9089b40f495f8d376f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/model-breakdown.ts: dashboard/src/lib/model-breakdown.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in model-breakdown.buildAllModels at line 447. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/model-breakdown.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa88b5a9558d4a63e343d617fdc9d9d5ec5e756011619d64276049fb05dc80f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/pages/SettingsPage.jsx: dashboard/src/pages/SettingsPage.jsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SettingsPage.SettingsPage at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/pages/SettingsPage.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SettingsPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa32bfa145f8024696d87228d94d7d8b7756a779bd85275571a8d70cc3a3d0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift: TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in WidgetSnapshotWriter.limitProviders at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0361e1854b139b74e710839b6a6c1b5965fc5d8389a44054ba15a05854d8bf48"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/SessionDetailModal.jsx: dashboard/src/ui/dashboard/components/SessionDetailModal.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in SessionDetailModal.SessionDetailModal at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/SessionDetailModal.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded82990a7a6facef6a6258a659f007821e552fec95899be053c87bb61092870"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift: TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in DashboardWindowController.handleScriptMessage at line 565. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DashboardWindowController.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcaf5243bb76033c5633eb39980c14a2a0d5fdbad845659c238c66f0ad2fe98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/tokentracker-leaderboard.ts: dashboard/edge-patches/tokentracker-leaderboard.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in tokentracker-leaderboard.default at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/tokentracker-leaderboard.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13b3257185a5af05c9bac3915331020598febd56f5fcec99a836fa1d4c191fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/commands/uninstall.js: src/commands/uninstall.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in uninstall.cmdUninstall at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/commands/uninstall.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44876742f829fb779fdff9acb884738d7782f6332aaf63170e295d0103f6f7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx: dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in LeaderboardProfileModal.ProfileContent at line 445. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b6a940776eba96c845da5e622c662723dd39ee43d08c5f2abc15005c2ca1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx: dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in CostAnalysisModal.CostAnalysisModal at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6af24c3bfba4b97680fd2a9e253098efbfbc3ab0f8c078787f1dad32a2d361"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/dsh-session.js: src/lib/dsh-session.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in dsh-session.parseDshTranscript at line 299. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/dsh-session.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d7ca2b7808631366eee3d582878d24a8991aa16261cf3e1b167bdc777364d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/claude-config.js: src/lib/claude-config.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in claude-config.normalizeEntriesForCommand at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/claude-config.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eb68f59ab33870568dc4919fed92579caa41e2b1fc9fab0a2b5ca3dcdeb24a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/cloud-sync.ts: dashboard/src/lib/cloud-sync.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in cloud-sync.syncCloudUsageWithRecovery at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/cloud-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b63ab64c5c8dc16ce1190d91beed2212cfb7620e44ba18a733bc52db550f65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift: TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in UsageLimitsResponse.isProviderAvailable at line 203. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/MenuBarDisplayPreferences.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b98c0299d0a65b2612a41380a00b37b4f78401bbc999bdee518f956fae1ac3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/marketing/v3/TokenGalaxy.jsx: dashboard/src/ui/marketing/v3/TokenGalaxy.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in TokenGalaxy.TokenGalaxy at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/marketing/v3/TokenGalaxy.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4168e92b5164c594d4b4c6892bb785fc23795d6a9ef08aa2e1a3d7de9362d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/cloud/CloudContextualPrompt.jsx: dashboard/src/components/cloud/CloudContextualPrompt.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CloudContextualPrompt.CloudContextualPrompt at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/cloud/CloudContextualPrompt.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudContextualPrompt.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd642589b986190b2890728827d1d14415c34767ea4d166ddab28e2d9f944fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/static-server.js: src/lib/static-server.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in static-server.serveStaticFile at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/static-server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/static-server.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0984b4070f846c6195441bf1bc24ea6742e7513d05e7d5a62b9f0036b75e2167"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift: TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PetCatalog.refresh at line 673. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/DesktopPetWindowController.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba5f5090968c2d6188b60bd9c12839a58fe4bbf25d7128f9b8e4114a5a47aca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/hooks/use-usage-data.ts: dashboard/src/hooks/use-usage-data.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in use-usage-data.useUsageData at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/hooks/use-usage-data.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f77207008ea1d1ab98c55c0b254e0fa4dc64d8094210184bb90d56dc13f4fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/InsforgeUserHeaderControls.jsx: dashboard/src/components/InsforgeUserHeaderControls.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in InsforgeUserHeaderControls.InsforgeUserHeaderControls at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/InsforgeUserHeaderControls.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a0f3934c211d7f3ee7a8e3a3c3dda1daad7c4d99009a05ccb7c553b7daae28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/doctor.js: src/lib/doctor.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in doctor.buildDiagnosticsChecks at line 294. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/doctor.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"023198ae9d38a7fa7b3293666378f96df15e061bef93186b8f1223b233f05ede"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/lib/pet-linux-host.js: dashboard/src/lib/pet-linux-host.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in pet-linux-host.startLinuxPetHost at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/lib/pet-linux-host.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"311bf82761ed9a2df675905db85be8a411749b28df7c1fd3217c4f2bb4aae596"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/devin-limits.js: src/lib/devin-limits.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in devin-limits.readDevinCredentials at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/devin-limits.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77e57785f9f056e1340a2d079d948da1e758a7d4c51f55a4601a5ef4370c5a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/upload-queue.js: src/lib/upload-queue.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in upload-queue.compactPendingQueue at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/upload-queue.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dce8cdad11c0beced82218411664a5f0ad537df1ae340f26971c65e5270ef5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/edge-patches/cloud/waffo.ts: dashboard/edge-patches/cloud/waffo.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in waffo.confirmExpiredUnusedWaffoCheckout at line 662. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/edge-patches/cloud/waffo.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9dc28c1b1c2a175afc853211918e109e7537604898125abcaa095c8f4295d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/limits-cache.js: src/lib/limits-cache.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in limits-cache.withLimitsCacheFallback at line 406. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/limits-cache.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c99342c58e1faa288cf12208ae319b8f68135772620453551f50eb1433e225"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/contexts/AccountViewContext.jsx: dashboard/src/contexts/AccountViewContext.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AccountViewContext.AccountViewProvider at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/contexts/AccountViewContext.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/AccountViewContext.jsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad93762fb9028611a61a05e318a11964827893829c6955fd786c5553c3f3806f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/wsl-probe.js: src/lib/wsl-probe.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in wsl-probe.probeWslDistros at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/wsl-probe.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f37bad659a47ec704c6a14431cb8e6985472896682ba406d9b6b2705eea93e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/components/settings/LocalDataSection.jsx: dashboard/src/components/settings/LocalDataSection.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LocalDataSection.LocalDataSection at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/components/settings/LocalDataSection.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22956a81ea9351fda81d352aff85059fddf32598e2c4dac54007a973f91a3eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TokenTrackerWin/QuotaWidgetWindow.cs: TokenTrackerWin/QuotaWidgetWindow.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in QuotaWidgetWindow.ReceiveMessage at line 235. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerWin/QuotaWidgetWindow.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6ec6fc5d16aadd8cbcafa0a064e77f6fb645b9d0a9d87b04ae52a3322b528"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/passive-mode.js: src/lib/passive-mode.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in passive-mode.detectPassiveProviders at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- src/lib/passive-mode.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/passive-mode.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6b3603749361f29d1565c4ef9616394fd1b273b79735e5abf649156d9919a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx: dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SessionInsightsCard.SessionInsightsCard at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a24d10a56eb6319432d8a236221128b09860526b5032f26c7a3644158d880"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dashboard/src/hooks/use-activity-heatmap.ts: dashboard/src/hooks/use-activity-heatmap.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in use-activity-heatmap.useActivityHeatmap at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/hooks/use-activity-heatmap.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"597e045558331c24398d316f8fe8d30e2cc135c09943186e864b41fbadbef9bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerWin/TrayApplicationContext.cs: TokenTrackerWin/TrayApplicationContext.cs changed 16 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is TrayApplicationContext.InstalledCustomPets at line 564), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(update): stop a Windows silent-upgrade crash from relaunching the old exe (#1115) (#1116)\u201D; \u201Cfix(windows): show the dashboard on manual application launch (#832)\u201D; \u201Cfix(windows): fall back to official releases when update checks are rate limited (#784)\u201D; \u201Cfix: repair sync backlog and provider accounting\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerWin/TrayApplicationContext.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd279e4ded1d6d6b1879ec0a890a0367623393010e4063e3e1ae2d4020107c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift: TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift changed 17 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is GenericLimitWindow.creditsDetail at line 379), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(qoder): keep add-on credits consistent across sources and hide empty windows (#923)\u201D; \u201Cfix(macos): show ZCode reset credits and Start Plan in menu bar (#888) (#894)\u201D; \u201Cfix: unify WorkBuddy limits and show credit details\u201D; \u201Cfix(grok): show each product\u0027s share of the weekly pool (#835)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5479adefa5898eb1b96fd3cf47412a44da70f85c7d06c26b23c4e77b37bc1b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift: TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift changed 16 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Strings.grokProductLabel at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(i18n): keep product name \u0022Grok Bot\u0022 untranslated (#1048)\u201D; \u201Cfix(macos): fall back to releases page when GitHub API rate limits update checks (#945) (#946)\u201D; \u201Cfix(qoder): keep add-on credits consistent across sources and hide empty windows (#923)\u201D; \u201Cfix(limits): follow remaining mode on the Grok quota pool (#885) (#904)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Strings.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d0978be88461cca92c992ebe3c4ae851bbf9ec7d53551dbc7b356eef913ce7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerLinux/src-tauri/src/main.rs: TokenTrackerLinux/src-tauri/src/main.rs changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is tokentracker_linux::start_health_monitor at line 298), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(linux): serialize zoom writes and preserve rapid input\u201D; \u201Cfix(linux): drop the server-side OAuth handoff\u201D; \u201Cfix(linux): keep the WebKit renderer setup first in main\u201D; \u201Cfix(linux): only hand app-started sign-ins back to the app\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerLinux/src-tauri/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/main.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96162d9fd361ae03fe368690ebb05350500e4ea0522b11a02def329dbee9d68"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: dashboard/src/ui/foundation/TokenFormatProvider.jsx: dashboard/src/ui/foundation/TokenFormatProvider.jsx changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is TokenFormatProvider.TokenFormatProvider at line 28), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(windows): \u540C\u6B65\u6258\u76D8\u548C\u684C\u5BA0\u7684\u6570\u5B57\u5355\u4F4D\u201D; \u201Cfix(macos): show Wan/Yi units in the menu bar when the dashboard uses them\u201D; \u201Cfix(dashboard): show trillion-scale token counts with a T suffix\u201D; \u201Cfix(settings): preserve Chinese units across migration and windows\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- dashboard/src/ui/foundation/TokenFormatProvider.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/TokenFormatProvider.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"768a274276c42bcd03970aa920037e88d8a18ef6610e0c0b9e61d37ac1c36222"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerBar/TokenTrackerBar/TokenTrackerBarApp.swift: TokenTrackerBar/TokenTrackerBar/TokenTrackerBarApp.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is AppDelegate.application at line 266), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(update): keep silent auto-update relaunch in the tray (#1096) (#1097)\u201D; \u201Cfix(macos): guard the #989 SMAppService call for the macOS 12 deployment target (#1006)\u201D; \u201Cfix(macos): keep Launch-at-Login quiet under SMAppService (#989) (#1005)\u201D; \u201Cfix: defer dashboard load until server is ready\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerBar/TokenTrackerBar/TokenTrackerBarApp.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/TokenTrackerBarApp.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b2ebddb59b0da561e9faf87f123d0dc8b69320f70bcbc1dfc260d993efbe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerWin/UpdateChecker.cs: TokenTrackerWin/UpdateChecker.cs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is UpdateChecker.CheckAsync at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(update): stop a Windows silent-upgrade crash from relaunching the old exe (#1115) (#1116)\u201D; \u201Cfix(update): keep silent auto-update relaunch in the tray (#1096) (#1097)\u201D; \u201Cfix(windows): fall back to official releases when update checks are rate limited (#784)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerWin/UpdateChecker.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UpdateChecker.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8fdc7c60d49cfe45c6df32285b695161700db48e4d16dfa9166f0a7b5da3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: TokenTrackerLinux/src-tauri/src/pet.rs: TokenTrackerLinux/src-tauri/src/pet.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is tokentracker_linux::pet::start_overlay_drag at line 649), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(linux): open the dashboard through the app and restart a dead pet\u201D; \u201Cfix(linux): address review feedback on the desktop pet\u201D; \u201Cfix(linux): keep the pet on whichever monitor it is dropped on\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 23:15:00 \u002B08:00\u0027 --until=\u00272026-11-16 23:15:00 \u002B08:00\u0027 --full-history --no-merges -- TokenTrackerLinux/src-tauri/src/pet.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/pet.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e873afd88d0d42022c926910c5a6004e46b100bf38188404fffec227c737e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 25 significant file(s) lose their only recent owner: dashboard/src/pages/PetPage.jsx, src/lib/pet-packages.js, dashboard/src/components/leaderboard/CommunityStatsModal.jsx, dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx, dashboard/src/ui/marketing/v3/galaxy-config.js, TokenTrackerBar/Shared/NativeQAProfile.swift, TokenTrackerBar/TokenTrackerBar/Services/ScreenConfettiOverlayController.swift, scripts/cloud-sandbox/native-gateway.ts (\u002B17 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37ab622adafc83258d1fdbcffd0dd03f2370da71052ddd6bc254f2cd58c95621"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 10 significant file(s) lose their only recent owner: dashboard/src/ui/share/ShareModal.tsx, dashboard/src/ui/share/variants/AnnualReportCard.jsx, TokenTrackerBar/TokenTrackerWidget/Views/SharedWidgetViews.swift, TokenTrackerBar/TokenTrackerWidget/Widgets/SummaryWidget.swift, dashboard/src/lib/leaderboard-columns.js, dashboard/src/ui/share/native-save.ts, TokenTrackerBar/TokenTrackerWidget/Widgets/TopModelsWidget.swift, dashboard/src/lib/leaderboard-ui.js (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea0035d9d0f548657c048273ebd91b49384454622b3ad6987aea9def7fe2affd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 4 significant file(s) lose their only recent owner: TokenTrackerLinux/src-tauri/src/pet.rs, dashboard/src/lib/pet-linux-host.js, dashboard/src/ui/dashboard/components/LinuxTopBarCard.jsx, dashboard/src/ui/dashboard/components/LinuxPetCard.jsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"71673e2ecbaba337eb4a3f681784b1594494e4ce4e4c06dd65b7e9a20bd96aeb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 4 significant file(s) lose their only recent owner: TokenTrackerWin/QuotaWidgetWindow.cs, dashboard/src/quota.jsx, dashboard/src/lib/desktop-quota.js, TokenTrackerWin/LocalSyncPublisher.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b16f2c75382a9d8c368873c831310ad903af45c6fe49b547b7c32d932dda1335"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 3 significant file(s) lose their only recent owner: dashboard/src/lib/cloud-checkout.js, src/commands/doctor.js, src/lib/kimi-profile.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6274a9cf9c28d6f6a90f17f288524acac00d1a9b5a03da25af1aa9ecbbaef08f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 8 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (55 single-owned of 449 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 449 of the 612 production source files in this repository met that bar). They are anonymized user #6 (2 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)) (\u002B2 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: TokenTrackerBar/TokenTrackerBar/Models/AccountViewSource.swift, src/lib/codex-model-attribution.js, dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx, TokenTrackerLinux/src-tauri/src/ui_zoom.rs, src/lib/devin-usage.js, TokenTrackerWin/UpdateReleaseClient.cs, TokenTrackerWin/TiltWheelScrollForwarder.cs, TokenTrackerBar/TokenTrackerBar/Models/DynamicIslandCompactPolicy.swift (\u002B1 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/AutoUpdatePolicy.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"634bf130ad199b13e1f3901c88db6cf6f57490dc36c1d34184100af7350ad5f1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/CloudUsageExport.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf8e906929d9d158f5c87239d3ce6d086550588f57b62de7d0dd4d85ef38601"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/Currency.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21332d018fa6b6c0db272f6301826e2bc14739ae9af2d23971cfae444344da4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4acfe645ec5b97ad7dc142da0adce7677419290acff6eee1ed563365272386"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"26edc696d4e8cc9ee866a8895d9ff1703762000b6606050b75df7798a6b5f6d4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5147777fc4093bb05725ae1d69c35ec8c88499db596deefd9397b3b2e4d5f7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3771884783369635fa2b990893048949359a5f35bff218dd8c5064c244650a1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f869176e3c3d7e7363f0311357003a31d32dcb14ab19267fd6d9f2fa80c9277"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef6645158092b75719e04d5cec18e1daff11938c7bd21f801e2f359a2681c07"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e435649b2733af6b4821d0bf9d41bb65c288e54baedbf70677cbed011b1f966"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d427fde045d82f39c4b9d469a9c2173ceee46ead996d942e2714c2aa1f0a3b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"b813439a4363b5441f5577f9519d7f90d7bfec672f3baad261011a3bf9756d2f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c88cde6d4232b1c741381e2d4bdf9955adbe12060d817774d50c0905736a0d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb978f4a92f8bcc24d410ac04e9617185c950ce6c050cfaafccd8121be515fa"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b604273e09773688fa9f450a57502f58e0f444db0b929805dd8ba45865127f2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf2b6aced6c2c03369abb42033cf7dd29f628d80a83e19a8fa1dd80516b4a86"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/Diag.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e6445128e12b4c903ae4b83adcab52f440512c889e389c460c9b94734bd39e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/Diag.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f63eee1ad29cf2d986de618f05e2b7edef3808f12c00aa5afeb46507475444"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeLocalization.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"578d2875f17b5364662500d1341d6e7157e70e165afe938e25651b5db52b3260"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c467cc418e805f1ddcb372050da961067a9fdeb6b7361f069fa637f7ffbd83b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/OAuthLoginWindow.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e2f023ca2c8a445d1cc16b1bc71a7ae55c6f79f031f59c7c40869a4e61836"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5306f9a8b1dda84ab79db223c04729a5eec5241880aac1850b822b484cc820a1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16efc0d2dab81ddb961332c2fb58dda5472380117be5fc16adc3be31e19e1f0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7800d14b072a0167b08aa6937093ba324ea5fb85f4a67f3c2d5174c9a94859f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b157994cd2b8bcb37f5d8d657375067676a8f0e3fd45aa9204fc3dc4035fe2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3bedd3c8779d7214e9503f75d15e8dcc7e6d3d8f63d812566010f3b53b590e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266486df8e557bce54b0052051fbced60bbbd3cb4063805cda723a13643594c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"197c34e4b8d93e6a5b8136dc1465be6e63b411d6638f58320c74f4a1ba9f2f9e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ea89fc233a23a35c0fd46d764de23f5bc16c8f050fdbce41e17134e47458cc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54721f055b629f3249098f7e8210844c76705f18795269f29acc263796fae33"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed3dbf49c8ccc35991b8bd62151134f18bc50a61f22cbf6f7f6ba0e7fc73d08"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85307cf84610db22e9bf77efb5ffcb141909b1759bbccfd55cbe0ae1ec68065"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c4430f56902bee129d9e9b409df1d17e56ea8fb98f4eb62561b42c5afab673"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8de4d9cdbe131c87ea540bf546e4d1cdc1fd51368a174c6b19e9a7385fe75d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d884e9a38a60263bf16f50a2d3ddc66183f5b45b42f1316857d56ef206b2b1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdda47cafc07a0720bedbd7c28a1d912f1f5ab84029138ea3e1c688b38b0712f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6326e643e7084e070800c18149c5d4176445d16d4d95b76651225e710e7f0299"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9629d21e7095c61b832f27869dfa3a9ff62ee36ebd9ef0682c7cd6a0bdb8f612"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7a3b702049914512397dea804a968627f85ea3656f6f76cde2c3f3f72f0581"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea86a1bdf0b65c37b68081334e4a4106e883ae346cd929d75d10acbb555f616"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c2114cc6a180516e261b00618d884758f8bf77f3cf05d3c93a0a6a2880f71"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc9089b98a63e35526d8955056879ca188252e8f6b2ce33f7f3e897fb4862b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6884f64a3433077b5f91cc5a13d0e71352991e21e508f99e3f6b9aad8e28015"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c9e833de644171e123b4262a9991bc3b2bd77f17708836d9c7ac8e0210eeb"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"562bfa34b706171bb66ceb6b0f803a9710b48fd31c1755b4b7acab0e4a633d2b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99fa3a70ae5f9ecc0819434e9cd4c5af44d6ef9fc2ee3afc4d2740dd768b6a4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896ec458d3abdfbbc3cf66b16008f45126cbd5b2f86960e34c4d3e01db5edd6"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e292f3219544ee0b7364b57070e1881c90bf768482f1beeb84334fa06947539"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ab9b34bc4991cfbd0f75f6846969a8df155c150994406c3e2ede15df56f57"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccacc1d2e0447fd72bf6a6c7819c2da00b7f204130b01a6577530dcee08dcac"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90e41f86913fb923f1ed3e479e1ab50f5807d779f00c8ef55d036efa70b8eb7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"5512677868c657016c9da28a904706b16ea4ebbc27c79b618e955bdd5994cb3b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1332858b517f9ee66d8aafe42852f66f629b078459dca10b3e5250456ce9fd9"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26727aa41e7a537debe00ccc24ae1207f222b5ac431ace01f05bf3f9033270"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5ffe33612c8b7791683fb3d284178c8d34e568539a26dded490366c59e7c62"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4472d2ffb39a42fab806aec40859805641062a92d3502d58fa8c3473dce72b33"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"111f1b1c517da9338e034653dae6bb3404b4cc4fd9db77b77e68134659bde78e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c2e65124a975d856b9e14ea4693d9a665e7701beddcc9623c4c6015bca6f50"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"486516f400b0c1e34f35844ad43bc162600107286680466db33d68d4152dfe29"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/SingleInstance.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22be3444ebdd8e98d05d5bd9641e25874be99104709ed62a29ecfb5a7fdb5dd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenUnits.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccf2ed6636841eb1894dcf4fdd30b19316ca59eadbbc56b476f61c4ea406389"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aa53af1459767ec28b8cd015364014b8e88ddac33dbffb6d5ffba8b7a57a7a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebad8245d05220f15b6ab1af711fa474c7fdcc8dac435a4090e1c2083c04a5b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayMenuRenderer.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19005ba6eeba1216e736a2af56673ed1764dc1fe7de2b79541de428eb34aa98"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UpdateChecker.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d2650662a07db85eb404a75ca793f5d9c7748308ec3b16967ee528fc8b8069"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UpdateChecker.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b9e233afa9b9206c6bbfdf06482628ef9928b3bdea4ed59969374f9b4c452a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UrlProtocol.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7487cad5b2f795339b9675937455c74d686f55ccec8e8586c3cc784683e74b85"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411f480e3fce7790fff389ff990726a066ec4b44ec6d9ba14368192b9cfc669"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private double _preMiniX \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"406005183535034822c58d0db2ff1657a892b2f4473e2b93068e6525cf39c364"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private double _preMiniY \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9323f073d79082bfcbd5583adcceacb015f978d1cc95f3455bbb4563dd55a484"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DWMSBT_MAINWINDOW: Field DWMSBT_MAINWINDOW \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including TokenTrackerWin, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde903ce2856537ca857be9066e6c1dd8653f662a7d8503bf260411bb8bb7f1"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060TokenTrackerWin/TokenTrackerWin.csproj\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenTrackerWin.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26493c7d7ba20c54c7bf1025c6148c1fa6c9bdce5586d8050c550051238b393"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060resolveAllHermesDBPaths\u0060 spells \u0060DB\u0060 where 62 names in the project spell it \u0060Db\u0060: 62 of 63 names in project tokentracker-cli spell the token \u0060Db\u0060 (62 of 63; unit: names in project tokentracker-cli containing \u0060Db\u0060). Peers: sync.mergeCopilotAppDbStates (src/commands/sync.js:434); sync.resolveZcodeDbRebuildFloorMs (src/commands/sync.js:5067); cursor-config.readCursorAccessTokenFromStateDb (src/lib/cursor-config.js:58); cursor-config.readCursorAccessTokenFromStateDb(stateDbPath) (src/lib/cursor-config.js:58); diagnostics.resolveKiroCliDbPathInline (src/lib/diagnostics.js:46). Rename to \u0060resolveAllHermesDbPaths\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8374}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc407459f1316b1f2b3034a195697c5827d5f42f47e5fc9b8881064062d73bcc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060formatDateUTC\u0060 spells \u0060UTC\u0060 where 12 names in the project spell it \u0060Utc\u0060: 12 of 13 names in project tokentracker-cli spell the token \u0060Utc\u0060 (12 of 13; unit: names in project tokentracker-cli containing \u0060Utc\u0060). Peers: use-trend-data.parseUtcDate (dashboard/src/hooks/use-trend-data.ts:499); use-trend-data.addUtcDays (dashboard/src/hooks/use-trend-data.ts:515); use-usage-data.parseUtcDate (dashboard/src/hooks/use-usage-data.ts:461); use-usage-data.addUtcDays (dashboard/src/hooks/use-usage-data.ts:477); activity-heatmap.addUtcDays (dashboard/src/lib/activity-heatmap.ts:34). Rename to \u0060formatDateUtc\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/date-range.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0532e9872c6deb0c4bedcc6f56bb28011b91e2f953a4b4dabf62c39e6e965875"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Merge handle override \u002B avatar into data for the card\u0022 repeats the code it sits on: 5 of its 6 words (handle, override, avatar, data, card) are already in \u0060const cardData = data ? { ...data, handle: handleOverride || data.handle, avatarUrl } : data;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab4fbcadd65836c1998ecc1a410e722742e90d627e01d680ada0d7e08f89594"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Session parser totals.total_tokens = input \u002B cache write \u002B output.\u0022 repeats the code it sits on: 8 of its 9 words (parser, totals, total, tokens, input, cache, write, output) are already in \u0060const parserTotal = (...us) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/codex-token-usage-record.test.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b982c1ec25995143652d104b902f1fe8cc36b169998bebcd7a2a823b307d34be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 29, 152, 175, 188, 209, 250, 355), for example \u0022\u2500\u2500 parseCursorCsv \u2014 new format \u2500\u2500\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cursor-config.test.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"58390bd373e260f3b88a6d5857cf5ecafd1c05adb93569f13b6a3a3244eadda7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Invalid usage_time / sessions / cursors.\u0022 repeats the code it sits on: 4 of its 5 words (usage, time, sessions, cursors) are already in \u0060await assert.rejects(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/trae-cn-parser.test.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cd05f1a19207c333faca19ceda910564ff5ff53e3adc10079ecb5c877ebf6c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cba22865f54424cab604117fdb87b8f3d2d69a2bea6950b15e5e108f4c67ff72"},"properties":{"commitSha":"0a88587115fc2062d9eb93f10ccb5873ef9964dd"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72f2610338af77fd73c819992229a0b9eff3b95b5521a76711a3a63e6678d93c"},"properties":{"commitSha":"0a88587115fc2062d9eb93f10ccb5873ef9964dd"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eb5d716df72b353144a4fbeabe7ad7f919dba4bd481414a74a16b0063cee664"},"properties":{"commitSha":"c377391691475a1b524d940b219c8f04b37862d3"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67f12e01d785fbb7632d95ae5b03064bf378ee0c91303aed37015b06d7be18fc"},"properties":{"commitSha":"c377391691475a1b524d940b219c8f04b37862d3"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d09db870b7db933eecbb0baeb55fd4a9bf1ca4a00621662d7889c37d198f2ce3"},"properties":{"commitSha":"812185cd6c81a48b8317a2faccf64d3135fed986"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7e031da924928921e4e24f1cc91f7f0b0a857e9e58634e89159ca5da80b5320"},"properties":{"commitSha":"22f6736b8b718057fe0c01ed0272b6e56ab680cc"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"135950f25097c462541d21723eca1634e6239f080230d1cc70582aa451c46529"},"properties":{"commitSha":"812185cd6c81a48b8317a2faccf64d3135fed986"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69abc33157de778b8e62361e7da50e2a0c043be6071a3b95e3b9440658bf5cdd"},"properties":{"commitSha":"82c3b80e89fa99181bd8407901f33b32cf1cbfdc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6b4d6d033b31b8e5b0c9447fa6b957388a752ba0331838f4b4e2e47539018a2"},"properties":{"commitSha":"1ba6815b05ba0e3153eae86a2e1f58b8bd01d0df"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3917bb523de594cd2f19e5b37f59df0f8383eca5fa1e6351d4f39334dffefece"},"properties":{"commitSha":"970255d26e97e66be7b3a99bd99ec2b4628c66c8"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3c5d3262642571eb86fb6dc739cbea7d01bb98f44e21f0cc3f4e745944454d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac8eb79dfa01848c9591d4d3d4639a6823be4bbb96d16a40df23728da77d6f08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3cd8fd742fa804e4046a68e015cc8a40da8108e132b428402bfbc4a9946d08b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fdace52517967069682f4d541cf1db103d249850b9ff9e28bca1b7ce09cb58b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ae761f4f29d050fa7a1bde0ac35c80ac19ab5f892a663b5961c3c5970ce7890"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6a6d49203805cdb679d421a8043ac39e7b032144f8312d45a17e6946daaafca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd65e2f04abdf477e5d882fff12a00d1ee228e0a527014aeb9b4139224ebe812"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd57e0c8e62c11154d32a4287e123d1910402bee54ff14cb73e5663fb4b153e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d8137e2843a4d9ace312984d4d1b8b07998cf19f7a31e2c7e904de2ca9c84a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b55f01c8b62d0c86d025d87f81991f888a6902f41b8339a6f0b7b3ac994d4e61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1dde96b91ae3d34c61fc8a7676681dbfe224efae2c883d17d6c01865e8501686"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91d708c39cec78b07a94c5e1cd139f6a7c12f77ac5f152abc82846cfd190db4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c7fb99873c8bc11569169202c95973dc906a259011b610b8bde5d04bfe5666a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f155918c98ed5f9b3fabdc2e92774d518f9991ff13a5f85fb6780f7e39f8de6d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f171003afc05d42088958d2c3d747917cb9c7cd22d2c3b327f634a88666bd273"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c88e4540eb2166fdae4541baed4785e0b9c567e4ea0e45aee6cd566beaed408"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5574828c10f967fc9313b2664184104d7493c34c0760ab3e6152e67c9743e58b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fe043ad03b1b6a76af5066bd7034744623fd396de10a44b89a3916492701d9b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e666b4e914908473ce415adc6f2b1c997cb48e5e745d508636624cbc7d706d07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef9b1953c88d785302cb36ba68f8875e07f0ccbbb043c088efae2616d23f9b55"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1fedf4e26636e23eaeaea2fe974968bbbc6efdc59c7fe565c093087c319e339"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4b9aae4764aae656c02bc4367c47aeda39f89d70ace1e7d843d762cf6701f33"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"667bcebd02f78b59093f43aca23128397aa553b59717953467b226807593ce2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebcc005c8e27eecf9b058b8370218c9a42bf356b860ce6e1eaea4896a50ac5be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98d990e304dc7b215ffb103317912e2d96330e0085c2a822e1466c9a945c661c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a372a67b91a7f53c6f1a3eec10fa22ce44a5bb2a6abad3b6116741b7ae846f2d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59e0b6404243d3ab5307c0dbff58a5039029e567f0852be0f3bb220de18f5966"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"916d761a0b81bc4665590e0786f29a94c037b509c88858f9fc75a02018882618"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"609e4b989a9e88b3f05749da9d0f595d5e3bf7976fc634162ee1c13c1db481de"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bf9616d3cbb184d4fed38b094052531f4b7626d6d34d4cf74361380b7248b13"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2aa83b996d3b8eb27f36296b0b6a29da23fbec996067ff9b831a2e475eb705b2"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1e0c8ce9c13200c881a5591e7db11495c41f720d0ff2ae989bb6c4a609448b4"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaa7ec3e9e7529a311f9102861888a9fcf4a887d5f1c1b5d7adf338fa8ebb8e9"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e3420494ac719a6ac78954977af980a1f27573a7aad312e0c78532ebdce2d45"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24a220655ed2ec53a41259104acbba2014d3e0acbaf4a94bb190bc0c84e3a152"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0daa288998104b2840f94b44598d8b823ed1c831bd8f0b135758679481d5b1d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"902046147f001b6460ec9b2ebc41d49083aae2beab4f720cf9bd5d62b069a5d8"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad18e62698cd792b85631101f70bd7ec08aa8165a9509c148ad46c4bfd002c55"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f89d61eda6bd6508d15b501f4dcb5ab878be3357a0d4b9775fef609aaa0b7523"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bf665a52872c3c5a74b89fd89d08aab35813a21bd3db4816398637208978482"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c801b0e5a8d8097c6eb453667fa1956a43b8db05e63d8fd99fed46ab6518a11"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ba54aa831683ebedbec09e3183ffaf80838f022946b463d24a849a9054a694d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cc0264308c8a0e1f0872f7aa08fa08919e94bb89bec19021f71bc31c6f39a67"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b7835fe9704173f6a97ce3e0baeade8f631c569c11bb9f8d2b5effbde5c6591"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a10a5655577f32389410c2c1951af14282dfa97412e61860a5b7b11b1f5f5a01"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b8d60207e8481c59807f389c64506b4f98cdd34b4929f4bf64e4c1813d93af0"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e45da8780bbd59ac14a8e2bcfcff63de68fa94f2941bebb7087ca67abbd411a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9647434a9473f807164ecd399cbd4583268ed46fcbf47cc6e1fee228bb1ed09"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a6fa9ce76dfabc965450ea2c4cef9133d732ca6546929d296d768c62b456687"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2541e93520f183a7260360a9f4dfc89d496ac518b046531c8473004b390895dc"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec54a6e2005a05adccd2079f0caba58de0e0263741957e788837514a0ce00b98"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78596f3bec203c587cb63763be776499aeefb3e5754c2736ad082add7ea1c13c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a958e0a82a63ca09dede91b2092364793826e025db05e795263cac69e6b0f667"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"292122f3e8ab7be3d0d2813c54a391bb568d3b7eea7dd28127a2c6c8122f9658"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"627d0adb087ff5e361e7d9cfcba1c8fe6fd189677d0d59c21dc7ee639cdf748d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17055aa1c1e45981daa54adc5175cb17cc1e3651c073da8dc3ae9e82f9a6853c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6648b3d771812966bd23adea5209258577bad2b72bab07efd714d2541b29c2a1"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"587dbc4213389f0053f5cf3c8ccd939bed349617a76bd27176d648a6815e4232"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a550f44bacbee73425efa782824f05d1dc252ae7ee0b98594a1cff40bf5254c2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"988b47533d2dd0a9a03e0ea6791d334f918860411e739ca0f7bed4636ef4e2fc"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec3b462ba1f287da65ede4251ca78388ceb5987c451a915b47ff2e0652a9432d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5563c227abdf17a99f69c05588637fc2651f4ae0cab1413eb64de6c5a7746a98"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34b12fd360e722cc4e2a0300756cd84509ad2498936d6699b4581fa5aa1f540e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35f5a5ddd6b2660241ed2cf9949fcf482fafca02625e6711d487654e63593da2"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e67df8d5120a738dcc447e983a7926e73b62dbe6f213b187c33e4977671a240"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dde5f2158b07c80d93ef2b9d06e4fa7cfb7585b0f2120617ecdd8babad48cca9"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae2b761c94a7f124606e46ff78aeb781be3c3b693347cb672f3e28cbef06f2f1"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f3dad8bffe3daed837eb2e85d7d2ed4b5077c125560fd60a551150ec4839c8f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16d3d659fe927d8d675318f2c1b868ff69621fecea1dbaa7e1783b24fa5f4d28"},"taxa":[{"id":"CWE-310","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f993ac188d8a66f05ad355414d7592632f73ecdc4f1180d63b4116ed0e399a2"},"properties":{"dependency":{"package":"dompurify","version":"3.4.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.4.17","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bc91b91e23ce0744b7a346d6343d476c2e146f31b2aef3561a41497d143a995"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"2.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"118831a0ab72a47c86f9d30ac11b975515f8e77f3a0effabd8a76b57110bc38f"},"properties":{"dependency":{"package":"vitest","version":"2.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.2.6","relation":"direct","declaredRange":"^2.1.0","reachability":{"kind":"production","file":"dashboard/src/App.cloud.test.jsx","line":6}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5787b72ce687d7a5b2e0418889f631b821a21c13530d11f9de15eb0f13038e0"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d55f4ad37789ce7b713bdb2d2ed607de88bfda5acae720f242df4136b50b94ef"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfaf80d5cbb144e9a9f14af42cb6433e3db5f7365aebcba310883f2b981b184b"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"916f8e1fd96f4280bf32a9033b8a10be40c348dca5b8e2b0a7e9e3b7e17da7c2"},"properties":{"dependency":{"package":"picomatch","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f49674e5e6a8eb766f20912bb791485a6448f025761a057a7c2a071c49918b79"},"properties":{"dependency":{"package":"picomatch","version":"4.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c9dc20b405a2faafa8ae2111a19712bce788be83d8106826f2e7fc785a3209b"},"properties":{"dependency":{"package":"vite","version":"5.4.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"separate-copy","declaredRange":"^7.3.7","reachability":{"kind":"test-or-tooling","file":"dashboard/vite.config.js","line":8}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8adf004495f95c2dd491245b130771525e10bd595d6e965b1946051705173734"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6413514b56267775b93bca9e65ed3a1da4b94a4ad9ea84cd3ea275947fe126ac"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"390787fbe9eecc619429b53f685c02d89ac20231d6d4e07d0b99e4e96d9c41d1"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6532f69593dd3d2ea46577ad478f1657ba969b6919f855a6261cf5feb9c06e85"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"separate-copy","declaredRange":"8.12.4","reachability":{"kind":"production","file":"src/lib/proxy-env.js","line":241}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba0c1fb12f871921b420317691f57c157e7953ebfd05276be999e61b35cd007"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"047ad40935eb28597efb0b97862655776248b5fc869c6241e1c8815423f05244"},"properties":{"dependency":{"package":"chrono","version":"0.4.45","advisory":"RUSTSEC-2026-0543","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1bb0025bd9a3f9d45bf366269096cf3128b3c31089867b4b46692a3e3bc64e7"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","severity":"medium","fixedVersion":"5.4.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7f2ddf64f27e9dc5c3d5ace85ad405e80e5d2bd5a61fef57c501d615cb98f09"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"severity":"medium","fixedVersion":"0.20.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7524800c20435689976ffb71a3fe67130ebcc2a6765c67d72b8af9149dea1294"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de889cd5e8d832f91ebd75b4c991611b1be18c09471bdb6303119c53cdf7dc3b"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"severity":"medium","fixedVersion":"0.41.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ce4c18e3405e919d7fdcf6ca28840325f2defed461403c01b6f5efdcbec5ed0"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5249717afba5257a75875db01556af2246a96976ec73e607a9930da9c143c1ae"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.53.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76317d15bfb44808e21b15dadf2e4aad505aab4407651564fab0ea232926c2a2"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.2","advisory":"RUSTSEC-2026-0371","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8fcd7332ecfae33d3cff1c8405ff6a2d2e5145066c3183b99def086727c7d6c"},"properties":{"dependency":{"package":"zvariant","version":"5.12.0","advisory":"RUSTSEC-2026-0370","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d33412b1566295706b32923794dc8842250a174922374000f889cb3cb19ebd12"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.12.0","advisory":"RUSTSEC-2026-0372","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4064d011788055afbf293daffe363d326b19db211ddc7e271aa0b195e3baa82f"},"properties":{"dependency":{"package":"fflate","version":"0.4.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.4.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f53009c28080d54fc0ce41e221df7ef2cf0cd970fbc1bd6ec7cadd43f11e5eb"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be71808e03936d9be9ca54e09b228b5def243ada5c2cc6aa3e345b5b3c46f8a9"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.1.5","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cc4909e3e867d2c5d81f1a35bd71e9a2f84d12d022855bec6cea6497cfc79f4"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.25.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d19a11ecd67c1bfbb804f61759815ac218a784d211321824bf34b525f6f1d256"},"properties":{"dependency":{"package":"@vitest/mocker","version":"2.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72e616d9b72311770c6f6b170f92015fcfb2f06ed5512a1c452958fa839cf9bd"},"properties":{"dependency":{"package":"qs","version":"6.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.16.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03949ce0ad73a2a9d06d7a1b74b2e80440abe82fae87355ee698d3a8be0a827b"},"properties":{"dependency":{"package":"qs","version":"6.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 56 of 449 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 449 of the 612 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/lib/omp-hook.js, dashboard/src/lib/dashboard-preload.js, src/lib/openclaw-hook.js, dashboard/src/ui/marketing/components/BorderGlow.jsx, src/lib/gemini-config.js, src/lib/outcomes-engine.js, dashboard/src/ui/dashboard/components/CommandPalette.jsx, src/lib/skill-usage.js (and 48 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd4f94150532dff73459e7d5bf0c08961a3e3723738758791cb86e930d7da1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1309db0c436c46e8dac560d4f47332b973d692a68adc32c44030f07a28de6190"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a58f27488be898edf3d69048ad94d73a893bcc511604663a37c7605d86f233"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/components/BorderGlow.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885e119686f073681182201507fd7a7c043eb55461641a603f3199bad7f1456"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gemini-config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe2e67dc48dbc03c3d0afde90510fbf896e9dff00e5be75bac74fd08b31eceb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a7d0420969d6d292386a11f7bd23ea5129ca6302cd86f20b7f629028c7fb52"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CommandPalette.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dc7e1d61472163537dd42f804c833cce5865b985d50e7706e981211149d7cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0bd627fe71a3140775a96597296c8333d88aa99b9b3b19f600eb05ec04cb6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dddfad0d25ea6e9d2ece34e2a55f0303cd1f258d6c549b7f6fb0259e287efd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wrapped-aggregator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed23d40c51b661ae6b2235c95ca4fbfd09190f09bf5f31ad0e55e5c3796c0ff1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/paths.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b135a8caf9a9b3a9e83bbbae27ddad9a2f51cf9fdc1906844e0fb25c603d71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-usage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23e12ea4eb84b8d6ab3f99627d1a33304f478257750540a61ce2f58ddda1f3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/generate_dmg_bg.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77404b7c3383ea9f94a839287253822238f16f29e8407fb46badbff0ae9ab6bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-throttle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a084b25017452975f12c256a9ce74ccde13e997203e8ce7a00732d48441e1316"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/LogoCarousel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca9890a17287dbe6f35f4af2cc1954b3038d7496bea35e9c1f11d0a9e8b1cba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d316afa57285e3f4be5ec6d7f66e40a2eefb1a3e2ca4d0ce69811edf4c0a0d20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/currency.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039543806180a9baa80b9f9bc870a58e08643ac0a2d1092aaced70a80e745c32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/DashboardBrowserOpener.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4851c08c2c21f98b175121fe910e2c9f5f1d563eeabcc65cc377343201834116"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerWidget/Views/WidgetTheme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca40f8bcea7667bf1b75e0af3f6d9b58048a4b138b0eece04eb1489a6fcc2e8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cli-ui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc6d71a884cef920611dc3187537563791a5b79130974fbc35594207860d4b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/litellm-fetcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812977123b8943f70bbbce61c88e3066a066356d4e5b4a3096aa70a21d55189"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/UsagePublicationPolicy.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beb57773f7dd09f18968a6a3848e886421a3430cb60c1661f1f1c43cb844096"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/wrapped.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca240f7618e402e9f82469158311adc05b90c4b71314129ff6ab0a4c10c9c4e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/ModelBreakdown.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85d1e6bf1a1fac422a33d43ddaf068e1f9e690366115f58bfb80d365492a3b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acb6ebb1d2bd7899c2c72041e43b04bcdf21f85c7ca8e18630cbd8dfdb7e098"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/generate_icon_composer_assets.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d838d384a2bdfe87037c9cb4381a3f53ff0a3e8c94fb9e93ed74ed8d084fed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a298ae4d9f34cbbaea248e5cd311de087c72fd65031240c07ed40d3c3258bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/JobObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5b40f633eb0f1418d50ebc3524e3678457cb43dded0ed47775f1afe2692a40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/ThemeToggle.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ff0fd4af00f8f16ed12d506d4cd28905cae3a8cfc7e3da9e2949cb1463a2bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/auth-token.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c4c65078e63d28d05abe5889cb601bda72f920f7dd5e40a2df7068969d1350"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeLocalization.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72540ece1b64ef92007c8c5f5ac901376acb6ab62729652202d091498c5a3e53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/UsageSummary.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0799ef684c97986fad64249fa69b9b6ee1356dc79eafa8cbf94f4b5434c16"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/project-usage-purge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a85228a9fc00f9723e2a50232cfec5534591779b82a8cca4e722d6d320b41b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/CurrencyProvider.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffb787f4b55053470664b4106b5f1d277d27ccf71e4021ed7e51cfb8de7ac92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/capture-share-card.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ab6e23e9c988f782cbccceb860db471da71ba9168681ef550f995fa91489d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LandingPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb53148c26617b9a35cca97869463a1aafac1e006c6e2c0deacfb5defb0b0e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/LaunchAtStartup.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5d31da8e6d79821d6525b97bb3135f92e624463ad982f2936811d197da8744"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/MonthlyUsage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51dd0c3b3f0266f8e205f1ab14b81bb1440869535dd9e41775069df2e05e144"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/DailyUsage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bc16c280d611304f6c96fff8775bda1c56329bd7a53710745c35f9b089211f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-cloud-usage-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d481b83b3f427ba9b072a3f673469d809842acac592c14db38bc20b7ff9b272f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/SortableColumnHeader.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6c92924b4e9acd688cc058ccf7fdb07ac56b0aeaf68c3afb1af3a5c3627e1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/HourlyUsage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"428494de578d1472975a689e9eb661514a26857de4b2ab80e6e76f90b535f74d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/ConfirmModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c76325c4ab9619ab24c8ef30ebf4736b10aea4885411b11d9f49e15fc349e07"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/date-range.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b26037ec2dcec6d81438ad29158e93e653a6ffbb42f1aa4c5ee5f467ca2f01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aae08ad6f318b5c54c9af9c91fb7d2e9c428a6e01a9ba34472e3310eb55d529"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Toast.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb13a0c07de200bac654eefacd267c8ce791091981f2bfd5489769d21c2217c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/DismissibleHint.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1f0dfbfe68a744861e2dda1503902c321e92363334b14e9cea70290b36b41e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Utilities/Colors.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e974b1ee1f481ed644537648f53918c30661f04a9386c32a662a7cbc97e292b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/generate_menubar_icon.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d1b6ddf9169d1df7ca8e901f43f2c5f7f83024e72aabbe0a5eaecfe5af0ea7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/ErrorBoundary.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698ce8f0cca328ac3ac999bd89508b93aa0dad276db2f9620250abec59ccf82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Button.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"167bffc14e8abb4addc392ec0d153f65a3112aa90ead8209c34b0a2b1fa32137"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/HeaderGithubStar.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e07b2265daaa4df1fefe6d7ad19474bac5715661429e7cbd1eef8282f08297"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/use-share-card-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9edebd973c342eb6cd303542b483aa5b63e913899183c697f3ea77dacc9c8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/local-usage-auto-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0600b67e97804cebdd43e1f8a0c0cdb499e9c862e81765c093d37e70bfde0eac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/TokenTotals.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c122e8f9512f7efd6f7a499ae47aa3591677017c00f06148263e788d8a0d7be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/SharedComponents.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eed75b9d916582b68f049d000474a6838d225597b93bd6f83d278c7b08288ad"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agent-logos.js \u2194 init.js: \u0060dashboard/src/ui/marketing/agent-logos.js\u0060 (context dashboard) and \u0060src/commands/init.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/agent-logos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7273d6a293f0f824b51fc79c590b1cd70317e18f7faf40b965d20c074f2d4b4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-leaderboard-refresh.ts \u2194 matcher.js: \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 (context dashboard) and \u0060src/lib/pricing/matcher.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 68% of the time (15 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u006031929b8f\u0060 feat(pricing): price Claude Fable 5.2 and its fast mode (#1090); \u006042102e02\u0060 fix(pricing): stop remapping Antigravity Gemini 3.x Flash to 2.5 Flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2eb05a6f5d86aeb9974c6a00ef3ea59b75682f09e61373a8bfd563267add2e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-leaderboard-refresh.ts \u2194 index.js: \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 (context dashboard) and \u0060src/lib/pricing/index.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 65% of the time (17 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u00602e774e82\u0060 fix(pricing): add GPT-6.1 Terra official Standard USD rates (#890); \u00600dce343a\u0060 fix(pricing): Haiku 5.5, Codex Ultrafast 6x, sync token message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5076c5e4a231f1aab671da6b8c2406bd26b718c57037789f02976f6ec6f880d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-leaderboard-profile.ts \u2194 index.js: \u0060dashboard/edge-patches/tokentracker-leaderboard-profile.ts\u0060 (context dashboard) and \u0060src/lib/pricing/index.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 65% of the time (17 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u00602e774e82\u0060 fix(pricing): add GPT-6.1 Terra official Standard USD rates (#890); \u00600dce343a\u0060 fix(pricing): Haiku 5.5, Codex Ultrafast 6x, sync token message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9859ce3f8f8c1e6faca327c5a1d55ff0a5bdd6df749632ba7413505a67d5c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-leaderboard-profile.ts \u2194 matcher.js: \u0060dashboard/edge-patches/tokentracker-leaderboard-profile.ts\u0060 (context dashboard) and \u0060src/lib/pricing/matcher.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 64% of the time (14 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u006031929b8f\u0060 feat(pricing): price Claude Fable 5.2 and its fast mode (#1090); \u006042102e02\u0060 fix(pricing): stop remapping Antigravity Gemini 3.x Flash to 2.5 Flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85810d9e39fbabc37ecdbb1e52f6c51ab83c5b41efdc0bc18f0a86ee882a44b7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-account-summary.ts \u2194 matcher.js: \u0060dashboard/edge-patches/tokentracker-account-summary.ts\u0060 (context dashboard) and \u0060src/lib/pricing/matcher.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 64% of the time (14 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u006031929b8f\u0060 feat(pricing): price Claude Fable 5.2 and its fast mode (#1090); \u006042102e02\u0060 fix(pricing): stop remapping Antigravity Gemini 3.x Flash to 2.5 Flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a53670b9b3ec3f462b15552cd8e5b6261b59ba7f1ca9e7385e64f9a3a54f10"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agent-logos.js \u2194 sync.js: \u0060dashboard/src/ui/marketing/agent-logos.js\u0060 (context dashboard) and \u0060src/commands/sync.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/agent-logos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee0fe4c481dd29f22ca06b5d19ca8c59d9af0fdff8a8be654255b204d86ebe4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agent-logos.js \u2194 status.js: \u0060dashboard/src/ui/marketing/agent-logos.js\u0060 (context dashboard) and \u0060src/commands/status.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/agent-logos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b31aa43e743a03ee89926eb071299426308f3e23baa9cd728339b723d696ec"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tokentracker-account-summary.ts \u2194 index.js: \u0060dashboard/edge-patches/tokentracker-account-summary.ts\u0060 (context dashboard) and \u0060src/lib/pricing/index.js\u0060 (context pricing) sit in DIFFERENT parts of the tree yet change together 62% of the time (16 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u00602e774e82\u0060 fix(pricing): add GPT-6.1 Terra official Standard USD rates (#890); \u00600dce343a\u0060 fix(pricing): Haiku 5.5, Codex Ultrafast 6x, sync token message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"955506d47c6ab1690b51855ee75dcacf72b8cbb6fc5c571899c77fdaf47ded5e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: provider-display.js \u2194 status.js: \u0060dashboard/src/lib/provider-display.js\u0060 (context dashboard) and \u0060src/commands/status.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/provider-display.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee5b8bf5b3697b381632dd02232e5462677e01e93695ab6cf0129e77193997d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: provider-display.js \u2194 init.js: \u0060dashboard/src/lib/provider-display.js\u0060 (context dashboard) and \u0060src/commands/init.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/provider-display.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59fa9f5fc79ebf39c866518df0deafdd93386ec735111a49e3f462fda67061f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: provider-display.js \u2194 sync.js: \u0060dashboard/src/lib/provider-display.js\u0060 (context dashboard) and \u0060src/commands/sync.js\u0060 (context commands) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/provider-display.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b227b06d386989502d1839e2c0433677476761625cb4958263fad7d6572308d3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sessions-api.ts \u2194 session-analytics.js: \u0060dashboard/src/lib/sessions-api.ts\u0060 and \u0060src/lib/session-analytics.js\u0060 change together 100% of the time (13 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060a2483443\u0060 feat(sessions): add pi (@mariozechner/pi-coding-agent) to the Session\u2026; \u0060196eaf36\u0060 perf(sessions): reduce session browser payload and scope ranges serve\u2026; \u006064bbaa5d\u0060 feat(sessions): track DeepSeek Harness sessions in the session browse\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"779d4890ad8dec6acba93a55c8e656ae0980b25d0d9dd7234887ae815ae15511"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: tokentracker-account-summary.ts \u2192 tokentracker-account-daily.ts, tokentracker-account-heatmap.ts, tokentracker-account-model-breakdown.ts, tokentracker-leaderboard-profile.ts, tokentracker-leaderboard-refresh.ts: \u0060dashboard/edge-patches/tokentracker-account-summary.ts\u0060 changes together with 5 other files \u2014 \u0060dashboard/edge-patches/tokentracker-account-daily.ts\u0060, \u0060dashboard/edge-patches/tokentracker-account-heatmap.ts\u0060, \u0060dashboard/edge-patches/tokentracker-account-model-breakdown.ts\u0060, \u0060dashboard/edge-patches/tokentracker-leaderboard-profile.ts\u0060, \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e559a1de17bb9b1e5e8d651bea6b4ef9eb866a3e0e0a8ca3a473598fb8b3196"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: limits-providers.js \u2192 LimitsSettingsStore.swift, UsageLimits.swift, LimitsSettingsView.swift, UsageLimitsView.swift, use-usage-limits.ts, LimitsPage.jsx, usage-limits-provider-specs.js, usage-limits.js: \u0060dashboard/src/lib/limits-providers.js\u0060 changes together with 8 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/LimitsSettingsStore.swift\u0060, \u0060TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060, \u0060TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift\u0060, \u0060TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift\u0060, \u0060dashboard/src/hooks/use-usage-limits.ts\u0060, \u0060dashboard/src/pages/LimitsPage.jsx\u0060, \u0060dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js\u0060, \u0060src/lib/usage-limits.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 8 separate couplings, not 8 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 8."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/limits-providers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24588a9063645125f90ee8fb5d70855803b1c632f75288335649d5dd1da7f8ba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: tokentracker-leaderboard-profile.ts \u2192 tokentracker-account-daily.ts, tokentracker-account-model-breakdown.ts, tokentracker-leaderboard-refresh.ts: \u0060dashboard/edge-patches/tokentracker-leaderboard-profile.ts\u0060 changes together with 3 other files \u2014 \u0060dashboard/edge-patches/tokentracker-account-daily.ts\u0060, \u0060dashboard/edge-patches/tokentracker-account-model-breakdown.ts\u0060, \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef42af41a423e1a04779ff83cef950f8f1c045e5875ade7091eb61139b95eaf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tokentracker-account-model-breakdown.ts \u2194 tokentracker-leaderboard-refresh.ts: \u0060dashboard/edge-patches/tokentracker-account-model-breakdown.ts\u0060 and \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 change together 79% of the time (46 of the 58 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 46 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u006031929b8f\u0060 feat(pricing): price Claude Fable 5.2 and its fast mode (#1090); \u006042102e02\u0060 fix(pricing): stop remapping Antigravity Gemini 3.x Flash to 2.5 Flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cbc1184409ff3fa7526dc4ba62fc811de3644f5ea89111a3acfb3db6e89b73"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: UsageLimitsView.swift \u2192 WeeklyLimitResetDetector.swift, WidgetSnapshotWriter.swift, use-limits-display-prefs.js, use-usage-limits.ts, usage-limits-provider-specs.js: \u0060TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift\u0060 changes together with 5 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift\u0060, \u0060TokenTrackerBar/TokenTrackerBar/Services/WidgetSnapshotWriter.swift\u0060, \u0060dashboard/src/hooks/use-limits-display-prefs.js\u0060, \u0060dashboard/src/hooks/use-usage-limits.ts\u0060, \u0060dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/UsageLimitsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad105b7911540dd604c40285cd7bd838a5ffc460d9ba09e112998904c6a6b5c2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tokentracker-account-daily.ts \u2194 tokentracker-leaderboard-refresh.ts: \u0060dashboard/edge-patches/tokentracker-account-daily.ts\u0060 and \u0060dashboard/edge-patches/tokentracker-leaderboard-refresh.ts\u0060 change together 78% of the time (45 of the 58 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 45 shared commits counted here, the most recent 3 are \u0060c58cf512\u0060 fix(pricing): cover Gemini 4 and Cursor usage variants; \u006031929b8f\u0060 feat(pricing): price Claude Fable 5.2 and its fast mode (#1090); \u006042102e02\u0060 fix(pricing): stop remapping Antigravity Gemini 3.x Flash to 2.5 Flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"860d7e835c6e76b1abe1ce9e9b9cb3f364ec895bd7f99fd352dbd4fb8360dbe1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: usage-limits-provider-specs.js \u2192 UsageLimits.swift, WeeklyLimitResetDetector.swift, use-usage-limits.ts, usage-limits.js: \u0060dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js\u0060 changes together with 4 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060, \u0060TokenTrackerBar/TokenTrackerBar/Models/WeeklyLimitResetDetector.swift\u0060, \u0060dashboard/src/hooks/use-usage-limits.ts\u0060, \u0060src/lib/usage-limits.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf386ce2d45144e59a3794d65fe7485f0b4638207145bd9bfbdb3065ca32758"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LimitsSettingsStore.swift \u2192 UsageLimits.swift, use-limits-display-prefs.js, LimitsPage.jsx, UsageLimitsPanel.jsx, usage-limits.js: \u0060TokenTrackerBar/TokenTrackerBar/Models/LimitsSettingsStore.swift\u0060 changes together with 5 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060, \u0060dashboard/src/hooks/use-limits-display-prefs.js\u0060, \u0060dashboard/src/pages/LimitsPage.jsx\u0060, \u0060dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx\u0060, \u0060src/lib/usage-limits.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Models/LimitsSettingsStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73b6fc06f7dbcc96b36e6d4e7dc49651e50bcc165164b470da28aba651f3a9d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StatusBarController.swift \u2194 WidgetsPage.jsx: \u0060TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift\u0060 and \u0060dashboard/src/pages/WidgetsPage.jsx\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006085cc1e5b\u0060 feat(mac): complete Dynamic Island experience; \u006057ebc93a\u0060 fix: refine desktop pet and limit reset settings; \u0060560e5016\u0060 feat: add RunCat-style menu bar icon styles with real-time activity s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/StatusBarController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4572df884c6d096eba7ec7c676244cd11184869ec7d12fef0e44c6d93fdbf42b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: provider-display.js \u2192 ProviderIcon.jsx, agent-logos.js, rollout.js: \u0060dashboard/src/lib/provider-display.js\u0060 changes together with 3 other files \u2014 \u0060dashboard/src/ui/dashboard/components/ProviderIcon.jsx\u0060, \u0060dashboard/src/ui/marketing/agent-logos.js\u0060, \u0060src/lib/rollout.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/provider-display.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b21d2cd38eaabfdb71b311f4b8453352cfdc0dae317d3fe9e9e37d319f0430"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: local-api.js \u2192 APIClient.swift, cloud-sync.ts, vite.config.js: \u0060src/lib/local-api.js\u0060 changes together with 3 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Services/APIClient.swift\u0060, \u0060dashboard/src/lib/cloud-sync.ts\u0060, \u0060dashboard/vite.config.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a53dc6645e37351c9be0781fe8f010ad37805c4a7eaccc50075ccf4c0053b5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SkillsPage.jsx \u2194 skills-manager.js: \u0060dashboard/src/pages/SkillsPage.jsx\u0060 and \u0060src/lib/skills-manager.js\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00601aca5e2f\u0060 chore(skills): drop a stale comment and a prop that can never render; \u0060503b7a31\u0060 fix(skills): close the update race under the await, report every id, \u2026; \u0060687068ee\u0060 chore(skills): match local comment style in updateSkills \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97978f3fb101b21c4c1009f19da9918522ff79c97838b3c5ade563dd27e8195d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agent-logos.js \u2194 rollout.js: \u0060dashboard/src/ui/marketing/agent-logos.js\u0060 and \u0060src/lib/rollout.js\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060328f0d41\u0060 feat: OpenSquilla usage tracking (review hardening) (#883); \u00600472d244\u0060 feat(muse): add Muse Code passive session reader (#800); \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/agent-logos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec41df9e31fe4b8970430b1d0cd6de5d1a7f18d7eebdcea9784ec2bb3763cf6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LimitsSettingsView.swift \u2192 UsageLimits.swift, use-limits-display-prefs.js, LimitsPage.jsx, UsageLimitsPanel.jsx: \u0060TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift\u0060 changes together with 4 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060, \u0060dashboard/src/hooks/use-limits-display-prefs.js\u0060, \u0060dashboard/src/pages/LimitsPage.jsx\u0060, \u0060dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Views/LimitsSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8df72db39c43c2297135cd8fcd184da520e357af0fa18f47cdb26f63f75c04"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: diagnostics.js \u2194 rollout.js: \u0060src/lib/diagnostics.js\u0060 and \u0060src/lib/rollout.js\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c5bb828f\u0060 feat(wsl): Kiro \u4E0E Claude Code \u7684 WSL \u53CC\u5B89\u88C5\u652F\u6301; \u00609c1439c9\u0060 perf(codex): shard large cursor state for incremental sync (#323); \u006036a26a14\u0060 fix: address grok build review feedback \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9951d0cf8b92e336ce658db7ffa04326e925b597ee97f4bafbd672ccba990dfc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NativeBridge.swift \u2194 WidgetsPage.jsx: \u0060TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift\u0060 and \u0060dashboard/src/pages/WidgetsPage.jsx\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006085cc1e5b\u0060 feat(mac): complete Dynamic Island experience; \u006057ebc93a\u0060 fix: refine desktop pet and limit reset settings; \u0060560e5016\u0060 feat: add RunCat-style menu bar icon styles with real-time activity s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/TokenTrackerBar/Services/NativeBridge.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0e1216158bc5f1fa3beba57e340fa84ec3a33a4fe27b4e5e2ee6876083c136"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: use-usage-limits.ts \u2194 UsageLimitsPanel.jsx: \u0060dashboard/src/hooks/use-usage-limits.ts\u0060 and \u0060dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx\u0060 change together 58% of the time (15 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060fc70e520\u0060 feat(deepseek): surface the DeepSeek prepaid balance as a limits bala\u2026; \u00601a7e14a3\u0060 fix(grok): show each product\u0027s share of the weekly pool (#835); \u0060be237821\u0060 feat(limits): add Ark Agent Plan as separate provider (dual Provider) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc477117f5038cbd99d4d8ad1500101a94f8b7fb6ff7c712c7a636e24b7a5e3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: usage-limits.js \u2192 UsageLimits.swift, use-limits-display-prefs.js, LimitsPage.jsx: \u0060src/lib/usage-limits.js\u0060 changes together with 3 other files \u2014 \u0060TokenTrackerBar/TokenTrackerBar/Models/UsageLimits.swift\u0060, \u0060dashboard/src/hooks/use-limits-display-prefs.js\u0060, \u0060dashboard/src/pages/LimitsPage.jsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40df020fdfb2b2e0aaf31dce5cff6cb85b264daba13d92da87f5d9dd52bbbce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProviderIcon.jsx \u2194 agent-logos.js: \u0060dashboard/src/ui/dashboard/components/ProviderIcon.jsx\u0060 and \u0060dashboard/src/ui/marketing/agent-logos.js\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00604ed16b20\u0060 feat: track MiniMax Code usage from local session logs; \u0060b8046cf1\u0060 feat(omo): add OmO as a first-class usage source; \u006039a829d2\u0060 feat: add Dots agent usage tracking \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b19d294c31daf01390d459ee3572d628387eca6ffca30814013ed0eed9b48b9"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25c67546e61034a911e061f475b510845b139a400f8bde81e3f175b66aafaf0a"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: TokenUnits: \u0060TokenUnits\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (_cached; e.g. \u0060_cached\u0060 at line 28). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenUnits.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd62c701225257a03042d8aa919c936bafa56df5fc204dbfb93e6f9acda76de"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060TokenTrackerLinux/src-tauri\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch nuget/cargo: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060nuget\u0060, \u0060cargo\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0905e9d0c19ec70ded7526c04d1db2371762f5f2f9371784f5c4240cc1613bf"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7138bc0dd113d0baefab1ec50e84c5b453e4578a1bddce5b77701d93c40098f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba244d698ec53dad19f2abb1abdd1a942a7f8f1945053e3bf7591cabbff10615"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcd72ddf62d545923a1f9139910c178b4be873b61e5c745ebdd70fec3914db0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca1c76a790e943ca4ea95c5f2f90499b3ab531589add77512193731253a515"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f5bc6ddd2ca08543ad28b9dfa3e9ab6795a1b22b40abf3ce28a1430bf854f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71f3e9da62eb144be9fb22bc47b971b0609031b5521086556c527ec4b39d47a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76b3a2935d9dbfa5ed98ed1717b3e30c1255a533175fde3325d7ebfb802f784"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060createNativeQAServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc4a76fa5d2e1f716b268640e5c00de9cf133c8badd5072f4070f24400902f7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9396e1ca20ba5f5b4f60fb8e3c0eec4d74c827158ed5ad66d9cc8cb31e378"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssyncLocal.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"050a81f9ebd17c5e912ce89d4a700e770fa0420ff9d4f16629bf2bea3200621e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssyncLocal.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3acb1d70a2801b0876465691edf2c9a0636cb989a1d705cbd987940b8d0de5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad38730948b642128b0ff21c88eafdfbce3fa71807618a69b2edff13d64069d0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b9bd54fbf78708a841ece1bc32950e0e778abb8e15891a6b30599bddd362a7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e55e2da65ca6f05976a4d0ac5745c61c81a04de10f80014bfe14a4c5e47f7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73497c07392da2f3733bf9ce229ee8f131084792da3c0acdb7b3e109b711051"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5d9f4e4196d764fb89f387ab08864c37839af647a4ce7fd5754150ba36f97"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9813a72ce266d4db72d0a07b8c2349aafdbc1640af90f3ec797a1666ce414dd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee198fd0f14a6aca8d47b16fc9178ae75d21e39d2896a546436cf3dd8ac1d18a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"d434df538090121a818eb708bb095c893a114f7ce1691e150e8aa8a449d6c078"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"97658dc3e31aeda00b9f1fd1f6023bd7802f17964d26fc0f7a746cc0570c01be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0442b5339f4544f0e2ee4a7ab38775095889db5f5bbe9086f35b19dc042aba"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f68031b00e1cd94c52439862452c1c57f47d2a400fd7c3bea91717de54c470d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060applyIntegrationSetup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df0c44b0e1cbd60769bf658cf42884b904462cf0f30cf539f1167669a80fc31"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060runFirstSyncAndRead\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f5e27283343791b5faf43662878f9c1528e09ae8b89703456bc690a4b0d077"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdServe\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c48cb2c47a8a48a9eafe597a6407fc08ee9bfa7858455460b85fbc1949f77"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060cmdSessions\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sessions.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bddb169b24d1b7c7bb0383679eeba8e38b4b5e71d5b727e9549973345f6449"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b69b2eae4a37c715cf08dd575a2b8a663ef30d71433ca1ccef00b64826e25"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa590a6ee9f6c738ac9b4106c4f601ddb2b12bddb5873cf67d11b2cb272cb526"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28725a19fbf304e5e7638785ad198d87d0b9ed1909177d77da26041cdcf3c32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"34825298f504c52fb8dd5c2454665cea2337aeb931257aa44b2f4fb633ca42e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to kiroCliMarkers.map\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a8fbb15a6cceb91ce6a7367fd319e1b71ecfc41e059092ac7766c4e159dd70"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to kiroCliMarkers.map\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"968040155070170d4524930109df55038a57b83b58f7649043fdee1fffbbb1da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to kiroCliMarkers.some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f71b9cb5750187d018c3a5722914eb726b4aad7290f85f5f3b6d031fd378df"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060kiroIdeHasData\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1978c19bc44f71a48e23d2b77a1c622c70827a77969ce4856b9e9215a2be027"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e370bfde376c0884658d76e9e6a66329174f1f5041e34d27add880e9e2e91719"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa1931666106827f16d6224e3506e3e28d8eeff1ad7c88be348768c1dbded95"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6817583266228f63775d8051145e355be6675b856b9ce55f0312a97d7d84ab09"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8537451d67b8c317a6d977b6ca457fa8f9fa7c1af2a9842860b12689522b617"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"83745c47f23374c0e1e95ef1e0eeb1294388e5f63f361e8941d5d69a613e7f5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"14033679c6e471ffa2407b49c68a921efe30aa6728ff259d5c23bb9153098717"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a515b433f0291cf9d4f9be8de8307cad2e64a494be9f6ac7fb12795b56abcf22"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f690cdd077d132911a721a6f684bd589199e3822fc19098d9e3a379752833"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5dbf0a898f05d930139f4cb315e76b6ee6fb6b9b3d8fdc4543519b016ba73b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a994faabade968b778e5e5b601ed21676f32acf26fd66e61cb8b8a84d86269c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b68a0b97c72887148e04cdc50bfd422c6f037b06d0bdd4fd0cce21ca3e04f5a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0149229955ba7c25828faa259a0bf17b5fea1ef3d9908341d02129d3273e20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221f84e14d943dc373a21fe3d49ce16bcf922aba4115c29a519947aeb71bc2a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea70ca9858dc94a30ec72f4b4ff0a2944818d88ea41db05610827ce85df3dd1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb1f805966adee62088263fb6fb344b44a8a1ad342f36f5f6855fba1216a46f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to dirs.some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d27b35cb72c9d13729ab3082ba756444a8a5d28076d7e92343d4c9c45b2202"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to dirs.some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"237c2437412a40c57dd38d1fd30cd3719b4991b5a426de27caa3f1f6e4752ffa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"524d82361891fbf58fbf0508ffe2fdb213e2d7e1e4c61b11332d9e022206bb60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b75ebcef81f45ec63a584310bad130aebcac9982dfd1906392d51b0c0c99b32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b034c22e6657401b011c87bc85e0ddd2f1b81b9c4f0b66d4358eed920fc727"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"563b63f226d742e98f050ac47041640134bb91db6321588144ef073823b362ac"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dea8bc2560157bd7118e4665bfd7b522a75939f648bd7e59065c0881af6f28"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060cmdStatus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a08e93ef7c3bcff398119343f8c7e99f72dfbc9b581f7a9f1ef8cc9acba9e2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to copilotAppDbPaths.filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb2a1d3b501e8739c1143287a8357a680bdf572cce86e1a115a5caf20653ed1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to copilotStorePaths.filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e0c1eb1bcfcd0317c4390b44c1e54cb45e4d273d067206043be86981bb548"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to kiroCliMarkers.find\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"80623a2314f410bd917b0306ce4c5dbd80f7be0290fa3b6fb0c2c1325fb41b10"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseOpencodeDbForInstall\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca43e01c6230b13aeb19dcbb45b71136c7c586d1e98550ff7bfd67934b74800e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecd8fbd8aaa536492f654b8c585f58ab75345bb6685fc6cd5f89d6959623135"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb614f6bfedc20b991b238b861dfc3657b439d4d99bda1ffed724c5da1faef4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6165844cb6ffaa25b59b64e77a3e9523dc204a6a13af9fa12fcb9cef496d0a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83965ae7aff40039c691ff2ff4ad18cea71c70e8bdb2a53de74a0263289e321"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c16beb9b9973f6203290a758388f4365d54086d1b174ced8337d74eb7d1de2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"718a756d81db2c009135b4eec91c2de1c94a2bf97cbecef59b9a8da9a6bbe98f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060kiroHasData\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79dee3e4102c9b9c2e451df66abf716ae7e348f7e20460f9b61a74b79980d68"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3ed6b42cab15ceff6472f5f6f4cfe0fb0778d3a760ab0611fbda9070a9cc6f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"0681d847923225fd65ab7383a4e5ccd2a7d03b1dc3ba091436da28480e9cc3cb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c979e0dc535ba6c9c1384462fd1a7913e3b56c89c72acecea8ca5b34e1a82"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3626e376a90541c6a6684a1eccd87279833ccceebe79730b86dc56263a2fc3b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060cmdSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4613a22a4f8ee8b454991d87fb84b5247b0708dcb2c09a9e3062d84f15291d17"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fc993f2069a847b2035aea91e2ba764b54071b42528bf89ea51d973e097239"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060bucketKeysForFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7319}}}],"partialFingerprints":{"codehealthFindingId/v1":"25706224c18feefafdd5b41b44b5838b647c1c7a19a25ec14a8a4b2c3bc78091"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060bucketKeysForFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7325}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c1db8f7dafb59fa0c4231133d3fbb25de8849fab8ac8d0339e117694eb5b37"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060repairClaudeQueueFromGroundTruth\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7653}}}],"partialFingerprints":{"codehealthFindingId/v1":"322100fec52489dc8752d89f3293323217b7630098a9d89f4dbd9290b072aea1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060readQueueRows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/wrapped.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72f8eb0ffc3cb2c5a28ba5f800fad88d62ea6df59f1d3144c4f4de9346c6f2d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060fetchArkAgentPlanLimits\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc985b69cea6885202b003fc9c19f134a1a6fdc82636bd35b77916d848e0a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060fetchArkCodingPlanLimits\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec34cbe78cca7e8e919ac2c371d7e9f2984ef4a06c375a6e45de94ff4f67e5f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060collectTrackerDiagnostics\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf96156d756bea793fa0a4e3e19b45633cbb9bd81592fc9fcc5201b764115f3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060collectTrackerDiagnostics\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3e994cdd30507f5b1cac87fefc4273143f3b71201ccf3d1eecbb6af3b259d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060repoRoot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"91abcc4b11e187809b6ab6ec7aa7ed76c7d4109e4a622c995d28b635d6619388"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060buildGitOutcomesInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3f2a28c37fe796a1baee948030744801fe830bdd93821049189eda3da9124e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060buildGitOutcomesInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c74a91a924313483ab7db2679d6ecafdbb276d47db40016c67729a9292d821b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060parseGrokUpdatesFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bc3f45ab5d8c15637eeb4f2ce8754a672b644f28b42e818e57f045f88b6b1f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060parseGrokUpdatesFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e570800c46e88a07defb4481a19b57fb2aba0ddff5bd0fa7110d353dc11059b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.chmodSync\u0060 in \u0060ensureGrokHookFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cd9c94fc8cee9bd749c0ae95140dda4646ebf34217d92c5a35e1bae2953555"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeGrokHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"63556e049d25d5fb953ff5bfdb4d97d163f8e66c17f143bf1cb3f45a467ebb3b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeGrokHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b17a4d504b25964fb671c622515008cccaa72d9e6976cd3ea6046d62b1d95e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060probeGrokHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"965017d51c18d4348e41fb961312867f6080cecb0b63230c33cfd29db8156b50"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeGrokHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbea2f3b31117baafdf54ab0ced70544531f8a9a8dd1b01c178d0997357dc76"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeGrokHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb3c89d0fc7341d4c16dfc48cb2435b2389af0e5f054591fc891f41a82a8d8f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20e57a81e06a6735d0a69699930c9c406aaae32a8820039c0df8b1531ccda8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.unlinkSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"429116f7fbc2bea0df3b7d034a7f90684283af9ed0d5de1502c76e8d71712e7a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"225e69dc38601d95fe9ee635984ecf172c359658dc34333e9e911ed6bfa8de47"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.unlinkSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a6b55e2c406a6f74f054898e43132c5d9d4660dcf5e76a59efe5e793ee789e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c3b25d8cf19bd0a6fc79daae98264d0dc51adc55aa41a825b1bac17c936eb6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.unlinkSync\u0060 in \u0060removeGrokHook\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"02891a1009c88185f8a991d80750828a175496a616cdf999ff8fadc50bb4dca9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3438d5b3172eede6e0814de5df1b026cb9ad8a2c21147e315a2de952b9c8db84"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1216ba30363f089fc32827ca8609029221efa7c7f698bfc25d41a54fd77161"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4be84fd618f07b2b6e0a17a8639f60b6710be2a0e3c389d40f834af1656f69"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bf4897dc14f5e497c2783f5ee7f68a9e87e6baed3ee2579ae1c9e14ef59af7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164d3cf14253380c12880eefb65dea5ec1fdd62092de54f847ca47b4e9c84db"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2720}}}],"partialFingerprints":{"codehealthFindingId/v1":"541d4b2e66a04a2a536b9a7e013ba5a4053cccac807a65c2a03f7db166f7e048"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d45598bd565a9d2dad2d00320ce2cfbee7aa81f3c91e0f97effc40332a4dbc2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f4573041e7e1055028f1659565ede2dedda151c2b510add4e1023f74db2f65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060readConfig\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d590b36218616d569a10f6175f529fe4f78cf750ceb320ac6d468dff7c8926a7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3688}}}],"partialFingerprints":{"codehealthFindingId/v1":"923a0ef2701728406a30ccb8d0632880c1073a74a294116111cfd4f8ef125fc2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060handleLocalApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3281f16b2f190bb3f6e509f0ce401c15fc0761083df551fa8e09df0f3d5542e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOmpHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"379bd6d4006ab8ffa2324ada3c3b2f19f84afd32ebf95cdb4567935f4269d235"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOmpHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5843a7c6fc2d2940634c0d024722a12fc6718ee6b00acf51b9e2a09225ab7c0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOmpHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef5419d9b9243ef16085ea56bd374278b2a520fd3953c888f5edfa6e99adb7a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOpenclawHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f59035fdb49bd996b7276e4927101ec694739f2875844fd23af2753b08112e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOpenclawHookState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"71594e62a5e828f0dedb1c4988b6ec7473832e4cb3a7b027e936a3c0d373b01b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOpenclawSessionPluginState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de3d8f12ec7cc6aac46c709cebc5590b376d2a3ffa9b59806ea5a3fafa2a42d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060probeOpenclawSessionPluginState\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"748d65887c45f6733bc7caea888dfd7c509afc96f3de58f48544c11cbc1725d8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseRolloutIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2026ee392df49baa7199e5de8034dfa5ced0773eeff89f63661b213d946903"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readQoderDbMessages\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6651}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bd7391f0b61dda4e6a2b201b1d8027f7c079470d9a19a148f095c260352f24"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060listQoderNewSessionFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7002}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7541cffbfba05da1a19210a9a13eadaa479e7be01a21badc403ec4a7605a4d4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readClaudeScienceFrames\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4175ae27f8be463b941de714163e72be5faf09d8db7970ea1a48a441a66d00cd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseKiroIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2455ab0898f1455c464b65acef69c57004e781bfc02119165d59cad16de8f4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseKiroIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb34b4c5bc1ce63ac535db297affb8c38a2d0a542785d69db3ac61c711d16205"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseKiroIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5db830863ccdfa970d5f96f244f503ac99ce67db242cdf521f4a9345e07bf7c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readKiroCliMessageChars\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8956}}}],"partialFingerprints":{"codehealthFindingId/v1":"083eeebc28a9c007841c2ea0561b23dcd2e04e44623b3437723a17c234f75cdf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readKiroCliSessionTurns\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa5976af7321e2249e8a672d6bec2770bfeec1a8a34ab8464a0c0e90ad561f9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060readKiroCliSessionTurns\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9030}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c768b86c61a1f00a0d0754e30bdd4a472c6b713bfac78c08035f2387afe6e7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readKiroCliV2SessionTurns\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9196}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f9f639f8004cead6a2c7f34862011895243ad6e7fb51a92271d86bb04afb55"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060readKiroCliV2SessionTurns\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c72b3f2ab1ec56ff51f3b3932daf441c161d1c2bbbf313607fa8f1c8cff8dd5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseKiroCliIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9631}}}],"partialFingerprints":{"codehealthFindingId/v1":"c197027e3693f57036dd924da43b5d744ce278f4dfbaecacf8adc07819f750d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKiroCliFromSessionFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10076}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d6990de38e8a260eb076a44ff387782b04c493c06dd5b7d5cf0a9032be9cda"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseKiroCliFromSessionFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10090}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3d702d14949548b7ca5bd6920d9e7d745b8d27c0843bedeee5e3386bd4058e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKimiIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10265}}}],"partialFingerprints":{"codehealthFindingId/v1":"826629d428139f40b7e83f8be6e55e314ccb0669fed7f86fd045ef176785644e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKimiIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10339}}}],"partialFingerprints":{"codehealthFindingId/v1":"63025020c74729d3b34776b7ad81bcd17d5f3bdae22432913e2a77b9ed663687"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKimiCodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff225cf2d9b3c62f74a05736982e722fe0d021f18218469478c4f4cc7f009156"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKimiCodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ba7d9f7da80f0155effd11df49d7e3765331a05f3dd98baf002507f5e88d9f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCodebuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10935}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbbedcbb56d25659b3ba3855217de9cea39630da97471e84de0fe419276665c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCodebuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11263}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6da2ec7c730f8de2eb3182e8ed6e61999a828eccf73c6ac40dd593df60c38"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060resolveWorkbuddyFileCwd\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11570}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ddbd675139d636dab965723532a4c70e560ab74cfe1c29cba69e132626b354"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11693}}}],"partialFingerprints":{"codehealthFindingId/v1":"117706467ba872026cd571d40f3e47a64a3cd4e8165cae61022996c43ec474ea"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11723}}}],"partialFingerprints":{"codehealthFindingId/v1":"521207575e077123ae59bd9398d87080f5dcf5aad6a4f4991679461ac9e3852d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbda5d15e705f965732ce50a0feeea489f7619cca3c804f286692784c20c688"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.openSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d69f77bda35997afc80d5375a0ac1e008371fa6880a3e23cd67ab8b9eb634ae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.fstatSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12001}}}],"partialFingerprints":{"codehealthFindingId/v1":"148111da15f39fe214075cfb6f56f383fb73cf4d2842efa3b728b9feee2b7039"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12009}}}],"partialFingerprints":{"codehealthFindingId/v1":"32608c8958ea548a3a02603e23ea1a8d6821830f53b4b026d151671a3a1d9a0b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.closeSync\u0060 in \u0060parseWorkbuddyIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12013}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb867609f123b310f0b4f1378501bda089089c5b76daa0ce647aa19508bc83d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseRoocodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12849}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebf31666eb69f19a051ee78a2a7c16d4df4cfcc8c4e8abc146de4b17785f73"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseRoocodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12861}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572d1ed0818d41998c48687c3bc8ea4d7e9986c2a7a40a2ccc72eaad38c40ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseClineIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b65686b7524fb3e1d8d7e9ac5324c7e2153b90026d5e715f8ee1e1d0036802b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.openSync\u0060 in \u0060parseClineIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adf370b97627f550b543d3f0a66cf8a46f0620a18e4bff4b3e7914000c579fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.fstatSync\u0060 in \u0060parseClineIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dded3bdc24d22ba0ec34ca3be6fb4c6ff7c61901f07e5591363a3931e2722f9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseClineIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f627f2a2d668521ee28c2f585312c3346ce2bdc4f2263dc66110c08846ddc2c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.closeSync\u0060 in \u0060parseClineIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b2a544c569c5d5e62e230baec4fd6efc74fc52ed1c3ac13adea7f412b0e1bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseZedIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4987ce35bf515c2b9fb9cb8ddb7ad0a3cb7d12e6e276a75110b78b3238fda882"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readOpenSquillaUsageRows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f08c4109dcae28b20c7f6765def905a7450fcafebecd5dea748b415f578fbf9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060callback to requestedPaths.filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c073cd2fb7da1739470456a2efa2e6ea852002d20db7464adb204b3303c4f73a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseUnslothIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14964}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba039641be01a8ab60612d91d8bdb602b53244282e49c10497a5fcc1016f543"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseAnythingllmIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15217}}}],"partialFingerprints":{"codehealthFindingId/v1":"128185cadd1c2af7652502aee98b2149cf335e2a7f148a87257dfe1548aa8a15"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readDevinUsageRows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4260df4cd133e2d4ca5a8cfa47edb0f963f83e42317025fd4a9317c5f1dec9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060parseDevinIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15478}}}],"partialFingerprints":{"codehealthFindingId/v1":"689ca7847f1014a91edc436996e21767bd07d12be0fc9bd98fb4c98b379206cf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseGooseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15885}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ce2e62a1c10147c50dfe9dda29f17f7b8723a2b6706a391c1df0524a6e9121"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseDroidIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01e796979e8b180169978a352b11c4297d2b00cb0d9473d09ea63cbb7b604b7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseDroidIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f04cf3759fa506c696dc75ba0559e0cbf7b41173bdf49ed4169bfc425436ea"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseKilocodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16843}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4bd2247b97d7ea438a3c17010e894dc9a0d23117f13ae13ef342afa1dd858e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060parseKilocodeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16855}}}],"partialFingerprints":{"codehealthFindingId/v1":"af59282b1ff130b377f7ce8949b7cbe89ce3db9382e71984413b79194c450bce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseOmpLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e793fdddc102bb7c555947642e7a6b1e6562978e9bc44ee04841e9ffaa3cde8e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseOmpLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6457eee2faf403a1d857de39566f1f17ebfd552b890b5e8b2d6e5f70787ada2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parsePiLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17657}}}],"partialFingerprints":{"codehealthFindingId/v1":"739b9b1e304a4498ba6c0f81947cdd2228ed637355ebbbb1f5127117f86d8426"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parsePiLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17781}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e2c52440901e4837ae2852d14fc6a547ef5575939009063155912d3037a35"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parsePiLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17797}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e511bbaafab403f4a6051fbde7362a9e869973f239655ddec2c9980944097ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parsePiLikeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17910}}}],"partialFingerprints":{"codehealthFindingId/v1":"93372f8be46d87e40d5ea21fd6274c5d4ab6948966b5c8266e797bd97585db57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.openSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bbc0ac45dfddbbffd041cc8ce361c6f5f8ec69ae79917ad648dbdfc7c55121"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.fstatSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b398ca4962e3ff9f3f0e8d6e0d1ae1a4c80afbd0496c21900d7001a01624dc68"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.closeSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3466ed234f4bcf69e93a70855b990962721449b5f77926fc4503f207cce8d4d6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.closeSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba3ed99ea1d8ca80fc9cf4c50e223249dd715be1ac0d5462f5e7154850d27ff"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18665}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd7358a27188e935406266d79508db6dba178aea93567e734cf05473715db86"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18680}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbdc1559ac0a7d49045bb96d56f5b1bd40396967af1136de05642aed4f43802"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.closeSync\u0060 in \u0060parseMuseIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18726}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb451d9573fa76e7642429db26c54b00f246f8cf4938f0dfdc0762059d9a2d61"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCraftIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18783}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d34fe330611db56ad693d7e51dbe2b06e3ee0654e4527da031072f6559d24"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060migrateCopilotChatLogRecordDedup\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea166d48975060e826112b4e8dcedec430ca7db6ce26238437b5f1a0cbe7a6f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060copilotOtelCursorHasLegacyCliUsage\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0203be57886fea6969d5ec2575fc2735531e33a9068d27ab7e6a47a72dc339d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCopilotIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878a7c219925ea42c0167d8429790b686b13745e325638021a81bb967ef7001"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCopilotIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19746}}}],"partialFingerprints":{"codehealthFindingId/v1":"23628ddbe5b24646299fc9e8540ea372fc4dd06fa54b3558172bf1506dba0938"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseCopilotAppDbIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21087}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1dead3f6d1795970c1ad2af29d15eb452221144a0c2df28dcb52f100eb4700"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060readGrokUpdateTokenEvents\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb438349f15112bf71d2966d93073fd91d3b7bbb02692e5db919f76b4c06998"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060retractStaleSourceQueueRows\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21656}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b3328deda15523fc1f9dbb3ae037fd2af89c1c242cab7e14f275a0ed60301c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.statSync\u0060 in \u0060parseTraeIncremental\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23763}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6265d1b1d84327ecee47cb674522e4839056c829ac7534e04b5e16895ad450"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060listGrokSessionFiles\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cad8cc45ba626f6df4c5e6a32890925dc8fb5d4ed3fe8c450ea23876c23f64b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060zcodeExisting\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ebb34ca575263a6b8a9a633e37fca0f360d24b745de7bba2e3303a4414909"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"48024e19b44dc2d7a1f9fe39fb02a8e82c516b02a24ba4443b65208c73844ae5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3260a266fdaccf36a412ae382e626ed46096ea3f358acf92ce0f053f588d02a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb8dcd71b270c8416c3c35bd7cfeac78db7b049f963b96dd0fbaf251c83cbeb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbb1046deca3bf34fe6e3345ece61be03bc0cb3fd847775bfb69200d6b029d5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab98719f63615521e16424d000cf2e17f46833ceef79699dd98299c9b00992a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b140df487b22a30510598d3cce129d6cc28d4201931d7492f5f42147ed2b4a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"674f47687259eeaf8310feaa8345733ffc09ffa7ce981edd090d6af58b46971b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a69e7faa64d7050fb6c109fa6842f1ff5a646f38a099d0bb57ddedd47c0afaa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060buildSessionAnalyticsInternal\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"69853ee0106642088f9caeaf34fcf9e577bf602a72dc673e2a33d35a0de4022c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.readFileSync\u0060 in \u0060scanSkillUsage\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"511a0b513fedbe15179ea25f772ec2af4d9f325af2a6349022bb5d12dee4740b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.mkdirSync\u0060 in \u0060scanSkillUsage\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbcb937659d06f2f600c995fb7b901b3cd02e49755f437ae48dd4706dccde93"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.writeFileSync\u0060 in \u0060scanSkillUsage\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"64150e2337eb35ae8291945b86d21c6e3757f94efd2379918b10ff859b90bb2a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060installSkill\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4383686ea7acba55760ecf4629682de90498d049ef58f7c2857a4e0074aa5e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060installSkill\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7daf7ed6a3fa7e2670582263178cce94905f1976ecbe324c6204dc0fc4d6687"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060installSkill\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1bae3fc90bf236a69dbd2d6d7ea4e30c4970bff6805de6d1f0ef074b823089"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060installSkill\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d0c3d1b4fe8c64f222203a4c7a0ea2e93968245489b032feeec9d4ea8daca9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fssync.existsSync\u0060 in \u0060readSqliteJsonRowsAsync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cc43c511c6a55768f9771c095c5b3bf770ca7edad5d41f7c10a323afc6a668"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060createEngine\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-sqlite.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea28dafdcb644ff8612c9eea6cf58b5bd4eacda0d3e10652ac4e54d69b2199"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060extractGeminiOauthClientCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd4526e64edd86c223c2a3691dd11b20c3094ef8c1a7488b889c476108b224f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060extractGeminiOauthClientCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd7a1f01505f53b468a5f3a0b9a5da56797eebaa1f2a5352f82266ef6b91307"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060extractGeminiOauthClientCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e96c81f3fc78ca34b155d2e3fe1a57806e252d8034dc26a70b7f2c8efecd34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060extractGeminiOauthClientCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a383903bdbd5fe30565eabcba3a6f1bb3da494afd60dd916ef026869b8d75e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060refreshGeminiAccessToken\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c9dfbea59a22b3644277e85992a6310c0ea06b11cfbe4cba2b61befdd9ce34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060readMacosKeychainGenericPasswordAsync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cacf9a98cdd4bb10a7d50c78acce244a9706ebb7d333b213a4e7003af6a1f5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060resolveLsofBinary\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e88041cf003329e6e2551d3cda92a12594e3f16776b6c7a1cfdd2c79d7d15a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060persistAntigravityCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3881}}}],"partialFingerprints":{"codehealthFindingId/v1":"0462a563aeba1b675d3ad1252756f241a7194980615cd13d1c9e0882add8493f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060persistAntigravityCredentials\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3882}}}],"partialFingerprints":{"codehealthFindingId/v1":"de45ac2773f58ac3a563b7974edbec28c9b0f519a216982d1162d0810235c90a"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 155 typed \u00B7 996 plain JS \u2014 the untyped files are TokenTrackerBar/scripts/native-qa-auth.cjs, TokenTrackerBar/scripts/native-qa-server.cjs, TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js, TokenTrackerLinux/scripts/sync-tauri-icon.mjs, TokenTrackerLinux/test/sync-tauri-icon.test.mjs, dashboard/scripts/capture-dashboard-screenshot.mjs (\u002B990 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (46 clone groups): 46 duplicated blocks under the repository root have copies in at least two of the sibling directories TokenTrackerLinux, dashboard, scripts, src \u2014 34 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 46 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 46 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 46 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee8ca3a19a9a696be86e04ddc9a3c2f7c49d4811bbde5c7940d07974dd0678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (39 clone groups): 39 duplicated blocks under dashboard/src/ have copies in at least two of the sibling directories components, contexts, hooks, lib, pages, ui \u2014 20 of them are reported below, and 19 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 39 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 39 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 39 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"575427b32feb7db854682a563f7f85913d7bd178092d593e24a683a0a694de0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (12 clone groups): 12 duplicated blocks under src/ have copies in at least two of the sibling directories commands, lib \u2014 10 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 12 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 12 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 12 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"14da6c951f4f23e7b72d0145c8f4d465415e5e162fe8073cf8b965ea9e8446d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (576 identical lines \u00D7 2 files): dashboard/edge-patches/tokentracker-account-daily.ts:5 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:32 \u2014 these 2 files are line-for-line copies of one another \u2014 576 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd56cc95f1d60bf3f2c600744252500f66880355126d525b3e712b7291e02b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (258 matched lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:33 \u00B7 dashboard/src/hooks/use-usage-data.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 1611 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae160eb9db3e15048081573c056db99436fa5aff957be94c03868e04260ec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (215 identical lines \u00D7 2 files): src/lib/ark-agent-plan-limits.js:24 \u00B7 src/lib/ark-coding-plan-limits.js:24 \u2014 these 2 files are line-for-line copies of one another \u2014 215 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"501b4e406ffaa054a80c54a34bc917d10e26a5c218f5d76c6b737a19f6ec60e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (131 matched lines \u00D7 2 locations): src/lib/rollout.js:13598 \u00B7 src/lib/rollout.js:15821 \u2014 the two spans are one implementation copied and then locally edited \u2014 879 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afc66d0ce984610a9fcf71ef48763c5ef4b9b729f9f94e599049bcd5a1d3dfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (125 matched lines \u00D7 2 locations): src/lib/omp-session.js:219 \u00B7 src/lib/pi-session.js:427 \u2014 the two spans are one implementation copied and then locally edited \u2014 1014 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f1d3be51b5da4eea4fdd8fde709bb3cea01fac6caa8d8731148912bce6bb3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (119 matched lines \u00D7 2 locations): src/lib/omp-session.js:17 \u00B7 src/lib/pi-session.js:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 864 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f151b89b9cd0d93a5971f46d66edb47e47f1ba8212e3193c51b103302d0d18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-hourly.ts:81 \u00B7 dashboard/edge-patches/tokentracker-account-monthly.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 925 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff545f73bc1e5500062ba520456409f5232f7c96740bc0607397cbe655c48b15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (110 matched lines \u00D7 2 locations): dashboard/src/hooks/use-activity-heatmap.ts:41 \u00B7 dashboard/src/hooks/use-usage-model-breakdown.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 685 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"331bff418f6bb882a418e8d320b7f1109247a576186def516343ab44a67bf231"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-heatmap.ts:141 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:795 \u2014 the two spans are one implementation copied and then locally edited \u2014 636 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390972c781c8c80ac1f53cfd34484824e67a9a0cfb70f20b525b943685de878"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): dashboard/src/pet.jsx:218 \u00B7 dashboard/src/ui/foundation/ClawdAnimated.jsx:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 401 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f20a964e1bf4ef5a36af9a478223d5179939cedeaf522a7a3ecd0d7e69e9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): scripts/acceptance/gemini-hook-install.cjs:10 \u00B7 scripts/acceptance/opencode-plugin-install.cjs:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 409 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/gemini-hook-install.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f51175e1d75d196e29bec74e315c73450660561e2c6d3cf81ac1ea91be04b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): src/lib/rollout.js:2734 \u00B7 src/lib/rollout.js:3076 \u2014 the two spans are one implementation copied and then locally edited \u2014 321 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65b9bfbc7fb228079a61eafb4caca9d03553d981682818ddb300c6eef0feed2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): dashboard/vite.config.js:50 \u00B7 scripts/copy-sync.cjs:68 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"273bfd6900475eb8c96daf99fb346d1cbf381212f237a2559239ee1a8df01ede"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (59 matched lines \u00D7 2 locations): scripts/copy-sync.cjs:68 \u00B7 scripts/validate-copy-registry.cjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 343 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-sync.cjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"971bdccd288878691e1524d6b7f4f5ea0c92f3440b57fd7c4986fec0a2f5d529"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): src/lib/rollout.js:12236 \u00B7 src/lib/rollout.js:17306 \u2014 the two spans are one implementation copied and then locally edited \u2014 310 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b271a07a7be48fd93ce6caf5d1c1ed992e5569f0d2fa030b02ceeca48d76a6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-account-devices.ts:14 \u00B7 dashboard/edge-patches/tokentracker-account-hourly.ts:8 \u00B7 dashboard/edge-patches/tokentracker-account-monthly.ts:8 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1289d69585b36b6d6917cf0927568f6f215bfbc50d562cfaee37f83bce9a85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): src/lib/claude-config.js:39 \u00B7 src/lib/gemini-config.js:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 439 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"786e771729cdc6a91096da71d531440db6d229b54469978be4d15720def52251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-account-daily.ts:8 \u00B7 dashboard/edge-patches/tokentracker-account-heatmap.ts:9 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:35 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77de39458a0f36c9647f33db88a5627b16de939549aa44e18f95e21f7dfbf1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:89 \u00B7 dashboard/src/hooks/use-usage-model-breakdown.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2caff67b80378e3b2a079f78f7cf655170ab1b7235dae73fdb064890a80658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): src/lib/rollout.js:12804 \u00B7 src/lib/rollout.js:16798 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e4a73ab4e5c7a4b1089bd8e77f0730fa207b9fa313081c35041a00b66bf52e"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (53 identical lines \u00D7 2 files): dashboard/src/lib/heatmap-compact.js:2 \u00B7 src/lib/heatmap-compact.js:27 \u2014 these 2 files are line-for-line copies of one another \u2014 53 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd54b36fc9a4dc27036c3b5b57090013e106546cda966918ea47bd75ef9c10da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx:140 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 247 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1842e5aa11ceeac8ba66a3bf74401786111ec1625bf64608516ade0ac669063c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): src/lib/omp-session.js:399 \u00B7 src/lib/pi-session.js:616 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb1351651e3d093c4accaf084901b01f721f82f303b55cbc6bc0685f16b7cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:292 \u00B7 dashboard/src/hooks/use-trend-data.ts:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46042d20ed6ebfe3394b694d6846ed7c642aeb8f081c0838f7364d186944eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): src/lib/sqlite-reader.js:81 \u00B7 src/lib/sqlite-reader.js:148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e07af895800c80a227e0d2b610a3b7f8b80fa042d141b021bd6d0488d33e3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): src/lib/workbuddy-limits.js:550 \u00B7 src/lib/zcode-limits.js:1098 \u2014 the two spans are one implementation copied and then locally edited \u2014 369 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba502b9ef6d2d47fdca07daedf804e0e3051bfd7902e12e4070924fb2c8a611"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): src/commands/init.js:442 \u00B7 src/commands/init.js:486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece29dce7aa6222c1206090914c1e6397c4258e6a70cc754a445d6f12c8fcea7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): src/commands/sync.js:2052 \u00B7 src/commands/sync.js:2121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e7ff226920df91bf5230292bed38b1b27d92eff94ec8dfac420d43a9300ec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 5 locations): dashboard/edge-patches/tokentracker-account-daily.ts:477 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:496 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:463 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:435 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3896a03ba8ed35eca8ec7eae8227f4053e32c514d6a2dbe682ccb586e7cde11f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): src/lib/codex-config.js:414 \u00B7 src/lib/codex-config.js:482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9e99151e5258651591d466d6127cef6cf66f188ebed7325abbad4b23c38ecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:702 \u00B7 src/lib/grok-context-breakdown.js:769 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cadf88ba585e15a9cc842757ba9a1bd4b09306e5b2b335285ad312410b18dbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard-profile.ts:683 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:705 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70c88d4e111bc40db7815351e6a9826c724cdb6504f92f080709011bea67c51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): src/lib/openclaw-hook.js:10 \u00B7 src/lib/openclaw-session-plugin.js:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"456d9013a3b0df12a824574821822ab69e4197c8c74f70594a99b6766784fc96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/commands/sync.js:5988 \u00B7 src/commands/sync.js:6158 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5988}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d466e8a202788b56dfb2a09b19d253743b909cc33187b5e0ddd0f372c8ff8e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:344 \u00B7 dashboard/src/hooks/use-usage-model-breakdown.ts:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd287fa7e80b268aac65e97299159d934497f030ae2094151cc7d367f821f78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): dashboard/src/ui/share/native-save.ts:50 \u00B7 dashboard/src/ui/share/native-save.ts:91 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/native-save.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b086dba06a211451bbadce44440507a11e44083be44d601fcb224311d78a377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): src/commands/uninstall.js:50 \u00B7 src/lib/diagnostics.js:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 252 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadcc0719bbb6a42d3b771f9f23bfc667eb45a30afcf1215c7750cc9e26317ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/lib/openclaw-hook.js:177 \u00B7 src/lib/openclaw-session-plugin.js:265 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d5ccdea56b20db9ca39eb35f8e7f467a3cd922d8c5514860bfcabe2ba436e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-flow-grant.ts:43 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:55 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-grant.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9740a636909f6b46d985b30c16640c31382b702e4154db7c4df381a0c1ba1e8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-token-issue.ts:49 \u00B7 dashboard/edge-patches/tokentracker-profile-likes.ts:95 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9de870d49e9429dcdfc61f1b182f77507d0ff9b3670180ec6c35d9187f0e24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:46 \u00B7 src/lib/grok-context-breakdown.js:567 \u2014 the two spans are one implementation copied and then locally edited \u2014 307 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4520f1367d30f812c9224b218ce038d6a935e54c35d50a0ed5d1b2868b6445b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:42 \u00B7 dashboard/edge-patches/tokentracker-embed-svg.ts:184 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b779bb53b6c6a2a6034cc0dce1b7a1354219479c492ca8674efed20c66dda58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): dashboard/src/hooks/use-quality-per-dollar-pref.js:8 \u00B7 dashboard/src/hooks/use-session-efficiency-pref.js:3 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-quality-per-dollar-pref.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0704ff420e9ccf0c08d3b8546a19b7584d92e2951a3897ab79f5fbef8aa1b313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx:883 \u00B7 dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx:706 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a155d186688b2439a58ec99a4dd31b45c5aeacfb36b3dd1f40cfa25e44d7441"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/lib/claude-config.js:236 \u00B7 src/lib/gemini-config.js:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"818a7c95d271c7b40948bf0043e1d4c387073c38f5536f5eb8d2abefbe21f3ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/lib/openclaw-hook.js:137 \u00B7 src/lib/openclaw-session-plugin.js:225 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4b572a36623b439ec314561753255c1e7f2eabc1f1c875758e378d456e7f3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/lib/usage-limits.js:2065 \u00B7 src/lib/usage-limits.js:2104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80cf206849d3a1284c298ddb14ea5045cb1ef92406d80a51e7a29e05ac462c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): dashboard/src/hooks/use-activity-heatmap.ts:84 \u00B7 dashboard/src/hooks/use-trend-data.ts:89 \u00B7 dashboard/src/hooks/use-usage-model-breakdown.ts:38 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f7aabc5b778fc691452bfbf036984357503b3acd94da546064dd8df4ced745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): dashboard/scripts/copy-registry-plugin.mjs:9 \u00B7 scripts/validate-locale-coverage.cjs:137 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/copy-registry-plugin.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"204c096e5dc01db3d0117daeebb8a5c6df9a09b137ed763bfbaf29c830434d4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): dashboard/src/lib/model-breakdown.ts:450 \u00B7 dashboard/src/lib/model-breakdown.ts:560 \u2014 the two spans are one implementation copied and then locally edited \u2014 250 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d485442ca4d5950bdb4702701703e97f36efa0de3c47df976debed862479a837"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1550 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1612 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d1e60c237dc8ba6efb032d9d2f9ac8f224a2a9f4b9b9c8019aae3922aafed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/lib/openclaw-hook.js:237 \u00B7 src/lib/openclaw-session-plugin.js:344 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa65038bfc2554259d3101c6b2d7b01cf9deba37446bd3f810ccb4896b18387"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/lib/rollout.js:12869 \u00B7 src/lib/rollout.js:16858 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12869}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabb288781f9586c4e07eef555fcc1388414fc945f44a560394759a6862f4881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/lib/rollout.js:17297 \u00B7 src/lib/rollout.js:17912 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17297}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af040884bea87e2695105f44a892df798897e9eb3622e013bf7873ad0aa958"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): dashboard/src/pages/LeaderboardPage.jsx:896 \u00B7 dashboard/src/pages/LeaderboardPage.jsx:947 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a3c27354122b671018b476b8963e034c72a7e8dc359744aa7768b3d0d04251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): dashboard/src/ui/foundation/BotAnimated.jsx:48 \u00B7 dashboard/src/ui/foundation/PetAtlasAnimated.jsx:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7750286df36bd95d72d0b53311db09254a3b1b2c008df7b3c28c5b34f16a81c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/commands/sync.js:1526 \u00B7 src/commands/sync.js:1610 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b82cd6f677ed5199e5e9eae4aaa8ea78a09c45fc156ad80801075e5ca042177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/lib/rollout.js:17198 \u00B7 src/lib/rollout.js:17783 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62cba78c40216e5157ab9c232eaecb2425c6ac1439b1985ad2c9e106d6830a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/lib/rollout.js:11070 \u00B7 src/lib/rollout.js:11210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11070}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1b91ac4294eb1d0323a72cbd9750a24101d2af222c5874740763e877436ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): dashboard/src/lib/sentry.js:32 \u00B7 src/lib/sentry.js:57 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c5dc7d0b8f0cc5276e69b4c7d8af95d2bb65c088b358be3fd2d31f15caed2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): dashboard/src/lib/sentry.js:65 \u00B7 src/lib/sentry.js:90 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cdde648b9af637a00e6508eebe3e3bee7691a7d863971f57e8d8ab090a2239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): dashboard/src/lib/timezone.ts:43 \u00B7 dashboard/src/lib/timezone.ts:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"979ddb8fb96cb35e06059d63ca48690bbc1c72f7d38f765911f24568cf5e52dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/commands/sync.js:5375 \u00B7 src/commands/sync.js:5409 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5375}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7033b0b1fbe27fb60a37ba97c3650a854b23c8790a6b0ee8c30e61b764914c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/lib/rollout.js:6833 \u00B7 src/lib/rollout.js:15609 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6833}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b2711ae5b52d330fcc9567914586454abf1fe94bb52fcd3b5c81b892724ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx:936 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitor.jsx:837 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf0c9d641d58f986d00a2115ba716dd2c099b9c45b3147efb7aa00a62d475c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): dashboard/vite.config.js:423 \u00B7 src/lib/local-api.js:844 \u2014 the two spans are one implementation copied and then locally edited \u2014 216 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f1a2197d254828242be36acaa05704c6740ec7e649c9e88866c8159f4747b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): src/commands/status.js:223 \u00B7 src/commands/uninstall.js:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 240 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d283a84a06ea5d1675b292b03b6ac5796f60202779928e60372d5964236c6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/lib/rollout.js:3784 \u00B7 src/lib/rollout.js:3870 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42f11bf89ba5b7218023745e6dfd53449cc68d799aff4230f0ccc0fa4de7f17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5 locations): dashboard/edge-patches/tokentracker-account-daily.ts:606 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:625 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:592 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:564 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1b33cee7009c2793fb8c4e39ed6baf8652963bceba5b86800e63f6155115a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:107 \u00B7 dashboard/edge-patches/tokentracker-leaderboard.ts:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 295 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c6f18df178416a01bb732c468411a1364eb9644dfd2d41a7e075b6137dc844"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): src/commands/sync.js:1235 \u00B7 src/commands/sync.js:1292 \u00B7 src/commands/sync.js:1361 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d2ce048978fadbc6dc45f3c63f8c671503f1e6d929feb490d4420771f62530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/commands/sync.js:7127 \u00B7 src/commands/sync.js:7179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7127}}}],"partialFingerprints":{"codehealthFindingId/v1":"75045c2ccad24b234e85d4a178fe8f5a917c122103d8593fb2b57bc5d47eef6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/lib/rollout.js:8470 \u00B7 src/lib/rollout.js:8560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df81db42ac574948e20c09ad4ed507c31cf968a40dbae1effa831d53cbc7c5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): dashboard/src/lib/pets-api.js:12 \u00B7 dashboard/src/lib/subscription-manager-api.js:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 162 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pets-api.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9447b29b98200904b858ec9cfbb75547b06c0a7da7f56f705099fd217396eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): dashboard/vite.config.js:630 \u00B7 src/lib/local-api.js:421 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80a0c6587c5978a209d791c1cd1717fdfddd6273e23bb10187ba5af0de018ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): src/commands/sync.js:7296 \u00B7 src/lib/rollout.js:16330 \u2014 the two spans are one implementation copied and then locally edited \u2014 136 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4a0e434603259c4114c4592fbf4c28cc4be9921e3711f78dfc9d848477879"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/lib/rollout.js:2368 \u00B7 src/lib/rollout.js:2558 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96c54c98afd8c8aec1aef976386804d1524ba7bc16cd4720b19b1d971eee2c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/lib/rollout.js:7425 \u00B7 src/lib/rollout.js:7456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7425}}}],"partialFingerprints":{"codehealthFindingId/v1":"621f5b26b38d231dfe2a26399aa4cff3e2571a000887bd426bcdf4820d12e29e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/lib/rollout.js:17168 \u00B7 src/lib/rollout.js:17751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbe98b204012b82046ac167450f80ce2a7f058cdf2c48897aafdabea62d0bb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/commands/sync.js:6048 \u00B7 src/commands/sync.js:6216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b844602d72a2c1b7ad4c45177dc1eedb82407f38ea2d374c1e873f4b8567b7e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/lib/rollout.js:3021 \u00B7 src/lib/rollout.js:3097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"546c9891631a184c5f2078c10f462b8540e390a205e8c99bf8e4b721ea27dc59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/lib/rollout.js:24919 \u00B7 src/lib/rollout.js:24946 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24919}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e7c3ac55642bf5132cfd7065695412d04b108362209a19895899eb64fa69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-flow-poll.ts:19 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-poll.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac143b28ddd7e9c41375ed68b587842e6be205831b218874ff444615bd245e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): dashboard/src/lib/mock-data.ts:179 \u00B7 dashboard/src/lib/mock-data.ts:232 \u00B7 dashboard/src/lib/mock-data.ts:302 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d92eb496d6547cd9be42ff4efefc36542d0e48a6b5da8499d9065431c8ba6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:916 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:974 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed573d0e50285db0bfcdd4250dc5c806d11441f520dfc6aefc389a703cf61e04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/lib/rollout.js:12921 \u00B7 src/lib/rollout.js:16906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12921}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7dc8d0656dd9156fb23747a34f3bf37ab7783e81245ad27be5c427edf3539f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/lib/rollout.js:15172 \u00B7 src/lib/rollout.js:20115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffac8196692a6ebb3a2a7908b3909ac6e937cb6d7420dd1b31ffabfe7043fc43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-hourly.ts:198 \u00B7 src/lib/local-api.js:716 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9a56158e5401ad08c3dfada8d44ed6dadc2de4b5bd3b345d351341c73dbb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): dashboard/src/lib/token-format.js:41 \u00B7 dashboard/src/lib/token-format.js:76 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/token-format.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"311dfac4df102a25bf4d672a482058e9d57b76960ca4a10d52e8bcb33a033696"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/IslandOnboardingCard.jsx:172 \u00B7 dashboard/src/ui/dashboard/components/LinuxPetCard.jsx:51 \u00B7 dashboard/src/ui/dashboard/components/LinuxTopBarCard.jsx:95 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/IslandOnboardingCard.jsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9f24b71f9d5d9c5485bb8ccc226af55fbe798d6731ccc2f34d673b8a3d989"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): dashboard/vite.config.js:880 \u00B7 dashboard/vite.config.js:927 \u2014 the two spans are one implementation copied and then locally edited \u2014 163 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c11c5771179ff4287fa817466b5728027a3a294b0821d4ba9f0362bd423910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): scripts/graph/auto-index.cjs:64 \u00B7 scripts/graph/auto-index.cjs:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/auto-index.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d40dda86ecf24780a4a4d053a5a4af5a0899e22b22d2dc665e901d2555be3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/commands/status.js:1764 \u00B7 src/lib/diagnostics.js:358 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d665e33bd19af09f63969774f20233bc191a577aecff234b260dbc285dd53c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/claude-categorizer.js:1229 \u00B7 src/lib/rollout.js:3160 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d91ea8e2822ac445978a10e21d3f346518fd5addb9a7957641295678d7cc27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:759 \u00B7 src/lib/grok-context-breakdown.js:839 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bed4cebdf05fced688b8ba70cd325132783f1c88ef88c6912e5fabd907ba944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/grok-context-breakdown.js:133 \u00B7 src/lib/rollout.js:21230 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cefe8d82924f4366bdb3a2f38034e13321715aa4ae93ba1eb6dfa0a08ec36a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/grok-limits.js:103 \u00B7 src/lib/zcode-limits.js:589 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"800aac9b940207a9729563497596e9cdb945f1f0f376925cbc232c4a4e442be0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/rollout.js:3729 \u00B7 src/lib/rollout.js:3816 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3729}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd729ee6bedeb07a51d09a716fdc3002a994b8e39dd0d04e27e907d67a969dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/rollout.js:10198 \u00B7 src/lib/rollout.js:10353 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4a423dd4dc0290bbf18dbf8688b21bf5f406dc3bbe40668be7dd36af52a833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/rollout.js:12686 \u00B7 src/lib/rollout.js:12723 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12686}}}],"partialFingerprints":{"codehealthFindingId/v1":"74078a4caf98ba6dc2e2beebcfa421af31712a68eb47ef6d80d5dda4055a5dad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/rollout.js:16431 \u00B7 src/lib/rollout.js:17077 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e969c70a417e944d5e5acf6b55a718c9502314c15baf86595dbb4ba9e1d805bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/rollout.js:17714 \u00B7 src/lib/rollout.js:17854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17714}}}],"partialFingerprints":{"codehealthFindingId/v1":"249a24636571e0c9dab89813ccfd3db8791a97114aa4c3760f5afd51e4058ff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-skills.ts:30 \u00B7 dashboard/edge-patches/tokentracker-device-rename.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ebb56c38da5d7a71744d3c0d9e7e247a3352b74474b9019146221cf43fcc6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-summary.ts:1043 \u00B7 src/lib/local-api.js:2796 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74ea29d843f81464ac3028e8d807b4d23370b1a070d1872559612e4a2926c82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/lib/rollout.js:3764 \u00B7 src/lib/rollout.js:3850 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d40e253590b78848afa604c5a0f850a71872ecda7b176ea87d6032293820b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/lib/rollout.js:6878 \u00B7 src/lib/rollout.js:7817 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6878}}}],"partialFingerprints":{"codehealthFindingId/v1":"347018e0d0a6dab850952fe1f7b0ef9cd3f4cc941a571f6908215656c21d4a2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): dashboard/src/hooks/use-usage-data.ts:275 \u00B7 dashboard/src/hooks/use-usage-data.ts:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"389885e879684b53307af4a7037544136cc4b38af0445ff810c3f9dfc937b57b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1393 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1461 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1541 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1603 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"818463df2fd9ad499bdfefdef73a30f899b7ee049387138311a26fbbce3978fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/build-pricing-seed.cjs:39 \u00B7 src/lib/pricing/litellm-fetcher.js:83 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-pricing-seed.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54969b1dac5de82c21378d14c20c733b80ed27d242d83bebc411f68967895f91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/lib/claude-categorizer.js:336 \u00B7 src/lib/codex-rollout-parser.js:176 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"411a504822621d6a2714902585d01a4dc254202d59ae5f66d53595f1d5b8ae29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/lib/claude-categorizer.js:456 \u00B7 src/lib/claude-categorizer.js:475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f96adec69f8f3638c6c1098b5455c61ae6459cd3662780338e7ecb6ac8f63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/lib/rollout.js:22704 \u00B7 src/lib/rollout.js:22851 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8456d1c238654785d8cc084c97065c25a2e02955ffd2b249b1183ef3f74b38b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx:753 \u00B7 dashboard/src/pages/LeaderboardProfilePage.jsx:128 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d89091f38b3849f0a1d4525f9f4c7b844bd45c96363e6849873931c7cdb4bb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): dashboard/src/hooks/use-usage-data.ts:420 \u00B7 dashboard/src/hooks/use-usage-limits.ts:327 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a283e3ccc911e15d4fb86b5291d4aec195d8ccf597e61c3bba80ab270c73212c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): dashboard/src/pages/SkillsPage.jsx:358 \u00B7 dashboard/src/pages/SkillsPage.jsx:1767 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39851b131769ce7c5c2e380599768d54e9294b41ab129c5e2bb57ccda4374e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/commands/sync.js:1508 \u00B7 src/commands/sync.js:1582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6109df198bd3091053c90d0df98802b2e6a63c8759093fd577bd84e610570fa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/commands/sync.js:6341 \u00B7 src/commands/sync.js:6715 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6341}}}],"partialFingerprints":{"codehealthFindingId/v1":"311c9ebb6cd07f033fec8ad8c8dfaee0e1d33c2f181ed573a369916a1e832a3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): src/lib/limits-cache.js:203 \u00B7 src/lib/limits-cache.js:222 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34c2c5132c9d6dd84baf2d7243d0cd6fcc3d8d9033cc440cc48dd88c2b2dd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/omp-hook.js:503 \u00B7 src/lib/omp-hook.js:556 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"db106af61c0a7f26d5927e1fa35a575dafb5dd2f20928b531b5bcafa06af62e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:8026 \u00B7 src/lib/rollout.js:8433 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8026}}}],"partialFingerprints":{"codehealthFindingId/v1":"489d59668791ab558bed9ce7fcae23c30ae956dbf7afcbf38e750633239e2458"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:12489 \u00B7 src/lib/rollout.js:16261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12489}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d21d6aed564b5589d0b392a690b4e2ca56b7992c9bf4dee1f2f531e2c7dc85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:14571 \u00B7 src/lib/rollout.js:18739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14571}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bd4a1cf2ea37603556babca8fdafd5920e2995aa3ec9c5c79a8af53e3471fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:16775 \u00B7 src/lib/rollout.js:17318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b770d76f822160225ee8bb97db05bd4356629248815d20a7bc1c67d263609941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:17129 \u00B7 src/lib/rollout.js:17242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3304af3abb59324d487714fb8e40ccca83d0f14c3163b34c446b5a166718edb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:21874 \u00B7 src/lib/rollout.js:22027 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21874}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14c76635db60b10d101983452407779f4a76ecb1e63c2a9fc863ef548b9e9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/rollout.js:22787 \u00B7 src/lib/rollout.js:23003 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8765cac2c9c723aa5f84d7b44041fc6216d4e62034aeb10a5924e8ac428704f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-heatmap.ts:305 \u00B7 src/lib/local-api.js:2988 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a632bbafb9c040815984f9d774bf054943ad5fe54a3675a1d3a607426c263739"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-token-issue.ts:8 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72106580e703760ebbaaa267ca5909302dce21b61f9ba6a856d35c40ed4de1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/src/components/settings/NetworkSection.jsx:206 \u00B7 dashboard/src/components/settings/NetworkSection.jsx:222 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b1837205345b48d5a02676a9a8245242eddb30f1e96d99c87bba60e3ac46a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/src/hooks/use-proxy-settings.js:88 \u00B7 dashboard/src/hooks/use-proxy-settings.js:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-proxy-settings.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474c2570e2451b45692cb1bdd5aea3f2f4209ef272657cc2f8d226acda3dea0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:830 \u00B7 dashboard/src/hooks/use-trend-data.ts:847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e9d97796a7679ba58d1514f806bbbb3ed3e14dfd6276c078564b7d3c62672"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/src/lib/sentry.js:250 \u00B7 src/lib/sentry.js:201 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b631a31b99bddd704c91065d5ba64365a8de222baca5a8b4a43a9897b9e3f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): dashboard/src/pages/WidgetsPage.jsx:186 \u00B7 dashboard/src/pages/WidgetsPage.jsx:222 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WidgetsPage.jsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afdd1605bf24428aeaadbb457455c361a1938658845823c213e0279d0949a68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/commands/sync.js:1950 \u00B7 src/commands/sync.js:1987 \u00B7 src/commands/sync.js:2006 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"586ce4ce921a2e3a9a8dc0da02fcebdfaf48eccd42409d309ffca3df82b6c8aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/commands/sync.js:2797 \u00B7 src/commands/sync.js:2836 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1eb424094dd7c862ce84cac6134cfdc75a8893e8da89f21eb801edb0c41dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/commands/sync.js:5925 \u00B7 src/commands/sync.js:6113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5925}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36da257b5da5823819ee197bf8172c96d03fd5b397047d1cc8bf8905acb15d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/commands/sync.js:6863 \u00B7 src/commands/sync.js:6887 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6863}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d77c76849fbc1a774d5c625e096f9d31d8a91b4606efda96fe26320ba972af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:965 \u00B7 src/lib/grok-context-breakdown.js:415 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa136398b500f166957265c0a402f43848fdac3d71d43b14221ca22d3d8321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/diagnostics.js:30 \u00B7 src/lib/rollout.js:7992 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e570874f6313e781ee9a533c4dfceb53d55a4e44b2cf41daf47a972c6d86be7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/local-api.js:3142 \u00B7 src/lib/local-api.js:3168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"277882010d9d9a480af44afd9d16d5bbdde04524e629af7ff2268ec6515f8db0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/rollout.js:1312 \u00B7 src/lib/rollout.js:23048 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0416511263c5db2f2706a143729189eca54433024b7d91987433b777cfafb80e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/lib/rollout.js:10323 \u00B7 src/lib/rollout.js:10558 \u00B7 src/lib/rollout.js:17765 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff1cdad9b043dcbcbdc078db66fe40defc58718331d96486dabc35bcfb64098"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/rollout.js:10635 \u00B7 src/lib/rollout.js:11389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10635}}}],"partialFingerprints":{"codehealthFindingId/v1":"5666c4861dbe2e65a3e71874643a35b49066f818995bd4edfa8aac5a22aca435"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/skills-manager.js:523 \u00B7 src/lib/skills-manager.js:544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ea13ae711315a22497d3ea0cd8fbbc0deca07b2b8369e9df930969c11ce168"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): dashboard/edge-patches/cloud/paddle.ts:104 \u00B7 dashboard/edge-patches/cloud/paddle.ts:395 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a52fe95edcfc6eec88ed98ac786e1f31cd925d1cec257a1361eeb4e978a248"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-daily.ts:922 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1c61aaa3e763336d6617bf54fec3ed957828ea2d6b76c568fae17f821db9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-summary.ts:1074 \u00B7 dashboard/vite.config.js:821 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21f32ad68e25c648a3c061ca3ace03be798265f829503836f1cf43c7b63fcc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-summary.ts:948 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ca9b6c6b6a748ec3f62a5433bc1a4a4a1100fa2c8bc98b0a7d3783a04d3b53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): dashboard/src/components/LoginCard.jsx:375 \u00B7 dashboard/src/components/LoginCard.jsx:419 \u00B7 dashboard/src/components/LoginCard.jsx:613 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ece82d0475b54af3f2d1c534bf6cbcf58ccaeb36a493b58f4a3ad2dbdd8514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): dashboard/src/components/LoginCard.jsx:450 \u00B7 dashboard/src/components/LoginCard.jsx:465 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d4bdfc49e32e647fb0b9ade9b7a33c3d29ef8bbd80a05ed2410aae252753a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): dashboard/src/pages/WrappedPage.jsx:152 \u00B7 dashboard/src/pages/WrappedPage.jsx:167 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WrappedPage.jsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc9c289337a94db704b5405a829b4980d9000ee21ebfb33f3d559a64bc9ded"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): dashboard/src/ui/components/Sidebar.jsx:466 \u00B7 dashboard/src/ui/dashboard/components/SessionDetailModal.jsx:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Sidebar.jsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b89ac13ea33f980d0a52e320f9cda652f02ba541a1bec5afdf5e9f29f01279"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx:918 \u00B7 dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx:742 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"443124a47416d67bbbbcaaccd3063a0703e87429a04799773504dc1591297ad2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): dashboard/vite.config.js:759 \u00B7 src/lib/local-api.js:2769 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af79ad92b71fb601306dd8998dc11cbfa7ec7ded29c1d20fe5fe3a7cb6c6057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/commands/init.js:966 \u00B7 src/commands/init.js:989 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"a981eb895416da6c6a1c52b75ec35e56d0e52d4015dac7ad4c317be14a293b20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/commands/sync.js:4816 \u00B7 src/commands/sync.js:4874 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4816}}}],"partialFingerprints":{"codehealthFindingId/v1":"7321b32e5d73102676bd4eee728bced54bd84f7366a9e7abf6b9293fdf9357c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/commands/sync.js:7549 \u00B7 src/commands/sync.js:7701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7549}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0c7ccbe90a4c19022a93dda42e1b10539b24bdee3e55d33f2062cc36f96128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:418 \u00B7 src/lib/rollout.js:5366 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4660005eab9821ea40282de24e121793bf83a5eba3c471d7f3bbdfbf7e855185"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/lib/commandcode-limits.js:90 \u00B7 src/lib/qoder-limits.js:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 146 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff6bec2fc45a5a706d51ae4fd53906382eb6a1a8b314b9c5ae181978f0ed033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/cursor-store.js:1273 \u00B7 src/lib/cursor-store.js:1293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e884477d9f774cecb4af642ae450e2062cacb14a39c2c2c09a5f059b67a9a0ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/local-api.js:1968 \u00B7 src/lib/local-api.js:1993 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62b308d5bad91d05627b79189d86c5f4e0bd284027f1d49244f328d920fed8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/omp-hook.js:224 \u00B7 src/lib/omp-hook.js:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"40aae390454b1ad2bcbe7f4b19f1d8ef54ba51a8299c465444c925539930b7dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/openclaw-hook.js:92 \u00B7 src/lib/openclaw-session-plugin.js:120 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99692653af7a3f32b976a73a2e2e078dc8a5e861726f98851a5a9ae6547468e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6 locations): src/lib/rollout.js:773 \u00B7 src/lib/rollout.js:1318 \u00B7 src/lib/rollout.js:1493 \u00B7 src/lib/rollout.js:1644 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"67027132f375f56fca9dab30dd36ef7d1f9490b2bc65ba46fada91856a3ba96e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/lib/rollout.js:1054 \u00B7 src/lib/rollout.js:1347 \u00B7 src/lib/rollout.js:1517 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d335935ade719871927e794a08a8aa3c0083e46aaf0fb5ae7d5d0ccf0155d078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/rollout.js:6959 \u00B7 src/lib/rollout.js:6978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6959}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c19fdca68c56e6baaf131d829d0208f2a415051b3eda155eef16a9f19c766a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): src/lib/rollout.js:10749 \u00B7 src/lib/rollout.js:10799 \u00B7 src/lib/rollout.js:11417 \u00B7 src/lib/rollout.js:11439 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10749}}}],"partialFingerprints":{"codehealthFindingId/v1":"4937f833d75a17a28143fe798a19d3e08279b05b9c577ce6f239dc36f4966d31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/lib/rollout.js:10879 \u00B7 src/lib/rollout.js:12809 \u00B7 src/lib/rollout.js:16803 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10879}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e8a6ef7f47060a079f7705637e7439067efff2f654dcfbc2acfc7446d23176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/rollout.js:19368 \u00B7 src/lib/rollout.js:19467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82fdcf1b1232e498bbc7b7191c6622ad55dc6f57b6e8ba54ebb4dc4736c480a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-skills.ts:165 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 117 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ec43450ef018b4ab5d8a9696718ad2af00c835a8793bbd266a247e50caba7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:231 \u00B7 dashboard/edge-patches/tokentracker-embed-svg.ts:1211 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52c68be7c83d2be84c80848647b20184f33a3e68632d85d4c1b07574594af26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-ingest.ts:52 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:1065 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f76f273cdf84151885cc489a0c359053c6b014a07c6e7c9ed597679c25f370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): dashboard/src/hooks/use-activity-heatmap.ts:23 \u00B7 dashboard/src/hooks/use-trend-data.ts:33 \u00B7 dashboard/src/hooks/use-usage-data.ts:27 \u00B7 dashboard/src/hooks/use-usage-model-breakdown.ts:12 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"139cebfa855a1d8efb9714857989336556f5e9185de8c3848d5e5f2e0f8ed17a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): dashboard/src/ui/marketing/v3/DownloadSection.jsx:135 \u00B7 dashboard/src/ui/marketing/v3/HeroSection.jsx:118 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/DownloadSection.jsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18e3bcf2d82c02db2f3ac74a31f196224cb15fdb8c622d647b490e7197444d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/init.js:1093 \u00B7 src/commands/init.js:1283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f1c2d5074122638c1450edc6d1561e1989296c2e88457e32ce6810e5b7b2c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): src/commands/init.js:1190 \u00B7 src/commands/init.js:1205 \u00B7 src/commands/init.js:1220 \u00B7 src/commands/init.js:1235 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4085f7081e7e5de675c5cac4f1fb7eebf3e07b95bbbb30be373639cf6153253"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/status.js:331 \u00B7 src/lib/diagnostics.js:140 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de2577ecec8bc4798d80bb8df3a2aff2028fd38eb9d1c017da594466f512f83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/sync.js:864 \u00B7 src/commands/sync.js:878 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ffe139d8618aed9ad781d38dd00c0bfd97f3223ced7e74f5567cff3cbf90df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): src/commands/sync.js:2607 \u00B7 src/commands/sync.js:2632 \u00B7 src/commands/sync.js:2682 \u00B7 src/commands/sync.js:2899 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8257b7c11918ba345767f2a0479ca7d204c4bd46f0a3dc002cbc52b94c611576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/sync.js:5900 \u00B7 src/commands/sync.js:6091 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5900}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6deefb4f53bf808967b34ea714f30701d0220edcc29e9918e79ce1b4ab817a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/sync.js:6072 \u00B7 src/commands/sync.js:6256 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6072}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dd7b910b8df3a1f640402764db1bccef5e009f8170f8aba101091d5abbd4b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/commands/sync.js:6510 \u00B7 src/commands/sync.js:6576 \u00B7 src/commands/sync.js:7541 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6510}}}],"partialFingerprints":{"codehealthFindingId/v1":"78446868cd13c65737b18329650b998d0dee0988e108b93b105604d7c162c8bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/commands/sync.js:7051 \u00B7 src/commands/sync.js:7145 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7051}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac144aef551a7ec2ae829a5fc7fc168f35560e50d2d2d046266a9a54b66378d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/claude-categorizer.js:551 \u00B7 src/lib/grok-context-breakdown.js:47 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2544bea0decda84e4e5c87de7e29a38031c0a63c26367e26a7142b5c5f8252de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/claude-config.js:11 \u00B7 src/lib/claude-config.js:47 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae070d074636caf29097484698c04d6b9362dbed037fbefbc6e8243838c663"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:560 \u00B7 src/lib/grok-context-breakdown.js:288 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac0adaf3592af781b0086e1636b4337cb41ba80006f3af039dd610383ea100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/cursor-config.js:188 \u00B7 src/lib/cursor-config.js:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5488de7fa35421209e0a699be3905a00626a02484d2c177a6daf58bae6c24d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/cursor-store.js:1068 \u00B7 src/lib/cursor-store.js:1369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7a3ee591bee580746ac90fd4a0bf461d1ee9ca342231614f726fb11df83a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/grok-context-breakdown.js:59 \u00B7 src/lib/rollout.js:21379 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9071187c64abffafae83f80aae91fb9d216558088bdc90a4c82b5f2a5758d2fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/rollout.js:2307 \u00B7 src/lib/rollout.js:2335 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee54a48e8bb4651678c27409128d1e7d85e3d47fc4a1fe249def711f9af0bb45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/rollout.js:7355 \u00B7 src/lib/rollout.js:26361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7355}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaaf1bb72f982e77dae1a4d480adba2ef74d34337026e0ae8a04e7aafc5976e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-token-issue.ts:84 \u00B7 dashboard/edge-patches/tokentracker-ingest.ts:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9358e7d1220b6b9d35e828a4216af3e2f1d766cb44ad330d7a1daae56b926c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard-profile.ts:29 \u00B7 dashboard/edge-patches/tokentracker-leaderboard.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2263811d692851fdd88d6d07c29f514629c07613ab52a4f4e504b509b4c5f2ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:1385 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:1535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f34a4bfa6f185085c2b8d12d3810615c50f6e32dffa4d3216b8b254ee902c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/components/settings/MenuBarSection.jsx:57 \u00B7 dashboard/src/pages/SettingsPage.jsx:160 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/MenuBarSection.jsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4636064a481333ea853e50832e5cc34ff41d7faaa5a1b694ce82c98e594ac24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/components/settings/NetworkSection.jsx:227 \u00B7 dashboard/src/components/settings/NetworkSection.jsx:256 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e9231324ee2c8312cde429808d8a65cca56a4dabcb50a388d5e3a1eb8a1a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): dashboard/src/lib/api.ts:648 \u00B7 dashboard/src/lib/api.ts:735 \u00B7 dashboard/src/lib/api.ts:771 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99245d8cc9a9d9d106212c226615f02d30231e28680674a79cae7d104e3f480"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/lib/cloud-sync.ts:149 \u00B7 dashboard/src/lib/cloud-sync.ts:170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d054dc1f6086b1044a7cd32308f97b94fbcdec84f8fce749ea3375c51a72e276"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/lib/format.ts:67 \u00B7 dashboard/src/lib/format.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"063ff62874cab72b3d1c2d4cff788140a99bc5ce25c442cc83e2764be051934e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): dashboard/src/lib/native-bridge.js:118 \u00B7 dashboard/src/lib/native-bridge.js:292 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/native-bridge.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ae34b5f4bfd5df4d588987026cf785569a319dcc148e8689679494b481ece"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/pages/LeaderboardProfilePage.jsx:57 \u00B7 dashboard/src/ui/marketing/MarketingLanding.jsx:79 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardProfilePage.jsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1ba24fafc56f7aa924831683653b2d26e2648cb27ec37027f36b2a92b544e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/MacAppBanner.jsx:10 \u00B7 dashboard/src/ui/dashboard/components/WidgetOnboardingCard.jsx:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/MacAppBanner.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"29450e20be3ddcce0af917cc49d3e044b8df3b7f42b03f99f5e2fe6a690d0634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ProviderIcon.jsx:113 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:328 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c6240fc0518f0aac5ca8106287bb7e380ab4082321c1f547dc09ca7b2c6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1237 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1525 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1587 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaea5a198372279b14bb26574cf81c82e7f528cd26baab42945abaf79a796369"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1529 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7f6aa3c4c1fb7884054b7b62e449fb59440956e3a9b041cb7d2f05ae3a990f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): dashboard/vite.config.js:780 \u00B7 dashboard/vite.config.js:795 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e7c47919a627e89504096d9fe639f7f52e7d2004f791b0a82b639859f31196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): src/commands/sync.js:2679 \u00B7 src/commands/sync.js:2896 \u00B7 src/commands/sync.js:2924 \u00B7 src/commands/sync.js:2952 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a4e49d4f85b25886c21d914a2e88c17207aca6230bfaf9b30681f38cbce507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/commands/sync.js:2728 \u00B7 src/commands/sync.js:2871 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7a4b01ebc723cc1d13f9e9c53253046b84d991afd7aff512ba6aee12cb20df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:181 \u00B7 src/lib/codex-rollout-parser.js:351 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6787a1415371e531766ce28b3f4685005742d1fbfe7d53f2645a9c59186baab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/deepseek-status.js:22 \u00B7 src/lib/opencode-status.js:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-status.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eb8414cc94cf5498a83b15cd6434292130144653979758661cd6d736dbbeea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/omp-hook.js:456 \u00B7 src/lib/omp-hook.js:482 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5c15fc90122393c5b66f6208ea5f648fa191cedbbbc97c8d37b8bf12a74513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/rollout.js:11156 \u00B7 src/lib/rollout.js:11521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dfbb28a65393cd045f9a275740018a4b9d23abe014c6ed3c52457f2b5210d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/session-analytics.js:1276 \u00B7 src/lib/session-analytics.js:1472 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e4f62279b10daa701147743da02eb2afe1126a747a700c485414672f3c0b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/usage-limits.js:4303 \u00B7 src/lib/usage-limits.js:4324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4303}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e358260524782730d6150e4d069a6d3fea2e3e91f31ac64658bf94276819f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): dashboard/edge-patches/cloud/alipay.ts:134 \u00B7 dashboard/edge-patches/cloud/alipay.ts:203 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/alipay.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6746c0a92c7c0fe2cdce23818f308d41f8688fc1f6db0dc147e5d37d04a1a0c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-skills.ts:165 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:1058 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b540f0d421b504eb067b8ad1ff0057b56219748599ed94462f9f66219cfb9c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-flow-authorize.ts:25 \u00B7 dashboard/edge-patches/tokentracker-device-flow-poll.ts:17 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-authorize.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc104bace181ef8c5a886fabe6d7489d321ce9ac74c06513fd2e6078d46ad4b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-device-flow-authorize.ts:79 \u00B7 dashboard/edge-patches/tokentracker-device-flow-grant.ts:92 \u00B7 dashboard/edge-patches/tokentracker-device-flow-poll.ts:67 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-authorize.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769901f7284e8d1e575e9ac83d152ae59a35720e66819fbafe29326fa9cc895"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-device-rename.ts:81 \u00B7 dashboard/edge-patches/tokentracker-telemetry.ts:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f535f26768447bede9abedf3d8f508ee1fc61d0384e50ecd3d1e3c1fd7a678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard.ts:83 \u00B7 dashboard/edge-patches/tokentracker-public-visibility.ts:65 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2763eb30bc9c84262f392bbceca98fe1afcdc0c7c9e98c725a93236a3cb7d5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/hooks/use-activity-heatmap.ts:209 \u00B7 dashboard/src/hooks/use-activity-heatmap.ts:284 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9b62fb984518016a1c014a971ffd76e2cb1d797e9bce5b72b6bdf2203b83db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/lib/function-url.ts:13 \u00B7 src/lib/function-url.js:14 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/function-url.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a94bff2386bc787ea0797bd7f5f44d273b49c6c5dcfcddbba55ebb463bc41e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): dashboard/src/lib/pet-quips.js:374 \u00B7 dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js:312 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e49eaf6b13c1ed5f0ce4521b4a3d52e8992eeb65adcf1b708a24b6724575ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/pages/DashboardPage.jsx:168 \u00B7 dashboard/src/pages/LeaderboardPage.jsx:489 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0afd4313b5d35aaafefb19074937765568170bdf9415ffe85f112b711984da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/pages/LimitsPage.jsx:225 \u00B7 dashboard/src/pages/SessionsPage.jsx:724 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c71779329c3a63c926178592825b9906c15a4b1f9b1064f382ad167f67d3ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/pages/SessionsPage.jsx:762 \u00B7 dashboard/src/pages/SkillsPage.jsx:394 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"be208542e5ffdb2b7e710c47b54a6f494a753145ad3b01f72fbca308abbbb665"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/src/ui/share/ShareModal.tsx:152 \u00B7 dashboard/src/ui/share/ShareModal.tsx:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"55209d6178d24499bee2ee9b8577272d40a8f0b4cb81124682bbbc4523354c78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): dashboard/vite.config.js:582 \u00B7 src/lib/local-api.js:306 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcf18be30d46fbcb3249c3bf560a3b51b029fdcff7f8fc767dcb93f8cc15a7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/cloud-usage-archive.cjs:75 \u00B7 scripts/pro-gift-codes.cjs:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-usage-archive.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a834655c19f91bbf9ddf0aed4b5cc1593d7a204378946c8866149b4f8949c0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): scripts/version-files.cjs:15 \u00B7 scripts/version-files.cjs:51 \u00B7 scripts/version-files.cjs:86 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/version-files.cjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebd3e5a90095f39155d0e5a91545dd7039302a43452a33709bae90b58dad9e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/commands/init.js:691 \u00B7 src/commands/init.js:709 \u00B7 src/commands/init.js:1142 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60bea42ec6256385e1bf58f36eab74367901ac204f32afe5798df1dddb386bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/commands/sync.js:2404 \u00B7 src/commands/sync.js:2458 \u00B7 src/commands/sync.js:2557 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d1751a2740d657f2d7ebccdaf2587a0a25f8b24060af47948ed6b9525b97b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:742 \u00B7 src/lib/grok-context-breakdown.js:822 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d04b865985e0429dfec1eafbcabdc0b0c71d84d24d461dd18efdf721ef9b1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:880 \u00B7 src/lib/grok-context-breakdown.js:264 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6d3f5edd074edf7b84536cbae3355f69839d8ad12da3f3c1686e758e4e5b3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/commandcode-limits.js:118 \u00B7 src/lib/usage-limits.js:256 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06036f36c5bd4b9826218fae741c593c15134d3e549ada554554b13399782b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/cursor-store.js:959 \u00B7 src/lib/cursor-store.js:1083 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"157bc9a0506c63788dcf868c27cdccdb2c1f7567063f3a42453dc1a3118f398d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/diagnostics.js:50 \u00B7 src/lib/rollout.js:8839 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a823cf5a90b60cfee63bb740aef833a7dd4b1f257c4b47ac66ec15367e1da570"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/local-api.js:3533 \u00B7 src/lib/local-api.js:3611 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04846c2a90ab2f5baef2019a07e0a7c77fa8496638c4f8d27322be758436859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/local-api.js:3615 \u00B7 src/lib/local-api.js:3668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8713df09cb461531563f5dcb4461899098cbdde4cf6208c7ce426e7b7184875"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/rollout.js:1386 \u00B7 src/lib/rollout.js:1559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0441f175246d052400dd416c60e32021bdb20e2f25507085f06bbe26f115728c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/lib/rollout.js:12266 \u00B7 src/lib/rollout.js:17326 \u00B7 src/lib/rollout.js:17930 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1371b38cc32568c5e4a22b97638d25ded85110354400793fede275b3726ca003"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/lib/rollout.js:16654 \u00B7 src/lib/rollout.js:17221 \u00B7 src/lib/rollout.js:17806 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16654}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adbf3156ab1cca4f2b5091c3c69aa3fac9f8482ab45af47bfd8a6b6de4bd41c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/rollout.js:21917 \u00B7 src/lib/rollout.js:22069 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa614b99d5a6d548a5bbbfa7e4fbab4dd0a6cc91e945127d15e5b314edba724"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/usage-limits.js:4668 \u00B7 src/lib/usage-limits.js:4684 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8569cd231a906ccf4084d666b3b9c2616bbd30da99a67c10ac3499c7215168cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/usage-limits.js:5035 \u00B7 src/lib/usage-limits.js:5123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":5035}}}],"partialFingerprints":{"codehealthFindingId/v1":"d167ce5a55da4778ffd3516ec4e239f36e3a083ec8d1a44c39b99890ea38e22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/lib/zcode-limits.js:114 \u00B7 src/lib/zcode-limits.js:275 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13d6a82af9d13520b4a58257fbd8282a67ddf3eb543761f181beef6d21dda7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): dashboard/edge-patches/cloud/alipay.ts:229 \u00B7 dashboard/edge-patches/cloud/paddle.ts:456 \u00B7 dashboard/edge-patches/cloud/wechat.ts:296 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/alipay.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e89bb53e6082a063886aa98156c85ae0d7077635a86fa3f2412d9c6d6314b7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-account-daily.ts:130 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:148 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:114 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"112e23f2edeed1269da57333a41b42cd499b3d3d16be6c418c8a868c06aa1c81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-daily.ts:767 \u00B7 dashboard/edge-patches/tokentracker-account-heatmap.ts:125 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"66395fe18fc0f8934f5bd0fb7bb3d65111864749ea8bcb5a88b59ea649d0ce69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:248 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:1012 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5261301e3f2c99a7cbb874ad1484f3d130975a3216f4094a846058aece4609b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/scripts/capture-dashboard-screenshot.mjs:6 \u00B7 dashboard/scripts/compare-visual-baselines.mjs:12 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/capture-dashboard-screenshot.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3842131c19b7f9b6d1f5dd3fbe7a27e25a15e1c9147ae691f5b7ef78e3d3139a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/components/cloud/CloudMembershipCard.jsx:126 \u00B7 dashboard/src/components/cloud/CloudMembershipCard.jsx:152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88ad26b2c2b18add2dd2c0e5c4a77b38626d7be4553009f4f99545fc074adb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/components/settings/AccountSection.jsx:113 \u00B7 dashboard/src/components/settings/NetworkSection.jsx:149 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSection.jsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa56d644c9c1d0fec7a091e38dea7a1286ddd95c0c3712b6818b1184c352f00b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/contexts/AccountViewContext.jsx:71 \u00B7 dashboard/src/hooks/use-usage-limits.ts:239 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/AccountViewContext.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dca9939193b9c7e724e394f3c43b68754e8f7299e7231a2d977e772c9b0d98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:783 \u00B7 src/lib/grok-context-breakdown.js:84 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45ed335ba7e4de4beff8fd74cac3680bfd6803a0c15ee911cb11ccb7cf5e70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/lib/activity-heatmap.ts:22 \u00B7 dashboard/src/lib/mock-data.ts:134 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4fd101b070d38b7c5f897735ee6bc6125e7dbb93bc8274734d576022fad067"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/lib/dashboard-preload.js:330 \u00B7 dashboard/src/pages/LeaderboardPage.jsx:86 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edc69827a8c5ee4fb5214026c052503722d5120412ea3b51106ae1beeb415ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/pages/LoginPage.jsx:91 \u00B7 dashboard/src/pages/ResetPasswordPage.jsx:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LoginPage.jsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d067e55281395ddac85f0b9077f1bf35d4822cd00be54f2d2935db3313d97f06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/pages/SkillsPage.jsx:1531 \u00B7 dashboard/src/pages/SkillsPage.jsx:1549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8f8e50b1fb12c5565214a06290e9764979bf05d7e3d7a5bba7f617a5a7afb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:759 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:917 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:975 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d809f5ba025f5955733982a183c5305ab123c9ac7133d6a8bd3025d5be6993"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1502 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21074fcdd6c234bc3d64cd8047c260477501f7dc80eddb72e7dca92bc78e022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/ops/validate-ui-hardcode.cjs:11 \u00B7 scripts/validate-copy-registry.cjs:102 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ops/validate-ui-hardcode.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d97ba5f87100485c3cedf2c56eba33c496b5788c71d05aaa740b26a3c3305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/commands/status.js:714 \u00B7 src/commands/status.js:725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8da1dabca1b9b0f531a2735bc575bfb4412716d919ea50ffb8ed34af7d861cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/commands/sync.js:2696 \u00B7 src/commands/sync.js:2742 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0c4c6a5bbac0caa5ffea211b8a76cc86455889677c492680e00ceaa4b7b3fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): src/commands/sync.js:2779 \u00B7 src/commands/sync.js:2885 \u00B7 src/commands/sync.js:2913 \u00B7 src/commands/sync.js:2941 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf8757c18534a468e9c3ddac0294c17714a2134a0b96585c35f9e4ebc76456e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/commands/sync.js:6410 \u00B7 src/commands/sync.js:7380 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4997a75b495f994838b193aa6c8cf4e0dd6fe34401abacb89904aefdf4847c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/claude-categorizer.js:115 \u00B7 src/lib/claude-categorizer.js:187 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2788fb2127540eb3ba75153c8954855dc1b6e67f51e156e90ea0ebfa6a9293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/claude-categorizer.js:993 \u00B7 src/lib/claude-categorizer.js:1018 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ce96968cd66fc454232fb76c49754f8eb3aff50295c5dcdd020b8eda957e2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:149 \u00B7 src/lib/grok-context-breakdown.js:110 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f60cb3e4d5071cac3db89890222b41348b99c28889c5360dffe7e50d59dc34f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/codex-token-usage.js:108 \u00B7 src/lib/codex-token-usage.js:122 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-usage.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a4aed1196ff1a97c4b52bc991f5c192f5849e2d0d15250e337b90bd00ec9f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/cursor-store.js:743 \u00B7 src/lib/cursor-store.js:993 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7df501a82f9a0ea0c8c06f8b43ec8af6eda62e1ea930e7177746b87b33d4ccb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/dsh-session.js:225 \u00B7 src/lib/rollout.js:24614 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24938cf956e7c9c4c8c773a4da91b539d1e585ca24b319dffeeb66a8266d404"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/dsh-session.js:577 \u00B7 src/lib/omp-session.js:441 \u00B7 src/lib/pi-session.js:658 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3183cf9473815626b09c2191d3d74d31d1ee3cb2daea23dcba3ae64e8d51d353"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/lib/jsonl-lines.js:58 \u00B7 src/lib/jsonl-lines.js:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/jsonl-lines.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb6f35f85a5763ffaa0dbd72d946e276ac7d37a33384db76cd213e89156bb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/local-api.js:2019 \u00B7 src/lib/local-api.js:2554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35715d4f5841b08e4b7fd0c3d49b6a7cb2596e0b2c83df09898373ede5fd7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/local-api.js:3792 \u00B7 src/lib/local-api.js:3833 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0187c09f624e2e7eb1e357cfdf35e5bf7e463429407144083f782f7f236602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/local-api.js:3813 \u00B7 src/lib/local-api.js:3870 \u00B7 src/lib/local-api.js:4045 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3813}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc080d52c45071a7ebfde4bcc73daa2f423752ae75df40aef7ee1f698b5bb64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/omp-session.js:330 \u00B7 src/lib/omp-session.js:375 \u00B7 src/lib/pi-session.js:594 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c35a67ef70923167998f45a34da59346a01fd9a18f2c011747dd3b6d26e3ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/passive-mode.js:116 \u00B7 src/lib/passive-mode.js:141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/passive-mode.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c230fe84a9b18f1753dd60b0631c12ccd267508684a82766835818b144e1a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/pricing/matcher.js:60 \u00B7 src/lib/pricing/matcher.js:123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3401a811421cc8fc6ec909b6f2134a5bc2caa687e21a7086599a71bb8921bd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:1370 \u00B7 src/lib/rollout.js:1543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c2c830e84a87286b7152639dbd874590ecd82fb238db7c096c796f7d4ec4a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/rollout.js:3227 \u00B7 src/lib/rollout.js:3500 \u00B7 src/lib/rollout.js:23545 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a90234e75a7dd38a779c6b8397ace6c1de77865286118395e1ac4a2ece0ff64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:5526 \u00B7 src/lib/rollout.js:5538 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9a4465763e7bf3944ab76abc732cd7202a8478f4b280cbe589d3c59b1d1c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/lib/rollout.js:6057 \u00B7 src/lib/rollout.js:8019 \u00B7 src/lib/rollout.js:8428 \u00B7 src/lib/rollout.js:15143 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6057}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5b711dfcc93926190b66fc50b1c75eaeda305f751cdf3e724477b2c3ba1d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/rollout.js:6079 \u00B7 src/lib/rollout.js:8470 \u00B7 src/lib/rollout.js:8560 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6079}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f690e2b6e28300a20e7c12262ef7cf0395149f901eed976c7826881e17790d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:11734 \u00B7 src/lib/rollout.js:11908 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11734}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec335c0c4201650bbc8ce93e147b5dae9f2700f572dea38227aa41884a22d3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:13842 \u00B7 src/lib/rollout.js:14738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13842}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8565b8e76af264b5a7ecf7c27f2f85267b008acda8b82164206b19965f6752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:15466 \u00B7 src/lib/rollout.js:15861 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15466}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef9450426f8501c649b8b2bd7ac7ae69992d17b8a4272b359074214c3e29e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/rollout.js:17776 \u00B7 src/lib/rollout.js:17905 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17776}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e211d2f1a90e6198cbd8eb625049a4ed0b3221f8a897ecf74c40aadc8ac948"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/session-analytics.js:1997 \u00B7 src/lib/session-analytics.js:2017 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb28289c95744cd2a535dc4b70aa87c0105e676a00a305c4b8246af6105ed05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/usage-limits.js:2164 \u00B7 src/lib/usage-limits.js:2183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0790847ebdf3a46764e71210c048ebbd7c1102ca82e6ded0f1c81cf683c1e324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-community-models.ts:53 \u00B7 dashboard/edge-patches/tokentracker-device-token-issue.ts:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-community-models.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a27ca176fd90c99c5a67951a4da6e0b022e8a1025493227692f8763ec3549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-embed-svg.ts:313 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:790 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5930925ad1074a4ee235404b1f8f90bb15e031e659717fc5db433df97bfad012"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/components/LoginCard.jsx:524 \u00B7 dashboard/src/components/LoginCard.jsx:550 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fdb0b0ca6db8af41d418ea0c80916632cd2c4065a6a24e0c26c9cb88e48a38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/hooks/use-usage-limits.ts:302 \u00B7 dashboard/src/hooks/use-usage-limits.ts:369 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d8337bcf89eb4d16e4dba3eae1f7cf5b4a5d48496665faa1702957650cfae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): dashboard/src/pages/LimitsPage.jsx:30 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:134 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd017733d7a1634073b6a06163da976ecda4b5e7b7974bd8fa17447b4d2b021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/pages/WidgetsPage.jsx:389 \u00B7 dashboard/src/pages/WidgetsPage.jsx:403 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WidgetsPage.jsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b12726662cc1fed99226a65ccf9d43c171e05219c441d16247fa87365b8f54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): dashboard/src/ui/achievements/BadgeMini.jsx:13 \u00B7 dashboard/src/ui/achievements/BadgeStrip.jsx:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeMini.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a860b29aaa337c78fb669ad4be72408f5da9c86d232212d9c07abf38e7756d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:274 \u00B7 dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e18f820f92bf93b0d85a2d25e807486cac53792ed6cf7e73746d641da14dba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1180 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f194b7d3532bb2df2739d40e29816b879092514d8fd4f99f71f7944f86a38e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/ui/foundation/ClawdAnimated.jsx:196 \u00B7 dashboard/src/ui/foundation/PetAtlasAnimated.jsx:46 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/ClawdAnimated.jsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4126d73fa332709f4cba482932acf5ddebb4716d15a29f7e0d02f2b2d2b6e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): dashboard/src/ui/share/ShareModal.tsx:122 \u00B7 dashboard/src/ui/share/ShareModal.tsx:150 \u00B7 dashboard/src/ui/share/ShareModal.tsx:178 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c5d8d430329b757e71ec25a09801c25ba374c012611b4f834a973281edc355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/src/ui/share/native-save.ts:23 \u00B7 dashboard/src/ui/share/native-save.ts:35 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/native-save.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3cd625655f6f89a9d04156e74871a8fc3210e9d76c51982614403df693afbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): dashboard/vite.config.js:965 \u00B7 src/lib/local-api.js:2987 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"c870440af8a68dd2492f775b2ab0dee2a92a3ba167713ee6c4297d4b233d2cc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/acceptance/run-acceptance.cjs:27 \u00B7 scripts/acceptance/run-acceptance.cjs:37 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/run-acceptance.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cc74860618633fe76ea4deed58e6ba4d835fbf5fec2efa47d01c33e5690277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/contributor-gift-distribution.cjs:130 \u00B7 scripts/contributor-gift-distribution.cjs:151 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c989396bde23ea065493514ca5d2bedc0c7779820502af40bc21e9dfbb72df9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/commands/init.js:725 \u00B7 src/commands/init.js:736 \u00B7 src/commands/init.js:1044 \u00B7 src/commands/init.js:1058 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0cb1882b6c0486a6dc778009a630f256525e1cbe11c8d8968622a1b45016c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/init.js:1135 \u00B7 src/commands/init.js:1316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c260785dfcd2f5e1e0cab8bb00f2758115c2c14487074fe67eb772a42a850"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/commands/init.js:1167 \u00B7 src/commands/init.js:1180 \u00B7 src/commands/init.js:1323 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b3ab827a7d3d79d31b24ebdff02b8dc15bb06e15801e26b23d3c72001453d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/commands/sync.js:2185 \u00B7 src/commands/sync.js:2621 \u00B7 src/commands/sync.js:2646 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"97953bf4ae2c3d536f87132b24306c0319dbb2db7b9f56dcf89293011c90ca8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/sync.js:4023 \u00B7 src/commands/sync.js:5937 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f0f4ae273f13e4965cc10750efe6ca342bd15d2f17663185685a71a6db0971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/commands/sync.js:5220 \u00B7 src/commands/sync.js:6518 \u00B7 src/commands/sync.js:6584 \u00B7 src/commands/sync.js:7549 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d04b2cbc4740d19bb7b672d1d7aee88dc9ae6dc7c18dcfa432f83780168969a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/sync.js:5619 \u00B7 src/commands/sync.js:7112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa617717aba9c65fe89d29a291db1bd5ea36e417dc382e163f3afb3178dedb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/sync.js:5952 \u00B7 src/commands/sync.js:6137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5952}}}],"partialFingerprints":{"codehealthFindingId/v1":"155e39d705f39040c730dd2087af8fdaa596acbe8619a3fd8c4e9688da2fa877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/sync.js:7075 \u00B7 src/commands/sync.js:7170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7075}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd334650f3f9359992a9a68aa2aa0150a55f64954dd49384a437e937a72ac61e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/commands/sync.js:7161 \u00B7 src/commands/sync.js:7209 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebfc3a7fb393b93267a78fac41f1125bb070bae91aded32a47d9238ed3ac122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/antigravity-discovery.js:27 \u00B7 src/lib/scan-roots.js:46 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bda6000e35770d32e4175dd75ad053fb6262fd50750a9e399b106ef4de1739"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/antigravity-discovery.js:56 \u00B7 src/lib/rollout.js:22231 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c576823909faf9393cf04858a4f01587739c286425f6cc62b5c28a318092c1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/cloud-account.js:248 \u00B7 src/lib/cloud-account.js:394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfdc06f94fee1790134811df67c6808703d95d7264d84ab1ff164f4ade7c208"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:681 \u00B7 src/lib/grok-context-breakdown.js:695 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f38d6664b5b19e9c48e5f4caa0e0cdf9b8a2cbf8f801c20e95321908619d59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/codex-token-refresh.js:83 \u00B7 src/lib/grok-limits.js:352 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-refresh.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7661211bce1671c4e4d1cfb9efc599b79f16d42ed5e099545f90f564f13d92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/cursor-config.js:236 \u00B7 src/lib/usage-limits.js:1092 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"467cd93f9299b93b54307bee7ac988d47b296731df09e38b20f7abb1ab2a7008"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/dsh-session.js:196 \u00B7 src/lib/dsh-session.js:206 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9b6ce9b64f9c1eec5248d4aa2e18b4439110da2b3c2c65e47b25a70364c6b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/local-api.js:3472 \u00B7 src/lib/local-api.js:3532 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8cddd19bde9c16308a55f317da97c00673ecc32e21c99b6992217c442e59fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/local-api.js:3892 \u00B7 src/lib/local-api.js:3906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3892}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d06c18dab0d7ca650e0c53bd3a92b3015f9eef3d7c91130f30c5c2989322a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/qoder-limits.js:933 \u00B7 src/lib/qoder-limits.js:996 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3031c992896cef98042bd547741fbe5bc616e45b1a0abc921bc16684804ef7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:120 \u00B7 src/lib/rollout.js:131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99f7db805f1524ef85ed23986f56961aba9461466f1212831bd33f16dfd5c06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/lib/rollout.js:1146 \u00B7 src/lib/rollout.js:1382 \u00B7 src/lib/rollout.js:1555 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94b83bd94a0a0ae254b4cd2c5baffb1341cb726b7e58286b0b4326da63efbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:4512 \u00B7 src/lib/rollout.js:4541 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1c34ef54cfabe389884eef292a4628fe2fadc24765334f2efee79978c8dfc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:10272 \u00B7 src/lib/rollout.js:10466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f017cd4955c73bb86f609da77e91a049920fec77627343344a24971af171253"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:11142 \u00B7 src/lib/rollout.js:11760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7734aef074aebef411d6aac4061a30d504fcd41bae9c4952934207959af19f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:12640 \u00B7 src/lib/rollout.js:12676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19807ceb96a8259898895ab5b76351e324c589850d33b879d75da09a4c9661a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:14814 \u00B7 src/lib/rollout.js:15428 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14814}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64a79b4fb71af1fd85f50579d06cdfcfe327162b6900f4a050b82c873004c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:16084 \u00B7 src/lib/rollout.js:17442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16084}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4046ef313e3d268137ce40ac67ec3025a1da15c509e7dac3b5c846a25c7d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:16360 \u00B7 src/lib/rollout.js:16529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b383379dca1d55325821b3ec1526884930294218c7fa4dba94389fdf942c64d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:16606 \u00B7 src/lib/rollout.js:16672 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16606}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ece21cf8c41ef212098a30c45c38e73f92189bfd0cb215c8bdfb400e8badb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:17541 \u00B7 src/lib/rollout.js:17557 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0c48cc6c7e863900dba4a53c6d4a68bb91ddc3a1cea537f5b619665de16f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:17686 \u00B7 src/lib/rollout.js:17835 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17686}}}],"partialFingerprints":{"codehealthFindingId/v1":"4668aeb797d25ed5990401e5f9874cb8518577dcff0c2921e1daaf8fe2845883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/rollout.js:22509 \u00B7 src/lib/rollout.js:26322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22509}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ac995d2ed0389c99930a9c57dbe3c88a1d0dca0f01c634abdce7606fd8c63d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/scan-roots.js:138 \u00B7 src/lib/scan-roots.js:216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/scan-roots.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63a1130c2f3bd03238a1acdb79f3eb86ebbe014d9d2f630a367ebd352c96f9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/skills-manager.js:313 \u00B7 src/lib/skills-manager.js:390 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ec836a9da35c14b7086162ff7ec87af316e9b4c139e8323b96b7c3c09f1e66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/subscriptions.js:209 \u00B7 src/lib/usage-limits.js:1928 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e06d89f92008644c117da18e21e3fdde3c2406dde1f2bef1318113e1face2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/usage-limits.js:1169 \u00B7 src/lib/usage-limits.js:1180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37f13e0f8a64934b8f124082261ebdc013b86b99a834a6fb91650f764d8cd81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/usage-limits.js:4648 \u00B7 src/lib/usage-limits.js:4658 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed90b08bbdb3948010e4be8fc316d03c4de6ce325708d04c4e1aac9f9052b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): dashboard/edge-patches/tokentracker-account-daily.ts:560 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:579 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:546 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:518 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cef6a8da565afe4728976e4bddda1fc9a46ea7b56edfd1ec20f6d423e73fde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-billing.ts:347 \u00B7 dashboard/edge-patches/tokentracker-billing.ts:421 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ab607b4a8cf778371510eaa444122979bc640389a1b277d04934152880464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-profile-likes.ts:315 \u00B7 dashboard/edge-patches/tokentracker-profile-likes.ts:334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362db6fe100db01892a0f63f5c10909fb62e23dad4e451303ebfa8390b14fb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): dashboard/src/contexts/InsforgeAuthContext.jsx:41 \u00B7 src/lib/cloud-account.js:46 \u00B7 src/lib/cloud-account.js:58 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"04939bdc5e299b5964c8d9af13baf9568db419e325152e022085f83f3519354b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/contexts/InsforgeAuthContext.jsx:224 \u00B7 dashboard/src/contexts/InsforgeAuthContext.jsx:239 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1167c44d6314f0d251617f1407e71fd7c28bd2a6e4f7060617e5c3816ede0e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): dashboard/src/hooks/use-limits-display-prefs.js:423 \u00B7 dashboard/src/ui/components/Sidebar.jsx:95 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"11705538efd573f80668d9773d1a8bf80ac94e62f269e666dccd0c4cc2f4ab18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:182 \u00B7 dashboard/src/hooks/use-trend-data.ts:383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9639591ff6785f0a276c3aea2d144fc7c76d7d7aba0d91d8a137da247dabb518"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): dashboard/src/hooks/use-usage-data.ts:428 \u00B7 dashboard/src/hooks/use-usage-limits.ts:335 \u00B7 dashboard/src/pages/SkillDetailPanel.jsx:121 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e407854b988fb9b6f6a5acb99c6e260bc0507ec14ca4d24fa1a016fb871d1b1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/lib/api.ts:885 \u00B7 dashboard/src/lib/api.ts:1073 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ad46c99be7bff8088cf8a00dce25d05c7eb5750200f0df1d00888ea2b99fb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): dashboard/src/lib/detail-sort.ts:39 \u00B7 dashboard/src/lib/detail-sort.ts:58 \u00B7 dashboard/src/lib/detail-sort.ts:72 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"363800f3ffdd6eabcd69da6b4f378c7e750183e8d4577bf141aef398d482343e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): dashboard/src/lib/insforge-deployment-config.mjs:4 \u00B7 src/lib/runtime-config.js:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-deployment-config.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4f5055ce92703b9c884bc3881867373f06199448a12e73f2e44449cb438c28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): dashboard/src/pages/LeaderboardPage.jsx:351 \u00B7 dashboard/src/pages/LeaderboardPage.jsx:911 \u00B7 dashboard/src/pages/LeaderboardPage.jsx:962 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc2845f96987786d240a3f34ad0268516f5f1681ea438d9da34e5b96b8f870e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/pages/LeaderboardPage.jsx:519 \u00B7 dashboard/src/ui/dashboard/views/DashboardView.jsx:397 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"124765902c8c69bca2abb6643ff9ceb04d9c4089bbb1171f24913c744cbbf70a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/StatsPanel.jsx:80 \u00B7 dashboard/src/ui/dashboard/components/StatsPanel.jsx:89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/StatsPanel.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c6219409600f9103119c46a19fe72a241946d2709d3c3b9f6b1830c9677271"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/TrendMonitor.jsx:378 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitor.jsx:389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6060af7b61bc3175a5312963faf760149eabc31e5085d60313a10f2f6419e2b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:375 \u00B7 dashboard/src/ui/dashboard/components/UsageOverview.jsx:446 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9912e116d2fb19db7a7ec08297d1d7bd6e3edef91667262c365043df1e7629"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1430 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:1492 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2eda4059436c963b0d55a1439c676c9aecdac08d50b7d68926dffb98b706ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): dashboard/vite.config.js:1060 \u00B7 src/lib/local-api.js:3090 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"371523eb91cac60d753486634c965ef2c49e59bc5fb92734ea80195e9ff9bbcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/commands/init.js:1419 \u00B7 src/commands/status.js:1624 \u00B7 src/commands/sync.js:3857 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"99be57223e409e84082eac6a501e2513f1a1bf203336d0530a22193fcf9c82fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/status.js:671 \u00B7 src/commands/status.js:681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e214272505470dd8ee40145b1c051f1184b4f744d0bb2c59ea94748f1deea19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/status.js:991 \u00B7 src/commands/status.js:1000 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdffa7490389edbd5060db3568dc0473ccfa188b45c1e603c8aa7f3c44bb4780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/commands/sync.js:4096 \u00B7 src/commands/sync.js:4820 \u00B7 src/commands/sync.js:4878 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4096}}}],"partialFingerprints":{"codehealthFindingId/v1":"c051d4bcc7de0c0f9f44fb6823066bb72d23d84f39cf92d632df74be2b81bd5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/commands/sync.js:6626 \u00B7 src/commands/sync.js:6638 \u00B7 src/commands/sync.js:7669 \u00B7 src/commands/sync.js:7736 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6626}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f49560e491028eb3fc534b21180092db161640fb3595d437d86b400e9024f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/sync.js:6670 \u00B7 src/commands/sync.js:6766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6670}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe67486514bec0f42f3e329db68c3222f6fce1ebe32caec720c22d23cc9bc56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/sync.js:6710 \u00B7 src/commands/sync.js:6969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6710}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5c9d5332bf5b31e8bcf0c6b3ac931f2d7e88e36d8b06071c27d0bac222f985"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/sync.js:7536 \u00B7 src/commands/sync.js:7690 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7536}}}],"partialFingerprints":{"codehealthFindingId/v1":"181e5afaee38fe9891469d23cdddd2b22bdeef304314e0fe0c48c2fcb8b054c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/sync.js:7672 \u00B7 src/commands/sync.js:7739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37c89ce25af13b2c95d9ff77ff0961092c9f31ac84e1d8f0cd99f9a2cd5e999"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/commands/sync.js:7894 \u00B7 src/lib/claude-categorizer.js:1214 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd5ef1581210ef711fad0729c8244d4e9306fc9e33e7b1cb30cdd25a8bfca82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/claude-categorizer.js:313 \u00B7 src/lib/claude-categorizer.js:322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32e0703017963718186e6503eaa9b65ea01cf71aee3547d214df1e6550ac5cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/claude-categorizer.js:787 \u00B7 src/lib/claude-categorizer.js:800 \u00B7 src/lib/claude-categorizer.js:906 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fcb487ce219e80d8c776002e7c091615e03e01cdd6ad952b6824f32196c27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/commandcode-limits.js:31 \u00B7 src/lib/devin-limits.js:21 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c56bf54bb3f7ff57930236d095afe1c9f1dfbb0be43571004a5c134f36de77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/deepseek-limits.js:173 \u00B7 src/lib/qoder-limits.js:400 \u00B7 src/lib/workbuddy-limits.js:651 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-limits.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7e5032f659384961b2305a3ac57279f0cbda2a961141923be1bc9bf135613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/devin-limits.js:135 \u00B7 src/lib/devin-limits.js:152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5673df066e1eb10391047a50500a1ddd72d1817cbc25ff11957020c3f2614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/devin-usage.js:58 \u00B7 src/lib/gemini-config.js:138 \u00B7 src/lib/rollout.js:4788 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-usage.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"734642ac58233c29220ed9c6ff978e166b225b294f877bb41139839ca782d59a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/lib/gemini-config.js:175 \u00B7 src/lib/gemini-config.js:235 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gemini-config.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d17a849132838a7b2aa0075d2bf6c5c7a462ef9bfd7d1dd30411ae8c1f214"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/grok-hook.js:19 \u00B7 src/lib/omp-hook.js:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51847f77976eb15bd2e1311d7a92213ded077f7d79671cfe73eb5e51b70a9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/grok-limits.js:70 \u00B7 src/lib/zcode-limits.js:18 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6439a58df8ddf5bccea55f574376f018a29367bffba56e3b3d947f30e10e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/install-resolver.js:50 \u00B7 src/lib/install-resolver.js:83 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8851190af8883e118edd11ff4929626c0be9db24b12cdf9074c89ccd834c928"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/local-api.js:3227 \u00B7 src/lib/local-api.js:3355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a11a9934b8cc1f4d1b845ab269a75b587cb076cd3a98aa8cec614cdf89ec514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/omp-hook.js:306 \u00B7 src/lib/omp-hook.js:342 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ebf0f8ad800c518df12203b008d9c1ef41fce4147fdf5a3b2cec98b55ff23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/lib/opencode-go-limits.js:99 \u00B7 src/lib/usage-limits.js:241 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"618224ca1206e60ef9f9b45899c4c674246e0c1d8b7ea09facf9edd332b484b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/qoder-limits.js:558 \u00B7 src/lib/usage-limits.js:1054 \u00B7 src/lib/usage-limits.js:2313 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"788643299f5350b195ce4c61552831c47b85e4f7ec6a3bebc17d2fb2b303b768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:559 \u00B7 src/lib/rollout.js:1150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6d892343de6527a988f154f0406a2489e1fcb43f7fee678b3318dc1eb889a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/rollout.js:1508 \u00B7 src/lib/rollout.js:1661 \u00B7 src/lib/rollout.js:2021 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7d261f4c30acfc2df5de56304b485bf5061a59b17320f5aff74b4db6b1e2f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:3635 \u00B7 src/lib/rollout.js:3672 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3635}}}],"partialFingerprints":{"codehealthFindingId/v1":"5027169f8ff8afeb69575f6f9079abf89c3dbc5e07169f3b2cca04afff423ab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:3648 \u00B7 src/lib/rollout.js:4061 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5c5619a18539dc3148ed7b2ce4b9d93292f2d52486cb8110b85499361ec1bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:4203 \u00B7 src/lib/rollout.js:4213 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1798385250d40e60332bbe923ec8bd3117fbb26b2f549888f6484303f550a010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:7245 \u00B7 src/lib/rollout.js:7257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7245}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b64823bf6ae82b5112cc1c1fdb6c36a2f8d6333946dac7bc5ee0aa8b74fa8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/rollout.js:10051 \u00B7 src/lib/rollout.js:12827 \u00B7 src/lib/rollout.js:16821 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10051}}}],"partialFingerprints":{"codehealthFindingId/v1":"67807b0291fe988589f3a3340c160d725138ab0034a342d0f060761ed83e8175"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/rollout.js:10153 \u00B7 src/lib/rollout.js:11089 \u00B7 src/lib/rollout.js:11229 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10153}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df4d464daa0b68f2ce3c6080701956938b7ff4ea75ff70b58cc6410158e12c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/lib/rollout.js:10920 \u00B7 src/lib/rollout.js:12833 \u00B7 src/lib/rollout.js:16827 \u00B7 src/lib/rollout.js:18768 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d832c0551f47d65c75b8adc8ecaa061614ff826d038e77e3f6c694df4b321887"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:11623 \u00B7 src/lib/rollout.js:13192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11623}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd1299fce5ad7b32e64864234cf743bf1f00629032487b01c16c7db966cd688"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:15238 \u00B7 src/lib/rollout.js:20409 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15238}}}],"partialFingerprints":{"codehealthFindingId/v1":"65549a88f4465258539cd4e5d2327f419336e1e025101bec34ef9736039fb74c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:17033 \u00B7 src/lib/rollout.js:17594 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17033}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa67cd1380c89a059bad28efcd0c204dba6c64b3c536537835bdb7d79459945b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:17047 \u00B7 src/lib/rollout.js:18751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17047}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4821d8c8cd0099ced23c187ffd92c5ab139616a47e2702e62fdda0350b42cda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:18447 \u00B7 src/lib/rollout.js:18661 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18447}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f174cc514ae2bf21fadd5e1d310db6162591457fa190d631c410493db78563"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/rollout.js:21908 \u00B7 src/lib/rollout.js:22058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21908}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3db3c98501a7e1181c5c28a5da1adaf0a271e9b2d409903a77057780e8b9a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/subscriptions.js:121 \u00B7 src/lib/subscriptions.js:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"84abbf5ba3fe29939b440e2c8a88111086b0f8d6faaa10cdf3325422fb3da882"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/usage-limits.js:982 \u00B7 src/lib/usage-limits.js:1995 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"720c0b4153e66697479b8de47b89b8a466db61600541d2bd3cbc67bddecc59d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/usage-limits.js:1056 \u00B7 src/lib/usage-limits.js:2315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee41224a14907060025f23b69cf42a91455bc6baa1f1c5b234e149a0ad9ddd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-model-breakdown.ts:977 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:914 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db63b4c8b1bc68dd2100906545c1a3966b5ecd2b238205bc2bf6923dba5503e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-embed-svg.ts:1233 \u00B7 dashboard/edge-patches/tokentracker-leaderboard-profile.ts:1015 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34de50fd8aeeb7512879ab84e9aa219b15a37dc8fa752d5475627d00789bb01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard-refresh.ts:36 \u00B7 dashboard/edge-patches/tokentracker-user-badges-refresh.ts:47 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7231b0b8f1ca6d7eb35614ff922c0c6eec4978347d3fc7e2a2640b6aed3a0573"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/contexts/InsforgeAuthContext.jsx:202 \u00B7 dashboard/src/contexts/InsforgeAuthContext.jsx:213 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"78de08c2b307ee7754ddc4ddc3576437c902c7b2d9e382133960cd7fbb3c1563"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/contexts/InsforgeAuthContext.jsx:212 \u00B7 dashboard/src/contexts/InsforgeAuthContext.jsx:223 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0fe653f035d70f2ec4acdf4925fcbeff4837d5458a0c66c296d880ad12a97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/hooks/use-activity-heatmap.ts:180 \u00B7 dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx:298 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f9900846d1ea5f3a87d56867f6f8edeaef25a5c52eaa3ff550e16e5fe16ffb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/hooks/use-activity-heatmap.ts:278 \u00B7 dashboard/src/hooks/use-activity-heatmap.ts:289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1399c2452a2aaf11efdce2bfb94695f682d2cc51c979f6e78b927a0c1f6d7314"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): dashboard/src/lib/analytics.js:28 \u00B7 dashboard/src/lib/sentry.js:139 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/analytics.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b8ded64696b61cd57a8b40568f1b138e8f73770b0b5875a8cb7dde315d1735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/lib/api.ts:193 \u00B7 dashboard/src/lib/api.ts:939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a105028c82ff4ec80aa096304a9d54df7f20b041dc5963c9b765958873cf7a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/lib/api.ts:782 \u00B7 dashboard/src/lib/api.ts:1048 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ee4e1a888bce84efb842ed7aff0eeb15c708b00cacf0e865cae206bf73de7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/lib/bot/engine.ts:98 \u00B7 dashboard/src/lib/bot/expressions.ts:183 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6392df1c4c97fae8ffc0e734d16dfad22742442bdee49a9374884cc0062ceb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/lib/bot/engine.ts:512 \u00B7 dashboard/src/lib/bot/eyefit.ts:117 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f2fe0e9ecb1c789389068581eb67a7de6359e45b6ec41f59222902a8b93a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/lib/subscription-display.js:168 \u00B7 dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx:54 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/subscription-display.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bf984f7d04aa0212e6fe22731e6aed7e3573ea0dab6e76c90da381cac9097b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/pages/DashboardPage.jsx:835 \u00B7 dashboard/src/pages/DashboardPage.jsx:845 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b5796f6c69c53e97aa7ed7d5fc979dbb4c43766ac0faa4b700d5fab2e862c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/pages/DashboardPage.jsx:1206 \u00B7 dashboard/src/pages/DashboardPage.jsx:1224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe2147f7abc34fbb6c4b68f3a1645ee2d42ef1cb266059cbc0a11f30ffd6f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): dashboard/src/pages/SkillsPage.jsx:1373 \u00B7 dashboard/src/ui/dashboard/components/CommandPalette.jsx:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"616633093661bc47fe5c0eab7ed4e7f7ba333d6d1bb42219b47fadcaca443513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:254 \u00B7 dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:280 \u00B7 dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:326 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7fa96114b9fd9fad00d6d39b81529d493d59195fbac57cfb5142ea3aaef5ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ProviderIcon.jsx:12 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:198 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6a8e66a1972e044bc865ace1798c52d2711982a9e29c5ec469affc1fe8f405"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/ProviderIcon.jsx:208 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:266 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:347 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"71816bec68b0140cbcd7f8b2228dac35bb1c80b9c2536cc4e3f786c9bc959ea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/UsageOverview.jsx:295 \u00B7 dashboard/src/ui/foundation/BotAnimated.jsx:69 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d398d9b8e2fca0f4788d91139982b9cc44101907c81c8b096cfcea7d64dde7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): dashboard/src/ui/dashboard/views/DashboardView.jsx:399 \u00B7 dashboard/src/ui/dashboard/views/DashboardView.jsx:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c713a439ea05740a272e22cd95984ac2bedf62e36b517a70852e8565a749eb13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): dashboard/vite.config.js:838 \u00B7 dashboard/vite.config.js:849 \u00B7 dashboard/vite.config.js:998 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed2e7cdb55d6a77201559e1df7f8a1b04ad13380eb8df00b48f477d394edfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/commands/init.js:618 \u00B7 src/commands/uninstall.js:54 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aaf19bd87cfc0fab4ace0c52b769927c7cf49f496dd10e063e5dfa997bf785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/commands/status.js:400 \u00B7 src/commands/sync.js:2524 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4904a2f9412a5ba0270e227ca39d2e554569c510fcf49c89340bc8fc4df2aeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/commands/status.js:582 \u00B7 src/commands/status.js:592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41b83a215be9eae713e41ed938d74ced4058c3045d2ee93ff78213a5670b157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/commands/status.js:624 \u00B7 src/commands/status.js:654 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3b69f6908f18224a55a16550be4b8cc26834524481e0d66da016764e94e65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/commands/sync.js:1099 \u00B7 src/commands/sync.js:1250 \u00B7 src/commands/sync.js:1307 \u00B7 src/commands/sync.js:1376 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5d72a456318e8ae8ad44b951578a2f37c54aae59f5c5545696d1576efd9335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/commands/sync.js:1394 \u00B7 src/commands/sync.js:1403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6cf99d94f787b87580fec59c32347d923227949c144d0e3f154f39575076a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/commands/sync.js:1744 \u00B7 src/commands/sync.js:1758 \u00B7 src/commands/sync.js:1780 \u00B7 src/commands/sync.js:1948 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81e2fd6c36d21063d6c816cab768f36c5a4d818cb3fb360e4d6a0c04d9287bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): src/commands/sync.js:4902 \u00B7 src/commands/sync.js:5220 \u00B7 src/commands/sync.js:6125 \u00B7 src/commands/sync.js:6518 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0219c74872e94357d393947ae9d258cbb70a9dbacd6853273ead43ef5e57df67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/commands/sync.js:5020 \u00B7 src/commands/sync.js:6629 \u00B7 src/commands/sync.js:6641 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5020}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f00bb16f7ce7b737c81f9fa55116111fa042da9a50b720e81f1d15a7796a8c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): src/lib/claude-categorizer.js:60 \u00B7 src/lib/omp-session.js:47 \u00B7 src/lib/pi-session.js:52 \u00B7 src/lib/rollout.js:5262 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e497386edb414db73dc99bfa225fd6efc2695c591263987d2edd83c634d001b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/claude-categorizer.js:291 \u00B7 src/lib/claude-categorizer.js:300 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2023ae92821eb21d6712d4c53fd7e39837a92a7ba6ab9e4894e1c8b9cb392c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/claude-categorizer.js:368 \u00B7 src/lib/claude-categorizer.js:433 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6039c3ed09210068781e702cf559af33cc888d07945abfcfe76d01c63b5a71c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/claude-config.js:134 \u00B7 src/lib/gemini-config.js:132 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdcb0eab31b3fb5da01b0e3b4317e32fd1c1ea1893f3b4fe6cfb7d72dbc1364"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/cloud-account.js:44 \u00B7 src/lib/cloud-account.js:56 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae049392626f1699328dd2316bf99dd6c13de18ac79c481c112b1445263e2128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/lib/codex-context-breakdown.js:602 \u00B7 src/lib/codex-rollout-parser.js:683 \u00B7 src/lib/grok-context-breakdown.js:342 \u00B7 src/lib/grok-context-breakdown.js:697 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"288ac9196d081b37dd4783e2db47f618155685df085c360f3c0d01c639ca18da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:653 \u00B7 src/lib/grok-context-breakdown.js:745 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b982ff7a53340192853d2506dff0b9d4244571a2d9f6461ef2b6dc83bffc0c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/dsh-session.js:476 \u00B7 src/lib/grok-context-breakdown.js:343 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe99714ce3c81dc47293aea8e7bd50b5b1ca3bcd8bc4dfa68e90a376ebd2f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/grok-hook.js:268 \u00B7 src/lib/grok-hook.js:316 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-hook.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"168a163fb3b76682cd8b4ee6f632ddf6213d531b01b96e199aab38b0f41271ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/lib/local-api.js:2825 \u00B7 src/lib/local-api.js:3030 \u00B7 src/lib/local-api.js:3738 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28eba0fcf5be6cc2e61d1bc21c568d72369dbcf25cf933fae9ef2bb4e08de30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/passive-mode.js:152 \u00B7 src/lib/passive-mode.js:162 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/passive-mode.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdaf0b37d596ac6b3ef1e5e2bdabc257318e2a02b5431e4a90a21a2a6e72934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/pricing/index.js:358 \u00B7 src/lib/pricing/index.js:455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"86993ffde8529effa035f2cf79686b7c8a45f38860103f4858d0ef13ef6ba226"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/lib/rollout.js:550 \u00B7 src/lib/rollout.js:1142 \u00B7 src/lib/rollout.js:1378 \u00B7 src/lib/rollout.js:1551 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"32552fd580960b676e701d6ad9eda35f54d694f499b42ccf1cc3924e8061059a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:5037 \u00B7 src/lib/rollout.js:5045 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5037}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d7f16a451e12da3431ff6a35a8fbacc8fee3af906688517e70e820e08d0faa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:8272 \u00B7 src/lib/rollout.js:15304 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4ad10fd66ba53653ba610a24072fcd67e6f781045f8a196cfaee6ecfbd84b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): src/lib/rollout.js:10063 \u00B7 src/lib/rollout.js:10253 \u00B7 src/lib/rollout.js:10444 \u00B7 src/lib/rollout.js:10923 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10063}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e54412f517bd223f46d73a898866990bd53dc9318dcd4cc2869f576d71f018"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/lib/rollout.js:10183 \u00B7 src/lib/rollout.js:10341 \u00B7 src/lib/rollout.js:10576 \u00B7 src/lib/rollout.js:12940 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1611e7a8b952b9f7f8eb4630ff3136b6b7dcf76649396711cee3d760eff4d17b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:10716 \u00B7 src/lib/rollout.js:10725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10716}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f70d1699ffc11e753e1d4fe1a5ad9c59d9a2deb42bc2bf48758872baf479250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/lib/rollout.js:12062 \u00B7 src/lib/rollout.js:17176 \u00B7 src/lib/rollout.js:17759 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12062}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d1f841bc2484ce4c58505d522008505f430495f5460008daf2cbef024acf84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/lib/rollout.js:12430 \u00B7 src/lib/rollout.js:17436 \u00B7 src/lib/rollout.js:17523 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12430}}}],"partialFingerprints":{"codehealthFindingId/v1":"50589d91ddf351811fd74441b1d6f8a982642e0dae7c8f0ad904bcf1d429a016"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:12451 \u00B7 src/lib/rollout.js:17450 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12451}}}],"partialFingerprints":{"codehealthFindingId/v1":"987a47148fbc1b4714bfbf9113e955c0052e22593a671cd70080e668a1e3f8b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:13046 \u00B7 src/lib/rollout.js:24538 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad7cc91ae59c893db9df2d01113bf083b98816bda6dc5ec151bf53cb00e3cd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:19872 \u00B7 src/lib/rollout.js:19884 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19872}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc7071aa630b219c1d9cdb3956591ad47d32a04e7b439dd1e99d0d430a0dc8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:20257 \u00B7 src/lib/rollout.js:21055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fda2c443b65d97640bef975b966a7bded9422eaac0e7e79de97fedc3648678a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:20859 \u00B7 src/lib/rollout.js:23891 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20859}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fea94e0c8be1eb3f7295a1c6bc1b7b22fa9b491346a9aae1b92ee402c85e65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:22978 \u00B7 src/lib/rollout.js:22986 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22978}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1044ae9d231e42ce586868ae5e5814cd35d0cd4f834b18550869197eb34f2f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:25051 \u00B7 src/lib/rollout.js:26025 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25051}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36d14e4a7295ce5367390161a8f94880eea7a0b878c57a712e80726195ea343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/rollout.js:25111 \u00B7 src/lib/rollout.js:26072 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25111}}}],"partialFingerprints":{"codehealthFindingId/v1":"185f6935ef33a8156898bfeaaba733d711d05ed58e62c3443cfbef2fdbd0af61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/lib/rollout.js:20889 \u00B7 src/lib/workbuddy-limits.js:148 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20889}}}],"partialFingerprints":{"codehealthFindingId/v1":"baefb34ff4f1e00567041ffcae05097507b873651eb41bc0ff5dfcfa40ae14dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/lib/session-analytics.js:2584 \u00B7 src/lib/session-analytics.js:2597 \u00B7 src/lib/session-analytics.js:2605 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc9d6b2b87d40647d3f36042099d0a9ee68f1e6e427129a79d74290a7e805e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/usage-limits.js:4947 \u00B7 src/lib/usage-limits.js:4973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4947}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a3a2657d52ffae37a16ca94e48cd7e80bc0ec8f6139fb02fcb567154f8ddc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/zcode-limits.js:1210 \u00B7 src/lib/zcode-limits.js:1284 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4aa8626dfceb41bd2da749e97976af4c9a3399cb64242f4d683dd4661afe4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js:488 \u00B7 TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js:515 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbc69fe94db177d62c3d7661502b4fac60fe2370f6adcfe74982f2122c66399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js:541 \u00B7 TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js:641 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"905ccc1cf5b50d1481553d8318b9e5ccbfa08ec191f91cccca82e914ae35cca1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/edge-patches/cloud/runtime.ts:30 \u00B7 dashboard/edge-patches/cloud/runtime.ts:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f09b4846ff24612c7b18f4016b9f135800923fa5c0b40e1a3562f0eda6b7d21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-model-breakdown.ts:1022 \u00B7 dashboard/edge-patches/tokentracker-account-model-breakdown.ts:1039 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a6e5f7c0cba2de6a72a0a3b4272a980e5020f236d72d32e0eff7a4f24c465e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-monthly.ts:167 \u00B7 dashboard/edge-patches/tokentracker-leaderboard.ts:110 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"31de463d157bab039aae9821131eecd09eace34fc912bedb52200c8d8175de8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-account-summary.ts:922 \u00B7 dashboard/edge-patches/tokentracker-community-models.ts:52 \u00B7 dashboard/edge-patches/tokentracker-telemetry.ts:33 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a4907834f86ef27c22150a87774d43f8586a56266d7e2407a26bd3002ac734"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:186 \u00B7 dashboard/edge-patches/tokentracker-user-badges-refresh.ts:69 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0183a24e0cf1954d29ff7a100d99d2f5e1cb04c286ef8fd8c04b6cfe2f1cba3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-leaderboard.ts:113 \u00B7 dashboard/edge-patches/tokentracker-public-visibility.ts:78 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f57ee81c2f540d9715c991925002c0a19fa6a4a4c32ed020eba6d1cfd22108d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-paddle-webhook.ts:19 \u00B7 dashboard/edge-patches/tokentracker-waffo-webhook.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-paddle-webhook.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cf299455925db895cf40a47c5d31e6544bbf732d14991280652e8dc9b97abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): dashboard/scripts/copy-registry-plugin.mjs:62 \u00B7 scripts/validate-copy-registry.cjs:77 \u00B7 scripts/validate-locale-coverage.cjs:182 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/copy-registry-plugin.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16a2ca61f0ecbb68361f082c21b49b2a109d7504c4c56eb55c5b0c070de5e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx:161 \u00B7 dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx:179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607e012a8359c69249c005db0385f8b56c14a2b0158acea0006ca724221f93d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/hooks/use-community-stats.js:57 \u00B7 dashboard/src/hooks/use-community-stats.js:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6086f597872884189aca99bb5a742c0e8bf6ac4c78b76aa6b51d1cd15594c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/lib/activity-heatmap.ts:101 \u00B7 dashboard/src/lib/activity-heatmap.ts:176 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c225f2409e7909129e8768221dff28b9c26860d6cb22165193c9cfdd469a4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/lib/api.ts:223 \u00B7 dashboard/src/lib/skills-api.ts:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c19ce478d0d4f2bde1a62063a3f18b2bf27361dbe14af2709d2712f231ddde2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): dashboard/src/lib/bot/engine.ts:382 \u00B7 dashboard/src/lib/bot/engine.ts:426 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8926c4fdb07ea56b67ef53438f1b9c61f6e8867fdcd7363fe69119692066ec5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/lib/mock-data.ts:58 \u00B7 dashboard/src/lib/mock-data.ts:94 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85cc842a1863002ded9ca29c9b77be90f3b8d4670007451ea6a2cef5af33a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/lib/mock-data.ts:230 \u00B7 dashboard/src/lib/mock-data.ts:300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7931b1968697c033aec5e242e9673f9851f517814b717119441cfd01144584"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/lib/sessions-api.ts:179 \u00B7 dashboard/src/lib/skills-api.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-api.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a632c77824e1437249a9c9e3c8787dba1f77fd6b08ff7594ae5d309b69bbf3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/pages/DashboardPage.jsx:1364 \u00B7 dashboard/src/pages/DashboardPage.jsx:1372 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9be00c7529c2b39380afc7bde53a606055b3ebb1b1fe4d15c4980ddd87a87a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx:17 \u00B7 dashboard/src/ui/dashboard/components/UsageOverview.jsx:58 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88557862368fa13f564a3e0ac83da585b49b1a68844c56c077f644840e9a04a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/ProviderIcon.jsx:196 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:266 \u00B7 dashboard/src/ui/dashboard/components/ProviderIcon.jsx:276 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab097d42ab06f26f112d6bb34d6d1cd987d9ac6705505f020455ab6bd544ff4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/src/ui/foundation/TokenFormatProvider.jsx:119 \u00B7 dashboard/src/ui/foundation/TokenFormatProvider.jsx:127 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/TokenFormatProvider.jsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f695f2d4181147bb66951d44c5cbb6c72ff79122bc4ebf5ae379ff1d275cf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): dashboard/vite.config.js:1097 \u00B7 src/lib/local-api.js:3121 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"1367e207190af17072b71c2d34a6ef6bebc2e132512815e900f697a630c687ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/audit-token-correctness.cjs:11 \u00B7 src/commands/wrapped.js:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/audit-token-correctness.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebb7f82ecfaf7071f4e71b15f8a3d95fd0bba34eadc42701caa989990db56c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/build-cloud-functions.cjs:48 \u00B7 scripts/self-host/build-functions.cjs:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-cloud-functions.cjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fafa824a52b6314d61105c97c89628315f944ce78575ea6f651d13c600b9de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/contributor-gift-distribution.cjs:421 \u00B7 scripts/contributor-gift-distribution.cjs:439 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"749516bb1b70b0a74349645c6768cd6c8f09cc5f51086c438e8eb6084767ce39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/contributor-gift-distribution.cjs:357 \u00B7 scripts/pro-gift-codes.cjs:189 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb5c3c82bfa5d6a9c34d1bc158bafd549c02fabbc414b0c0cb092c686cc106d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/copy-sync.cjs:197 \u00B7 scripts/copy-sync.cjs:214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-sync.cjs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e590b44ec5f444fc3866335a47e556e477c537e7551d02e37f109a43b0e2d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/commands/status.js:453 \u00B7 src/commands/sync.js:2393 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81f2e20e113ac12e28f48a549a1806507139c719862216969f5123a5c34c777"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/commands/status.js:571 \u00B7 src/commands/sync.js:1731 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"031d46e64656488f9afa107184fce782fac6697c88966c4882d2ec90aa47d651"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/commands/sync.js:2481 \u00B7 src/commands/sync.js:2489 \u00B7 src/commands/sync.js:2497 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25658b763d3af8fb7783664d5fb52ff414fd25682cfe1ed3d765d0715da4487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/commands/sync.js:3175 \u00B7 src/commands/sync.js:3234 \u00B7 src/commands/sync.js:3338 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3175}}}],"partialFingerprints":{"codehealthFindingId/v1":"447cf9f520af1cfda7e08c756ef74c67aca04551f36d9251a59d6b8c77f0ae46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/commands/sync.js:4185 \u00B7 src/commands/sync.js:4200 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f29fd30d9ae04d09c3d3dd2673e7b9849c4c43ff425e45aa7c59c422abffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/commands/sync.js:5279 \u00B7 src/commands/sync.js:5469 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5279}}}],"partialFingerprints":{"codehealthFindingId/v1":"874a849d697ab5239a8ef3362015176f3323c1c423c0ed9434a7b05df862d5f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/commands/sync.js:5313 \u00B7 src/commands/sync.js:5320 \u00B7 src/commands/sync.js:5330 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab096bb48675e4d0a53eeb62e7d60d9d86200b05a95fa850e4d800f09c1dfdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/commands/wrapped.js:88 \u00B7 src/commands/wrapped.js:95 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/wrapped.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"185dbf8e3354be4b655f3e14ddeab7d39fd0bf86c19d4a58295f8a360be038ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/claude-categorizer.js:93 \u00B7 src/lib/claude-categorizer.js:176 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5318dd29f5ad9a692325ad148089432e45c5dd31903c3ad2ed73e8f2758c9a35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/claude-categorizer.js:1172 \u00B7 src/lib/rollout.js:4701 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26743e204f6f23fb828e749e70ac81e7518ffc84279550a5662943afd904208"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/cloud-account.js:65 \u00B7 src/lib/cloud-account.js:78 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd3bfbb9a7a29e106684e41d56cb73c2e4c1012569bb0552056ee4eb8ad1776"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:840 \u00B7 src/lib/grok-context-breakdown.js:259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea1abaa2e44ea319e40b7fd37547b1139142f31a1645b8584b084ad51edcebd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/codex-rollout-parser.js:894 \u00B7 src/lib/grok-context-breakdown.js:432 \u00B7 src/lib/grok-context-breakdown.js:442 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceec6919b5d4d5b283752a64bf007994cbbd9e73351264fb8876dfeaeb0fc670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/devin-usage.js:86 \u00B7 src/lib/rollout.js:7743 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-usage.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f2f59e4888522a833e32bc4549058aa0672d548cdbe9bab66eecb3997ddf13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/grok-context-breakdown.js:281 \u00B7 src/lib/grok-context-breakdown.js:296 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e299bc129c47e30fee900b72e0ff5ae7ae5234de229d83456e775d28bcb9c6f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/lib/grok-context-breakdown.js:458 \u00B7 src/lib/skill-usage.js:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3513427c82eb178349f587f4f5d514b51c54922920caa13ea05ae9f29f3f6a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/kimi-session.js:194 \u00B7 src/lib/omp-session.js:423 \u00B7 src/lib/pi-session.js:640 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"523c209b6a8b68f731ce2ddf0825b3739dbf85a25481aff1d5d0e80f4397227c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/lib/limits-cache.js:60 \u00B7 src/lib/usage-limits.js:3144 \u00B7 src/lib/workbuddy-limits.js:654 \u00B7 src/lib/zcode-limits.js:1197 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1785664fa04dc42fb256b2e52366cd493492473caa2d62b7aa8d981f290ade"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/local-api.js:414 \u00B7 src/lib/local-api.js:3041 \u00B7 src/lib/local-api.js:3748 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"633f32f6f29d1a4698d5f1e352b7807e7517470cef62e9066eed2393b1e6cfc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/local-api.js:2760 \u00B7 src/lib/local-api.js:2827 \u00B7 src/lib/local-api.js:3740 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c976bfadc4ba5e4c24b53df849722b48381df27af502efea3e3e8142103921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:212 \u00B7 src/lib/rollout.js:24988 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d7c2253a09591257be22930b45ab45a81577bef9e3c31ac41952f708f5317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:3626 \u00B7 src/lib/rollout.js:3925 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a71fc52e41a785bf85b382af5096b2368cbf20058ee413d95dca9afe34189cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/rollout.js:4177 \u00B7 src/lib/rollout.js:4202 \u00B7 src/lib/rollout.js:4212 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3b6d023e74b484e54210b3f3c1cac53615a2d6931d0e10668341fe90a8e702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:5314 \u00B7 src/lib/rollout.js:5343 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7625c8702ca2460ddfbc58043787d8fcf66a6331ec2381cb8ff893ac086d9a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:7271 \u00B7 src/lib/rollout.js:26326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7271}}}],"partialFingerprints":{"codehealthFindingId/v1":"252da286c86d02b1f111652e6f210546ad1d15a1249a055f3805da999372029f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13 locations): src/lib/rollout.js:7765 \u00B7 src/lib/rollout.js:10066 \u00B7 src/lib/rollout.js:10256 \u00B7 src/lib/rollout.js:10447 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6376df4883b23efbac571d87975d940b7833b0f777d22cd42b62c6509896d247"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:10348 \u00B7 src/lib/rollout.js:10582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10348}}}],"partialFingerprints":{"codehealthFindingId/v1":"721ef7ef6ee410d8c358a6906bb6c63f49591d1901841d2b6ab2f4399332dc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/lib/rollout.js:11273 \u00B7 src/lib/rollout.js:12219 \u00B7 src/lib/rollout.js:12236 \u00B7 src/lib/rollout.js:17306 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf1f982d51fa480c2877b029940133cd30eebc6952b30aab791e86eb4b9aa80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/rollout.js:12397 \u00B7 src/lib/rollout.js:12454 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12397}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f670ed2d76f44589c879be9225e95843df8ea22a8cb3071aa74602583d706"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/lib/rollout.js:14954 \u00B7 src/lib/rollout.js:15201 \u00B7 src/lib/rollout.js:15471 \u00B7 src/lib/rollout.js:15866 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14954}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4589d91419650ea7d5648c08f352dabba08395310a532173f9d120ad1f82a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/session-analytics.js:1570 \u00B7 src/lib/session-analytics.js:1590 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"645960d4eaf6e9bd13ae5f62401df4d6bd74c65999ee7dc46de0eb7a664548de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/session-analytics.js:2512 \u00B7 src/lib/session-analytics.js:2555 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a35240a76fd816aaca5b1e49684803c3f19dafec94e8d7f8ecfb493a8a6bcb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/subscription-manager.js:252 \u00B7 src/lib/subscription-manager.js:274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscription-manager.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f976183236f1a4c5d6dbf1923dd3f97cbd658f563beb354ac308490b32cdff99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js:123 \u00B7 dashboard/src/lib/pet-quips.js:351 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed2bc0ca8d2303ce4c7ae8445bd52b7eeec35490819f8ab4247fe141b34d30c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/cloud/waffo.ts:465 \u00B7 dashboard/edge-patches/cloud/waffo.ts:500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fd09072905a98d3013b853fd6d28284fb619534eacd9128c143f5d05bd195e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14 locations): dashboard/edge-patches/tokentracker-account-daily.ts:104 \u00B7 dashboard/edge-patches/tokentracker-account-devices.ts:50 \u00B7 dashboard/edge-patches/tokentracker-account-heatmap.ts:93 \u00B7 dashboard/edge-patches/tokentracker-account-hourly.ts:51 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 14 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"083b2ace6a0aae067887c44d57ab4c28bf2fa12b048f430ed821ab28d3c89de3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-hourly.ts:219 \u00B7 dashboard/edge-patches/tokentracker-embed-svg.ts:1182 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19132a54a3b3f7b8b5432b5e7b5e86ad9f810660bd8e726740f099445d7c3b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-hourly.ts:268 \u00B7 dashboard/edge-patches/tokentracker-account-summary.ts:1000 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b79c2300b42837510f0da80a80e122a05d7313a83b7323d9792c551d737bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-skills.ts:90 \u00B7 dashboard/src/lib/skills-inventory.ts:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72fca6e1b4e833319b1290c04c6ed04fb1c82a0d1dc2c6a90d72b3301e7459b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-alipay-webhook.ts:6 \u00B7 dashboard/edge-patches/tokentracker-wechat-webhook.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-alipay-webhook.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e66d95b445e257876b118a1113c1e4ce2e8027d8ffcad453ac803f94df0fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:219 \u00B7 dashboard/edge-patches/tokentracker-embed-svg.ts:1203 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ce773ddb9faecd4e181cc46c0bb416004722f36de771f05cecb08deda7e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/components/LeaderboardSummaryCard.jsx:12 \u00B7 dashboard/src/lib/leaderboard-ui.js:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LeaderboardSummaryCard.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddc45eb56a76a61131e4476823259674f59f9f231922afdcd32b9f928583ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/components/settings/AccountSectionUtils.js:6 \u00B7 dashboard/src/contexts/InsforgeAuthContext.jsx:30 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36cf679da38ca128642762e05c83b0155fb7f80c95778f29a68702f52b8eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/components/settings/LocalDataSection.jsx:28 \u00B7 dashboard/src/components/settings/useAccountProfileSettings.js:106 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed40334f3225b4236f765b529f09f70e6bc32e9d2a80cdc731eefa66f5e676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): dashboard/src/hooks/use-trend-data.ts:800 \u00B7 src/lib/pi-session.js:63 \u00B7 src/lib/rollout.js:8661 \u00B7 src/lib/rollout.js:17712 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"173a9679d4d34b85f494c22624ce908b9936236797e47f3e7b69a29047794183"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): dashboard/src/hooks/use-usage-data.ts:474 \u00B7 dashboard/src/lib/activity-heatmap.ts:31 \u00B7 dashboard/src/lib/mock-data.ts:143 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"32295dd4eb260b0d315bed58e285c57d315b4f943cb7f0b359ced7e07812dc33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/lib/auth-token.js:14 \u00B7 dashboard/src/lib/auth-token.js:38 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/auth-token.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a58a5f2e019d468b179447620f75c3d3fd283d991dca008b80df298b568b9c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/lib/bot/engine.ts:503 \u00B7 dashboard/src/lib/bot/eyefit.ts:112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6ef32b944216e8ece9fbcd5da6baff1cf5094a7bf4b088a6dfcedd2904a8aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): dashboard/src/lib/mock-data.ts:346 \u00B7 src/lib/local-api.js:472 \u00B7 src/lib/local-api.js:3237 \u00B7 src/lib/local-api.js:3318 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2002246625bd113cbf0409e920197b04ef4e212abb8ebb80be442b4a88a8e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/lib/model-breakdown.ts:52 \u00B7 dashboard/src/lib/pet-linux-host.js:40 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2212907bcbf5d73afbfa019c1230fc5ddcbb20ad5acb9b47dd73ddd3e6f749b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/lib/timezone.ts:142 \u00B7 dashboard/src/lib/timezone.ts:149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c2a58b3a40223a653157c767fef9e0fedbae0c9303adc9fd7f1a56c9ff8068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/pages/IpCheckPage.jsx:409 \u00B7 dashboard/src/pages/IpCheckPage.jsx:425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"af875d5ac11b1836391d06b6d32fe56c1dc0761de2ad7dc329b181b51513e58e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/pages/IpCheckPage.jsx:426 \u00B7 dashboard/src/pages/IpCheckPage.jsx:432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61ac32314805d008c4b04a246afe395cde29a07e252e45fbbe5e22fc4109b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): dashboard/src/pages/LeaderboardPage.jsx:99 \u00B7 dashboard/src/ui/share/build-share-card-data.ts:217 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebfdd735fcf15da6595cd9284d3b0d17d253061b6ca01f4b35bcab3e391859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/pages/SkillsPage.jsx:848 \u00B7 dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab0410c662069e1d8d9e1d1e726050b4a4373be477b41ed6797cfa7de740433"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx:332 \u00B7 src/lib/rollout.js:2315 \u00B7 src/lib/rollout.js:2342 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b96e95767291218c5a8dad53316675625f8de7549c01bdadf670b67a6b91b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:33 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:46 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"44845d3a43fb1d9030c4a1322ad17ca323140ab573f384418d206956194bca48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): dashboard/src/ui/marketing/v3/TokenGalaxy.jsx:55 \u00B7 dashboard/src/ui/marketing/v3/TokenGalaxy.jsx:77 \u00B7 dashboard/src/ui/marketing/v3/TokenGalaxy.jsx:90 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc3ad1b309dfae1887da349d56fc75235c142889be17f64bd1c6deba98c98e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dashboard/vite.config.js:1087 \u00B7 src/lib/local-api.js:3112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae177e8c61a5b04fbff54d9ee9b3cd58402fbfeeaf91eb5c8f0dfdc4a1ab1a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/ops/pr-retro.cjs:49 \u00B7 src/lib/rollout.js:1025 \u00B7 src/lib/zcode-limits.js:959 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ops/pr-retro.cjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"315990e1bc8b247792fe439380af7632957c7daa6266e5422be91d1c2ace0c8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/commands/device-login.js:15 \u00B7 src/commands/device-login.js:36 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3250cf2cf279a2b0c5037406f891161e62ff5821f34389eb5ac9c177e2a637b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/commands/init.js:1346 \u00B7 src/lib/codex-config.js:567 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83fee12abfc8644e98f071c49ed0ed16d45d4716a6f563253be3155650ce699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/commands/status.js:1588 \u00B7 src/lib/grok-context-breakdown.js:756 \u00B7 src/lib/rollout.js:2194 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c4bb92818773e14081b8d8b2e02591234d00023ab2840a03c68815f6fbf40e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/commands/sync.js:482 \u00B7 src/commands/sync.js:509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecb39bd3901e32255595092a94841ac5e7e97a3b078974ad55d083ece20f121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/commands/sync.js:6303 \u00B7 src/commands/sync.js:6668 \u00B7 src/commands/sync.js:6764 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6303}}}],"partialFingerprints":{"codehealthFindingId/v1":"926cc3741fbcb1acc4228e93f155a5a7a4210f6eeb5510f8308dc60757570133"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/commands/sync.js:6600 \u00B7 src/commands/sync.js:7442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6600}}}],"partialFingerprints":{"codehealthFindingId/v1":"da971be834786b60db06efd0e705102de9aab11430f67e3a1bd4d6a0ad926ce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/codex-context-breakdown.js:280 \u00B7 src/lib/codex-rollout-parser.js:1325 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3361a6b4ebee2b17dbc4a13b26b65aac971075ec0f65fd6a33541e6ebd51220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/codex-rollout-parser.js:74 \u00B7 src/lib/grok-context-breakdown.js:39 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7badb2e4d2aad7ed8af027c995d4bd107ce3a0c539719cb9c0bb05b65cbaa2b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/diagnostics.js:330 \u00B7 src/lib/diagnostics.js:348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9fa7cf354bdc3bf2a12d4c00f399a8a935dfb94fae92fc6aa227d8cd802ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/git-outcomes.js:56 \u00B7 src/lib/session-analytics.js:2376 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e85722529eef8cf39a8706e4fd5d99263de77a0e4236b28cdee7bd6e9dd37be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/local-api.js:2119 \u00B7 src/lib/local-api.js:2268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e4561d0f65319e8e80dcf1a1328d99b92bb01007f694b3c5185470db0597f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/local-api.js:2836 \u00B7 src/lib/local-api.js:3027 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"94353022e66d19a251db9a1d69313cb954e037cb4cd9f1b80987a9c34ff8e45c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/local-api.js:2871 \u00B7 src/lib/local-api.js:2899 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a22538415837638e9b73a02effaf16d951e06c05b4e424c62443b7ffb531656"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/local-usage-transfer.js:137 \u00B7 src/lib/rollout.js:21658 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea04ccba0cd99ca52121054d2e920d600397157fffbb470b720dccc985ccd63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/lib/pi-session.js:63 \u00B7 src/lib/rollout.js:8661 \u00B7 src/lib/rollout.js:10294 \u00B7 src/lib/rollout.js:12887 \u00B7 \u002B4 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"41217f1d25a67bd2bccfa70246abb45d13d3f083ff6aa7d6009a96a9090af7ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11 locations): src/lib/rollout.js:347 \u00B7 src/lib/rollout.js:1073 \u00B7 src/lib/rollout.js:1366 \u00B7 src/lib/rollout.js:1536 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa9ef5e82cb551c7d4d8721983f8190e55a7ace3688c2b5bf3cfcdde67adfd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:4602 \u00B7 src/lib/rollout.js:4609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd8bf906ca606d2519d2468dd1d7d7b6bad83538300116a33f5856ea749ec50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:4650 \u00B7 src/lib/rollout.js:4659 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4650}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f8a2cfa9b108370663f7b2c25682c0ea7ad74f423958579f80614cdeda713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/lib/rollout.js:5146 \u00B7 src/lib/rollout.js:12499 \u00B7 src/lib/rollout.js:16271 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebfd2d7eed23c216f4a0fe8610328e8a5e34a61e8ee24068e502f06790aa58b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:5179 \u00B7 src/lib/rollout.js:5190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5179}}}],"partialFingerprints":{"codehealthFindingId/v1":"222d32ba0a6f03fa19db3eb91a1784474dad86b6ba7432095ed9ce2dfbe2653d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:5326 \u00B7 src/lib/rollout.js:5335 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5326}}}],"partialFingerprints":{"codehealthFindingId/v1":"809e5ff0ae4218ab306db8e3eb3a8d8ea4b20d441734f7133814fa3fe534fd71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:6776 \u00B7 src/lib/rollout.js:7767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6776}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a52b93f7da1c23ecde0a495280b9bca463f985ff96772567d908957a87477d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/lib/rollout.js:10394 \u00B7 src/lib/rollout.js:17435 \u00B7 src/lib/rollout.js:17522 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10394}}}],"partialFingerprints":{"codehealthFindingId/v1":"83630062816ed9d010a4c65be122900296d381c03150e533b730b8c9a49b56bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:10400 \u00B7 src/lib/rollout.js:18216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10400}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa7b423c8b3f8168ebf9b01ab92cd150eeabbb0a48524fd64a47e1332e61de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/lib/rollout.js:10798 \u00B7 src/lib/rollout.js:11416 \u00B7 src/lib/rollout.js:11438 \u00B7 src/lib/rollout.js:12433 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"725ebc1c59b2216f7029cb8e585115207cfdd11bb75fc4a2f1ed0363b2c65e70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:13335 \u00B7 src/lib/rollout.js:26040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41a8d62070cf2432f0b6d485400501b0b6bc6e8fbf237d8c63ebb96ae0c1d4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/rollout.js:13881 \u00B7 src/lib/rollout.js:13938 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8c672f44bce22441ebb6e1b088deb87718f578f078d16a5831234c5799d5fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/lib/rollout.js:15532 \u00B7 src/lib/rollout.js:16445 \u00B7 src/lib/rollout.js:17091 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37c0d019429b6f4f69858bbd2537a0fade604447701e1a5a372c4de543236e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/session-analytics.js:901 \u00B7 src/lib/zcode-limits.js:1162 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f1d1c9a4d57e3f86c983be9c67332a73cf67747141679a466cf716a69b0b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/session-analytics.js:2783 \u00B7 src/lib/session-analytics.js:2824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76d16e5912558c41a01372fdbf37b2af9aaf109bcf48baea1f70369f2415125"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/skills-manager.js:32 \u00B7 src/lib/skills-manager.js:40 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba5d7d2ead1d691f20f5f2f606ec4cac14ddeea79ef57bfe57e8dde79317f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/subscriptions.js:48 \u00B7 src/lib/usage-limits.js:273 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"572482f9996d35e09bb36a15934475c27b30fb39b21cfef8d0d263b0992b4671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/usage-limits.js:581 \u00B7 src/lib/usage-limits.js:587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45441b4d5dffc92b33d52c844c865c9eced10029a3319102a862dffc0f04f86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/edge-patches/cloud/runtime.ts:106 \u00B7 scripts/cloud-sandbox/qa-sdk.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8b9d897de87850e84036a0740ac5fb09753cd8bab53950e110d9145881e87a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-account-devices.ts:171 \u00B7 dashboard/edge-patches/tokentracker-device-flow-grant.ts:79 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e322e78f8e11bf2f9e41fad4e42d346a376ebb97b3c22df272619fc6a95279a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): dashboard/edge-patches/tokentracker-account-devices.ts:195 \u00B7 dashboard/edge-patches/tokentracker-device-rename.ts:90 \u00B7 dashboard/edge-patches/tokentracker-telemetry.ts:43 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"299f9b1f722c394b4f2f6490d9519dd1215727b735307face26683ca024eed73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-badge-svg.ts:79 \u00B7 dashboard/edge-patches/tokentracker-embed-svg.ts:236 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0832648d926dc19ef7534e49fe2ce2fa717dc4913aa9f764b066a811d8980345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-billing.ts:92 \u00B7 dashboard/edge-patches/tokentracker-billing.ts:214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e8e5b444afb65ac6a9edbdfc75da140fce174cd455fda237d1c2b64beae90f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/edge-patches/tokentracker-profile-likes.ts:215 \u00B7 dashboard/edge-patches/tokentracker-public-visibility.ts:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c338f835fd86b66dea0eb111df9498871a1a2790ef260865cd838a4b101a7d9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): dashboard/src/components/ErrorBoundary.jsx:44 \u00B7 dashboard/src/components/cloud/CloudBillingParts.jsx:147 \u00B7 dashboard/src/pages/SelfHostPage.jsx:52 \u00B7 dashboard/src/pages/SessionsPage.jsx:865 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/ErrorBoundary.jsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f01a35396edc78e1d1a13d258995d0789430b913cd5cb672f121f3948be1ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/components/cloud/CloudUsageExport.jsx:174 \u00B7 dashboard/src/components/cloud/RedeemProCode.jsx:193 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4a2ab87d0f37db75fc82532f0793906c173418d52218f5dbe1a13f3d67c1b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/components/settings/LocalDataSection.jsx:118 \u00B7 dashboard/src/components/settings/LocalDataSection.jsx:139 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/LocalDataSection.jsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df40224f700f45c2e652e53da373f202a20c0712c6565ad8e411f488c9889e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/hooks/use-trend-data.ts:881 \u00B7 dashboard/src/hooks/use-trend-data.ts:899 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f5fe19b2323df380479f7c7add02e8494d421c6cce53cd0fc39207807d376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/lib/activity-heatmap.ts:85 \u00B7 dashboard/src/lib/activity-heatmap.ts:173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14281db029f08a094a2dfc345c3acfd6eef0946ea56abe18b9f2997bd7f16f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): dashboard/src/lib/api.ts:42 \u00B7 dashboard/src/lib/cloud-sync.ts:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5b38b0210537320fb7a8fd4b12699ccbf358abfcddcb30dc2475f45990b00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/lib/bot/shape.ts:108 \u00B7 dashboard/src/lib/bot/shape.ts:251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/shape.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabd14115ccf4b6f83a6c335885f916f9e10ed96cf88c56c3dadb488d11e4c40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): dashboard/src/lib/date-range.ts:19 \u00B7 dashboard/src/lib/timezone.ts:144 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:44 \u00B7 dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx:55 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/date-range.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9136ad8ccd9418dd7dc42c474e9fdf468a924cdebff18a329ac0ca333115fd9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/lib/date-range.ts:74 \u00B7 dashboard/src/lib/mock-data.ts:583 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/date-range.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9265436df461c77888e62736a318d8b773f0834f8c821a1b964bf3642287aaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/lib/timezone.ts:91 \u00B7 src/lib/local-api.js:663 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fefdf0ea3d204177011a025810ec92bc9dba4ef204df364d7e52c6b17124c2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/pages/PetPage.jsx:349 \u00B7 dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"151a412be8480a5f0285222843c3aa4e77b9b12e4573fb4040e8b7b5cbadf37e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): dashboard/src/ui/achievements/AchievementsSection.jsx:48 \u00B7 dashboard/src/ui/achievements/AchievementsSection.jsx:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf7089aed1481cd007364319afda1bd9109f277ba644aac34c65c6202089c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx:613 \u00B7 dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx:621 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e9102a8fcc3dc3ea7b3b363d691e1cf754f001d86ba4d4ba29074fe96236f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/src/ui/share/ShareModal.tsx:399 \u00B7 dashboard/src/ui/share/ShareModal.tsx:413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0099e47679fd104c4ed395085f6b90527a2f93a1d751ae09a7cde553925b7005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): dashboard/vite.config.js:954 \u00B7 src/lib/local-api.js:2979 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77eaaf52a5db71d44eb1a432ab368db60b732a48c10af7decdb991403381ecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/cloud-sandbox/access.ts:46 \u00B7 scripts/cloud-sandbox/native-gateway.ts:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/access.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b386c2aa25fd7d3c8121f452099285344ad944a45377a5f8abf086c0ff2263e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/cloud-sandbox/build-native-gateway.cjs:10 \u00B7 scripts/cloud-sandbox/build-native-return-site.cjs:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/build-native-gateway.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d3e2bf39c8de706d42f85c27f9a852d45cec6c9c63b548e50f9f885d307d31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/cloud-sandbox/build-native-return-site.cjs:31 \u00B7 scripts/self-host/build-functions.cjs:111 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/build-native-return-site.cjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eea47566ff0b71f2e20da7144801d634b291d3970c6122e8f7c1d73050e111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/validate-architecture-guardrails.cjs:33 \u00B7 src/lib/passive-mode.js:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-architecture-guardrails.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"db07613f0bd39e9c2d4b612ac1e336cbb41977a4bd661bfad5b19802d626b4f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/validate-copy-registry.cjs:90 \u00B7 scripts/validate-locale-coverage.cjs:194 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-copy-registry.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5220c78f79043476a019e53a62622a8351c95a6358c4adbe98747a655b981c3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/commands/init.js:177 \u00B7 src/commands/status.js:207 \u00B7 src/lib/diagnostics.js:75 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e7d0a004b1ab5ca3141c1e22ccb2acfdf2daeb549a0fa11c556faf1efffd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/commands/init.js:2295 \u00B7 src/commands/init.js:2307 \u00B7 src/commands/sync.js:614 \u00B7 src/lib/diagnostics.js:84 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0830333f858d140ed6a08a434014f2148097c6e1290079559ec6eca8ba148889"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/commands/status.js:207 \u00B7 src/commands/uninstall.js:53 \u00B7 src/lib/diagnostics.js:75 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaafdfc5e5286dfa80083bb505bc4c08359bc65b0f8934c859da6f44ab6fa46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/commands/status.js:524 \u00B7 src/commands/status.js:547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"220fcee169fe7e147c9724e5e36e46553b26e3b04565aa2c3b91fa7af236ce34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/commands/status.js:533 \u00B7 src/commands/status.js:550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17ea59c8fc1645925422dd1e25beb070c081dab90e98fcdb3ba496d27f3290b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/commands/sync.js:832 \u00B7 src/commands/sync.js:838 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"914073962d53a2b4c300fc2326bb14263933626a9a89ebae8aab652b9ef26f22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16 locations): src/commands/sync.js:2575 \u00B7 src/commands/sync.js:2619 \u00B7 src/commands/sync.js:2644 \u00B7 src/commands/sync.js:2694 \u00B7 \u002B12 more site(s) not listed \u2014 all 16 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d000ff863fd02039a9834a0bbf138310c0d79a3fe71bd31276833a49b435409"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/commands/sync.js:5812 \u00B7 src/commands/sync.js:6708 \u00B7 src/commands/sync.js:6822 \u00B7 src/commands/sync.js:6967 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5812}}}],"partialFingerprints":{"codehealthFindingId/v1":"74274c08b2a5a82c483592592110497287fc10d5324df251e1172fbbc904cc7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/claude-categorizer.js:730 \u00B7 src/lib/grok-context-breakdown.js:877 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1097eea0fecbceb952b32f7493b61d9e5942e25def0d696e5c2b72c20b0656f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/claude-categorizer.js:836 \u00B7 src/lib/claude-categorizer.js:860 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"388023f2e551ee8b1dbc1f2983e40f9ea782a1627911a77140207351f08c3391"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/claude-config.js:170 \u00B7 src/lib/gemini-config.js:250 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade18e914a325e1ccf6d9e8272d5f04159358c29f801a13aef3c0b7e21797411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/cursor-config.js:276 \u00B7 src/lib/cursor-config.js:289 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0cacd854422b036e2322f657740cb6ea97b4693f52d756fd92661b155e3377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/dsh-session.js:175 \u00B7 src/lib/rollout.js:24606 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27ea3eea9cdf7fef9d80a01a110fd39f37126164ff523f6b228c0b627b6325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/dsh-session.js:328 \u00B7 src/lib/kimi-session.js:128 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d8b13236edc68bab5ec5c4d9c7da3ed6f4c5a2b7ed38224ab0d22e3fab3013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/lib/dsh-session.js:533 \u00B7 src/lib/omp-session.js:330 \u00B7 src/lib/omp-session.js:375 \u00B7 src/lib/pi-session.js:594 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef8ebf3bc9ff603c381ea2eb3b253fbafee4d3d32945d82e63f21ae23b5c0d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/kimi-session.js:41 \u00B7 src/lib/rollout.js:18379 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b5806cb9fb9855e576cfb9d825c7969d15972091275d9948fab8b5c5022979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/lib/opencode-config.js:11 \u00B7 src/lib/rollout.js:13842 \u00B7 src/lib/rollout.js:14738 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-config.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ba30a0f7468b1df5dcea4cbbb9a09acb2d252f050b6b0cc256c03e7f33980b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/rollout.js:1706 \u00B7 src/lib/rollout.js:7628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca897ad429b66b3cf5f0b6475d7025e6ff8f473efca31ae168a4e0547d06d639"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/rollout.js:3546 \u00B7 src/lib/rollout.js:3570 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ce683a91cbbc22138f77af14a545458ed77c26b18a5e7122f381628bfbdcbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/rollout.js:4124 \u00B7 src/lib/rollout.js:4183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c31084def9aac0ec6d13be791e364201ab0fb8da01fee6d0440740540e78da0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/rollout.js:7005 \u00B7 src/lib/skill-usage.js:91 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7005}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d78f06d01eca702077cafe2eb36486037041043ac47dafffec45f019f5d832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/lib/rollout.js:8607 \u00B7 src/lib/rollout.js:9593 \u00B7 src/lib/rollout.js:10235 \u00B7 src/lib/rollout.js:10430 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f138bb234cd3a80d530d140b322aae5a9731add61f6cd81e19431204fcffceae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/lib/rollout.js:15869 \u00B7 src/lib/rollout.js:20260 \u00B7 src/lib/rollout.js:21058 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15869}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f199deb21c4f449278574a4ae7eefc658eb6dada4cce4523e8d46901ef7d26f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/rollout.js:18310 \u00B7 src/lib/rollout.js:18505 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ad7f81873d02429f52194473a512c4ab06e80c1014578aa0242ac8b0457a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/skills-manager.js:1033 \u00B7 src/lib/skills-manager.js:1113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcd6f843525e08ced53cc873605fe4c7347df295bc726209d60f1ce4a603154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/lib/upload-queue.js:26 \u00B7 src/lib/upload-queue.js:97 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b845a73bcca8cdb77541797419480f1915e007c282e3d2dddb760238b2069e5f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: scripts/graph/auto-index.cjs:4 imports @sourcegraph/scip-typescript/dist/src/scip, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/auto-index.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0230a6be527636bb0b47d151aa5fbb082537150dc253bac46a3235eacd48156"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: scripts/graph/lib/importer.cjs:4 imports @sourcegraph/scip-typescript/dist/src/scip, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/lib/importer.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8ddeb3d663867ee6492c976354b817fc7489d954d765cf22b9db8a1b5d6580"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/lib/trae-sqlite.js:8 imports @journeyapps/wa-sqlite/dist/wa-sqlite.mjs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-sqlite.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20404a322364ed149ec1a97e02dc3a33fe2001017396c8fd3b836ef23ad6a479"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/lib/trae-sqlite.js:10 imports @journeyapps/wa-sqlite/src/FacadeVFS.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-sqlite.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f286e3b1ac148845831bce993af93e4a58420191f31bb8d805453df747998b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdSync (cyclomatic 710, cognitive 1096): cmdSync has cyclomatic complexity 710 and cognitive complexity 1096; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a0543c3aa748761742e6d2991f973384ada961c93a1bb3257debeae62193de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLocalApi (cyclomatic 645, cognitive 1058): handleLocalApi has cyclomatic complexity 645 and cognitive complexity 1058; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdb49b69bc21e3bce545ad40e994e8aa736fbdb8cfe3727ed0e7383c4aa8196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdStatus (cyclomatic 381, cognitive 455): cmdStatus has cyclomatic complexity 381 and cognitive complexity 455; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6384a06ea7ccc75479ccc039a16629f619356567f22b4eab528e991a64952b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityIncremental (cyclomatic 248, cognitive 355): parseAntigravityIncremental has cyclomatic complexity 248 and cognitive complexity 355; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2308c54efcf3b31d2408e396fec85ed7fc8b2537a56c0785277d94f2f8e410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudCheckoutPage (cyclomatic 207, cognitive 170): CloudCheckoutPage has cyclomatic complexity 207 and cognitive complexity 170; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69be3de3e7738e6f7713419163021d812fbbac30152d31bff52dacb55783332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDshIncremental (cyclomatic 181, cognitive 234): parseDshIncremental has cyclomatic complexity 181 and cognitive complexity 234; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19251157b8ced8f19b29cb602dc6eb56d6afbbf211958c91361cc582b48cf34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsageLimitsUncached (cyclomatic 156, cognitive 225): fetchUsageLimitsUncached has cyclomatic complexity 156 and cognitive complexity 225; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84142c831f7af3f52cf72b1f4b7e4a9838b942517d53d03ca6548e6e34f02f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkbuddyIncremental (cyclomatic 152, cognitive 212): parseWorkbuddyIncremental has cyclomatic complexity 152 and cognitive complexity 212; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11601}}}],"partialFingerprints":{"codehealthFindingId/v1":"22720d6fac107b8b87ff844103dbbea944424b7b2f7edc3d15d0d5702cef63d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexRolloutFile (cyclomatic 151, cognitive 212): parseCodexRolloutFile has cyclomatic complexity 151 and cognitive complexity 212; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be5679c6c700a1ed66cb61dddc17c3742a5f63d5c993ef06b1136e600299fe5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGrokBuildIncremental (cyclomatic 141, cognitive 239): parseGrokBuildIncremental has cyclomatic complexity 141 and cognitive complexity 239; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21746}}}],"partialFingerprints":{"codehealthFindingId/v1":"16abb73bb049a09c9d230bc50baf51294d45ba6f13fff453768f0794613bd47c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLocalApi (cyclomatic 133, cognitive 177): handleLocalApi has cyclomatic complexity 133 and cognitive complexity 177; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e73e699fab12b2a3b7815b7897e362c082c93beeead8762afbb27cdbf46b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelPricing (cyclomatic 132, cognitive 129): getModelPricing has cyclomatic complexity 132 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b28bd03fce6731d9d174372ae9c46558321a63ae391bf911056d94fd29f727b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelPricing (cyclomatic 132, cognitive 129): getModelPricing has cyclomatic complexity 132 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3358fe9fdc01da5087838578b918ad0fdaf2e3e7b2de1a7c764da0a5def0920f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelPricing (cyclomatic 132, cognitive 129): getModelPricing has cyclomatic complexity 132 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb765b2401f51c57e51811821a181288f5dc46bc83a59cae85b8087bbb00d56d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelPricing (cyclomatic 132, cognitive 129): getModelPricing has cyclomatic complexity 132 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f809043789a2d7e73a2325532401357ca65fe0d07e4b09f169c330b23d0fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelPricing (cyclomatic 132, cognitive 129): getModelPricing has cyclomatic complexity 132 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb2c2a2acb2a54c446ae7dbcdb5b653d999516334531c1cd647134522bf4fcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionAnalyticsInternal (cyclomatic 126, cognitive 152): buildSessionAnalyticsInternal has cyclomatic complexity 126 and cognitive complexity 152; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e773a63b3bd5f6d0ad382ce6cd85d74a267c7d0b6284f6e7dcdc562722f897b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRolloutIncremental (cyclomatic 123, cognitive 148): parseRolloutIncremental has cyclomatic complexity 123 and cognitive complexity 148; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f99ecf313067824fbb156655c5366a7cbcbecad0ac3addc67901ab5b65443c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueTouchedBuckets (cyclomatic 122, cognitive 230): enqueueTouchedBuckets has cyclomatic complexity 122 and cognitive complexity 230; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8f31923bf5860751875d4c4e693bea9ceef491412d04ee07cae49448edbf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRolloutRecords (cyclomatic 112, cognitive 173): parseRolloutRecords has cyclomatic complexity 112 and cognitive complexity 173; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"758be0357584242c07f735f96482146bb5dbbfe7989ce126ad024344327feab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCopilotSessionStoreIncremental (cyclomatic 111, cognitive 191): parseCopilotSessionStoreIncremental has cyclomatic complexity 111 and cognitive complexity 191; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20241}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bbc0ec4df6d18209adf669930d5843b970e19bbb352edbe7b045f6d897ccbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePiLikeIncremental (cyclomatic 109, cognitive 209): parsePiLikeIncremental has cyclomatic complexity 109 and cognitive complexity 209; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17582}}}],"partialFingerprints":{"codehealthFindingId/v1":"acafec43d27ee11cf0691a3e28e69dc467a49161d38a3698c137b0628e18ad0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 107, cognitive 137): (anonymous) has cyclomatic complexity 107 and cognitive complexity 137; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb4c165bda0254c33f09d7f577ab0e33cfe80b5dedcd48754ad4b8502e35f3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 107, cognitive 69): App has cyclomatic complexity 107 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"224ed1e959afa7adaccfc11e4b7df4282a467842d48a5886a72701d61bb13ebe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function billing (cyclomatic 103, cognitive 167): billing has cyclomatic complexity 103 and cognitive complexity 167; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"26190cd5471c6d7b4649eebbc7a3bea1734ff9b3fe5593abd366c515dd4fac9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeIncremental (cyclomatic 102, cognitive 155): parseClaudeIncremental has cyclomatic complexity 102 and cognitive complexity 155; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d8959750f65882e070e628b69486a85da2655242bfa6b02df34ba5ebc09931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairCodexRescanInflation (cyclomatic 99, cognitive 163): repairCodexRescanInflation has cyclomatic complexity 99 and cognitive complexity 163; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6291}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b8bb2899ae9b055b0c0cfaa5be62b0a915399d2ae0072ecb8018fa83600c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudPlanView (cyclomatic 99, cognitive 74): CloudPlanView has cyclomatic complexity 99 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a500a1bae7a38fbd3282ef6453fdd01879c600ef147cbf22a514a93ef4f508f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodebuddyIncremental (cyclomatic 97, cognitive 218): parseCodebuddyIncremental has cyclomatic complexity 97 and cognitive complexity 218; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10876}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3fa72dccb3e103b3f391baef83040e138a4635240f853d162ec4b66783a025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityFile (cyclomatic 88, cognitive 142): parseAntigravityFile has cyclomatic complexity 88 and cognitive complexity 142; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23304}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e8cdf30ffcbb51d289974bd8f74743ba4f2e2df60556a40a1f688385c1ccbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOmpSessionFiles (cyclomatic 86, cognitive 221): readOmpSessionFiles has cyclomatic complexity 86 and cognitive complexity 221; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"75845d9879c02737221cc5d310aa2b397339ba1beb6e15bcc0b62d5823f1a33e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKimiSessions (cyclomatic 85, cognitive 220): readKimiSessions has cyclomatic complexity 85 and cognitive complexity 220; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fd64fee17b871ea17ef269f4bc6fab727643ca65ccfe0b47fa5e709ad3193f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDroidIncremental (cyclomatic 85, cognitive 160): parseDroidIncremental has cyclomatic complexity 85 and cognitive complexity 160; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d142479dcb91337a1201b19586f39d4510103dfe10172f71fa606c22b79d55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQoderNewIncremental (cyclomatic 84, cognitive 145): parseQoderNewIncremental has cyclomatic complexity 84 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bef4997c0af11fcb620f45e7d0c07d6b99a44efc65f902563ee3da055c3aa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 83, cognitive 139): (anonymous) has cyclomatic complexity 83 and cognitive complexity 139; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3b33936c8d85324bcee863b405c3aea1e526f9a91af19e4180e0b9a3ecb896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildZcodeSessionRecords (cyclomatic 82, cognitive 137): buildZcodeSessionRecords has cyclomatic complexity 82 and cognitive complexity 137; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccf18e4b2034252d7d968c8b1123fc4644840f149c3f0e394f2444c386f7218"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyIntegrationSetup (cyclomatic 81, cognitive 118): applyIntegrationSetup has cyclomatic complexity 81 and cognitive complexity 118; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68e16386eda664ecf71a9ff137d00fde73df92423ad36b620dc4bba3b3e3de3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 80, cognitive 101): (anonymous) has cyclomatic complexity 80 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1edc66aec438c6e3125a11f7694e797040b2bf7fa8b64535d4bbfce960e5285"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPiSessionFiles (cyclomatic 78, cognitive 215): readPiSessionFiles has cyclomatic complexity 78 and cognitive complexity 215; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c1be7bdece4661871ef8288cca5da3bf76298259a903776f95b5c7de5b2b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 78, cognitive 95): (anonymous) has cyclomatic complexity 78 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/native-gateway.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2d0e601166010ba7ce7f2ff3f99b164eacd6c150cbe12aed23c06f15e494e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClineIncremental (cyclomatic 77, cognitive 121): parseClineIncremental has cyclomatic complexity 77 and cognitive complexity 121; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edf23dd731b820220f76ada47611e4d62157264bbea58121e4a833478e05548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeCodexContextBreakdown (cyclomatic 76, cognitive 132): computeCodexContextBreakdown has cyclomatic complexity 76 and cognitive complexity 132; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8119c35df0a8e2e53a9e0c5af7ac8f07b23d1f404fdb82ec91934cb5e8ccfca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAccountRequest (cyclomatic 76, cognitive 64): handleAccountRequest has cyclomatic complexity 76 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"983ad5a08b589b68cce3ba199f7dde1e94371e13cc06edc69cd183c7449c6b6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenclawIncremental (cyclomatic 74, cognitive 126): parseOpenclawIncremental has cyclomatic complexity 74 and cognitive complexity 126; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91f1456224f314537a053cf0f4fe27981ae5d082227e1f83e46e284cddcc16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsPage (cyclomatic 72, cognitive 67): SkillsPage has cyclomatic complexity 72 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3f2d02d6258a29223673d7ed5b57d527c9cff96c8dc3d7d3822aee21d9ec86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpencodeDbIncremental (cyclomatic 69, cognitive 98): parseOpencodeDbIncremental has cyclomatic complexity 69 and cognitive complexity 98; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67db77c4e6ed2d1d2142d29537c446befe0e714169953347d47e8802458e0ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKiroCliIncremental (cyclomatic 68, cognitive 100): parseKiroCliIncremental has cyclomatic complexity 68 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9596}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc74b66dd58a22663b7b7c07ce437c0eb69539341c64959e792e16caaaf4139d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanGrokSession (cyclomatic 68, cognitive 99): scanGrokSession has cyclomatic complexity 68 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38d4b2ee2a2fe46fd2009d5fec5cb3074e3330d7df6d9c114bec341d754f31b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDevinIncremental (cyclomatic 67, cognitive 102): parseDevinIncremental has cyclomatic complexity 67 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15463}}}],"partialFingerprints":{"codehealthFindingId/v1":"50556ea0abe38cbf581df78afd408916853326ed1d08e530882d8be1482fc0a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 67, cognitive 78): (anonymous) has cyclomatic complexity 67 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc8f85a0d67b425cdeef69870a76fcc463833f637014424739affcdde76254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardPage (cyclomatic 66, cognitive 53): DashboardPage has cyclomatic complexity 66 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a593064be60111bd3f96b6984911efa991dcf9c40a6951d692cf4f3945070c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudMembershipAccount (cyclomatic 64, cognitive 62): CloudMembershipAccount has cyclomatic complexity 64 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bd717f710284099d76479e77c7ff0b3d324bfa7186eabc7e219df2a1fab2cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupPricing (cyclomatic 62, cognitive 86): lookupPricing has cyclomatic complexity 62 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4aa529f41b6bbbce0e9457f14b552da15eeeb698160b1229d583add75e8ea4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 62, cognitive 53): (anonymous) has cyclomatic complexity 62 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"073883a9554cc3297d536df46d7876405194ddf5663b7c37b497b5c239e51b3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanClaudeSession (cyclomatic 61, cognitive 122): scanClaudeSession has cyclomatic complexity 61 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96982a8ba56cc3207ef139b9958aad1a389532766535582067dbfb01efb292a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileWaffoOrder (cyclomatic 60, cognitive 108): reconcileWaffoOrder has cyclomatic complexity 60 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo-processing.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"372cb40179fd8181b90d97bfab1a43fb2ba7a691039d45a4258b87b46f2f00ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLmstudioIncremental (cyclomatic 60, cognitive 97): parseLmstudioIncremental has cyclomatic complexity 60 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439a98f8404e5c80be2af37734da0f1112081d065a04bb82c1af97afc694712"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RedeemProCode (cyclomatic 60, cognitive 79): RedeemProCode has cyclomatic complexity 60 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd53bac3915e88783b232f3ac80198323b77d4fac3ccf1d3a1a5c7e3a31e575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCopilotIncremental (cyclomatic 58, cognitive 105): parseCopilotIncremental has cyclomatic complexity 58 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19540}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ec2baa2ecad0299bb24da565a8dc4b8d93841f4dc5fba87992700a2f66568e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 78): (anonymous) has cyclomatic complexity 58 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"631040699498551acda72df262a64a342f87a08df9fd8be9e5490237ecc70a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairWorkbuddyContextUsage (cyclomatic 58, cognitive 69): repairWorkbuddyContextUsage has cyclomatic complexity 58 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b0cd399b825f3f364eeb339c81b331a820efddc1b31484407ff0ec341be3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdUninstall (cyclomatic 58, cognitive 58): cmdUninstall has cyclomatic complexity 58 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b449265bb0fb1ff19b25b1bf13ad6ebfbf92c1fd59383f4854cd12d65416a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanOpencodeSessions (cyclomatic 57, cognitive 90): scanOpencodeSessions has cyclomatic complexity 57 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c50b7f879724441d705d451d7a3ba0fe53725c50020da30426f02d46463bbd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGeminiIncremental (cyclomatic 57, cognitive 69): parseGeminiIncremental has cyclomatic complexity 57 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c73c30326ab5372cf44feeaf902ac3c1004741667b6f696df5dfadcf34f22a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTraeUsage (cyclomatic 57, cognitive 55): normalizeTraeUsage has cyclomatic complexity 57 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-usage.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c47333311b3a4aea40c6f521609b38eb2faa24f215f29cc71249fc20f6f1cc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMuseIncremental (cyclomatic 56, cognitive 100): parseMuseIncremental has cyclomatic complexity 56 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43010e3dc7ccc851d252f8b54af6b42fb9e30bf58a652a4513f57c1ec4f6017"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDeviceInfo (cyclomatic 56, cognitive 61): renderDeviceInfo has cyclomatic complexity 56 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"631524d5b9ea4ed84ba85ca740a1654614f269d52cb8933a57893c809003370d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudContextualPromptDecision (cyclomatic 56, cognitive 52): cloudContextualPromptDecision has cyclomatic complexity 56 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f3199e9cbe2cc0b8e40428afbdaaf040ea99790422af6ea309d51099c02b5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKimiCodeIncremental (cyclomatic 55, cognitive 96): parseKimiCodeIncremental has cyclomatic complexity 55 and cognitive complexity 96; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c596fe02246cf8627755f843fc15fd11dd17ad5832843fbaa410db01cb2237c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 55, cognitive 75): render has cyclomatic complexity 55 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeab634979c69cdbbb34e6f9913ed134ee8afd72e34ee77f78a53124189a277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 65): (anonymous) has cyclomatic complexity 54 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c789d1db53a415b841908b6debb7e7cc5fbdb1c17e4ac9021a960af76a0c5087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 54, cognitive 51): consume has cyclomatic complexity 54 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae74ee946388a2fe0859e80f97b04b71fa1c8e3c50fff8044187971f127543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 53, cognitive 51): fetch has cyclomatic complexity 53 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/qa-sdk.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4134ee61b9cff46042d0a72c76b9b0b8fdb443cb4f686cc2c9f8d6d61b793f85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLightTable (cyclomatic 52, cognitive 67): renderLightTable has cyclomatic complexity 52 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55f265301f89c952fe18addae9e56b3c3c42530182c0c0aad38c2d4099d783e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanRolloutProjectFileContexts (cyclomatic 51, cognitive 83): scanRolloutProjectFileContexts has cyclomatic complexity 51 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e85222de9fe3e0632c58d913447edfc1852814a0790333157fb478e070edd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommandCodeIncremental (cyclomatic 51, cognitive 72): parseCommandCodeIncremental has cyclomatic complexity 51 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26305}}}],"partialFingerprints":{"codehealthFindingId/v1":"146e45d075e694795b7997bc5c2aec8ef4c3bc8e73efc616c6a87cd50f1ffeda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairKimiModelAttribution (cyclomatic 51, cognitive 70): repairKimiModelAttribution has cyclomatic complexity 51 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-model-repair.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb482d34d1f324bbbb0d504ef1983216e6df2940a48345677fbe878c8c94e20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 51, cognitive 53): parseArgs has cyclomatic complexity 51 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-usage-archive.cjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f516fed2651503e6c41d22da2f04793b26c5f4b7b9891443d0fd569b27a116"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchQoderLimits (cyclomatic 50, cognitive 75): fetchQoderLimits has cyclomatic complexity 50 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec97407271a5c91077f2ec1d6541563a9a359f2cbe8075cabc6f6bfd5639504"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGeminiFile (cyclomatic 50, cognitive 66): parseGeminiFile has cyclomatic complexity 50 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd418fac0976a643513cd9d0bafc3733e3d6e7effc9fee0da0eb9a4efb766c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOmpLikeIncremental (cyclomatic 50, cognitive 64): parseOmpLikeIncremental has cyclomatic complexity 50 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17016}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd9a365cfffc1ff1d60d8658085f32520ba5770ecdeb1b009d5f9e3d5d845d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 49): (anonymous) has cyclomatic complexity 50 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"03211348be05b8e9b8d7636154c8e891980460feaae3162fd94d275cb7733f17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKiroCliFromSessionFiles (cyclomatic 49, cognitive 72): parseKiroCliFromSessionFiles has cyclomatic complexity 49 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10039}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd5e21c2bc45f5bd7866650f4f5970f21ca5d676df7fabc135a8407a86d69f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 68): (anonymous) has cyclomatic complexity 49 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"277ba9f33349256f83baf9a510ad61ee895677454ec9052926a95b59cfc10f84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDshTranscript (cyclomatic 49, cognitive 63): parseDshTranscript has cyclomatic complexity 49 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ccef130d813696f84b5285754281ac4b2d47145b71450f60e9f56a140aaf87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsageOverview (cyclomatic 49, cognitive 45): UsageOverview has cyclomatic complexity 49 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c09193705d332c82e8271ba5fde48d5e4500d48f214ff11381fc5da24a6037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairClaudeQueueFromGroundTruth (cyclomatic 48, cognitive 82): repairClaudeQueueFromGroundTruth has cyclomatic complexity 48 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520521fcdda0bdfb1cb2accf86ed229aa7736a4131e4dd288ee21f63ee3fed8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKiroCliV2SessionTurns (cyclomatic 48, cognitive 73): readKiroCliV2SessionTurns has cyclomatic complexity 48 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9192}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c34dc2a8af69b8d62eb63e4aa687f4b6fdb33bcb3674c0e56182fb43e4d259"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCraftIncremental (cyclomatic 48, cognitive 71): parseCraftIncremental has cyclomatic complexity 48 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691a13c246e1faa5dba193e290378b7e8e3beba2047eacdae92d69030934cdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseZedIncremental (cyclomatic 48, cognitive 57): parseZedIncremental has cyclomatic complexity 48 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8622887402f27e9324d5269bcf4a3cc79ed6668d8e91f9a44258ccdccd31643"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGooseIncremental (cyclomatic 48, cognitive 53): parseGooseIncremental has cyclomatic complexity 48 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15860}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d0bcf6cc5493bbd044c338851c56aa7d855fc59a60bb117ac26fb26b0b1d31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 46): (anonymous) has cyclomatic complexity 48 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac02d00969b4c9f95b96f08893fc782e6d5d6b8fc30a4ad555a77d0a75d544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairCodebuddyLogJsonlOverlap (cyclomatic 47, cognitive 57): repairCodebuddyLogJsonlOverlap has cyclomatic complexity 47 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c28515d4d45f7c7e9e72f9b50ae394fab20552db3829be1395d1a2385b53fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTrackerDiagnostics (cyclomatic 47, cognitive 54): collectTrackerDiagnostics has cyclomatic complexity 47 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc84d224a3d41c0c08f6ec58a63df9a3a9eeef49ea4cf2cf42b0734b5f0dba5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 85): (anonymous) has cyclomatic complexity 46 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ebf3ef23bb862ddabc7d6095ac6e5fc8576ff884ba5648a5d27e7da78281b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeWaffoOrder (cyclomatic 46, cognitive 70): normalizeWaffoOrder has cyclomatic complexity 46 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b33ac8bf52fa0c750b404c14e8453db3cfcd05d71e24333fc1c93be102b368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenclawSessionFile (cyclomatic 46, cognitive 62): parseOpenclawSessionFile has cyclomatic complexity 46 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"79744fddd1c588a2651d5a24c893ba50012974922371f6497928ced6421d5a5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQoderDbIncremental (cyclomatic 46, cognitive 55): parseQoderDbIncremental has cyclomatic complexity 46 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47cb990cf3ec4c73c49f4b2d439b24078e3734b6726a7c37121706a6364d87e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoginCard (cyclomatic 46, cognitive 43): LoginCard has cyclomatic complexity 46 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a771aaa3486e1375993bbf1c34a9e272ea3529453745752923eb18db89071ad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTraeIncremental (cyclomatic 45, cognitive 71): parseTraeIncremental has cyclomatic complexity 45 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23717}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec0ea2c2f51845a9aa89a2c8b0bd75f8534494451660bd0a83a0cf58271b8cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSessionFragments (cyclomatic 44, cognitive 66): mergeSessionFragments has cyclomatic complexity 44 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaabf7ccb0050ca8600b372f63f7511db5052514ce51bfe3d0869c4ee93de1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderProviderGroup (cyclomatic 44, cognitive 64): renderProviderGroup has cyclomatic complexity 44 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fdcaa6e112f2ab2d7c2b8f932b0abf913b96355744d53c6fcdb7432e3b20bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpencodeIncremental (cyclomatic 44, cognitive 55): parseOpencodeIncremental has cyclomatic complexity 44 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb9dc1944a4b470615ac230c57157d1addf4de41a83aee82c38e9b66ad4eb29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeOutputTokenBreakdown (cyclomatic 44, cognitive 52): computeOutputTokenBreakdown has cyclomatic complexity 44 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc06600392a0a67a87493fd56f1a6f5192c39180c04859f1b1b4018a3802cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeFile (cyclomatic 43, cognitive 90): parseClaudeFile has cyclomatic complexity 43 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"702cc801fdfaa6de821671c1d6a5300df7814c04daf05a142d466ed9eef276d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractDshSessionUsage (cyclomatic 43, cognitive 64): extractDshSessionUsage has cyclomatic complexity 43 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25312}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a3a59ee922114c8e746d66793635cbb86f95e4b23eb88cdb6e09dd642787b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEntry (cyclomatic 43, cognitive 62): normalizeEntry has cyclomatic complexity 43 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d86e84a0d1047d7c8f041959f0fb81215dd3352c445226cba46db6f28b7bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKiroCliSessionTurns (cyclomatic 43, cognitive 57): readKiroCliSessionTurns has cyclomatic complexity 43 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9026}}}],"partialFingerprints":{"codehealthFindingId/v1":"028a9428932ee40b8716f1eeb34da0077c190d1b714cac48b85ffc92ce0dc239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LeaderboardPage (cyclomatic 43, cognitive 41): LeaderboardPage has cyclomatic complexity 43 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5b1dce261c299c279f613e389fd05319a359a8356f548a72cdf1b1d68242d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityHeatmap (cyclomatic 43, cognitive 41): ActivityHeatmap has cyclomatic complexity 43 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471f0127888a22b4f39d627d45490745d79a1d708185951656f8041be526726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterColdCodexRolloutFiles (cyclomatic 42, cognitive 73): filterColdCodexRolloutFiles has cyclomatic complexity 42 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"9963c16aafadda8320cd0e410bc3746ad859543b9c5df945489b58e4a8077a07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKimiIncremental (cyclomatic 42, cognitive 64): parseKimiIncremental has cyclomatic complexity 42 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10238}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a73af0db63a78c45579aa30e856a5325e9a6426f3558b86ab8e09351aaaea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairDroidDuplicateSessionInflation (cyclomatic 42, cognitive 51): repairDroidDuplicateSessionInflation has cyclomatic complexity 42 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7279}}}],"partialFingerprints":{"codehealthFindingId/v1":"de85bf9f27384cc925b0a73d24bc1cb12c52d1a9eb376f41bc96c93742fdb557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 40): (anonymous) has cyclomatic complexity 42 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063522559bab9db34bf46faa233c03d379bb21b86f2fbd78fbf1d18152a946d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextBreakdownPanel (cyclomatic 42, cognitive 38): ContextBreakdownPanel has cyclomatic complexity 42 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728dfd336a269b4e0b2225d8c455f4f6a5dbae38df244f4208510e82ab8e408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectDetailModalContent (cyclomatic 42, cognitive 33): ProjectDetailModalContent has cyclomatic complexity 42 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ed74a16e3973f2029a14dd18fb4a7b6132abc3ed5e5284854fe8b13862cf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeClaudeGroundTruthBuckets (cyclomatic 41, cognitive 106): computeClaudeGroundTruthBuckets has cyclomatic complexity 41 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"062ec9d3dfc0e6ac37f77e88f16eb5f1e3bffd5b333fe6de3b462904a8ba3c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateWrapped (cyclomatic 41, cognitive 59): aggregateWrapped has cyclomatic complexity 41 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wrapped-aggregator.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea303b4db4ee4d3aa3f395eaea364272a9044545a98955017fb3de3e1b5000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 39): (anonymous) has cyclomatic complexity 41 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c740c39ce594912d928ab5af3cbfdaa8712c0a748a1d3d2f9d4733159392dc8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 36): (anonymous) has cyclomatic complexity 41 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/native-client-transport.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4601084ad64ee704c696429343ddcc7a1d247535ba88166ce45c8a0585e5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCopilotAppDbIncremental (cyclomatic 40, cognitive 63): parseCopilotAppDbIncremental has cyclomatic complexity 40 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21043}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf93922c7dd409d4e98770d4f4ede22bba15c3893e66aeac44f41bfcd781664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRow (cyclomatic 40, cognitive 55): buildRow has cyclomatic complexity 40 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e9a6fbef51960cf4b45ca88304979a034867ef8577b0a4910e9df508a9e162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 40, cognitive 51): execute has cyclomatic complexity 40 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"92af056aa40f46f3b4b14a814682d74c16c62d98bdde45bca8d7ca4a98cc1ebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGrokUpdatesFile (cyclomatic 40, cognitive 47): parseGrokUpdatesFile has cyclomatic complexity 40 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"20127f4e6409073808600437ead55e64d6c70ccab2fd999836e2979aea309301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueDeviceTokenForLocalSync (cyclomatic 40, cognitive 40): issueDeviceTokenForLocalSync has cyclomatic complexity 40 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deefb04ed9a387da2b3ea21fa3e9e892299051b46207c0a620bfc27325596f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateCopilotChatLogRecordDedup (cyclomatic 39, cognitive 61): migrateCopilotChatLogRecordDedup has cyclomatic complexity 39 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19321}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e3a21c5362ee6780f18093b18226729cf3515c7d255f4ae2affb1ca557856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrendMonitor (cyclomatic 39, cognitive 35): TrendMonitor has cyclomatic complexity 39 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e8fa15aba4a852b984e64f1dcfbc8d2aaaa0f27fa7f4ecd51559c16476a20b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readQueueBatch (cyclomatic 38, cognitive 65): readQueueBatch has cyclomatic complexity 38 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1736815d4f3a989e1f1a1446565ca5bf1a87d18f952b95b2999a87d23cfed3d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRoocodeIncremental (cyclomatic 38, cognitive 59): parseRoocodeIncremental has cyclomatic complexity 38 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12807}}}],"partialFingerprints":{"codehealthFindingId/v1":"406312334c41a8dd56bbf6a3e3f3d245414e37696401c755cccda423e240bc32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKilocodeIncremental (cyclomatic 38, cognitive 59): parseKilocodeIncremental has cyclomatic complexity 38 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c738a944380360025ffd6d43652b8a870586b3fc4626e243ecee125644b52359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 39): (anonymous) has cyclomatic complexity 38 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eb680100cc273c1962334fbe351c2b838b306c932bd28091f2bd59d49ed7dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileContent (cyclomatic 38, cognitive 34): ProfileContent has cyclomatic complexity 38 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbeb09531558f83bd6a1fd523240840c8494d5229eb20224e1d525e5aa2c353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Pet (cyclomatic 38, cognitive 34): Pet has cyclomatic complexity 38 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"91666b7a0dcae62b924830f64f921df6f39ebaf6c45d0f071ecff9da2643fdb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRowCost (cyclomatic 38, cognitive 27): computeRowCost has cyclomatic complexity 38 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e915db7ed14859a5cc4220d6dd2e6cab96fbe9083f0550f640b078934e5703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudUsageExport (cyclomatic 37, cognitive 50): CloudUsageExport has cyclomatic complexity 37 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af2a0d448324942bec1b8da8e7565899fae239c0bf00ce76b64186054fdc8cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenSquillaIncremental (cyclomatic 37, cognitive 50): parseOpenSquillaIncremental has cyclomatic complexity 37 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3019690103557a150795e7e0a1ee7c025f11b54d0677185d0ae78333a6ccaf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeSessions (cyclomatic 37, cognitive 50): summarizeSessions has cyclomatic complexity 37 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2ec1850fc88bb5a68c5a18544f156a9e0f3eb1290601e68e8b051b9a8771c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestProfile (cyclomatic 37, cognitive 40): ingestProfile has cyclomatic complexity 37 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1630c6d7211729e64f98af3d814bcbe4c0cd869029537b2133cfec23472b99a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InsforgeUserHeaderControls (cyclomatic 37, cognitive 35): InsforgeUserHeaderControls has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcabe548a9025bbc868b16113a0204e6f2e4e58d3a33585fe48d3a2458c0ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionDetailModal (cyclomatic 37, cognitive 34): SessionDetailModal has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54311411a34ba2b6518c86612b40bd42fcde5c8d4f0365dd6e18f83bff5bcf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 33): (anonymous) has cyclomatic complexity 37 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f8d21d0f02c8959a0895f41dc7911834aa192afa3c9392b553a74490d3c9e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 32): (anonymous) has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"492da6f09ea7da73f84435938c4ba8020e875a3471371770aa211139219df048"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchZcodeLimits (cyclomatic 36, cognitive 60): fetchZcodeLimits has cyclomatic complexity 36 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"940077d908077e4cf034c8831304ffcf3e0f1977ac0ed37333a4b2e0d8de604c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCloudFunctions (cyclomatic 36, cognitive 47): buildCloudFunctions has cyclomatic complexity 36 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-cloud-functions.cjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c306d6ca5b1095c04b55ba8160ad7a95d3bca45e0db26656cb5b221f14a39fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCursorUsageSummary (cyclomatic 36, cognitive 42): normalizeCursorUsageSummary has cyclomatic complexity 36 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d82774e6b9369447e35cea67fefea1706674a9ce0e6c92e7b8d7f7758f0ef86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPanelInner (cyclomatic 36, cognitive 35): SkillDetailPanelInner has cyclomatic complexity 36 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillDetailPanel.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f81c1bf6456aa1ecce88b7150e0f51f6d81cff0c59ce2f5f80c3a4b341b1524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionRow (cyclomatic 36, cognitive 33): SessionRow has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69f609c3b98e09d13beb472fe8377da8732cda301c26cbc754f764f3335933e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRecord (cyclomatic 35, cognitive 37): handleRecord has cyclomatic complexity 35 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18523}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef9b837b8462d7943066ef1519664ac58720f398caea4c67ce07e2f237a1fc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionsPage (cyclomatic 35, cognitive 31): SessionsPage has cyclomatic complexity 35 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3198db3f5432f898e7aafea1285f45d87603a71d78d89aab77d38656f2d235"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarize (cyclomatic 35, cognitive 28): summarize has cyclomatic complexity 35 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-insforge-usage.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b1eecb67568395aa270658fb536c04c634623f6d81b7165055eabc8410619f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 50): (anonymous) has cyclomatic complexity 34 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/local-device-token-cache.test.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7875b4983d10b6f5844fd9103fc6feba26aa28f7ad8e9694c67721b328d02dfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverCodexSessionFiles (cyclomatic 34, cognitive 48): discoverCodexSessionFiles has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4bf3e963e52c4325d900cfd0ecfaee17967627f4982df2e56db85b1b8927c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 34): (anonymous) has cyclomatic complexity 34 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-usage-reset.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a052dcd7472012dd47b9ac3cc1bd486665a8e06de3fae93e7213e349d7cb3154"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpencodeMessageFile (cyclomatic 34, cognitive 33): parseOpencodeMessageFile has cyclomatic complexity 34 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7df1f1a1b2b53a6fa2624572d6d09161dd2e51efd73aaf87bfc8a82f2932846"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 31): (anonymous) has cyclomatic complexity 34 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adfd992c61bdeff788f99b85a2f00dd152eb49371ebb9d3fd55848a8eff6eeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorApiIncremental (cyclomatic 33, cognitive 54): parseCursorApiIncremental has cyclomatic complexity 33 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7877}}}],"partialFingerprints":{"codehealthFindingId/v1":"de784bf1209942bb80b3c05a781cdb0064a476db7a64cd942e38941ef5206dfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function purgeProjectUsage (cyclomatic 33, cognitive 52): purgeProjectUsage has cyclomatic complexity 33 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/project-usage-purge.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8466792580f8e3ab92d0a0389b9fd406653eb1ed387f1b2f12c86701fe87768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyOneMessage (cyclomatic 33, cognitive 50): classifyOneMessage has cyclomatic complexity 33 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a457ad3d4b1f7234377a82a1ed38ae978722006145b953870beb767369662b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUnslothIncremental (cyclomatic 33, cognitive 46): parseUnslothIncremental has cyclomatic complexity 33 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14947}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7deb3ee5e94969c2fc3a89204795b3cbe0f41ea11a7f2252002c00fabd2820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiagnosticsChecks (cyclomatic 33, cognitive 45): buildDiagnosticsChecks has cyclomatic complexity 33 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eae96e1720b6f6ad414a5b43d13060449cd9d8c8b1a329a112592aa92c60424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDumateIncremental (cyclomatic 33, cognitive 41): parseDumateIncremental has cyclomatic complexity 33 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dumate.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37379715f73799a9455caa2b539d001a1ad6b338b00793cc25aebc0b2d02947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 38): (anonymous) has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aafa50e135e5ba08282170ebcb46ea342ecf89a197ca803a3dcbdd09c00c7a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 34): (anonymous) has cyclomatic complexity 33 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe450c114e79b650a60d1eb14fbb383523cdba3cdde7a11c700a090679d932"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 33, cognitive 29): parseArgs has cyclomatic complexity 33 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pro-gift-codes.cjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d222ab57759622c5671d9e45018c5dc60887c4b820009c13d3ea7283a7b65b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 28): (anonymous) has cyclomatic complexity 33 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"413000f6c05410ea4bdae1068894b20b9435b8219ba7c1e2068a4818d250ee71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 57): (anonymous) has cyclomatic complexity 32 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/access.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9140f325ea02c1629343051df218279d04780797bb6c1520000b1eb7f3de468d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCodexObjectsIncremental (cyclomatic 32, cognitive 50): readCodexObjectsIncremental has cyclomatic complexity 32 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7317b067afd8cd58e96dc5c4ce6512c08864a08f42cee6e62bf39662a87dcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function auditRows (cyclomatic 32, cognitive 44): auditRows has cyclomatic complexity 32 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/audit-token-correctness.cjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29371065888eea16685df0a08a92e2cf2e6f42e18928b15d3b963b399825f8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTraeCnApiIncremental (cyclomatic 32, cognitive 43): parseTraeCnApiIncremental has cyclomatic complexity 32 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8717cdc70d796f8accfc6072d70b024ab5ad8635ef7eca9ad1af5bcd015a90a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAnythingllmIncremental (cyclomatic 32, cognitive 41): parseAnythingllmIncremental has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15194}}}],"partialFingerprints":{"codehealthFindingId/v1":"783a852871caad68bd766385b5f8f4035b24545af82de46dc056b608189ff599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairMimoClaudeMislabel (cyclomatic 32, cognitive 40): repairMimoClaudeMislabel has cyclomatic complexity 32 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4930}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0aa0c7daa5229471e62c1c2b0d48bfd11af8642a366899530fe4a7919b1383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 28): (anonymous) has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11734}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f60e51d99501bd78e3a6d77d6e51de143f7dc5954e29d1f8b24acd3514f40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 27): (anonymous) has cyclomatic complexity 32 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b26e01d9d4393d49f6d8586e028ba1b8871a1e75406a5772c08ffe59dc3910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainQueueToCloud (cyclomatic 31, cognitive 49): drainQueueToCloud has cyclomatic complexity 31 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"44957d1ba49b4955907da58005f9b7023d203c4169a335bed175b4d6a56a921d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKiroCliMessageChars (cyclomatic 31, cognitive 46): readKiroCliMessageChars has cyclomatic complexity 31 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8950}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf77741bc296181dd4d361397d8e171a794570cc5bb15c194f8e448b3bc323ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadZcodeAuthCandidates (cyclomatic 31, cognitive 46): loadZcodeAuthCandidates has cyclomatic complexity 31 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7256bc5a463da20337b05ed5f44c4d147aa0bca14cfc69dd0cf90488baa38b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAntigravityLimits (cyclomatic 31, cognitive 44): fetchAntigravityLimits has cyclomatic complexity 31 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c02ab932aa7c3cb20650a0125173d1045976edb47947b525e217c901652fc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function annotateThreadUsage (cyclomatic 31, cognitive 35): annotateThreadUsage has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda7558f1748047334b9a4aa0643ad3fc382b72f4611bd8f3439a14f68302f40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactPendingQueue (cyclomatic 31, cognitive 35): compactPendingQueue has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f7f814f458589ada485398e974577eb8faa9b8697b8ee62a3b65a2948da644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 30): (anonymous) has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1d10044ee2846565b54d1bf7da049432386c115f5bb89fba968cbe05b79a35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKiroUsageOutput (cyclomatic 31, cognitive 30): parseKiroUsageOutput has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeadcd5ddd0548e1829bb57387932153c54d0153fdbce257f0e5243eb34f182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanRow (cyclomatic 31, cognitive 25): cleanRow has cyclomatic complexity 31 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d8d895c2ac13cf031544ff4b065b6663d6ca45b1302a373eca6e6e86f0474f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectDshZstdFrames (cyclomatic 30, cognitive 55): inspectDshZstdFrames has cyclomatic complexity 30 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432c12a6c99918c96710d52d9c365243029c773f6d97eac85ea6dac33674787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewIntegrations (cyclomatic 30, cognitive 51): previewIntegrations has cyclomatic complexity 30 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e21f9bb80f6aaaa8dc78a4fd3db3aea5b1e36592ab6f067e664a25ad08bf1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKiroIncremental (cyclomatic 30, cognitive 39): parseKiroIncremental has cyclomatic complexity 30 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5982775f02b4c3bd2d30ad382b8f0dee4865f4dddd9a285597a6fdba130f4a10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeQualityPerDollar (cyclomatic 30, cognitive 32): computeQualityPerDollar has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72cc5521661aa0124146f93ec3c53bbe026e1ae321b5df55cd0d59d49da8e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudBillingErrorText (cyclomatic 30, cognitive 30): cloudBillingErrorText has cyclomatic complexity 30 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudBillingParts.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba6506ecf1cb8ce3901a41d7b334f80e2d1acf2c9336f225952daec0d424c0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeConfig (cyclomatic 30, cognitive 29): resolveRuntimeConfig has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-config.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b620144fe3a4b1e4ffc73b95b6ec7ec700565474c59911f107d7c75fcb4a4fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyOpenclawTotalsFallback (cyclomatic 30, cognitive 28): applyOpenclawTotalsFallback has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a4a9e1cb64a8a23af4a8c6e96a3a092737d517cdd5ff2095142aacc196883"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractContributors (cyclomatic 29, cognitive 64): extractContributors has cyclomatic complexity 29 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1fe955f3e6216f62de0defbc4cf8ec2504e5ea69da3cdc7dc5f4784bffab6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMaintenance (cyclomatic 29, cognitive 46): runMaintenance has cyclomatic complexity 29 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-usage-archive.cjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"061425fef24f5ac557a7223c86ef2bdb1daac69cb848ab1242da58ec54a7e9a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAntigravityGenInfo (cyclomatic 29, cognitive 46): extractAntigravityGenInfo has cyclomatic complexity 29 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deb242f3a2eb59ae1eb4cb178226c9f06e5bdf3d58df2f98e8030075f4b2d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAllModels (cyclomatic 29, cognitive 44): buildAllModels has cyclomatic complexity 29 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e2a77a10ee023d50df2068f70ce3fba9ceb456e1f2f92d1f23b0e8210213ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairZcodeUsageMigration (cyclomatic 29, cognitive 44): repairZcodeUsageMigration has cyclomatic complexity 29 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"283fa5599344b3b3c4c64013910084091923936960da9ca9b6c96e8a25c2a910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commit (cyclomatic 29, cognitive 44): commit has cyclomatic complexity 29 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33639ad7e1636a2d54a9b46483030b4ad21ace665f5fa8ebafbb9c5e8123fa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCommandCodeState (cyclomatic 29, cognitive 43): normalizeCommandCodeState has cyclomatic complexity 29 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26190}}}],"partialFingerprints":{"codehealthFindingId/v1":"19118cc2687e0065361de77f8328fd1cd082fdc0a73e3f0d5683ac13fac4a067"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOmpHook (cyclomatic 29, cognitive 37): removeOmpHook has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"882fe52e59fde58e3c6e2ec40407601ff21b1ee1726159abf3def80e55fade2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshGrokTokens (cyclomatic 29, cognitive 31): refreshGrokTokens has cyclomatic complexity 29 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0385536c7fa9d4284037cfc7015e6d36471e62e580561d278db6c537138cc707"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordProjectMeta (cyclomatic 29, cognitive 25): recordProjectMeta has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f1ae8da4356b406b904dac78b4384e4e153c60022da37cca8695ca7c0b04e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSkills (cyclomatic 28, cognitive 52): updateSkills has cyclomatic complexity 28 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"81774aa58eef0a94cc1a7cb07fc65968062b31e87febb103be3a1e07eec03d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateRolloutCumulativeDeltaBuckets (cyclomatic 28, cognitive 39): migrateRolloutCumulativeDeltaBuckets has cyclomatic complexity 28 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5809}}}],"partialFingerprints":{"codehealthFindingId/v1":"be396e58f99470cd3ed0df386bbb3b63149ff83499c2f5afaebcda2f85578c42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOpenclawHookConfig (cyclomatic 28, cognitive 39): removeOpenclawHookConfig has cyclomatic complexity 28 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b8ec1d8b6b92b31d262498536fa0ddee195803a4114b901cf6ade2d46192e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOpenclawSessionPluginConfig (cyclomatic 28, cognitive 39): removeOpenclawSessionPluginConfig has cyclomatic complexity 28 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"22df170be375f7a76d50713113a2a565297ae5735c74e35240edaef65fd347b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dedupeDroidSettingsFilesBySession (cyclomatic 28, cognitive 39): dedupeDroidSettingsFilesBySession has cyclomatic complexity 28 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f484cfd70e8b8eb73264b92d912e2c413dc72c8fc8e6ac992eb6eb89b84c001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 29): (anonymous) has cyclomatic complexity 28 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f4f9c401e2c5287c0f98dae2a145fc6314e6a822053ae39029d549d11581bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordOpencodeMessage (cyclomatic 28, cognitive 29): recordOpencodeMessage has cyclomatic complexity 28 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76e78cd04e7bc2e101f6800dcc6531c214289799490ff999a3865d4cb2c7793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSkill (cyclomatic 28, cognitive 29): installSkill has cyclomatic complexity 28 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"09409c1fa43e3e152f68c3cf882c4280e98ff0569d4fa4709dc2ebee0e363526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUsageModelPricing (cyclomatic 28, cognitive 24): getUsageModelPricing has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf5d0fd1aaff90eeecaeaaf26c74d053eb7af0cff9ce7916b813f1958a9696a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuotaWidget (cyclomatic 28, cognitive 24): QuotaWidget has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/quota.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd15f637aa427ecb62e334eddbc91d221769155d11c43860f89aeeb86cdc5f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isGenerationMetadata (cyclomatic 28, cognitive 17): isGenerationMetadata has cyclomatic complexity 28 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4754842dc5a84581b63c34391dcf4bab56cdb30682681eea4c75ec69af771622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRowCost (cyclomatic 28, cognitive 15): computeRowCost has cyclomatic complexity 28 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bab3fd144c7a8c79aa47ede21b6b18755d8b81d1786e9780dfc1721fc9ffbec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRowCost (cyclomatic 28, cognitive 15): computeRowCost has cyclomatic complexity 28 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe26a772ee75a3b4790b5ed17969f0a94db2e350cffcd367da75ca77a1137e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRowCost (cyclomatic 28, cognitive 14): computeRowCost has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01316d9d175f33d2e9928a7cc32c285fd9450d27082e3f75fdd7e66bccb8a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRowCost (cyclomatic 28, cognitive 14): computeRowCost has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c193ccb5e858f0b0859cf592d5787c26130e6523c18e25bc0b567db09cbe682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchArkAgentPlanLimits (cyclomatic 27, cognitive 44): fetchArkAgentPlanLimits has cyclomatic complexity 27 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bf5d58d95b779bd22635da2f4ab5462a06b78eeaa8ab42361549cec744f2fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchArkCodingPlanLimits (cyclomatic 27, cognitive 44): fetchArkCodingPlanLimits has cyclomatic complexity 27 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fe901de7f9810d072dab10c8df7dfbce5d114291ede80c01259c1d3e6cb262"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 42): (anonymous) has cyclomatic complexity 27 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/qoder-new-parser.test.js"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8d46d81229bdde2d5a56e5fa4d0cccf49d0490bede1dc67cc12dd89d415ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyDeepseekHarnessSource (cyclomatic 27, cognitive 37): migrateLegacyDeepseekHarnessSource has cyclomatic complexity 27 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b357cfbc4269ec57b124b8b6380035a6c91ccc6ba90b05b78fbffe9463ea37ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGitOutcomesInternal (cyclomatic 27, cognitive 36): buildGitOutcomesInternal has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9744406aeceaa91ecf23445275309f847d03c0008b9955a2270e6ff34311beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function categorizeTool (cyclomatic 27, cognitive 34): categorizeTool has cyclomatic complexity 27 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef99016004dfb82bbacece68eafc545cb044456e05a0337e50fbdd4fe482097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdDeviceLogin (cyclomatic 27, cognitive 32): cmdDeviceLogin has cyclomatic complexity 27 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6589c52f6365b130d5855a325fb83c7d8c8c1573683c106e991f2ac0f559e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryServeAccountView (cyclomatic 27, cognitive 31): tryServeAccountView has cyclomatic complexity 27 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"a626995d7caefb21242c967f83e0466b8d32000a27f41af539fd10271d1bea15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferExecCommandKind (cyclomatic 27, cognitive 26): inferExecCommandKind has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce45859c2f8e983ad042bf10942e25a98f3d848cbf9996909a66a693bd23d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexCreditWindow (cyclomatic 27, cognitive 26): normalizeCodexCreditWindow has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6f9db882af883f6188437ec2314de5341555d902b5715664b65ae24456bae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 22): (anonymous) has cyclomatic complexity 27 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-community-models.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecbf7e898e6c62b8728b0dffc765e2f71196f61403dda658e2670fe80b60137"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatCopilotLines (cyclomatic 27, cognitive 18): formatCopilotLines has cyclomatic complexity 27 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e28b5cef7c563ba21d71a9046fc3cf9d0c4405832d121d488d11c9ea73fd92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanCodexUsageLineages (cyclomatic 26, cognitive 50): scanCodexUsageLineages has cyclomatic complexity 26 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6844}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8343907678c6ad3704e4ecd13863cd9cac97d893bdd533e37e3e872e1f9797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerRequest (cyclomatic 26, cognitive 43): providerRequest has cyclomatic complexity 26 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-billing-waffo-http.test.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a045aa1d913fd734748e33306d1cbc28ef4e76aa17bd0da1a048795b3e495002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 26, cognitive 41): fetch has cyclomatic complexity 26 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-access-sandbox-build.test.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd63e4c81c627582a641722392773b9e2ba9855f78fe402be397dde5a4aab22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHourLabel (cyclomatic 26, cognitive 31): parseHourLabel has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c9150d1b074bbea12331432e99852f276ec4ddec18c525ab04c88f354875d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAccountUsage (cyclomatic 26, cognitive 29): fetchAccountUsage has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa33c7b25277f5861593601ee0e41ebbdb9d363eb9ba4137941799ca4b0941e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serveStaticFile (cyclomatic 26, cognitive 29): serveStaticFile has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/static-server.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6dbe24b4ef74b0b46d6864db3cc04246393cbe915240b1ab965d197514ff72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performMint (cyclomatic 26, cognitive 27): performMint has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd68ef62e029782a5fb8c6017ee213d0ec432274ea2a71154617dc71888a701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaddleEvent (cyclomatic 26, cognitive 25): normalizePaddleEvent has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50faff7b14f818eb54b1dd2f131ce18d216fb8946f2a3d36f3f21087472793a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeZcodeCodingPlanQuotaResponse (cyclomatic 26, cognitive 25): normalizeZcodeCodingPlanQuotaResponse has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb71c234d7766dec46078cf9e4fd6eaef18d8030e09c06d51db23d98dd25bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 24): (anonymous) has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11912}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc97dd3a5f922e79477e870fc5a11f50638c1674c6127176f8666fd2424e90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchTraeCnUsagePage (cyclomatic 26, cognitive 24): fetchTraeCnUsagePage has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c591bdd2893398c8dae36b6facd5eeee4993cdf6b98f84da028f64c8aa97a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGrokBillingResponse (cyclomatic 26, cognitive 21): normalizeGrokBillingResponse has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"8792844cea4f05ee0eb3847e96c54de0c5a1752e95731c6d37d7efa6828bd842"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmExpiredUnusedWaffoCheckout (cyclomatic 26, cognitive 17): confirmExpiredUnusedWaffoCheckout has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"40101cb2a61e91dade59fa29af568c46b56f18e11eeeedc636939d67cbc3638e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openLock (cyclomatic 25, cognitive 77): openLock has cyclomatic complexity 25 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9444b41616e6a58c004f17611c6206621baa526a7ea3be4063aa3f07169c5e46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function physicalJsonlRecords (cyclomatic 25, cognitive 52): physicalJsonlRecords has cyclomatic complexity 25 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/jsonl-lines.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"336694860a99ea2980d2fdf262c961141b1dc6d9fd75fe70fce17ace8760455d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProjectMetaForPath (cyclomatic 25, cognitive 43): resolveProjectMetaForPath has cyclomatic complexity 25 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f37b270570a87f763a7ee6f21dbebc954540a014dda6484489df322d7414f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanFile (cyclomatic 25, cognitive 43): scanFile has cyclomatic complexity 25 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skill-usage.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4ecd6c249a4a90f7d4cc08cb6c3b530c91ad95ab4876807b38aeb5159c5f51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectDNSLeak (cyclomatic 25, cognitive 36): detectDNSLeak has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aee999265b0beeaa9a5a9c3c322178ce80a282424db41000e199306c150feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillHourlyGaps (cyclomatic 25, cognitive 35): fillHourlyGaps has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5b8b09b6eec929e3bead979e83446a8b29e5f588e57a4b5c57b036ee40806e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQuipPool (cyclomatic 25, cognitive 35): buildQuipPool has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a025898f87b98e50e06597f0a948c942e2eb8af1ab6a5a8388ea706a724891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relabelClaudeMemQueueRows (cyclomatic 25, cognitive 35): relabelClaudeMemQueueRows has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7814}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3a1abbc26420ebf957949fd864ee9f7d2874acd97fec2d442c02741f54d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveCodexModelBuckets (cyclomatic 25, cognitive 33): preserveCodexModelBuckets has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bd22b95cde16f0f42755e6cfd504d7193a92621dd05396cfe6c5eae5032a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncCloudUsageWithRecovery (cyclomatic 25, cognitive 31): syncCloudUsageWithRecovery has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7427220e7d49f52bcc0725b8995a8e9808964591b9bab6183ca11ca631561b36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchOpencodeGoLimits (cyclomatic 25, cognitive 30): fetchOpencodeGoLimits has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db7c9c231703315fa689e492e55e4bb90092954c367f00f70b43e92ea8d0f80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BadgeDetailBody (cyclomatic 25, cognitive 24): BadgeDetailBody has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeDetailModal.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df181db61bafe50e4cae2d06ca32b3c15c717c3c13a2e9b2422975ea5a406d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSessionBrowserRow (cyclomatic 25, cognitive 24): toSessionBrowserRow has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcf9bae80f5387e26484d7cc90825b2f108ced712526c14fc0771d48551a9d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityHeatmap3D (cyclomatic 25, cognitive 23): ActivityHeatmap3D has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f37299a936a8b0c21df3ec972db110a270815218b1856b35ae6b1fb40ebcae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverSessionFiles (cyclomatic 25, cognitive 22): discoverSessionFiles has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"c126a22fce155a3b621c7d4879e84179925569831807d61bb01a75df237521d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeZcodeQuotaLimit (cyclomatic 25, cognitive 22): normalizeZcodeQuotaLimit has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad353201f753142916b2500ceba8bb5f5ec301fc48439768b3cbb805eaaebb4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMockLeaderboard (cyclomatic 25, cognitive 21): getMockLeaderboard has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70f1cbca7a3de34a5c41bf66e022f8a32a734287d0b5b24e90a27c3278b86e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapGrokToolName (cyclomatic 25, cognitive 21): mapGrokToolName has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d7e35048a5ac9c3bf8230c31b6784a116e2b9cf4d5e9de199008f3ad13f380"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanCodexSession (cyclomatic 25, cognitive 21): scanCodexSession has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4e892d63291160e0ab40ff3552f1a820ce02c491d1d7e581cacd560dfa7f27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildCloudDeviceUsage (cyclomatic 25, cognitive 18): rebuildCloudDeviceUsage has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb4cc336d91f05fd0d70f1d0a4134b4b11171e04634b2239c5dad66e0be6f0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCloudAction (cyclomatic 25, cognitive 17): readCloudAction has cyclomatic complexity 25 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-action-intent.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e72d3e360b9ac89f5b95c37beb6273856d6bfc55c453567c99dc9021ea9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function limitRows (cyclomatic 24, cognitive 47): limitRows has cyclomatic complexity 24 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedc2a8972203893ab90468f163feced2470684068382c5b8a56cda6555664b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairCodexForkReplayInflation (cyclomatic 24, cognitive 47): repairCodexForkReplayInflation has cyclomatic complexity 24 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb93da5dd145dd131435de626cf668a9ecaaab226ddabf9acc8bacfe21fc12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstStreamTokenTime (cyclomatic 24, cognitive 44): firstStreamTokenTime has cyclomatic complexity 24 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496758f14a23075dc23080bbfdd217371d5568202e03c47aabf125f9ab97d93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHourlyState (cyclomatic 24, cognitive 33): normalizeHourlyState has cyclomatic complexity 24 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e679adf0548ed696066816b2b92d3d3ca005e83bedd55bcd8114b0f646711b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 24, cognitive 32): main has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-waffo-cloud.cjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dba57be92eef333f9dfae0dc5d15a178033257383012d398c1e5f19315deec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 25): (anonymous) has cyclomatic complexity 24 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3d2c206ec20a53531522d5654e5d2b8c2307de282708dda06d792bdf1c6f17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderNewTokens (cyclomatic 24, cognitive 22): normalizeQoderNewTokens has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd859f163cd62c3cfd1458750efb590b25c1b32fc2d4c5b11489544b38365be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityCredentialPayload (cyclomatic 24, cognitive 22): parseAntigravityCredentialPayload has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62ddc82173256cbe1af855fe3c1400ec426ff252a78da683ad729ed4e11460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NetworkSection (cyclomatic 24, cognitive 21): NetworkSection has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/NetworkSection.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"59480f61195b03251505949eadda1419bae788c9067d03606457ddaae062e804"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveUsageExport (cyclomatic 24, cognitive 20): saveUsageExport has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/native-bridge.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ab1a04ec1981d0da80c77527d0676f1abc20d70d6aebd7fa055a8f7ff25d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 19): (anonymous) has cyclomatic complexity 24 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-telemetry.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daef929eabe09b7c0af713a949fa1d917c390418509f3e8bdacaa3a5cc04441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 17): (anonymous) has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735eaffce5673858717e98bde2e44923d8ea50ae71e6f826ade7a292fd9878a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 53): (anonymous) has cyclomatic complexity 23 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/commandcode-lifecycle-property.test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a9b43dea5a0fe7584419918586990d519ccd9cdd4ab57ded0cee0b3da88856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectResourceGroups (cyclomatic 23, cognitive 34): collectResourceGroups has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae3e7249abd04cc599b6b6730a38b129406480f706a5926d0779d1605f58ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeScienceIncremental (cyclomatic 23, cognitive 28): parseClaudeScienceIncremental has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7756}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbefc538428698c675b4b274048c3e1a883de4812e30ec81004f7825f1423977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSql (cyclomatic 23, cognitive 27): buildSql has cyclomatic complexity 23 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/lib/importer.cjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e3223827f0a8d310947772c3d874e5e73968c223702c9b96eea4af695e7d21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeepSeekStatusPage (cyclomatic 23, cognitive 27): parseDeepSeekStatusPage has cyclomatic complexity 23 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-status.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"664fe587c33e5132b3dfe0f47ff5d6c526edaa420cb012696f3bb4e523770c20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-model-breakdown.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c4169b5492ab6d3d48955b72bb413cdc950517150a9b454e1c55b272dfe86e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudBillingRequest (cyclomatic 23, cognitive 26): cloudBillingRequest has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-billing.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fba99868a4e0a8c6a37f09f55eaf3af73bef85636a08a686842e9ce2a819d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZcodeNativeUsageMessages (cyclomatic 23, cognitive 24): readZcodeNativeUsageMessages has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"82948e865395c1ba8928e16b4d38626a80c4531e2067ae8ba87f621810a4c5d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 23, cognitive 23): run has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16a1510a95728274f3cf5077d6234a06b3e7b025024b8fd366b61f5521ec98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadOpencodeMessagesForBatchUnchecked (cyclomatic 23, cognitive 23): loadOpencodeMessagesForBatchUnchecked has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a491741e9f4aeef9a6445ed2ec7a955ff0038462bbf3128bd3c9e53c3583d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerRoots (cyclomatic 23, cognitive 23): providerRoots has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d365bb52346f09e05c7c509b3c473f7a04a0b687224fdc7ac142a07d6f82ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGeminiLimits (cyclomatic 23, cognitive 21): fetchGeminiLimits has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7cec050ee0e0953fd74b347268be11175e422135bada201125fafb1eee43d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCachedData (cyclomatic 23, cognitive 20): normalizeCachedData has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd472e421e3f31041e29c423a705ae197f251f13fe14b5c022b9ca8b70f0ea46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 19): (anonymous) has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17112}}}],"partialFingerprints":{"codehealthFindingId/v1":"920844a09e9b072222f40638773928ac5f52416be940528f8fafc724589fccff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectOpencodeGoLocal (cyclomatic 22, cognitive 39): collectOpencodeGoLocal has cyclomatic complexity 22 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd79b59f3d5f952c728839427613d1c4f6bf9b74fd62b53c8cd4359ae1e731b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 35): main has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ops/pr-retro.cjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"206635d2dea0911427b705fc6cbf0a9f2176064ea256ad5f177eeb831e9ddc56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertOmpHook (cyclomatic 22, cognitive 35): upsertOmpHook has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1fbd6236c526f4e17c3c8b70b6a345c7f7a9965e7e0949af9b3792bafb6610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 32): main has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-sync.cjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee04b2118d151c35c2a7e72ffb913a024e3ee15cbaee54b499bc76fa58c36910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairGrokQueueFromSessionSnapshots (cyclomatic 22, cognitive 32): repairGrokQueueFromSessionSnapshots has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f67b5a00b71e4644ece06c5a91c0b7f69529d838258d4fb94b9508f820ac3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandHeatmapCompact (cyclomatic 22, cognitive 31): expandHeatmapCompact has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e277086f9fbc95ad5cd7397add18f96bd3481c8f9a29cf26137b2ad6e0a547d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandHeatmapCompact (cyclomatic 22, cognitive 31): expandHeatmapCompact has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/heatmap-compact.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadfdf2f48022a9132fa5964e74656d1ccf91ee0a7ae1de93eca8e6cf097ec07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indexWal (cyclomatic 22, cognitive 31): indexWal has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"594aaa9db40ffa0061ae520328afb6d8a093766e58656da74082613f0bef53b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 30): (anonymous) has cyclomatic complexity 22 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-billing-waffo-http.test.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3131b9310e8c51ccd20e8012a6f0a52ce6bfe43fe21ea2d91051ba795a7a7421"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGooseDbPath (cyclomatic 22, cognitive 29): resolveGooseDbPath has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4329cf604704d2855e8efae8d34ccac29b402ba1d42b41d576d3c55889f87fbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCommandCodeSessionSnapshot (cyclomatic 22, cognitive 29): readCommandCodeSessionSnapshot has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca401005d1d943690710da67e8b4dc92f35151e55d5d01a50a05e306339deb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZcodeLimitsCache (cyclomatic 22, cognitive 28): readZcodeLimitsCache has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d8734107a413376767b5813930f909c9cf5e1c74443ff123dcd912547edf8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRows (cyclomatic 22, cognitive 25): appendRows has cyclomatic complexity 22 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a860b368ba8fc2bbc1a17987263e3b8f79443d1c96371fd5c8691123621334"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 22, cognitive 23): parseArgs has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ec7159d08ec72fe55701a24521236c4257bcb841d5373f3e57d8d478a8204b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshCodexTokens (cyclomatic 22, cognitive 23): refreshCodexTokens has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-refresh.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f585f0ce33672a8cb555d0116eaf13f90f13f9fbfe1026570d62f4c26b5a10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeKiroCliCreditsSidecar (cyclomatic 22, cognitive 22): writeKiroCliCreditsSidecar has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f448a77d75dc0b8b794c94d3b3be461240c1679668c281f583864b5efebc6e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prependMeRowToPage (cyclomatic 22, cognitive 21): prependMeRowToPage has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/leaderboard-ui.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a31946b5026a53dbd69d6a3457744dbcbffae92f8443d086af5df530b647cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MobileLeaderboardRow (cyclomatic 22, cognitive 21): MobileLeaderboardRow has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d7be3600af0567438747bf61a16d819317a2551dc62a26296272930bce579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6fd4d1f0e3d98ef1989e1be7bece70ba05df66375335fe43d19586e8337890"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeManifest (cyclomatic 22, cognitive 21): normalizeManifest has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab62d987ea08c414fe3ee9f39c316481f6dbcd14c18cb0bbbe9dfa87c3fc02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listRolloutDayFiles (cyclomatic 22, cognitive 21): listRolloutDayFiles has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a987fff98bf270f2d9c0f3cb22ba171536bcd807eb93f71c813aad8b8d812b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openTraeSnapshot (cyclomatic 22, cognitive 21): openTraeSnapshot has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-snapshot.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3476e031bbe6ba430e6040bec69b355e9d1088b9b75a5084be796b8db4077"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSession (cyclomatic 22, cognitive 20): acceptSession has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91d9dbaf9c6af33d26d6c17020870a06760e6cb4f008ede981fbc590b1eb360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeSingleUnpaidWaffoOrder (cyclomatic 22, cognitive 20): closeSingleUnpaidWaffoOrder has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"044120a491e927f5e14ca9623dd21ca98d5738d4f1ce5e68a53e1b890c6753cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"820dba5055e485c555e86198ba5fa472930477db092d9c55052ec90024644b0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openValidatedResumeFile (cyclomatic 22, cognitive 17): openValidatedResumeFile has cyclomatic complexity 22 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e807618f40b62a263d5680674b7c284a2f41e74554d36ab5d9a786ba942c3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveKimiProfile (cyclomatic 22, cognitive 17): resolveKimiProfile has cyclomatic complexity 22 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-profile.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106f56f46ace9dfb9cc12ec6650170438764c264cc04d434fd308093eb11aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionInsightsCard (cyclomatic 22, cognitive 16): SessionInsightsCard has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionInsightsCard.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcef51d05c4353e8505c49f7090d924bd6223e834b6be191d44aea6a59f4bf74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffGeminiTotals (cyclomatic 22, cognitive 14): diffGeminiTotals has cyclomatic complexity 22 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ae8cc231b69674c3f1ffae2498d6126fdf69bee014301007a8c11287edbf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 13): (anonymous) has cyclomatic complexity 22 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098b516d0076dddaca2c68913eeb007f843afe285a00099897f3d818d236b79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSnapshot (cyclomatic 22, cognitive 9): validateSnapshot has cyclomatic complexity 22 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2495f8feceafa565d584922331bbd703903d41ac68b24a49f3abaf615839b876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitOpencodeShards (cyclomatic 21, cognitive 46): commitOpencodeShards has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ebea3a4ed247945d4aa7a29be645364a8f1b3a8537e552b6f28ce45e0b5ac8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRetroValidation (cyclomatic 21, cognitive 43): runRetroValidation has cyclomatic complexity 21 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-retros.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef271ecf88af307c8b89ccba0164d99be1b8c4ed07d5b76d60bd6ad84c723e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupClaudeFilesAcrossRoots (cyclomatic 21, cognitive 40): groupClaudeFilesAcrossRoots has cyclomatic complexity 21 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"887c84d99fe6e0f1e565c372fdbf7c06d78d829fcae0b261f5ad35f9878f831d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanZcodeBalanceLogs (cyclomatic 21, cognitive 34): scanZcodeBalanceLogs has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"827226fbdf4e044d0e30084949ad642654c850b3979510b35dc730c63b2a5bf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGitConfigPath (cyclomatic 21, cognitive 33): resolveGitConfigPath has cyclomatic complexity 21 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2dbbf7564bf824dc311c14dd0ba3414575ef90e294718a20a0b616b0edc96a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfiguredResources (cyclomatic 21, cognitive 29): getConfiguredResources has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b14b069853c16dc4e4ce8824564ad8eeb72f132b4a080985085f838d8b0607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairZcodePruneWindowRestore (cyclomatic 21, cognitive 28): repairZcodePruneWindowRestore has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e602d5e4d31eb8ed1694a7e0b6248425a44a9201ba3616e2827c133d97218ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeUsageDelta (cyclomatic 21, cognitive 26): consumeUsageDelta has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-usage.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c5b37bd6e7202282a226404f95d45fec7eccc6238f6e284ba23ef083d2f895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d64cc0351bf392b4f85883c404b8011ea713b44662054ef7b89a17c9acfa5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdServe (cyclomatic 21, cognitive 24): cmdServe has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"07809cbb980853eb4272137ba5f279bf7279d1f6d4d5d126ff5cd99bdcd130dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeGrokContextBreakdownUncached (cyclomatic 21, cognitive 24): computeGrokContextBreakdownUncached has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0c14c5991543dc7603a0761fe2d86c1cd82a852a15924a7b9f4e848fdaec26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGrokTurnUsageEvents (cyclomatic 21, cognitive 23): extractGrokTurnUsageEvents has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbfd74d753644f312b78511fc2fdc90ca931e4ec731fa6f79568d4805ea596b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeWslDistros (cyclomatic 21, cognitive 23): probeWslDistros has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79fc1a9f1ae61700d7c1f31225da53276cf3d6b93ecc82a1e1f50c489e7214d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureOpenclawSessionPluginPolicy (cyclomatic 21, cognitive 22): ensureOpenclawSessionPluginPolicy has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1d3dfb5251ace417e99ec19bfdb106cd29ee5063b89e836bb3fe9f1191e9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 21, cognitive 22): consume has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c3302517ecd541f8a53b2e03d099f730e83ca6150616e7a0a7f430cdbbbb19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkbuddyIpcDiscovery (cyclomatic 21, cognitive 22): readWorkbuddyIpcDiscovery has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"416f8c72b18ae2644b617723f143a2a3df4df8580a8bbdc36bd38552b1c840e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillRow (cyclomatic 21, cognitive 20): SkillRow has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b64e6742ae4cf7baffe22b147d6c355b45f11220c561d07f497db75ce7e544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowseCard (cyclomatic 21, cognitive 20): BrowseCard has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21461e2de87c7ea05fa2447bfddba94b99d9e7f804b3c6e9f50e62e13f92e79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntimeChecks (cyclomatic 21, cognitive 20): buildRuntimeChecks has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b2e23a8adf1a2d4d65fcc204f90e600022b858e93182be19e5801867e76cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZcodeLogSnapshotCache (cyclomatic 21, cognitive 20): readZcodeLogSnapshotCache has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89967937d3a31b878604a200e1cfffd7c34d225f81ac1ed4d564efec16ff7a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrendMonitorZoomModal (cyclomatic 21, cognitive 19): TrendMonitorZoomModal has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6748a4de2f3e2e9ce1e228208c61fcafdf1b0a80f2ca78b9e352367867c4db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeOutcome (cyclomatic 21, cognitive 19): sanitizeOutcome has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3484f001bc1fb81d3d4f5fe65c3846f69f1ff07f00e7aaf485c467da1e6256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWaffoProduct (cyclomatic 21, cognitive 18): validateWaffoProduct has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c5f1131200a7357110f4eda11880ae2be6a6ad768eb8634c6f65fc1a364eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProviderOrder (cyclomatic 21, cognitive 17): validateProviderOrder has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"16746a024bf402792c12d2f323516a949db009203dc332324dfd7eaff7f74556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHourKey (cyclomatic 21, cognitive 16): parseHourKey has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc15eec7e8876e167868c111c0e1fb0a7f554b3246b30fff68042e8a563dada"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInsforgeDeployment (cyclomatic 21, cognitive 15): validateInsforgeDeployment has cyclomatic complexity 21 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-deployment-config.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e3a6f17e100277ea722822cbe06fafdac43b66a70be9f0b7a8698fa1a70e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameOpenclawFileGeneration (cyclomatic 21, cognitive 14): sameOpenclawFileGeneration has cyclomatic complexity 21 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1d25ea51f9c324444c05139e8716ce5834a4174a7f208e9357b0ce2ca40fdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 20, cognitive 31): walk has cyclomatic complexity 20 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"67580e2d6298c10b78d728ceebfcb4fbc46a7a865c25150983305258e9dc2d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readQoderLocalQuotaWithAge (cyclomatic 20, cognitive 30): readQoderLocalQuotaWithAge has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e51371c6d88e10ac686b52130bf502bc0a371baa09cdc4407270bcdaf849d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/self-host-fixture.cjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed72ec2fdc5e192696081274ce87774ddc676a48e69b3d549cbdd488c6adaa33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerOrders (cyclomatic 20, cognitive 27): providerOrders has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77cbf6dc63cd6d440694ddebb3b3b48e43fdacee52c00132e09628ac66bfc97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCodexDominantModels (cyclomatic 20, cognitive 27): collectCodexDominantModels has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4061}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c671e6fb2c4c1a6f6438f4d10aac0492d7dfd69a57ab85ce037bb6fc0eff68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGrokLimits (cyclomatic 20, cognitive 26): fetchGrokLimits has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e429df73029b2c3a2faa8df363fa38e4b7feb74d168f6674215250027bd459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"e525187edb7149e072afea8291ed1012920c78b0de149df33645598f569adbc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDshSessionSnapshot (cyclomatic 20, cognitive 25): readDshSessionSnapshot has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef58436b1b617509cca08cabc6b2ac5028097e912816ec59aa4e77ca2cc0ce4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowPricing (cyclomatic 20, cognitive 23): getRowPricing has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde127d6653486549e52c174dd06bbb6c423ea6efb695538dfabb0c965b7da37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowPricing (cyclomatic 20, cognitive 23): getRowPricing has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3407bd3678504fde3e44609462f3f62c7951f204adf791e9a9a3d1ffbc6f60d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowPricing (cyclomatic 20, cognitive 23): getRowPricing has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8c1ebb649ca7602f00c5ba9f54daecfe9dcd99726731bef2bb9f0e6dce479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowPricing (cyclomatic 20, cognitive 23): getRowPricing has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"84de2ab6aea4c567298cfa95cee454ca3dc675ffed15617326f622f75288548b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowPricing (cyclomatic 20, cognitive 23): getRowPricing has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b557db465f1db481ff470313c5c1466c72a7e646ca2c1ab13ab4dd11cf843c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 20, cognitive 23): load has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-queue-reader.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a11c6f66039decd42e7aa3fa1db2e7341f2b0a1d11087c59c5c01cb5e48e04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateHourlyByDay (cyclomatic 20, cognitive 23): aggregateHourlyByDay has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fec6769d7574149e5eff521ec1c77a844bbb8ce641fb1c211439d024a962f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-poll.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d544e0f8044b2b4f3c0855057214cdb71a52ca8453816b6277118b031e3f7b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDevinCredentials (cyclomatic 20, cognitive 20): readDevinCredentials has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a37d5086457fd94e65febbb8f0194887614ef96847b5856f275730c4c2f1ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LimitsPage (cyclomatic 20, cognitive 19): LimitsPage has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4745ded5410cf177456da75c38ae2c0439e3b369bb4e9fdd86d533dae60307b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PetPage (cyclomatic 20, cognitive 19): PetPage has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6919e918e7d4e75fbb2c7ff0ebe751670f24643c4641e673e804f8b77cacfd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e45dd4b4115817782f287ee915554d548aba48dfebbcc7e91d38aa93ed4ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderCnCliUsage (cyclomatic 20, cognitive 19): normalizeQoderCnCliUsage has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-cn-cli-limits.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9152b70eb9c50921934eebd3ad7daf932a8f03591bcaef5f73c7fc829fb5cf0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderRpcUsage (cyclomatic 20, cognitive 19): normalizeQoderRpcUsage has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db3065736a87fa27ed763871f9058e8234f507a24186d23b33e6e6387626e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexSparkFallbackCandidates (cyclomatic 20, cognitive 19): codexSparkFallbackCandidates has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"48db0245146fdde3c53d9a46449446ec9434e02be8ab50b7c71aea6e66bc3fb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCodexModelEvent (cyclomatic 20, cognitive 18): applyCodexModelEvent has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-model-attribution.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a5fd45dcce91ffffbbf88e767fdad8203277c5389a243bd96b26aea7a3bf4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPacket (cyclomatic 20, cognitive 18): onPacket has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-ipc.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f53c497757b129f30775fed0fab62049fc98068d6c31de164c90413f5c385a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AchievementBadge (cyclomatic 20, cognitive 16): AchievementBadge has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementBadge.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0989bde7361fa3b0fb093baf9657e6bc62e854d4dec71d2a73ee97c67770860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCopilotOtelUsage (cyclomatic 20, cognitive 13): extractCopilotOtelUsage has cyclomatic complexity 20 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf668d728ae25067f58281835359f3f3fc80963bb9b1cf262a3c4f089ce49bd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeLocalStudioTokens (cyclomatic 20, cognitive 10): normalizeLocalStudioTokens has cyclomatic complexity 20 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13977}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1440a67a475ad013c9a17d647eef00bdae43386229fe80a797fb1b255bf4a3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverDshSessionFiles (cyclomatic 19, cognitive 45): discoverDshSessionFiles has cyclomatic complexity 19 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a8cee4a7e4c5af82d7246a09a92f976a4f81ef7b94110253eeaee4e117efb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanForForkedCodexRollout (cyclomatic 19, cognitive 40): scanForForkedCodexRollout has cyclomatic complexity 19 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6997}}}],"partialFingerprints":{"codehealthFindingId/v1":"f771919df846e60c2f4085f97a81376e282044093f4cceae3269621cb4b8d480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseValue (cyclomatic 19, cognitive 39): parseValue has cyclomatic complexity 19 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25249}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dbd63074e52ccaa2aab7f56ba6c4ee5436e3753aeb55fb7e78d0cff3e07cbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectClaudeForkAliases (cyclomatic 19, cognitive 32): collectClaudeForkAliases has cyclomatic complexity 19 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-user-identity.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"54668d4d572d488562a4bae6ac79d8fe0ff5763252dbaf984df5ac11542d6d09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityHeatmap (cyclomatic 19, cognitive 29): buildActivityHeatmap has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4328402d21011d38fc34ec47a09c540e6e31a0ec024b35ef97a848252d0292ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repriceSessionRecord (cyclomatic 19, cognitive 27): repriceSessionRecord has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3bebc1c1fa14d2f56e528a381e6b175fd84e00121a1d414ffb0d2892f39084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyRuntimeTree (cyclomatic 19, cognitive 25): copyRuntimeTree has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/runtime-copy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0944575a164897e290f57a58ed6a47675d6567a1e7453f72d705decdf56fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 19, cognitive 24): parseArgs has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a03ca1e9c373df099bb325f42c4020e19399086eda748ca648d3481ed6b29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCodexBuiltinPets (cyclomatic 19, cognitive 23): readCodexBuiltinPets has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d543d9af33646d72c3f065a6fc66a661dc540381ac118d55273f2e122988327"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 22): (anonymous) has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/self-host/build-functions.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed11da708e8f210967d8f0fa0091077c18d83d581cf849e8ac44c1c03993c28e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenclawCommand (cyclomatic 19, cognitive 22): resolveOpenclawCommand has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-cli.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0774319a3e906a279ad1d6cbaee99f65cbe6565d1ec0bb1de750ff8c9e09d18d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGrokUpdateTokenEvents (cyclomatic 19, cognitive 22): readGrokUpdateTokenEvents has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21519}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f2201104d180f47e81979654713f37751c6a8ad92b692cb5b0e7754b93fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDailyAggregates (cyclomatic 19, cognitive 21): buildDailyAggregates has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19530a526feaf947726a3d2afbfd25e33bf3e29040d8ca253ced87f1537a3b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentCloudUploadFailure (cyclomatic 19, cognitive 20): currentCloudUploadFailure has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6f3cdec7db3dd4ddc822d44cd409987edd697a27b2dbf58fceb1c0f1f7495b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateEntries (cyclomatic 19, cognitive 20): aggregateEntries has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78438a947bbe0a239ee6366ff38ac5779c613326927e49362730b2f544928f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenCodeStatusPayload (cyclomatic 19, cognitive 20): parseOpenCodeStatusPayload has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-status.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc47d4bad67c1a6b13d8e27bbb68b302987917f8856d413ffb0148a27c5b561d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTraeCnSession (cyclomatic 19, cognitive 20): normalizeTraeCnSession has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24123}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f5ae00e92fbf86ee99a14bb718e31d49fc077dbe6025a054b7b839e144084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeCursorSandUsageStatus (cyclomatic 19, cognitive 19): decodeCursorSandUsageStatus has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b98b4bb17361ce5328b4deaf96b78a020d3ed4ec2780ae6f5a20a191d7e5bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf7a0a82442b3efd2704531ca4b4973c8213651844bed1781af06c9119e9c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityProjectAssignmentChanged (cyclomatic 19, cognitive 18): antigravityProjectAssignmentChanged has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5034}}}],"partialFingerprints":{"codehealthFindingId/v1":"2743585c2624880026a8b2ddbb18b5e0a4ec71d4e164d10f3e4481c73cd09cc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenSquillaDbPaths (cyclomatic 19, cognitive 18): resolveOpenSquillaDbPaths has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9c9eb75783371cb6955fcdd0f4d897eef441840e761c80ce3cbece7d23d66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LeaderboardMeChip (cyclomatic 19, cognitive 17): LeaderboardMeChip has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LeaderboardSummaryCard.jsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11e6c99d445d2cc007bd05d3893c0230e23b57721711066c8433284f6b7d354"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDeviceTokenPresence (cyclomatic 19, cognitive 17): resolveDeviceTokenPresence has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-device-token.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9c9e0c4f26546e0645ba4096e838b8cd95b2e34443c3c003a733717a9163ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preloadLeaderboardDefaultState (cyclomatic 19, cognitive 16): preloadLeaderboardDefaultState has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6258467ac07e6e0c14c3c8597f51c15bad30695cf3698e59dae8b1046a9bdeb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExecKeys (cyclomatic 19, cognitive 16): getExecKeys has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd20969041b05d0302de78b1451fbece87f88ae20f07b5112425272fa59a12f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveZcodeInstallPaths (cyclomatic 19, cognitive 16): resolveZcodeInstallPaths has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d49ef232d9740a605634988585994879f345fb4fabdcc6c2910fd438032da31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17236}}}],"partialFingerprints":{"codehealthFindingId/v1":"218a4662ef2bd5af16fe1a04ebdbc5d68559afeca0612307567b1c59b436a425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchCloudUsageExport (cyclomatic 19, cognitive 12): fetchCloudUsageExport has cyclomatic complexity 19 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-usage-export.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2c388828e9d4d53a089e6f4ef33f494f87510ef94ab75fac1f961ea1e5ec1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeInterpolatedSeries (cyclomatic 18, cognitive 40): computeInterpolatedSeries has cyclomatic complexity 18 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fae70c8f0c438c01bd679a9372b7ae4fc8bcfa9a60e3d66c1ab31e31f2947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLinuxProcListeningPorts (cyclomatic 18, cognitive 34): parseLinuxProcListeningPorts has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb56df72ffc6bd6a03caa94d5021560596213d40b5b1fda8413810b7cf5dbe5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSkillInventories (cyclomatic 18, cognitive 31): mergeSkillInventories has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/skills-inventory.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5097dde16f1ea8ab1c4c9ddcf1168ec2585f94ac7bbd871478b169c3919a5c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverT3AntigravityBrainDirs (cyclomatic 18, cognitive 31): discoverT3AntigravityBrainDirs has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81ff7121c2bdbf0bd53deaa27b6e9041624966dc1e84f6df13d9910410b3af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 30): main has cyclomatic complexity 18 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gen-bot-frames.cjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef9be1dfcc90de2db13ae300ae4c17c224ebff0eb044fdfbccd66a9347f36ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 29): main has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c38001c024a864c160ddd37fa141d2ad9a62b2fbfa0173f7b40eadddb411cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 18, cognitive 29): walk has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"913b2ba5cd04b11e73f7d7b2c4f3245870b73ba3149d26a51e8011fd426a3845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UsageLimitsPanel (cyclomatic 18, cognitive 24): UsageLimitsPanel has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"360a8da1f34dab6cd1771ccea613b1c5a9359a4cc6efe831daf2d5665bca4267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseString (cyclomatic 18, cognitive 24): parseString has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0f3c9d82af7cc96b8dd742e1d5effbf33964abc27657ba66906bbf1bfb77d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNumber (cyclomatic 18, cognitive 24): parseNumber has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25224}}}],"partialFingerprints":{"codehealthFindingId/v1":"718ac4ded99ea3b98c5ed4d6a2f7865f4b9e0f9fc553b53c9da4d1ed797660e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexSparkRateWindows (cyclomatic 18, cognitive 24): normalizeCodexSparkRateWindows has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a9a40d33aa7c3f14d5276390fd750fd24b9b8b472086bec00b6f88a480855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTopModels (cyclomatic 18, cognitive 23): buildTopModels has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6382ddea32a714554270e9f29d4d092aaa8bb0da2e270ca82f01b40fb89af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWebpDimensions (cyclomatic 18, cognitive 23): readWebpDimensions has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b45fb6dc8770496b1e1726356b13d33e8204c2975960c7c911bc898e4b22f93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUndiciProxyIfNeeded (cyclomatic 18, cognitive 23): applyUndiciProxyIfNeeded has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-env.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b267954f4e6debcc1eb8b8eaf48e7a8341365aa9bc5d52ac8d2af02e44dc91f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKiroCliRequests (cyclomatic 18, cognitive 23): readKiroCliRequests has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e436243daa1659506f6d16c2f90eabf0be426348460b821e97162d4c1d23e79e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectExpiringResourceCredits (cyclomatic 18, cognitive 23): collectExpiringResourceCredits has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e51f9578c0b55beb8e455383b90de7346e6a518326058ec3d64cab02ce82625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAccountFunction (cyclomatic 18, cognitive 22): fetchAccountFunction has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d76e03ccbaf55bb17cd014dc0db80eed5f72e63e61d403cfeb714279b962898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistAntigravityCredentials (cyclomatic 18, cognitive 22): persistAntigravityCredentials has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"17094862593170b0089b924aa9216361825541960cb23e4be3269550cc85a6f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 21): (anonymous) has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a73751016ae36f14e741d77e0f131680500a967ec82a2bebba76d810fe1cd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetAntigravityBucketsForRebuild (cyclomatic 18, cognitive 21): resetAntigravityBucketsForRebuild has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22449}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff6868d00358a1d0e7a0a803599eff9f2de4c6fe446ed308aeda447f9784b2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reincludeClaudeMemObserverFiles (cyclomatic 18, cognitive 20): reincludeClaudeMemObserverFiles has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7764}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da2263c0e7fdceb3d348bab98963d23f16533013fc1de6fea35cb8aaa58a49d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatUsdCurrency (cyclomatic 18, cognitive 18): formatUsdCurrency has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ceb921a92ccbd3cb5d50dc360192e39b111cc626d3b1918f8401118b6d7490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFixtureDb (cyclomatic 18, cognitive 18): buildFixtureDb has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/opencode2-parser.test.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2999810a3e3fecc18664ccbe402fd6e4f83dcd3bfe9fc8969026e6c02c28e196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"38103b730501b84ea92c16946aaf5f19951213134b0ede921db13917d8003e07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishCloudPromptBilling (cyclomatic 18, cognitive 17): publishCloudPromptBilling has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"239cd0ef96dae43be105667bb93e07019c453c844ab76e071d01206541b851c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectWebRTCLeak (cyclomatic 18, cognitive 17): detectWebRTCLeak has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3684983e85c0e620f7bec08828799215f356586012e88c69a682d0addcf55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CostAnalysisModal.jsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cafb8088506f863e6f00ecfc95695629cff20d61b777629db8e08ab846e83d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudMachineList (cyclomatic 18, cognitive 16): CloudMachineList has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0521efa03c44ea09f0d61029a6c1b78e828650d61df6d86a1ed391c1ea90b68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSetup (cyclomatic 18, cognitive 15): runSetup has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc0e7a71e0489325181d67429dc011fa4322205110afc040bfbcd99e3535244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetCloudDeviceUsage (cyclomatic 18, cognitive 15): resetCloudDeviceUsage has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-usage-reset.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"813bb06cce3d497d44f1f724015d2ed357fe5a94e5aa70edd3d04bc930426daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function billingUserId (cyclomatic 18, cognitive 14): billingUserId has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/auth.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd5714be02bcc8bc961aca5d9552b67d5cf4ef53c3a0729ddac51d67ef8c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGrokUsage (cyclomatic 18, cognitive 13): normalizeGrokUsage has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-usage.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30964089b645f7e6c369bd67794fa21c0ce78dedd3cbf9d2aaefb974d5275feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRolloutFile (cyclomatic 17, cognitive 31): parseRolloutFile has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e62064d3f58c515eae8b9d0121ef2be11d0e47b32722b2c828f9119f94b16c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommandCodeSessionFiles (cyclomatic 17, cognitive 30): resolveCommandCodeSessionFiles has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25979}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ec6da974af94559355824d3109f543a6ab8b1ec708389f05c20e3c1daaa90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valueEnd (cyclomatic 17, cognitive 28): valueEnd has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25105}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c5dc1367fe6e2040716cac15283cd6f0d025ac97f96ddff0521d5686bc340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchLocalJson (cyclomatic 17, cognitive 27): fetchLocalJson has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba65443a6a715f2b8ed050b2eb7bfc15a5ca281725c3254701e7852c4372203"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 22): main has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-copy-registry.cjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e93022be8d865fcc0b19d03676e0b0a8b3d8cf7e4693fb787cf557c58ffe85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeLocalAchievements (cyclomatic 17, cognitive 22): computeLocalAchievements has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e6116508c30f66de30bb9bba16e6d9f579186c78f576980a3698242e7e5c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeZcodeBalanceResponse (cyclomatic 17, cognitive 22): normalizeZcodeBalanceResponse has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"156ddacd9c62d6a6bfac0e65958bcb18f2c5a36347e04d79e73dc70f1c4a4009"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-billing-http.test.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a35c4ae660087a87b8b245096737e6ef4fa50bd782ae61712ca41e13010a96a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codebuddyJsonlHasUsage (cyclomatic 17, cognitive 21): codebuddyJsonlHasUsage has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10656}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbbe912626c3a541aafa37399c27a7c7ec609c63d6547c2ff5a27695cd37a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGrokSessionSnapshots (cyclomatic 17, cognitive 21): normalizeGrokSessionSnapshots has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21270}}}],"partialFingerprints":{"codehealthFindingId/v1":"227ffdf0c6a1d63463f21109ffb789e857d9949c61b19bb4a345052ba4f0b0c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorCsv (cyclomatic 17, cognitive 20): parseCursorCsv has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"da21f2db1a161b1b086d2242ae4ef099dfc8547510341b8f18415736243b7439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexCategoryFallbackFromQueue (cyclomatic 17, cognitive 20): buildCodexCategoryFallbackFromQueue has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab83867b99c726d203f9ac05f8b68fd3d25b80db60e8471729b9973e4a5ec1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrCreateMachineId (cyclomatic 17, cognitive 20): getOrCreateMachineId has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/machine-id.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e424958c33c2a0bf2633785b8fc6b204f2e1905f6ec858f756c9a103ae7ad64d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrapeOpencodeGoWeb (cyclomatic 17, cognitive 20): scrapeOpencodeGoWeb has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb8675fe13a8797c17766c615ce124ebd2c087fefd1fa7aafc139e9757f9860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueTouchedProjectBuckets (cyclomatic 17, cognitive 20): enqueueTouchedProjectBuckets has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":3983}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd36d2f2cec187f1ca0470595c042c6a4362fcd49578e17c3427de2bc9054e28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanOmpLikeTranscript (cyclomatic 17, cognitive 20): scanOmpLikeTranscript has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16973}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a6668dfa333d22d623821a77dd815d55332bdc051df08dc3848595fd9a4261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCopilotOtelStatus (cyclomatic 17, cognitive 20): describeCopilotOtelStatus has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5a8cde4871bf49cbb79bfce45e13cbb66dbc911eefccdc302b6c436ea731fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedClaimsFromJwt (cyclomatic 17, cognitive 19): verifiedClaimsFromJwt has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dad54aaed2bb5db37f607016ddcb465f932d1e714d73cd628719ab9acdf009b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateByDay (cyclomatic 17, cognitive 19): aggregateByDay has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"df136cda4c7f407c40f2c8c342a5d9e99eb07d7407ccb52e20cb98429d10b8e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withLimitsCacheFallback (cyclomatic 17, cognitive 19): withLimitsCacheFallback has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b33db135f4e5937316ca8053e6704e5a8fb0741812ade7e67122a7917cf2b52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-proxy-settings.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4273b4d3ece408627f94490259561119a2cae5ba0eafa96bfc386a767e9ca9fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchUsdRates (cyclomatic 17, cognitive 18): fetchUsdRates has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/exchange-rate.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"023ffb80fb98e453b46194393be0ab56f1192725d0f02de15192ca494a11abea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeArkAgentPlanResponse (cyclomatic 17, cognitive 18): normalizeArkAgentPlanResponse has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af961e2c1f14a39f68879384736c7e833de04cb3be444430e222e63adf8cb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeArkCodingPlanResponse (cyclomatic 17, cognitive 18): normalizeArkCodingPlanResponse has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f5d80c0bc9c130b61e0fe4bd6b03131a1c1bc150703d6c37f2ea66921a2ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordModelUsage (cyclomatic 17, cognitive 18): recordModelUsage has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8750eac9c257db288ee1ccb948f620ada3f331948f3833d05f805f5a3da460c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrCreateInsforgeClient (cyclomatic 17, cognitive 17): getOrCreateInsforgeClient has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-config.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"856618722950af815d051f70596c784a37713ba6c22f65c287135592b71f69b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 17, cognitive 17): parseArgs has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ops/pr-retro.cjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b942652cd9c68f5123377e1acf8d06a07c04968f4df2a80d36a959159a8ee77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accessTokenFromRefreshPayload (cyclomatic 17, cognitive 16): accessTokenFromRefreshPayload has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"171be67457004a686a440e008a344a0fe693ace7ff6598c9d8a0eb40895a7960"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"533927cf1456f0d577e5d58b22431691b83fbc34eed481b5a10adc09e6efa8ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LimitBar (cyclomatic 17, cognitive 16): LimitBar has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f19c1c9480f7ab621c9914fd84981861d11e8b4eb3c73b49d16abb246c50bda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSubscriptionLine (cyclomatic 17, cognitive 16): formatSubscriptionLine has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c26581fbb03580ada1a08845c59b6e21edb0a5bbfa1baf69eaa9cb003a0197"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accessTokenFromRefreshPayload (cyclomatic 17, cognitive 16): accessTokenFromRefreshPayload has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea81b0fea26487897b2d7db939eb8d43c97eeae76d7d0e987d0a7579d39a2e60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshTokenFromRefreshPayload (cyclomatic 17, cognitive 16): refreshTokenFromRefreshPayload has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f305a388c7d8c0bd04ffa0621bc0e64421cf6261e494f7fca12257f7e5de98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProjectContextForPath (cyclomatic 17, cognitive 16): resolveProjectContextForPath has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5080}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef698f01a3a0ba0750370be68f2222a518382909d756559b56620864488d1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isBenignBrowserNetworkNoise (cyclomatic 17, cognitive 15): isBenignBrowserNetworkNoise has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"55daea9cd2fedca15bb0997ded413765dec941531d6268eeec5b3f35d55f0523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderConfiguredProvider (cyclomatic 17, cognitive 15): renderConfiguredProvider has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"29988f35de43fb7c4e99a91ffda5b7b3131587930068f9dae4a5a151297a4813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQuotaSummary (cyclomatic 17, cognitive 15): normalizeQuotaSummary has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f130043358b134ab3dab92ed7cc1363626d0c94f9f6f4b022559f1a13a5d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeCopilotAppDbStates (cyclomatic 17, cognitive 14): mergeCopilotAppDbStates has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc2b1f81036696c4c8bca4478d13b668348bfe631e354c60879ded83e9c97db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickDisplayName (cyclomatic 17, cognitive 13): pickDisplayName has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67648d5a01c14661c2d3f15a245a989c6ac8ecc82013d7b45029a2f8ebde293a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickDisplayNameFromUser (cyclomatic 17, cognitive 13): pickDisplayNameFromUser has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14745ad52600019480651c80bc96862b7a6b11d237a649b7bcb89b033fcc30c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 12): (anonymous) has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d2e5bed20e4b2b52ad085d16cf70307dadeacd46e0948c54ecd3f11c70651e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBackendResolver (cyclomatic 17, cognitive 12): createBackendResolver has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40b0e5205fffcae64e6b771f429cd9aca343512daaa9a363e7bea7969b52837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLmstudioFileRecords (cyclomatic 16, cognitive 35): readLmstudioFileRecords has cyclomatic complexity 16 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b2a92013599a853638b14f1e04d50481df330d8cbda09c1b0107ab4bfc0e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGeminiOauthClientCredentials (cyclomatic 16, cognitive 31): extractGeminiOauthClientCredentials has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d5bf62311be38e885cf002e7c6062dd054c5176411a32e895f6583164bc1c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModelUsageRows (cyclomatic 16, cognitive 30): normalizeModelUsageRows has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5f254654b47eb843e1de490ed886a19593a15c13e271daab2d51f836ae49fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 28): (anonymous) has cyclomatic complexity 16 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9213b04abadf07560128bcdc146b2b9c2dce888b0e102dd0267471eabefc3c33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexFileShardMetadata (cyclomatic 16, cognitive 27): buildCodexFileShardMetadata has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de029b4906349e7a52560fb131f9704f3c8899c7619d1a8d95b1f06d7404f1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQoderAccountUsageLog (cyclomatic 16, cognitive 27): parseQoderAccountUsageLog has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48d1a6d16c442f6159ba12014bdb55fcfecb0c5f7f925d15e7bce2c9f37fa40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rpc (cyclomatic 16, cognitive 26): rpc has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b69708d5f84f3c0a24ca11eef73737f050446b3d1d46a51675432ab7bf1b13a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverPiSessionFiles (cyclomatic 16, cognitive 26): discoverPiSessionFiles has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87cd5a3543e2656816d3ea56fd30d8413c8cc92e53d075538bbd1d967ae6f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function categorizeSessionFile (cyclomatic 16, cognitive 24): categorizeSessionFile has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2743f0997a4ec353e0f4aec39d1bd816b52962a140b06f87a4224f15bf3ba914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCodexHistoryCovered (cyclomatic 16, cognitive 23): isCodexHistoryCovered has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6966}}}],"partialFingerprints":{"codehealthFindingId/v1":"d746ea0b97f1abb8a4ed079949611da5fcef70d82133e99c10259e1e032b34d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveKiroCliSessionFiles (cyclomatic 16, cognitive 23): resolveKiroCliSessionFiles has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8875}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca3d3094e1fad381c1a73d0fdbd23c4a03705982973c079d83ea05466c0d7db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retractStaleSourceQueueRows (cyclomatic 16, cognitive 23): retractStaleSourceQueueRows has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9832ee21d6596f1cb6837763896972601fd8acb2b69b5e444886193635beda5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractClaudeScopedWeekly (cyclomatic 16, cognitive 22): extractClaudeScopedWeekly has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"412b9ed035e32444026aab2c85195e469597c8a7648e59ca21506049273769e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _refreshOnce (cyclomatic 16, cognitive 21): _refreshOnce has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eb2894000dc1c9f292cb09ecf80524535b2c24e719d7c7c6cb4d8027c46362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c6a4715f5c5577007c8f28221b09a5dea078950339be6fb2e1dcae87abfa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertIsolated (cyclomatic 16, cognitive 20): assertIsolated has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/qa-database.cjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf5928d538cdf2fc57e150fb940f6f6c796cd10967c3d6da8cabd0b0f322db6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRuntime (cyclomatic 16, cognitive 20): getRuntime has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ecce22ab6fffc5c14de56fab9a5e2318ba80c20be10c3340f88ed206cf07d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function perform (cyclomatic 16, cognitive 19): perform has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/RedeemProCode.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a324512e421c0a68cb4b44347e949055fd4c8d654378bbf90edfc539c47c34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logicalExercise (cyclomatic 16, cognitive 19): logicalExercise has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/hosted-archive-acceptance.cjs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a80828fb40ee03ac57ceb977830c29a4059ebb8801d2571c9c6ee0c30db439e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCursorStore (cyclomatic 16, cognitive 19): openCursorStore has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"48969a5d92a5e7fe9d6fa3efc78c99297e914fc64a2f220d340602a04da4d4ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadGrokAuthEntry (cyclomatic 16, cognitive 19): loadGrokAuthEntry has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a362f725eb2c55b0f793002989541154ef708d5369862d87c42483c56bed17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec5788504e219342c7c9848419b1bc37f69403c24c2c6e44aa0b9c37c4353dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50e53f23b052f54ea05c0b9bc572033ff64e8483b2e1cb249f543ce8350ed74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-heatmap.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"97398f0ccf59ff8eb0b2f183aed4b6bc5c2308bb6a3ce0f40e98ca2ad4abbde6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7d58ffd170b49c78076ad4a9a0ef11b207d5554a3d1d754b5a7f4e7aee3d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dad0dc922d42d4fd024cfaafb1023a9268d6bcdc0b0969fafa66e95ae5f4fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"604c7873a18c2dab3c7b8043407b551a1f8733c52ddd164906e79359815c9f2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bacfe70dc02c71d5b605c1bc77a260b0a0e555ca4a9f0928cfac053108267d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 16, cognitive 18): verifiedUserIdFromJwt has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-rename.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c04aad0d6c76a6fb7f64393e6bb65bdbc0913a33dae011974ed2db3c0fe1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copilotOtelCursorHasLegacyCliUsage (cyclomatic 16, cognitive 18): copilotOtelCursorHasLegacyCliUsage has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8143f8fb45388d4b8dd6c379b922f6bf4e151d3b412089db8a556d1ce21ea20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAntigravityConversationDb (cyclomatic 16, cognitive 18): readAntigravityConversationDb has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ba06b24a207404abc4bd87f7176ccd2fd05c646afa0971e2df98b566eeffff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchVariant (cyclomatic 16, cognitive 18): fetchVariant has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b97bb3963717743ea9fb2bd5eb026a5b0c2919ce234a1bf2ff9c29d174e1911"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-user-badges-refresh.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d492d5c2b2cd0e27c25eb7a44c10bc3b62da1374113c59002b1ec703aab76420"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNowParts (cyclomatic 16, cognitive 17): getNowParts has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe493251d2f0b60c0a5760fdc621250fbd5bfb7c96bb583dce3523085d505c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreInsforgeUser (cyclomatic 16, cognitive 17): restoreInsforgeUser has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-session-recovery.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6e22986588a996bf0640109d7eae034563eb867ccf9da73bf4d69b03c9a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAntigravityTestProto (cyclomatic 16, cognitive 17): buildAntigravityTestProto has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/rollout-parser.test.js"},"region":{"startLine":13222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad7a7b57e42a72d5efe313be4e632db64a70a4981f2b0c873a93bf68797852b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeWechatEvent (cyclomatic 16, cognitive 16): normalizeWechatEvent has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/wechat.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"25937e2921502b905fa4e7a4a5bb706994684ce11dfd84aaa1e549878ceb24b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLeaderboardProfile (cyclomatic 16, cognitive 16): getLeaderboardProfile has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f1c127081f2b211a561b1692d1c7fdeb4e5bfc24e1d9354144bdb4ce8aaac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdInit (cyclomatic 16, cognitive 16): cmdInit has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cea35168461c7d9f77d7a15630091e3930bdda161889ca43d55e1f72752bbca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDismissal (cyclomatic 16, cognitive 15): readDismissal has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58403c0ee4d39fe96a74f425a2061bf5ed6bc3a2268e2d3ccbf056490de756aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Row (cyclomatic 16, cognitive 15): Row has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d943f40565dadd8be4fa49bcffbf65ff0c13624468a510b44fba01279656267f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CursorConnectionControl (cyclomatic 16, cognitive 15): CursorConnectionControl has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/CursorConnectionControl.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b4aa31f9763673d79a3775ad7c8c04e3586f6c1188d603130e74226727801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disposeGalaxy (cyclomatic 16, cognitive 15): disposeGalaxy has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"05179cbca2a5a19cf773cbc40be05a8100b2287f6144ddb3c9dac3d0278d41dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectAppendHashPaths (cyclomatic 16, cognitive 15): selectAppendHashPaths has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"70137f1c5aa0f0086a3296735310550d6aa9b9bf45319ed693845b32d78f8dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCodexRolloutSnapshot (cyclomatic 16, cognitive 15): readCodexRolloutSnapshot has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9f3bb177930115a303ce89952390299bca08b6f19e6002ff9c82a3514926aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSqliteJsonRows (cyclomatic 16, cognitive 15): readSqliteJsonRows has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9e07d342220daa67bde9d9f9e9e35bfa60990602d13cffeeac94b46777d366"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSqliteJsonRowsAsync (cyclomatic 16, cognitive 15): readSqliteJsonRowsAsync has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sqlite-reader.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a2f5cd8c5a5b14ef4b0a6275d79874e1be552c04b690a5f5462bb936bf670a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchCopilotLimits (cyclomatic 16, cognitive 15): fetchCopilotLimits has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c177cd37aeed9b19439234c60443012bd9724cf07011c78533d188c7f1a6f32f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTotals (cyclomatic 16, cognitive 14): addTotals has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4625}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5479482d808d2cc66fa51fd2c5f1ed0e66fc0077676da5e4901989e0b31b7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function subtractTotals (cyclomatic 16, cognitive 14): subtractTotals has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"553f63bba293dd38146a8c041ac5515e13f0459545f460d1864c9a59bac8dfa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkbuddyLimitsCache (cyclomatic 16, cognitive 14): readWorkbuddyLimitsCache has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"268f3a367466def342dbb362a08847b19e5d97a1ff8fae82a41787dccffda570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function museResumeLooksAppendOnly (cyclomatic 16, cognitive 13): museResumeLooksAppendOnly has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18465}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc66c9aa3e55656d0a1b346d72a2cee6a873afd100343b0f0c810869eb647c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureClaudeBackend (cyclomatic 16, cognitive 12): captureClaudeBackend has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac30635bbddf1fd389a64ea53578a0a47bcb231e9300ed3b94080209bd8efb46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishCloudDeviceUsageReset (cyclomatic 16, cognitive 12): finishCloudDeviceUsageReset has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-usage-reset.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8659aea6c3b0ebaa7fbc5ca5c78f89502d9c268048ab25d52907b83b7f622552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderExpandedSection (cyclomatic 16, cognitive 11): ProviderExpandedSection has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1890468857b7b027ab23f1842ed949933910466d8eb6e56c05540e64428ac17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readQoderActivityCache (cyclomatic 16, cognitive 11): readQoderActivityCache has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f335882b0075454a9a78785978dbe7f612a9f7e1adda8ea73b88af7db16c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAntigravityResponse (cyclomatic 16, cognitive 11): normalizeAntigravityResponse has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9cc4633a0d9817465f67b158dada2d308eb9879568b6592be6e80fcafe4f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeGooseDb (cyclomatic 16, cognitive 10): makeGooseDb has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/goose-parser.test.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c30b25b72a37169354542a6a9bbedf47e460dd8b70bd17de733cebda1a9d8d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createWaffoCheckout (cyclomatic 16, cognitive 9): createWaffoCheckout has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba55072e4fb54e2cc06814737b96b989f48939601d90a63d2599d534a2e8ee9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPlaintextCopilotAuth (cyclomatic 15, cognitive 30): readPlaintextCopilotAuth has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b45dfc24cca975c3097bb305137959a438036bc64493d4096141afe9f9b4ca2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 28): (anonymous) has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/sync-openclaw-trigger.test.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1f531560f9a4a866971ede02ea4e3a638a628de5c8b98e3f88fbe122d24693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseOwnedLock (cyclomatic 15, cognitive 27): releaseOwnedLock has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82bade59ba5e447e3ffd52325820300d2d8d657ce12be2c9ca553c8e12d3388"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCraftWorkspaceRoots (cyclomatic 15, cognitive 27): resolveCraftWorkspaceRoots has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18106}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a60cc9f61178462d21855ff3b40ab9f483eaf5e88c11709fe0097272ceef4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropZcodeQueueRows (cyclomatic 15, cognitive 26): dropZcodeQueueRows has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbc54ffef4057621e5aa6adba38892b1b993d62e9bd1e23dc45005e28aec155"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resous (cyclomatic 15, cognitive 25): resous has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/eyefit.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9de24572a3e469fef03d6be665c6e0ac46578596a31c89887a65d66e493d7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverOmpSessionFiles (cyclomatic 15, cognitive 25): discoverOmpSessionFiles has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd91e991ec66f4e1774bf04b83ef9c45b80f43ec58be56f250319e2a942019a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTraeCnAuthValue (cyclomatic 15, cognitive 25): parseTraeCnAuthValue has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c197c6a11746636f9344f09a23a14e32c28fd17046c860fc4a51f8497fcc7c5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectZcodeQueuePeaks (cyclomatic 15, cognitive 23): collectZcodeQueuePeaks has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a128e136da63a8e93bf0aa35cc6ee675bfe08ae6060124ef25cae04ad3ab2622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAcceptEncoding (cyclomatic 15, cognitive 22): parseAcceptEncoding has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/accept-encoding.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5690a125ed13ec4904e11ce9e8e3a11173d917b40c51ca89d345cb6c3a7c4f1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGrokBilling (cyclomatic 15, cognitive 20): fetchGrokBilling has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bf8615336ae6cfcf3cf65c80e17a92534379b61c34b7223b6194b03da9dfd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyCodexPets (cyclomatic 15, cognitive 20): migrateLegacyCodexPets has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bf604e5d6e68eec540b483843c0ef689ac869e01aef2f13718aa72dababec2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchKiroLimits (cyclomatic 15, cognitive 20): fetchKiroLimits has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a29bf787913f34d268d6c159187220fd34b775c51f82435c105f206bcb226d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 15, cognitive 19): onSubmit has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DevicePage.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"53976244cd32477c7e57b56150c1bf28a70612e834c1f68861c1f253f70053b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mainUsageHourTotalsFromState (cyclomatic 15, cognitive 19): mainUsageHourTotalsFromState has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fddaea9dd8890260857b6049147ab28c738b1e7a4efa367a4bf5525124ee372"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributeTurn (cyclomatic 15, cognitive 19): attributeTurn has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ac3071df761583e70489cfac0b59cc29c08141e04c05624127b7fc5773f394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sample (cyclomatic 15, cognitive 18): sample has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7badbfabdeacab442ccf4f4d30b3fcb98b42af3c015be20fcf78ad8adb394a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishPoll (cyclomatic 15, cognitive 18): finishPoll has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-login.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b91a85626247c73e7135b84b3c3eb545ff32278000c1ca1f03cd3683f24ef6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCursorGeneration (cyclomatic 15, cognitive 18): readCursorGeneration has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5798}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b4c0cabf91359f9ee2630aed82f686bae8404e9b339e0199b638c3c765d490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveZedDbPath (cyclomatic 15, cognitive 18): resolveZedDbPath has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d184297a1da7401b53c13779ac8aec73d89e4d78e4f3666e1140d3016ba8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-gifts-http.test.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e275c9358d470d7b604e2bf7f28a46b31a3ce3c6c40ff6f72f3b1ea9a2fb65d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHourlySlotLabels (cyclomatic 15, cognitive 17): buildHourlySlotLabels has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"875b610ac7eabea3256012e5f3530ad398950a6a994e63257bfdf0b003200349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeContextHealth (cyclomatic 15, cognitive 17): computeContextHealth has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/context-health.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"83161354ea7c238843b81cf60fb44d505fa1538028565baa0796e8cf4f8a3419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProjectSummary (cyclomatic 15, cognitive 17): validateProjectSummary has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb722292260fed0b492f0076f3b8fe6ee0ab3982f22c751886f74b8119ad82b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 16): parseArgs has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b650d19782d59fc348a8cdcf9e9f08825648dffde8d7327bb987cc61cb39b898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arkProfileIdentity (cyclomatic 15, cognitive 15): arkProfileIdentity has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc495937d55cc065c847f216b5fd0d613d1db41674eb00c656876fe54c12043"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arkProfileIdentity (cyclomatic 15, cognitive 15): arkProfileIdentity has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54914d4d9d95933ecd6d7c05170fa500f2a9aeaca3bfee0df3435e7cade5348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeModelPricingInfo (cyclomatic 15, cognitive 15): computeModelPricingInfo has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc34ef9efd3a67ace395a9bb616c1b8ff715606ccc03a1cae75a45324c7592d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalizeProjectRef (cyclomatic 15, cognitive 15): canonicalizeProjectRef has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd34bbc01376a9dfc91306b51879415deb312eac214108601ba9ec2f219b07ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotKey (cyclomatic 15, cognitive 15): snapshotKey has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebaea074ca772b163f4cc92c224132175248368306b953c13b274d37aaf79ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda3bfa239116033c4a6a03c3b60121c1edae3a6ae6d6569e83ddf958bab5f2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RestoreCloudOrder (cyclomatic 15, cognitive 14): RestoreCloudOrder has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b913e2762e520e70fe869550778689f96fb08305c015d7da09cb9d92cb6b6fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf93fc1594e902cf50f82c95f464d115ad46b6864d7047992e07c89580ca1e28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillDailySeries (cyclomatic 15, cognitive 14): fillDailySeries has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f91b0db98b99cec9b5bb4a53bac3fb5bf32f8b2883eccfbaa753d59f18da82b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isConservativeRangeCandidate (cyclomatic 15, cognitive 14): isConservativeRangeCandidate has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"96448b7aa4b1158c0bf8d953ddfdfd9c5aab5a55a04152bff83d89dd7ff4a711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveApiWindow (cyclomatic 15, cognitive 14): resolveApiWindow has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ffb60c3ac5f16c5d9381cb86d0a3f69e3bc27d06a53c537f16e82ae1ade93a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openclawUsageEventIdentity (cyclomatic 15, cognitive 14): openclawUsageEventIdentity has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ddcac953465f72aa3dba04d902fa33489a10095afc153872e5195a3715d564"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAntigravityQuotaSummary (cyclomatic 15, cognitive 14): normalizeAntigravityQuotaSummary has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c1cfcd1538f41f97b3f7fcb74111908b55fa385c2c9ae0d531ff7ff51591c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WrappedPage (cyclomatic 15, cognitive 13): WrappedPage has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WrappedPage.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e93ac3c53a2c52e976e1999d46889c057adb33bd69fc5ac19f2c764451f07d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneZcodeMessageCursorForRebuild (cyclomatic 15, cognitive 13): pruneZcodeMessageCursorForRebuild has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eccfba528cf3f4e0998e7fcbca0b97ef68e4e386a967f79e6d0d8f6f313074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInstallPaths (cyclomatic 15, cognitive 13): resolveInstallPaths has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"75566e34f6c9b63e6cf89ee7f844b25242a6f41c8a0b1776c18f288dad309542"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IslandOnboardingCard (cyclomatic 15, cognitive 12): IslandOnboardingCard has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/IslandOnboardingCard.jsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d4dc50ff5ca88d59b85d56c6c41c811c20b411cb34e8950d4e95b3638cf142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 12): main has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/hosted-archive-acceptance.cjs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f6579456659feae9ee8f9b9e62b25bbc9d452833a93e9525dd39dae4a921b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectRow (cyclomatic 15, cognitive 11): ProjectRow has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DataDetails.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecabe5430a517c404f7a398ccfa166e195316d93886bf80402fe0bb19c8a714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeWorkbuddyLimitsCache (cyclomatic 15, cognitive 11): writeWorkbuddyLimitsCache has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"852020ab2333821e580fc643871759340fd16b7895fc971cbd47a24af537008f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeZcodeLimitsCache (cyclomatic 15, cognitive 11): writeZcodeLimitsCache has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4317e13bcadd5d8fb39c9602676c4d2a45c84369e8188784d575f0f61eb2bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardView (cyclomatic 15, cognitive 10): DashboardView has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e261908f9ceaa9c8d2f4e337b38e790cb0f7b61abb33da3b84b50aacd8578c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function state (cyclomatic 15, cognitive 10): state has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9782945b1ef2fa26d648964623f099ef376df344fe6a9fc6c2a0c79e8416d465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeJsonResponse (cyclomatic 15, cognitive 9): encodeJsonResponse has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e53fea936aba3b7993aa2ae0c8aeb490bfa0c13f5b0c36cba559f4b7056595"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCommandcodeWindow (cyclomatic 15, cognitive 9): normalizeCommandcodeWindow has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85f3faf60f057596c53e612ff5329ca9e49a43529e834cf0d1dd184ee378ff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanChunk (cyclomatic 14, cognitive 31): scanChunk has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa868614ed4e508be97b780c138640a86c6910103bcd0b1dd9a132d7379984e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanChunk (cyclomatic 14, cognitive 31): scanChunk has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d433a653e3f59fe77e3b83108ab10272ad9f8e9077562a8eda3f510fece0f06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProxyHeaders (cyclomatic 14, cognitive 23): buildProxyHeaders has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62f9b656c6089117e20004b6ae74fc20ab0423c12fd1ea7f52a27463e4e91cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveKilocodeRoots (cyclomatic 14, cognitive 23): resolveKilocodeRoots has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7118f92946ff00fb51163c48ab965f472c7c72bde0af7949580c146c5f62aeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function iterateCodexObjects (cyclomatic 14, cognitive 22): iterateCodexObjects has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9e0a926757a0edf23375b1c0b519a61ff23fdf5f55383ed351577db7d1feee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeStableMachineId (cyclomatic 14, cognitive 22): computeStableMachineId has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/machine-id.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aabecafd57299279766000f0aa120b144c9da92d044f8400d314a3e46deb29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importFromCodex (cyclomatic 14, cognitive 22): importFromCodex has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ca82bc82f45ab3faf52d75da38c0c536211479cedf01d31e74d9a2beb44b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanClineSessionFiles (cyclomatic 14, cognitive 22): scanClineSessionFiles has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13069}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348f6969211b983e2a67405086b65b8d07e7b7bfee1b1cc6851090c1344fca7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProtoFields (cyclomatic 14, cognitive 21): readProtoFields has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e78fc27834b800583c934d69ff8715be9f2fc629e7670f58a5c5d95778a0f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 20): run has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/compare-visual-baselines.mjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51520b01e084be19a87577ffb90ac2f23a366967c7b60c2e2e123d2979de75d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPredictiveLimitAlerts (cyclomatic 14, cognitive 20): buildPredictiveLimitAlerts has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/limit-alerts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae2b00f8981b191c13040f8aa5fa79550a51c7ca16654b63ae175de2c47c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAntigravityPorts (cyclomatic 14, cognitive 20): listAntigravityPorts has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e18495fc496fef4f565b6619b2bc41d236981171e99411567be9f3571846e32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptsGzip (cyclomatic 14, cognitive 19): acceptsGzip has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"085454837cc48a2f5f78b047778a950400fa0e04df634bba924e162c2dd7b5e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickLegacyRow (cyclomatic 14, cognitive 19): pickLegacyRow has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd974b9f1b887232a6e4f5d226f30ac606b3a1ae4885ac3ea13e56eb3008fd41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeCodexRolloutDates (cyclomatic 14, cognitive 19): activeCodexRolloutDates has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"d656e4b33caf1c6677640051304606b523287c1b7a65732921fa1fa9f0a1c1e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveClaudeScienceDbPaths (cyclomatic 14, cognitive 19): resolveClaudeScienceDbPaths has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7619}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c2d342cd494d0886ff35ae9f4de6f7202756b07a48bd371cc5cca393daf50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillMonthlyGaps (cyclomatic 14, cognitive 18): fillMonthlyGaps has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe39b017a083ffdd7f4eff01c4c71f0fc27954b61e83dab7b255a82881317ff7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateSessionStates (cyclomatic 14, cognitive 18): aggregateSessionStates has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d1da2f75206fc6488d0c7507af138b95e492710bf77584d6e934e5d2c2c7e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTraeDbPaths (cyclomatic 14, cognitive 18): resolveTraeDbPaths has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-db.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"905e7eed653356b7849ba2d4267fb0b6151182ff7bcb255396903258a94258cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveZcodeDbRebuildFloorMs (cyclomatic 14, cognitive 17): resolveZcodeDbRebuildFloorMs has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5067}}}],"partialFingerprints":{"codehealthFindingId/v1":"69836d0c7ce696dbea7f2b26406f6e2dd13dfa830d8e4aed25b9782a3617e5bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function opencodeStateForNamespace (cyclomatic 14, cognitive 17): opencodeStateForNamespace has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5254375ef570042af930c879b2dfdbf08ec0e30bba7c72773f74f0e92f3f22c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dayKeyFromIso (cyclomatic 14, cognitive 17): dayKeyFromIso has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece38d68cc771f6c8c3a94278cc587082eb7fe5c34761e12e3ec7c0c3367e3fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopeSessionUsage (cyclomatic 14, cognitive 17): scopeSessionUsage has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87899d63270cd0e72a517360a715ef1da10bafa3b0593ab55b4710f5f67eb69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyCallerUserId (cyclomatic 14, cognitive 16): verifyCallerUserId has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-grant.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b51812a0ac96e7d923b472acbd810203694692b5148ec33913e71433db47781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 14, cognitive 16): verifiedUserIdFromJwt has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-token-issue.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"894732d61a3afa0815ffbc4d5e22a5e6ff70dff1b35f62028f60a12c5f72dbc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyCallerUserId (cyclomatic 14, cognitive 16): verifyCallerUserId has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5540368ebb197b1e7941d0368f82a64009387f0b9b7378a179b7e90eb3d0bc10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 14, cognitive 16): verifiedUserIdFromJwt has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd37f36d27e30732690da8c3358f0999926b7cb140f6c385c6295d24ae15053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 14, cognitive 16): verifiedUserIdFromJwt has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eded6c7e3e0d65ea5cdd2bc6807d251fe23ab415b77d6e3b5daa06edf6e8d79e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postLocalUsageSync (cyclomatic 14, cognitive 16): postLocalUsageSync has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"741ef357376484940b9314ff39baf3d7698cecc3b0776ff0f3464dfb278feccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPetLimitDisplay (cyclomatic 14, cognitive 16): getPetLimitDisplay has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f70176198c842ef4b73531a3f4c410d7ba31a2f59646d3cc276427a0d97a6b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeypress (cyclomatic 14, cognitive 16): onKeypress has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cli-ui.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad054ad220dd8a7b669a7fda78760b495a6005a730aa6ca0020714dd954583c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isProjectFileContextFresh (cyclomatic 14, cognitive 16): isProjectFileContextFresh has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4914}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d51228ed1af52e17686c01430de606a648f195ca29cbe0fd1da736c6dc888b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clampAndCapKiroCliState (cyclomatic 14, cognitive 16): clampAndCapKiroCliState has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9989}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea10305d78845597ea85602e412c12f37321c78a30f84c6d191cc5d65828efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodebuddyProjectFiles (cyclomatic 14, cognitive 16): resolveCodebuddyProjectFiles has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb40cddedf7ff0c994610c5dd9d06fc90f7ed37a756fcd155dc30873ff43084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importLocalSkill (cyclomatic 14, cognitive 16): importLocalSkill has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3129b5da111fd0e2e8499896fbca79d89d4b1e9c81a7a44ca8f75b0569a4e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderDashboard (cyclomatic 14, cognitive 15): _renderDashboard has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8d2b4e213a528015821cd861222469ec4864777e5e199d47f3c948e1e2fca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSessions (cyclomatic 14, cognitive 15): getSessions has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sessions-api.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b44de8202b8e1e97bd7b471df5e8c15c28ebfdc78ce8237456eed174f0cd68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeZoomStats (cyclomatic 14, cognitive 15): computeZoomStats has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/trend-stats.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9247a6f36ffaff3d4c0f974245e452eefdf17376cc9f3a7b6d1511fb1d44c39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordCodexColdScanAudit (cyclomatic 14, cognitive 15): recordCodexColdScanAudit has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3923}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd60b8fd83d510bc43c1e8f9d0158996e7c7e0def7610fb11c6dc35ed773b9dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/command-runner.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3fd31662b66c39877adc4028367c5145fa10a31aec1670a6ce6875de2fda4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendSessionsResponse (cyclomatic 14, cognitive 15): sendSessionsResponse has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b49b78120ce43bda3c46ae5a8c72cbcc6c136120c1e7184070ba54e4e6b223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeUpdateCache (cyclomatic 14, cognitive 15): writeUpdateCache has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0958a3414662da203b7d5f7a64578b2d207d9334570c67f54ba202ede36230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-account-devices.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2e46e0e74f0c8e295f1577b3416d1109ece905edcf41f8fb7cd0cef2d2e905"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrendBar (cyclomatic 14, cognitive 14): TrendBar has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2582c12cbfea767bad3915fa75999f4812340a729b6a98068f5bf1fc92ec37ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c28b1044e0be8d704e6bda0aced1b1e36d3e481ddc1ba34d17f3946a0f8360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireSyncLock (cyclomatic 14, cognitive 14): acquireSyncLock has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"37001e1ea6bef172d1397417a7b23577431d3a592faa12c118ebe1ce82c8465c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocateTotalsAcrossRows (cyclomatic 14, cognitive 14): allocateTotalsAcrossRows has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504c976167a70495ae4060420cb1ac55f364a6596499de47df78c06e431eb8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeProjectState (cyclomatic 14, cognitive 14): normalizeProjectState has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a26e15495df06ff10b6d69e0df012dbeffbc8dcef6b43832b5b30d83b70256f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeOpencodeAttribution (cyclomatic 14, cognitive 14): normalizeOpencodeAttribution has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4330}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d6f042e44af0ab9c357863e182d2457880072024f032dca2ff8c55fa27cdd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKiroJsonlTokens (cyclomatic 14, cognitive 14): readKiroJsonlTokens has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8058}}}],"partialFingerprints":{"codehealthFindingId/v1":"24992900701d4da321ac88e25f5a0f1c94c749d40a3708feb6c57bf6ce590fee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractClaudePrompt (cyclomatic 14, cognitive 14): extractClaudePrompt has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"901298541d0aa01592947b07763bb823f496f2def7d5a57c8d7ad9470c5bbee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/self-host-instance-config.test.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd65bf351dd0ad498cb956911f5d96ed220888b5af251afbbdcc0ea2c12229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5c3335f9eb588c23387c6eb68c04ba919cf979373deb67cd1c5bb3ee12032c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.test.jsx"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0b1acf132648fe5ca7477c386e5ecc383942b22792af58d237c6bfaaf3fc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsPage (cyclomatic 14, cognitive 13): SettingsPage has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SettingsPage.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7ec6e615602582bc8f24e9f7e92126b8918ad17b2058327f00ffc0122fe0eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b77c1212c8d687cb50ee69a0526174278cee288f504a125c15503b8f4979c2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderProviderExtra (cyclomatic 14, cognitive 13): renderProviderExtra has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d28561ba698d36e4fb3fca6f4843ee5a2eb410aad8647777c72dd354bfab5c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 13): main has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/opencode-plugin-install.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f679e7a989c9b8f9aa8a168f42c6e1d42ad4d77b643a10afbdb6b53f757ba7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveLegacyClaudePrefix (cyclomatic 14, cognitive 13): preserveLegacyClaudePrefix has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f6dc0b46f9b658e5719770a90e568646812495a7e5ab6b78f94477c4ddf4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeProxyConfig (cyclomatic 14, cognitive 13): normalizeProxyConfig has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-settings.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b90945bbc1ccd1428507b36d7b8b719acbe8495066f0136d55dfed7ae04612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchPopularSkillsSh (cyclomatic 14, cognitive 13): fetchPopularSkillsSh has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c1e382030cacd38402856ece40f74798710bc3d91714cc00aaa2653f39b9d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordUploadFailure (cyclomatic 14, cognitive 13): recordUploadFailure has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-throttle.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5e2f6e43dc231e5a148f713bb68bf285dd30d037174540124384dda032d4d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshKimiAccessToken (cyclomatic 14, cognitive 13): refreshKimiAccessToken has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"17542065289374b89f41ae86b12964444739f7ae5f95f21dac095e647209d4c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedUserIdFromJwt (cyclomatic 14, cognitive 12): verifiedUserIdFromJwt has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"60617724ca93dd640370418ddc976d949bf4603706e270c90019e0bd74890a60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a2173637b5e866eb8b079e6c125a54ac5e61a98144b1cdfcf79e41c302260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubValue (cyclomatic 14, cognitive 12): scrubValue has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dede44b24c3656ce3187bf1a89a07a804ef2aa81ade99558e4dce3f241522b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildShareCardData (cyclomatic 14, cognitive 12): buildShareCardData has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/build-share-card-data.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"637ae651a86d2a526e3731d9d891e6f02a4eb7e4a0d820bdd24507e65b498422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchOpencodeGoApiLimits (cyclomatic 14, cognitive 12): fetchOpencodeGoApiLimits has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6e1c4b6be3440f57147925e7e8ad4c54fea5808d54e62a0d02bffbfbc46277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubValue (cyclomatic 14, cognitive 12): scrubValue has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sentry.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98bebdf03e92cd38f2e2cc29b306feaccee13fda5830c12caa42ab8f512d57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff894d03d56847cfcee495504fcf9b25faeb722eae516acf337d686951053ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPetDirectory (cyclomatic 14, cognitive 11): loadPetDirectory has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0cb793e3b8a1eefeedd5ee9fd5e3e0de0c77dd88ec6c3076b4acfd24f9677a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cursorSandDuplicatesGrokPool (cyclomatic 14, cognitive 11): cursorSandDuplicatesGrokPool has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"59255dd4964a5363e0950fbd31a40994b935586e9a9c849351056e224f2c4d95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollOnce (cyclomatic 14, cognitive 10): pollOnce has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c114136d67464942b948ac477fba3c5f3a188998687eed8a1e01bd44d7f8d57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAccountFallback (cyclomatic 14, cognitive 10): classifyAccountFallback has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1749d52cf713c91479fa8cff90ca79c443f90fab4cf06176950a45174b4561e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickWin32Path (cyclomatic 14, cognitive 10): pickWin32Path has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbac2881fcb33f306c702cc229d887e6730ba4e79f3bd9386b0c860c91dc2a4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDroidProvider (cyclomatic 14, cognitive 9): normalizeDroidProvider has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9addc6bf413683259bf7e0171516b5fac517dedc79bab39cba32353474b0d471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanCodexProjects (cyclomatic 13, cognitive 43): scanCodexProjects has cyclomatic complexity 13 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99bb46244c821c4970008f188cc758469bce032de6fb260518a925fa0c250fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statAntigravityDatabase (cyclomatic 13, cognitive 25): statAntigravityDatabase has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7916c3d1ffc41e2e71a2c30935e1955c06d92a97eaef787dfd8111bd31c45f42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScanRoots (cyclomatic 13, cognitive 24): resolveScanRoots has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/scan-roots.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a0a1a6d2eec105b258b51cebc3dc1e4b3f78e7c551beb2b7480fb90a034e7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 24): (anonymous) has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/workbuddy-ipc.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62a7e704dd3a276346e0eefc81f59a2f439887972b12f797c4af8b6fe515c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectPiStyleSubagentFiles (cyclomatic 13, cognitive 23): collectPiStyleSubagentFiles has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":12429}}}],"partialFingerprints":{"codehealthFindingId/v1":"106d734f9658e88ede3b7681e651eb886a9fdb957f43f1143db8f2dd638e088e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSourcesByAlias (cyclomatic 13, cognitive 21): mergeSourcesByAlias has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"721f073450f7668f31defcaa8ba76f54f51c970eff01ab03ca0158cca59fc7a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 21): main has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-locale-coverage.cjs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bc34cf333379a07aa514b60b668c3bef3079030ec818e68fdfddf086a5442a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCommandAvailable (cyclomatic 13, cognitive 21): isCommandAvailable has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec9dc460ee415715e4a3aba9ffadb4ae437729ff2df8280d8a8cd45c5638165"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 13, cognitive 21): walk has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e908385a7dd39de1298b3801fb00cf47ecd071fd9f42db38320bb2e5c833df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectZcodeQueueLatest (cyclomatic 13, cognitive 20): collectZcodeQueueLatest has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d52ca0ca4be82daf5d51371041ca2c143352d8ce0fa8553c865e3653ba72c85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCompleteCommandCodeRecord (cyclomatic 13, cognitive 20): isCompleteCommandCodeRecord has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26067}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cf2930778517aaa230f234561591273a60b195aefcf4d06c979d54d4572823"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveLegacyClaudeGroups (cyclomatic 13, cognitive 19): preserveLegacyClaudeGroups has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea305f9f6665cad7e7c8e1e8ae2eb65d819be2d79344d138ece7dbf3fc27014"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertNotify (cyclomatic 13, cognitive 19): upsertNotify has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"810cf373cb9233e5ab6196141ba716b55173d8462650287e9f00f611b7700a1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coalesceCopilotDbStatesByIdentity (cyclomatic 13, cognitive 19): coalesceCopilotDbStatesByIdentity has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b52543703e3eb0a7bef7e9c89fa0913164c6351d72a66d5729d2dcc2eea6718"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudMembershipSummary (cyclomatic 13, cognitive 18): cloudMembershipSummary has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d192a9efe8e459c032a6b92c489f57cdd03a7bff5e5adb202daa9fc84456860d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearSourceHourlyBuckets (cyclomatic 13, cognitive 18): clearSourceHourlyBuckets has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2931845c3328347daa63206d63ea3888f35678e561ed83680b743ecf3d2af4b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareIntLike (cyclomatic 13, cognitive 17): compareIntLike has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/detail-sort.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50ae9d1ba317f68879f0a4f8a4ea882cecc06399fa30054af9e54ab91161fd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGrokProductUsage (cyclomatic 13, cognitive 17): normalizeGrokProductUsage has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"5986fc64c20bbdfb65cb7040be9dddd31bd5eb9e853e255e4d7c6f34e4b7a68a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLocalApiHandler (cyclomatic 13, cognitive 17): createLocalApiHandler has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3de4222c121cdc935526341efc3a710b4b3b01f367c051334c18a696aa955c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectPetLimitRows (cyclomatic 13, cognitive 16): collectPetLimitRows has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44b154dc5ee900ecc00218e2a66d17a6ab06b138199b659fea9f7affbb47614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProjectFileContext (cyclomatic 13, cognitive 16): buildProjectFileContext has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4886}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e1a0228e3ee79bbc9c79dcb83ce1d0566019b10a862ead22ef8897e315e76c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePiSessionFiles (cyclomatic 13, cognitive 16): resolvePiSessionFiles has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":17434}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9d352d8208e6898563bb0be42867a0309e80c8257089a193b33f14cb9c2627"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchVariantLive (cyclomatic 13, cognitive 16): fetchVariantLive has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bf46c00150a216b3a80bd85f982b3690f8de029e5ccae2d2f8e559fee98408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPaddleSignature (cyclomatic 13, cognitive 15): verifyPaddleSignature has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"07adeacabe9f220807fea7bf4116b3c61837a60e0e26060f87d86e14532d841f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatTraeEntitlementLine (cyclomatic 13, cognitive 15): formatTraeEntitlementLine has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349e4543487d62292b6aae159f016d9b8d6bcdf101511566d797368856ee2bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeExecRows (cyclomatic 13, cognitive 15): mergeExecRows has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00360294fb47167a9248a7b49311009bb111beffe3a67d52862c4842308ac6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributeTurn (cyclomatic 13, cognitive 15): attributeTurn has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"889aa1cc87577c4854e9b312a3988a39b9c9fd96c532baa1212bbf08c443037a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeExecRows (cyclomatic 13, cognitive 15): mergeExecRows has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e049bf4d5ac7cdc8c7067570c9d2c3280d6c5c4b1c928c189873df86f5f1eeeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function write (cyclomatic 13, cognitive 15): write has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0afb53be55bc49167f77d07a1094aed1441ab83d2428bb8fb7b4be9c872b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkbuddyFileCwd (cyclomatic 13, cognitive 15): resolveWorkbuddyFileCwd has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":11567}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c271e8076bfb05fa3ad40a81425471926799fb041639af61b34ad22b74bf99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDroidFileCwd (cyclomatic 13, cognitive 15): resolveDroidFileCwd has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7e6f285f2f56f2d06ae73dbc5b4e2780f69288f6882707368f158289ccbbb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dshContributionsFitHourlyState (cyclomatic 13, cognitive 15): dshContributionsFitHourlyState has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24941}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da2277afa160b180f1581b08d83945b13c3eaad3031980d661639efc9ade6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchKimiLimits (cyclomatic 13, cognitive 15): fetchKimiLimits has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f39c3a3070a85c678141aec06d5ae2f4a7699216855ab26a7ab1dbf0a80590e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillDailyGaps (cyclomatic 13, cognitive 14): fillDailyGaps has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabebdd21cb9c5a1a25c0ebfc2bf9827ad069140fb2ac0596e41a074f70e509f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillDailyGaps (cyclomatic 13, cognitive 14): fillDailyGaps has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"184f14f1023e62665ae5818b32edd0fbab14fceb55b5cdde1a57c0f663ba8d10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4445fb1bc2abc9ff69cf8d1190c53b6d3d925966506d8328b092bbf6128dded"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGrokRepairHourlyState (cyclomatic 13, cognitive 14): applyGrokRepairHourlyState has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4771}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54924191c17419e8ca15265e64b91672242c8fac0220284c36492524ca01a35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFileShardUnchecked (cyclomatic 13, cognitive 14): loadFileShardUnchecked has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e53be6b4763e17913d52378f19e2bd306d833c07d7700b586e3a7c456374a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchDevinLimits (cyclomatic 13, cognitive 14): fetchDevinLimits has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef237029fd96900bce233710794aa63afe150d7a5ba5488eb90db6edce64402"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureAuthTokensFromBody (cyclomatic 13, cognitive 14): captureAuthTokensFromBody has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1362678c0ba7e7b2c09edde377fa12b0ff167c85b62937a17658d448697785fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function needsHistoricalRolloutDedup (cyclomatic 13, cognitive 14): needsHistoricalRolloutDedup has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"589805cbbae2b0b98480663d9aba1090b625c86020ff08b6a789875a3a2932be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStore (cyclomatic 13, cognitive 14): readStore has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscription-manager.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45acfd18f525a8a31fb1993efab173af7c5f598995e918dace34ca30632ca9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-authorize.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a1edd4c467d071bd8486f6615c51797b9cc4cea5402074137293d6ef305557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCloudExternal (cyclomatic 13, cognitive 13): openCloudExternal has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-checkout.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eee785c8d2c3f8330ae8b3b1b67cf0d0b4fd3726a62c1172b452f359c077d6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildResetBankRows (cyclomatic 13, cognitive 13): buildResetBankRows has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/usage-limits-reset-bank.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c20c33efd5310286045a73706cf5299710d9301cbbaba26cae6d6c2562c105"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getZonedParts (cyclomatic 13, cognitive 13): getZonedParts has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a02dde256419160444aac0633a32dca127eee79f2adda75b8737cfba0e14a3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdDoctor (cyclomatic 13, cognitive 13): cmdDoctor has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/doctor.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b5b1879f0f8c64c750ce03270411e14b64c9b836317f44e3d640d68662839"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb95a60999caacc9da14e878a122aef77504c8537c61b2ac1807b2a2a7340e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOpenclawCli (cyclomatic 13, cognitive 13): runOpenclawCli has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-cli.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae3af243c6f1e7e3060cf31248960adfda97046d250aea103dcd502ee1506af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeSendHeartbeat (cyclomatic 13, cognitive 13): maybeSendHeartbeat has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/telemetry.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"50675746ae22cbc695d4131e460c14b0da782685c72771c8ef98be90011a9694"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-grant.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"281902e4563cd93cc346255c55c55878bd31de2d089e026075dbadc82e0422e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectedExecRows (cyclomatic 13, cognitive 12): selectedExecRows has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e52277c8dc79ccd8ddc5e7f7a56482d8a44349e20179db7c6178733bc7e24b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 12): main has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/gemini-hook-install.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fd0d5304c486cadbf2c2af68e674d04c6f729cda4a9c35e0f89e6d1fceb72b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCodexColdScanAuditDue (cyclomatic 13, cognitive 12): isCodexColdScanAuditDue has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3901}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb1229f880c2a7a670548c21f62baf76234d9d5a63637668decf92bef74ea0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4699e6a4183edb7d246740c3cf9c1417be37fc4deb870263326cfbd1fb473a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderAddOnQuota (cyclomatic 13, cognitive 12): normalizeQoderAddOnQuota has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96f3635eadafb6d3c7b446fcb446768ab86f32f4abe0d5ea1c9804e98fa9c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractZedTotals (cyclomatic 13, cognitive 12): extractZedTotals has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13567}}}],"partialFingerprints":{"codehealthFindingId/v1":"84457d2ac36cdd899691eeb1456e02df835ad5f7412317802a4dffb28dba4382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDshHomes (cyclomatic 13, cognitive 12): resolveDshHomes has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b508e6c8dfcad1fe96c80cad0a55213b0d32c0cadb7c7ab69fdbeecd3f1885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyticsEntryStatKey (cyclomatic 13, cognitive 12): analyticsEntryStatKey has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1def4f6d6de21caa36f61dd8c4e1fc62c030711315643906dd8d2f119e5552d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexResetCredit (cyclomatic 13, cognitive 12): normalizeCodexResetCredit has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d77711272457d5ac825069a833a12987986d7f0180c9a350553dc1c46baa08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshGeminiAccessToken (cyclomatic 13, cognitive 12): refreshGeminiAccessToken has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef59ff3e403a6273201758060e43d3751a1c67c3f56dd4e791a4f2fb4c8995f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCopilotWindow (cyclomatic 13, cognitive 12): buildCopilotWindow has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"534662e606726e06cd2b45e1e23f430b4fe043e0161eb3f94fa3abbdfaa8b20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assistantEntry (cyclomatic 13, cognitive 12): assistantEntry has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/session-analytics-dsh.test.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3561a4f8a46167a9448e5a14fc2ecff4940411b08e5cfa1393725f4fb2f83f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-ingest.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c221114ba4376cf24006feecc24c6831eccb163818df8198ee796332dd38db41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketingLanding (cyclomatic 13, cognitive 11): MarketingLanding has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/MarketingLanding.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a604d039f7e3ebd946829198b411f3689a8bc1a1c22db133175b2b4e43586df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeParsedSessionResults (cyclomatic 13, cognitive 11): mergeParsedSessionResults has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc5a0087bbe97319362fd32b169f96182a04d37287d23cbc4cd1e73c0b8c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeOpenclawSessionPluginState (cyclomatic 13, cognitive 11): probeOpenclawSessionPluginState has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d7c4b7f4ba7734675d476277a068f54b00c59393c0f86f385b2c057107546"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function totalsKey (cyclomatic 13, cognitive 11): totalsKey has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e88575ea0514b8deaa6ddab4e63cb2df57a3058c0ae90d10296283f5d6c405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCopilotStoreTokenDetails (cyclomatic 13, cognitive 11): parseCopilotStoreTokenDetails has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8654bec1974b2579db89d496511b8150afa2555004e051e8355f3f64112ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Counter (cyclomatic 13, cognitive 10): Counter has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Counter.jsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12a9ac72d424b3e467d68b8d47a5d435e3b235507a5ddfc5e6c8457385dd46e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionAnalytics (cyclomatic 13, cognitive 10): buildSessionAnalytics has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abac82e5482a5372273f1305fdac93a206e146559cb0097b19ebeb52517eaf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a293fab73dceac7cd8d5e2011bed1103e742bab5e02f304c0947d2dca8784840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenclawSessionFiles (cyclomatic 12, cognitive 36): resolveOpenclawSessionFiles has cyclomatic complexity 12 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd830ca83d9593bec6569834a8ca3d386e7ff54d7a67d90a6d6c4d302277f885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureSetCookies (cyclomatic 12, cognitive 25): captureSetCookies has cyclomatic complexity 12 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0a0081104560680228ba21dbd622e6397e8fee7261fdea52a2404718bd6f45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 12, cognitive 22): parseCsv has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/copy-registry-plugin.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b784b51cf79fc23c1b876a71a7ee0842987f996165fa772b02218f6341c03f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTopModels (cyclomatic 12, cognitive 22): buildTopModels has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b5964d611f1b2f0825b442e1724c965a70b511b8a85d6e7c8da526b999d8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 12, cognitive 22): walk has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3764faf20ecbd8d0686f76722e5f9cda525c503b8e380bda433104a8e1fd9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeAllCodexState (cyclomatic 12, cognitive 21): materializeAllCodexState has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ab564f94c7f51f60efbce64d5b7cc8cc9cab6e572cc1bba4cb0ac4db6cf50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectQoderRuntimeModels (cyclomatic 12, cognitive 21): collectQoderRuntimeModels has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7057}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb37904ebf7cf3db990133a0d40cd89861a0d2e43cd85f913e6e36981c73a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAntigravityProtoFields (cyclomatic 12, cognitive 21): findAntigravityProtoFields has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e9951a4d3b0f76420a0dff544433abb7ee38971ea03cabb735c85d00610b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCodexTitleIndex (cyclomatic 12, cognitive 21): loadCodexTitleIndex has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec116f7fd109140d4f8ab94ce8eacf03f848b97032ca7b108ab3ea740b719130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walkLogs (cyclomatic 12, cognitive 20): walkLogs has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10799}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc9734fb3c08e07961e15f5d9bdbe3520ca4a51e1c0c390e24dd2d468856c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/ark-coding-plan-limits.test.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c51bd1d711d08ebad322f4f1d989ed5c87c2c4e624e92f69012c126e813727"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ea996d387c30415824a39307c82cab577f6457d7d6497de7abd68119e00a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findDshJsonProperty (cyclomatic 12, cognitive 19): findDshJsonProperty has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25088}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c0f4c4a45172dd061f92340276cf08d1a0bf3cd31c28b0539903bbf17c9980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCopilotAuthDbTokenFromRows (cyclomatic 12, cognitive 19): resolveCopilotAuthDbTokenFromRows has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7552b8f7b1e077c77db0876f6fc6d52437e3e896400501f29b9b7fa78a8da936"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCopilotAuthDbTokenFromRowsAsync (cyclomatic 12, cognitive 19): resolveCopilotAuthDbTokenFromRowsAsync has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11ac9199b0e68dfed1f653f4d8333747c8ad5fb64bfa82a656adef1e4de3c05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractExecCommands (cyclomatic 12, cognitive 18): extractExecCommands has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"da067bf00872c414859f2db66f9b06ae64e214eca9cbe3cce65899d0a09dd573"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDataSlotFormat (cyclomatic 12, cognitive 18): parseDataSlotFormat has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e427fbea6bde2c09c7bd6cb51ca36980af4e791125422d14732cdf9f44860de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listRecentQoderLogs (cyclomatic 12, cognitive 18): listRecentQoderLogs has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"306710859871cedd75a0db3bb8b13acfdf8dd64588fd62e8513cccb69b62995d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildKiroModelTimeline (cyclomatic 12, cognitive 18): buildKiroModelTimeline has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5c690e33e45968b6f3f85a27cffe443d1175a69b5aed11e2a23f329be79ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverWslHome (cyclomatic 12, cognitive 18): discoverWslHome has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c65f507c92d2ad52d9341431d914e47fd0639283c248930b2dc821d91a0a242"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeIsoOrEpoch (cyclomatic 12, cognitive 17): normalizeIsoOrEpoch has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4274}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f24a5dbfbd700bc200ae861e49520fa979a2ec8b438c312b169b4d9b907648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAscii (cyclomatic 12, cognitive 17): renderAscii has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/wrapped.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d798bf463412091e30b8461635e46adb7f294b6f1de81b4a082c6c6ac8f5f5cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getZonedParts (cyclomatic 12, cognitive 17): getZonedParts has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b110571f2deebf8ac0e29282dc8372b2ad6fe62322a14be4cc0cfb40cca1696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCopilotOtelPaths (cyclomatic 12, cognitive 17): resolveCopilotOtelPaths has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18971}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71dfbf9b320e8d4ce3f9c7e50baa5178783daed3ed77166f50dc98853bd432b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchZcodeBilling (cyclomatic 12, cognitive 17): fetchZcodeBilling has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"7003b387db3c440cd444e32b64b208c4e6f08b8a3969ad89232e9e7bc0b3a061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanForInterleavedCodexUsage (cyclomatic 12, cognitive 16): scanForInterleavedCodexUsage has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6814}}}],"partialFingerprints":{"codehealthFindingId/v1":"31032707fb7a3e1eafc2f7e4d2837b8a551cdcf9eb37be185d92fa3527cd8c3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAntigravitySessionFilesWithStatus (cyclomatic 12, cognitive 16): listAntigravitySessionFilesWithStatus has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":22242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a614e10e9c82d7a8efde2d428ec14769d3eb5f9d8fb58c5ccc47849efd4095f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchTraeCnUsage (cyclomatic 12, cognitive 16): fetchTraeCnUsage has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7841ada275f01abada13eb027f02792679ca02038f116efe393feac0b54320"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMockNowRaw (cyclomatic 12, cognitive 15): readMockNowRaw has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eef9b5af15d2d3022eeaa80a81f092b3b870dd82aa6b00eed9c224678be9bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchCursorLimits (cyclomatic 12, cognitive 15): fetchCursorLimits has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d350e2a548574f9da48e85ed6c77d6432aa0dcd264eec1c807b7319337026f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchInsforgeFunction (cyclomatic 12, cognitive 14): fetchInsforgeFunction has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e83934ba97d26f9884bc85860c84968c9a9345f8e86b653282dbd3d18aa06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 12, cognitive 14): request has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/local-usage-transfer.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3a86b6100f6e9a02f637afefff09e322db3fbc8f1cadcf3e888f9ba1423229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AchievementsSection (cyclomatic 12, cognitive 14): AchievementsSection has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51eaf3c0fd243eda81713f60669d2bbd662767f8dede8d1c2edc571cd06bd88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function explainLineFor (cyclomatic 12, cognitive 14): explainLineFor has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0422f693acdfb1df9c02261e5265292ab04286a908effe316e1c580efe3d899d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dedupeAccountLevelRows (cyclomatic 12, cognitive 14): dedupeAccountLevelRows has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e849a88f7b22839b241b0f846d37635d33b30391eb96ca76c6748638e21eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocateByLargestRemainder (cyclomatic 12, cognitive 14): allocateByLargestRemainder has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categorizer-utils.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d54a2db2bb27961e9023b8c169f8b701ecdaf8605591327073c2849a136a00f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCursorModel (cyclomatic 12, cognitive 14): normalizeCursorModel has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"81131d5179f8fd572be812fcf2b4d06ea9dce8ed86f0bae1b62a37520e5a56d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexResetCredits (cyclomatic 12, cognitive 14): normalizeCodexResetCredits has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31ee2459ff9168226472665d9813012e181c5f0f72a5483ee13c7c691fbcb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectAntigravityProcess (cyclomatic 12, cognitive 14): detectAntigravityProcess has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a2ffaad91a821e11ef3cf7df4ef43ed39fe834d166481e17d21f122574ba79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computePace (cyclomatic 12, cognitive 13): computePace has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/limit-pace.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33c6483784b130c53a1b063668dbaf64a71bb1507b6b63c5db5416a66c6a9fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelSpeedTierStandard (cyclomatic 12, cognitive 13): modelSpeedTierStandard has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b7619b023bd92d21c5698c788fbd009c34eb82c3d657b6e1dd49887371dfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e2d40d95c7d9bcde839c3db156d2062bdcaa61964a347c3109a509288d413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coldAcceptance (cyclomatic 12, cognitive 13): coldAcceptance has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/hosted-archive-acceptance.cjs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b9da664a42664155612dabc5e6696aabc4572785ec9ec041f106f813462073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFirstSyncTotals (cyclomatic 12, cognitive 13): readFirstSyncTotals has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27d145248241c9b1f50fbfa63f2b55f37011f9b9362f8c58c8a97ff44b92619"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatOmpHookRemoveLine (cyclomatic 12, cognitive 13): formatOmpHookRemoveLine has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/uninstall.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9800cd1c0012220a78de15927080c9ea1617fbffe7fae7af896dff8207cb297f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCursorStateSummary (cyclomatic 12, cognitive 13): readCursorStateSummary has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"725e9b87842117970fb9ff851306b6e51622d259dc8b8f94fe305b9c280537d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDeepseekBalanceResponse (cyclomatic 12, cognitive 13): normalizeDeepseekBalanceResponse has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-limits.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b06bd49fa6d72a5990535195d2d312dc08529dab512e50c27c6dc3e55137c66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOpencodeDbMessagesIncremental (cyclomatic 12, cognitive 13): readOpencodeDbMessagesIncremental has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5705}}}],"partialFingerprints":{"codehealthFindingId/v1":"247a2c9ae3b934d7a0e76de00c69bd313c6895f58067205a191c6c243707192a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySnapshot (cyclomatic 12, cognitive 13): querySnapshot has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-sqlite.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f540bb273cc1d29b8394bb2a9b2f9986650db2f18296a347e97da273fd7f3bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workbuddyCachedWindow (cyclomatic 12, cognitive 13): workbuddyCachedWindow has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b3f151b57b7acbead583ff2f37b502d6a59a78827ebe1b3da52ca51d2e6ee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toDisplayNumberWithOptions (cyclomatic 12, cognitive 12): toDisplayNumberWithOptions has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0617d9e734708d20902bcfa26171f495dfac37b441191bbf5ca23cced7fca5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocalDayKey (cyclomatic 12, cognitive 12): getLocalDayKey has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e98edfe7afc8fc51cc1f99301df4db90f17435c1326f9f3bb9353dc69bb34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocalDateParts (cyclomatic 12, cognitive 12): getLocalDateParts has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/timezone.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dde7ba9aa3a451540aee608da1e17bbf6b0cb17b36d902447cb5910f77564c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privatePath (cyclomatic 12, cognitive 12): privatePath has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pro-gift-codes.cjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0e48835f08bf535fc68f589f5b573311008c8d055560e77b61a67b04db2821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeStateRow (cyclomatic 12, cognitive 12): normalizeStateRow has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/account-usage-dedup.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"819d4ab34ac7e8b6a6fcae8d1319f9dc4311843f9b666d382550068bc3137c52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb560f7e13b080c0844520a930a517263c1ac9bd8de76fccb529e7f3d8be5581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeManagedThroughHandle (cyclomatic 12, cognitive 12): writeManagedThroughHandle has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e083ba6a01d0de44b425cc8ffff433826b015db487a94bc1e90aad8cc317cbb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchProviderServiceStatus (cyclomatic 12, cognitive 12): fetchProviderServiceStatus has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/provider-status.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"593d0e931bcfb89aea9ad95946edaf6f9da6babba28c73396636793a5d50290e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProxyPayload (cyclomatic 12, cognitive 12): parseProxyPayload has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-settings.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb00b6634660b267de16607cdef083ad75cdbc1cd1561f873d51bc3846361eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHermesIncremental (cyclomatic 12, cognitive 12): parseHermesIncremental has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8c85a4bdcf4be3fc5b66f383b548787f3518652fca63a6d52463851db66292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommandCodeHomes (cyclomatic 12, cognitive 12): resolveCommandCodeHomes has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25942}}}],"partialFingerprints":{"codehealthFindingId/v1":"198928bfa31b308f7a108a40f4c2b5d763ddccf202ce158721ee788df929a245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeModelUsageRow (cyclomatic 12, cognitive 12): serializeModelUsageRow has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8576e390995ca8c9f72881552224cefffc338f338e95a7e6ccdbd31efbb422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 12, cognitive 12): consume has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"305bc60f635ce6ecbf686ee39fc43d7ca521693c6d170b61f88eb9778f9b8656"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupWslUser (cyclomatic 12, cognitive 12): lookupWslUser has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/wsl-probe.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cdf695865cdcdd74b20ddce916bdbc0df6234e5ac6ad9e80fdc1938e4dc81e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Header (cyclomatic 12, cognitive 11): Header has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dfda14066791d534daefcc962f1466fd2c55a0e18581ce60073fadf20ab303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa81ebc54c4910cb14c59fa07dcbff60e12b47cb5f94ed7ae23a8c88086ddd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubscriptionBar (cyclomatic 12, cognitive 11): SubscriptionBar has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81eb509334a5be3f7a68f18f106e0cc5a30bd3287e434973740e15a3660f611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BotAnimated (cyclomatic 12, cognitive 11): BotAnimated has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f832d2b7bb7faef35fe0583b877cd0f2801689264f6f2b1aac3dd70412af3f61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLegacyInclusiveCodexRow (cyclomatic 12, cognitive 11): isLegacyInclusiveCodexRow has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"55284cedf8be5b4702bcd1ff64a0617f925d8611c5b65cacfdd6cb34d9971f90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-cloud-functions.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e7951e1efbba6d59acaee8127bff23d075a519351e4fc3d709bb61bf82178c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"59daa8c046e4a41307ee13226c5b0f71a5b1b7f54a5d2f73d06503ca18f79658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCursorPaths (cyclomatic 12, cognitive 11): resolveCursorPaths has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9acce242487de807b144a97c1d6e944b2495d8338e528e2090125c713114e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLegacyInclusiveCodexRow (cyclomatic 12, cognitive 11): isLegacyInclusiveCodexRow has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c886973e86c8082e62b49d07daa3af67e2f9c3303d1f32c061c1b566bb7bade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openclawUsageFingerprintMetadata (cyclomatic 12, cognitive 11): openclawUsageFingerprintMetadata has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f404ce78150e25f55e7de4eaacc985c031f105b53cdcade25408acce2eb568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findNearestCodexModel (cyclomatic 12, cognitive 11): findNearestCodexModel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae78f01ab4f5d8f6305cc01c7c5a665c5de5c84b701f68475a923fd3e7ec2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTraeEntitlementFromStorage (cyclomatic 12, cognitive 11): readTraeEntitlementFromStorage has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23953}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55f07a4071b6efd985c9ca20134aa81ad68b59e2c1bcf0dd29a5b66f61e3c53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTraeCnState (cyclomatic 12, cognitive 11): normalizeTraeCnState has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24010}}}],"partialFingerprints":{"codehealthFindingId/v1":"95640e187fba58af45da61efb64ab0a1cb17e21ad0be986829bc264c4213b4e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCommandCodeLine (cyclomatic 12, cognitive 11): extractCommandCodeLine has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":26096}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adac9711c38ae469396380bbdff86f177b8a48a5d85d2e8bb75bd30b71c6478"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMacosKeychainPassword (cyclomatic 12, cognitive 11): readMacosKeychainPassword has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab47fa34433e50470a5778329cdb7b3bc162406269bfcdee0e52274592fd2fdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAntigravityKeychainRaw (cyclomatic 12, cognitive 11): readAntigravityKeychainRaw has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3719}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce24d4d782f6c681fd6a43b171f08b12aaa44e8ba19df941a37ac72d57d88ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeResetAt (cyclomatic 12, cognitive 11): normalizeResetAt has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5b2b4de186ab2af56b41c2ad7d1373e0d8aaf00dd13202c3697a9cfd2dcd35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshUsage (cyclomatic 12, cognitive 10): refreshUsage has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"40962cbaac13f2d1a3af3fdaefd01e41b81302d17c3a5a8b6a65c27df781ccf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatBucketRange (cyclomatic 12, cognitive 10): formatBucketRange has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/trend-stats.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7513dfaa76182ae1c17bf09ea0200c9f700a4bc14985180dfb4b8fe7ce91d770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDot (cyclomatic 12, cognitive 10): AgentDot has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5da4db7a69d09f128c9d12cca7502c66c8fb2757144a2fac9898a2d9e1873e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataDetails (cyclomatic 12, cognitive 10): DataDetails has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/DataDetails.jsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c33d22a0c907b62e046cc1033b8eb939c6df42bd09add0d88262dd297ccbef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/gifts.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9a0a7f6ff73235c290b93c892597f75da90cde045233f32a57e1b9ac32d882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreNotify (cyclomatic 12, cognitive 10): restoreNotify has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c188b7e2e67404e56c2284d4e64a29bcf5cfcb0170f92db7fd8e1f464652714e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferGrokPeriodTypeFromDates (cyclomatic 12, cognitive 10): inferGrokPeriodTypeFromDates has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd30b8cd7a96c0a79b7b9cfa16156654ddce856347470358b626d9152b6c5a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readField (cyclomatic 12, cognitive 10): readField has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a3a98b961216dd74d22e6b5ec0e4be7ec59e04715c9f23ca0e04ef9b264365"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderActivityResponse (cyclomatic 12, cognitive 10): normalizeQoderActivityResponse has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bfc463eb749c85bb9119c21fd62977edb1dbf06ee8a9600c9e8ac3ca16b7df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQoderActivityHeaders (cyclomatic 12, cognitive 10): buildQoderActivityHeaders has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2cbd5296fc8da5b56db291574a6efd1b18421c4190e1a49eaf57778a427d1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zcodeDbHasContent (cyclomatic 12, cognitive 10): zcodeDbHasContent has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6078}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c40f40fd77a5f1644e00dc7b0b53f6e1a60568e3c35beb04c69e7f24ab6388a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQoderDbPaths (cyclomatic 12, cognitive 10): resolveQoderDbPaths has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6601}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9accd1b243687e239ec6b3bbb5adba28ff8ea0860b8112a2bc485ed7dfb1eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTraeCnStoredContribution (cyclomatic 12, cognitive 10): validateTraeCnStoredContribution has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24069}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a7d52e98c2f12627e61397beaf11f9e02d4e533a2ac882bc6936b073654a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initSentry (cyclomatic 12, cognitive 10): initSentry has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sentry.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f68dd515ee6d01cb7b1772230b2ed8a31f73e2ce92b3a5c6867eab2309d772a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAlipayNotification (cyclomatic 12, cognitive 9): normalizeAlipayNotification has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/alipay.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"84782c0a7bf25c25212fe8e300fba0c971c14ac2ccbfb09088800dc3829a6371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickAvatarUrl (cyclomatic 12, cognitive 9): pickAvatarUrl has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/InsforgeUserHeaderControls.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ae3b06db38f3cc66eed4213e752e37d1bff69cf9203aa62ffc2c382f2691f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-usage-export.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d64b2c30d2eafc18c6f8f006cd18b700c277bc59ba676b03ea61bdc9b6bc3c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b2ce88cad2f4e462d30270718c4064d599707ff0e4d9ebe0c1fd99bf75ad61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 12, cognitive 9): check has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-waffo-cloud.cjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c34458063aceb36942b0cac9f6fa00ebb6afa7e92d1f2fb26eaa47175f59277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeField (cyclomatic 12, cognitive 9): writeField has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"711038052c6a35f52ece0677eec2bf899ae5f406e5164fe58d2f22382358ee0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qoderNewMessageKey (cyclomatic 12, cognitive 9): qoderNewMessageKey has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":7107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5733aa4fc7f1131149f9345e5008a8e560e2dbff204ddff6b29ebb5884d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flushTurn (cyclomatic 12, cognitive 9): flushTurn has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b38e99e7588cfd02627256e2605bc48650fa9befb680448f19004a95bf6ef4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lmstudioRecordFromSlices (cyclomatic 12, cognitive 9): lmstudioRecordFromSlices has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14064}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c57f05530693e9596282b83590b9d12cbdafbe76811741f032b6fc25517f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCursorSandUsageStatus (cyclomatic 12, cognitive 9): normalizeCursorSandUsageStatus has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2444d8ace437c558bc4abdb167442e21255a1e059dd9d74d6aaf5809232d8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractZcodeBalanceLogRecord (cyclomatic 12, cognitive 9): extractZcodeBalanceLogRecord has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e024e10ba0d88143af09f79f6cc7c3f2b1a3c5375835e63c7f29b454437fb9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listInstalledSkills (cyclomatic 11, cognitive 28): listInstalledSkills has cyclomatic complexity 11 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b016a6e867a1e45b155d004dfb667e5fbc0524896439cf183931b3cc018192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 11, cognitive 24): parseCsv has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece0ffa519874e8a69fe6fc9664acdb294dec584ed44c0d43292b8cacbf1c54b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 11, cognitive 24): parseCsv has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-sync.cjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff1eb936895b3a1c8856e42722efb1ba4789f98ef6d47ad9a08a2e72580fa1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 11, cognitive 24): parseCsv has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-copy-registry.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a033fcbd8e244cef4865425229673e709cb134bce867ec6264183896ea78d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDshSessionFiles (cyclomatic 11, cognitive 24): resolveDshSessionFiles has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6de7bd3d8815fbbe55f25d80d29ad1585bf9d17c620e60043b69e8c49df102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 22): (anonymous) has cyclomatic complexity 11 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97ebea0d6ec8b9211bead80effb6d031c1d3f4e2585e400bf865b1f518ac37a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 11, cognitive 22): parseCsv has cyclomatic complexity 11 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/landing-screenshot.test.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"840a9961c8b6ff284e8c88f10c51ad508d23ab8105237999493212819813bf0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 21): parseArgs has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/run-acceptance.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad853028ac5f8074bed423b3e2b909fe6240366cc0c4089e82ab72cc3020bf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 11, cognitive 21): parseCsv has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-locale-coverage.cjs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e92cd5a6ba13f6242723e52daa7a364a7da6e1712fe7319aa2bb8f593d0f93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streak (cyclomatic 11, cognitive 20): streak has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a91e5140f0c16be4bc6101f35fdb051e7f6f694ca0e4c4727f2ab3b55806cba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchClaudeUsageLimits (cyclomatic 11, cognitive 19): fetchClaudeUsageLimits has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f3fe702ca58aab3908695f9275b87656349a7ba78f9d3a15bbb2b418ce85b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeCycles (cyclomatic 11, cognitive 18): computeCycles has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ops/pr-retro.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa83b384457e6d113045269299643491763c1481b1b8805c21d54c2fc4cbb2bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverGrokSessionFiles (cyclomatic 11, cognitive 18): discoverGrokSessionFiles has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea80c5f996812e6dd779f590f75199c3aa5e94c3b7accc22310384485184d4b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownRows (cyclomatic 11, cognitive 17): ownRows has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d217eecab10f917c7e4f661a4d2fe1a492bb3b82174aefbe5f8b40ab89e76294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseString (cyclomatic 11, cognitive 17): parseString has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":25205}}}],"partialFingerprints":{"codehealthFindingId/v1":"731b2464d814bd8befe1d57b29f64a91fce64c83dbdc988bb71e281a16c1bf3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionBrowserFacets (cyclomatic 11, cognitive 17): buildSessionBrowserFacets has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a369f6ef8c9f4f18972605bac17a2b5d3f3c6869e42c326c329d137c7734008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 11, cognitive 17): finish has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba015b84fecfb3a4950a189aa3b4da28498e27895faac047e9632211776c5ab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"698271f755048658e055c9b55e47dde4792eabedecc1ce659f0a18f35cf2dab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timestampToIso (cyclomatic 11, cognitive 16): timestampToIso has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8705daa916596b2a3f20e11aed3333345cdebec5a2d74cd7b4ae639c1c15e963"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lmstudioBalancedObjectEnd (cyclomatic 11, cognitive 16): lmstudioBalancedObjectEnd has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13900}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e47ac69378d60fe63a9595218d930224301c64d5da77fb9dfd86ff32a2d99e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractDroidModelFromSidecarJsonl (cyclomatic 11, cognitive 16): extractDroidModelFromSidecarJsonl has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0f333afc4fd837d5f43956304d877b4b4d33e2d53cea996eb3befb5270f481"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGrokBuildSessions (cyclomatic 11, cognitive 16): resolveGrokBuildSessions has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bdac56cb4fa6a94b806c17e7e4c0e415ed2a77ff0836bbd5fd2784bee41757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokTimestampToIso (cyclomatic 11, cognitive 16): grokTimestampToIso has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8637c0adcde81fbfab3a524cafeb42a1d48b715809c303748cf34087231cb554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeAntigravityVarint (cyclomatic 11, cognitive 16): decodeAntigravityVarint has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23081}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b160dc78342fcf6fffa449492c099f77dc6d4108dd557c295c07dd7bd36d40c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAntigravityQuotaSummaryJson (cyclomatic 11, cognitive 16): fetchAntigravityQuotaSummaryJson has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"f003701710c94496e2f5894bae7ada2000774df6839ca253584a28cf4e44ee12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokProductSegments (cyclomatic 11, cognitive 15): grokProductSegments has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c63a2b9f7f30d21435ecc1bc8ee6af0637d0d2e59806c810f6d236445745e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listenOnAvailablePort (cyclomatic 11, cognitive 15): listenOnAvailablePort has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72548ab96e4f00ad6baf6501482d0d422fc1dbf786eabf60aa873297f725530"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOutcomesData (cyclomatic 11, cognitive 15): readOutcomesData has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2ff78057a9ee476089f78314e1adc60e6da7567b50b6aca87dacef14575e89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOpencodeFingerprintIndex (cyclomatic 11, cognitive 15): buildOpencodeFingerprintIndex has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":4289}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4188e768cd3eed29a57dc08c8e622351625543cf965c16824aa77bcddc7b59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneCopilotUsageClaims (cyclomatic 11, cognitive 15): pruneCopilotUsageClaims has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":19041}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0c20926a3b69892869bd10d1417cf3f3b323bdc41af7bd4fa2951e7edd48ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeScanRootsConfig (cyclomatic 11, cognitive 15): normalizeScanRootsConfig has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/scan-roots.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c932914e8bf4d20cf3932af5d3cb5c16fdf8cbd9ecdd113700428d54a5d88e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 11, cognitive 15): walk has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b32841a895be1ca714edc031443d2bcc28a8e63a0a5e0ccab6da8c68184a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function targetSkillPath (cyclomatic 11, cognitive 15): targetSkillPath has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c15710a368bfc08d159a8fbc5fabe288284098b4e1e5710e309705784d554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/tracker.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5876b221a6671dc3ef759bb1352d623aa43576d9215f8d8499e557e7430f718"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasUsageValue (cyclomatic 11, cognitive 14): hasUsageValue has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6740e754331bbd73374b5d84011a5e411c9a88840807ffd12e8340fba064a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePortFree (cyclomatic 11, cognitive 14): ensurePortFree has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c116530a77c0f6fbcbbd6d84ac2af4722887509fda97d50feecebbab1e01782"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hostDiscoveryIncomplete (cyclomatic 11, cognitive 14): hostDiscoveryIncomplete has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"91358cee6090c40f8987ce4af3e6fc9525352ceef7813e676ac5dfc2e99b01eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function multiInstallParse (cyclomatic 11, cognitive 14): multiInstallParse has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/multi-install-parser.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f386de2306d0f1cbff16214036e18293c2a13e4e0e699425337b6601157b9c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQoderProjectsDir (cyclomatic 11, cognitive 14): resolveQoderProjectsDir has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6959}}}],"partialFingerprints":{"codehealthFindingId/v1":"12445c9029ac3b03da274a453cf999746da66e35ca806ede212510808f6231df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQoderCnProjectsDir (cyclomatic 11, cognitive 14): resolveQoderCnProjectsDir has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6978}}}],"partialFingerprints":{"codehealthFindingId/v1":"857b6067e0aa3be2565ba52979bfe0bf3f5a027a5eb6b2f125e5439e8955e28d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickGrokModel (cyclomatic 11, cognitive 14): pickGrokModel has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0911bb6c206ed9b6a483f55d8f67d082b1ff420f7f6d762c8f3ecdd778fbe05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSsListeningPorts (cyclomatic 11, cognitive 14): parseSsListeningPorts has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"27054826ec87b126b7649b00cad9bcdeb062aae35867a6cb1c4ab701078befff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allowed (cyclomatic 11, cognitive 13): allowed has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-server.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70f08c751679c8bfbb89a26e24e9c92deb1ac38dd4890110491c7824b216c74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-paddle-webhook.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66c88735be8dc4560adf280884359ac02014e76d18e01a543a63a5aad024c51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeActiveStreakDays (cyclomatic 11, cognitive 13): computeActiveStreakDays has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/activity-heatmap.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6116a6df2123eb9ca63bac296f07c855b57183e5ffe526ff6d1778f575d0793b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAccountFunction (cyclomatic 11, cognitive 13): fetchAccountFunction has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2347d7bf2dc0aedcc10c59a948af3c8e7f188cfef3dec1c99ad2c201a9cecfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"2508f48331725e484e961aed8c09b3de7f871052e7f7d3ad432a2276d3faa2ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kiroCliV2UsageCredits (cyclomatic 11, cognitive 13): kiroCliV2UsageCredits has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9163}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a3706e3d516292f6db80925572ddc13e9ed45ec1beceb343e3c721165b1a2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseReasonixIncremental (cyclomatic 11, cognitive 13): parseReasonixIncremental has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":18313}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe7cbdb8166ca753483d8eb730516a9bb5372add9f5a1025a7549f4fe4313c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dshContributionsCoverPrior (cyclomatic 11, cognitive 13): dshContributionsCoverPrior has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":24916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ecf792588f5d5d4b2168e3ceb7ac96c701144153bf58b2b94550f2635c8d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTraeCnStoragePath (cyclomatic 11, cognitive 13): resolveTraeCnStoragePath has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3cd45b368d8c7411ff08f79493f4edb2480735eedd75df4a689efc41dcd13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/InsforgeAuthContext.jsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c4b213168aa48a414493c4bb9839698689d0227b95329b52aad34273c2c86c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutHiddenProviders (cyclomatic 11, cognitive 12): withoutHiddenProviders has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-limits.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3140d92209217a422cebdf2a8aee55e5d3cf05dbe869cf24bae19d5ce9ee902c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudOrderState (cyclomatic 11, cognitive 12): cloudOrderState has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-checkout.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"862a3bb43349a55f1d388ed1349d4379a66b226a015a840088e39f7135d32325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatProviderDisplayName (cyclomatic 11, cognitive 12): formatProviderDisplayName has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/provider-display.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee464bf516cdddc338ba9390f87864ae623e441661d6285359c74cabb3196a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 12): run has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pro-gift-codes.cjs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e30344bd87103ccb31c8fba8ea4c2dab8175d8ca3777107075506abfd38875"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 12): parseArgs has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/device-login.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6a703177518b023897066059ece9acde97be5c083206ba186819208192f3e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateCursorUnknownBuckets (cyclomatic 11, cognitive 12): migrateCursorUnknownBuckets has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5766}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ceffd722ed60c10a314752c63dfc5ad92b2dc91725af7a5fda2a8460e28c98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeResetAt (cyclomatic 11, cognitive 12): normalizeResetAt has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac37c0b5095646ffc2ce87a348506ae253cf330755d9f5ba36f75dffeb5e714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveMigrationSeedKeys (cyclomatic 11, cognitive 12): resolveMigrationSeedKeys has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/multi-install-parser.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"823d6dc2578baafd214400a6c23c3c90863a4df33ad1d7777d714fd99e181e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readUnslothRowsPaged (cyclomatic 11, cognitive 12): readUnslothRowsPaged has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":14771}}}],"partialFingerprints":{"codehealthFindingId/v1":"4031318558cac26676bfa59465d29c245518b3de2393625ad5e1f821015aceaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityDate (cyclomatic 11, cognitive 12): parseAntigravityDate has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3423}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a5e1af7290c24033dfe4999f0ea5eb3b7898c9f0994292b99c7106f3d6149e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityUnavailableResult (cyclomatic 11, cognitive 12): antigravityUnavailableResult has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":4116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705bc97403c0826d72f75195d5437b6f9665898e1de956f87f25f36c9e3f00f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchZcodeCodingPlanQuota (cyclomatic 11, cognitive 12): fetchZcodeCodingPlanQuota has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"5556626e11f7f9f9af5ff492814a52fc99de98b6637912d2cb78bd71c4efe19b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sumAccountSources (cyclomatic 11, cognitive 11): sumAccountSources has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-devices.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ff5682a6345b21ec7a5ae0add911d80e4d03415fc18ef216d97c772ce2bb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSpeedTiers (cyclomatic 11, cognitive 11): extractSpeedTiers has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94744715523019527cdeda0a8e15663c897015e2f57d318138dd17d7b9837fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubEvent (cyclomatic 11, cognitive 11): scrubEvent has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffc6483561b3ca45265c6d25673423f209d3c4014547fa252a859f0bff3ebe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAndStart (cyclomatic 11, cognitive 11): resolveAndStart has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c52c630cc8e4f1caccc9d043af9c64e1e68a28fd22e81abcd8b2094dc92a449"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004c178e83130431f206a631f54c668cabde56eb61baf03bdf1a54be1e34cf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LimitsPage.jsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f579d95498a1859e912289d71e30dd742716def20613e9479da941bbc160419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInstatusSummary (cyclomatic 11, cognitive 11): parseInstatusSummary has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/ServiceStatusPage.jsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ea208eea4eeae257af00db7c53206d16aa312d06223723fa4ad41c3962766f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function animate (cyclomatic 11, cognitive 11): animate has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"61375f310d92bdcc06af56fbcc14fbbb7364815bc06e96dd57553b9375d891f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordExecCommandUsage (cyclomatic 11, cognitive 11): recordExecCommandUsage has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cde128d8f6c06a9ed8952e6cc7ed86f7522c983bab7d51bb1af347e603e288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mintAccessToken (cyclomatic 11, cognitive 11): mintAccessToken has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7ab28d4a23ae8ba0a30091e3a39ceb1dc6e549e04e515facc24f02b8086323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function protoTimestampToIso (cyclomatic 11, cognitive 11): protoTimestampToIso has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"162e20707e39a21367e6a42bdc0ac59e6dae3a7fddb9cc7bad7d6e8acb17e18d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCopilotAppTimestamp (cyclomatic 11, cognitive 11): parseCopilotAppTimestamp has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20889}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d30905d66cd86fac8d15c69b0c286302ca4323f96420db8024d52864115d354"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubEvent (cyclomatic 11, cognitive 11): scrubEvent has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sentry.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4955eb0b000b418fda4cb4ba3ee4f99e1f2fcaebe4b4db610ff9e6d3ae9ec552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTraeCnAuthFromStorage (cyclomatic 11, cognitive 11): readTraeCnAuthFromStorage has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"067de3f9966619427241c20002454a27f06d143d22778d2050f2f7dab96f1f7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traeTimestamp (cyclomatic 11, cognitive 11): traeTimestamp has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-usage.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"41568609369d812334d04759949311999fec733b91b54abafc7930ae9845e1c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHermesDb (cyclomatic 11, cognitive 11): createHermesDb has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/rollout-parser.test.js"},"region":{"startLine":6250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab865f3267daebe86fd144360f99c132cfbcec88c5b81dc98ed3f155300fb083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageHero (cyclomatic 11, cognitive 10): PageHero has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7b112a20868b62565d6b8d97badead83aadbb194f82496390e63b27f772de6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/useAccountProfileSettings.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d46495229f30e20df7fa552a0b381b61f00d1e2ca9f9c3b1d7bc66b38178f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-project-usage-summary.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa84c542af59aa4770336f576c72d7289f2ede8d941c1b92432a240ec0caeda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useTrendData (cyclomatic 11, cognitive 10): useTrendData has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5954fbcb887bf67a08b3d668bfe2b4af16e7912ac389fc7cd083e0b5dcab42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudDeadlinePromptDecision (cyclomatic 11, cognitive 10): cloudDeadlinePromptDecision has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19e8503484a534d68ec605a84cef4f7777acd25c8ea4e09c130e2bdce826b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function make (cyclomatic 11, cognitive 10): make has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bf3d69eac6b4ab4ade7722f6b773a0c23680b6f6f544e0843d674070cd4b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"47880926ef77318d694f8ef336a0200761869077c6957caab2cc51c0f964f495"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c63bccd0028379fd535fec797c89abe751d986fe91520cac7ef95576485a0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"658600d50b42095023511d467d72fb7fe316bba14676810a41b8ccde82e8f3aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 11, cognitive 10): onKey has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad223098b1cc45bf6e4c762887f5b01c21f74ab8abddc3d5522c69a3a4dbda3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SessionDetailModal.jsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"97171107718d4aaa57f83bd6694fed7f6c8401734e29225aed261c7630b36d14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderForm (cyclomatic 11, cognitive 10): renderForm has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3576bb2d14648fb4dc491462988726fbb468ddb44d063e08662975575df4a349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFunctions (cyclomatic 11, cognitive 10): buildFunctions has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/self-host/build-functions.cjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77117e16c44c8c0e8d83f4ede89650e683a207a0e0da175f11751efcdb1607c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dayKeyToIsoBounds (cyclomatic 11, cognitive 10): dayKeyToIsoBounds has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"709b4b9dab30a62c18e0b87e02317c37e4d6c0124d900177026ad983f199d0cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeClaudeCategoryBreakdown (cyclomatic 11, cognitive 10): computeClaudeCategoryBreakdown has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b080826dd441aaa25ebdc47ccf315a744bd05f0065b77184f0cb82d5a7097f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dayKeyToIsoBounds (cyclomatic 11, cognitive 10): dayKeyToIsoBounds has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb72b8b1e91b225307c1a25d919f37f43b312ff0cb38859efc6d4b672fd732b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function outputSizeBucket (cyclomatic 11, cognitive 10): outputSizeBucket has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf416a5687e5cf742ef7d6ba2c2129d511b0894bf41873ebfa87b87b3cba944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDevinUsageRow (cyclomatic 11, cognitive 10): normalizeDevinUsageRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-usage.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57695a949eb1dfeb475122f9a792eb95b1d6924830df9ae95b2af8596e8a0b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dayKeyToIsoBounds (cyclomatic 11, cognitive 10): dayKeyToIsoBounds has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"75847d30551d504870d030505fb9ca29780a6531146a2e70cbe3b55342a5b3bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQueueRow (cyclomatic 11, cognitive 10): normalizeQueueRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0da9f7850e7edd0528c64e73d8c4b5f9cc0e28c23a1984a4f708702cf5a772c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyIdentity (cyclomatic 11, cognitive 10): notifyIdentity has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notify-command.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2973c1c493064e02c15aea26fcac26bdacc6bc342bde69dbfa317faf6fd751ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveClineSessionsDirs (cyclomatic 11, cognitive 10): resolveClineSessionsDirs has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":13037}}}],"partialFingerprints":{"codehealthFindingId/v1":"10284bbeb5e44c4796804d36b0c5300d13ab552311569012cbe875a458f7b69e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSession (cyclomatic 11, cognitive 10): makeSession has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/grok-parser.test.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5a26c6306afeb60e7aaa38209919ef6e2ce47a12b9d46f7a4653ad07fa5452"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 10): main has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/windows-dual-install-test.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfbcbc70f67117425e509a11a69675e140d4ff0c8c85d37ffacc43feaf3cf20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertOrder (cyclomatic 11, cognitive 9): assertOrder has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ce9b4da937354f0bd6c3e517fbab69c789f2c7a5e0e407f0e5db45021c096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelWaffoSubscription (cyclomatic 11, cognitive 9): cancelWaffoSubscription has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5386d5c4bca760068b0f5ec7ee14486a9c3b3db2f255e7742139fd145fb01d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wechatRequest (cyclomatic 11, cognitive 9): wechatRequest has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/wechat.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b32efd01c9b92d4ccbe95c858270820769c28aacaa3ba613d034bd5646a806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommunityStatsModalContent (cyclomatic 11, cognitive 9): CommunityStatsModalContent has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ad096982b44edb680fe7a27826f7c26972627039cca32562fe6f1581b40671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quotaPeriodLabel (cyclomatic 11, cognitive 9): quotaPeriodLabel has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/desktop-quota.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9341e1647af455f36a8ee68a56f0f4d8412aa612e6d0bc47127a5ca308c0c9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeWriteClipboardImage (cyclomatic 11, cognitive 9): safeWriteClipboardImage has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/safe-browser.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2db0e99e8562a1f0e6559bc34e744a661ca10531e162f1a1a5f96d4ee572e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QualityPerDollarCard (cyclomatic 11, cognitive 9): QualityPerDollarCard has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/QualityPerDollarCard.jsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0051ee00466a97ea3f381beded0e84ab777ac6610e8200aa0d330f12d6a0f981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"b868beef0e1b5596555e61b62ed20f90b38e52d13be57596deb8051a8c66785e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function userFromRefreshPayload (cyclomatic 11, cognitive 9): userFromRefreshPayload has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4405c58ce95fb1dffb7a24410a048fb0f9293ee4fc85c47939cfc3d59b03272"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeResetMs (cyclomatic 11, cognitive 9): normalizeResetMs has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/devin-limits.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c074bd7a24b8a38867b9f40e20e1db1c0d9f4a1e600e5fbbb81516e654895f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function speedTierCost (cyclomatic 11, cognitive 9): speedTierCost has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"372db24ac11128199c9864b5faa493f96e7f1d132f65108a4b416ae4d84c4e33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQoderUsageResponse (cyclomatic 11, cognitive 9): normalizeQoderUsageResponse has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb0c694b3c69d747bdeaf6c6dad1cf5a39f73acf8b3276f3985166fab36d74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDevinDbPath (cyclomatic 11, cognitive 9): resolveDevinDbPath has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":15362}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d50a93631292888062ce7a11612159b2f21d7f39a8bc5035e9c5398ad0535e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCopilotDbPath (cyclomatic 11, cognitive 9): normalizeCopilotDbPath has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":20697}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd96f85ef80e137c5db45f813a9c0c3f46888d4ca73388173aa62fb783bd8484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeUsage (cyclomatic 11, cognitive 9): consumeUsage has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-performance.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ffed5b7be509cf19f19ef70098f700bfbdb7f8258cb5f78c0a6aedc9ace6e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMacosKeychainGenericPassword (cyclomatic 11, cognitive 9): readMacosKeychainGenericPassword has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f408928b65a18c6cbb9a68027f7d62d24f96c52e1958ae810f2bb0eab793b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resourceWindow (cyclomatic 11, cognitive 9): resourceWindow has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b4d1c6575672f4b7dcdc6c5e854868edf4832fd908a6286b2246f6ca52c1cf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/commands/sync.js: 7541 lines of code: src/commands/sync.js has 7541 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"606161da8bbae959b359c5763aa235cc340915b695a6220663f4c1343f494718"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/usage-limits.js: 5042 lines of code: src/lib/usage-limits.js has 5042 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954a4aa7577ad364c1bc6f2bb99bf857e0018982d4a8ac455fd36db31d6aee37"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/local-api.js: 3949 lines of code: src/lib/local-api.js has 3949 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"384661ba12ae715dbf75f37868465d5fb66cc46a4c84bb32988c896f27056d0a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/session-analytics.js: 3236 lines of code: src/lib/session-analytics.js has 3236 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-analytics.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b85c40bab466288a499284c2a4ee04543ed4df2c82fb8085b51d1817a4cc73"}},{"ruleId":"R3","level":"warning","message":{"text":"src/commands/init.js: 2286 lines of code: src/commands/init.js has 2286 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff9f0f24dc3c765d67b3289889cb8a9c18ba0a7ad28604b73a8e3c1512c23df"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/SkillsPage.jsx: 1827 lines of code: dashboard/src/pages/SkillsPage.jsx has 1827 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SkillsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5f741344f2b3aca1ee053c35028ac8afc0e55f068a21a10a24e5a50ccd571e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/cursor-store.js: 1773 lines of code: src/lib/cursor-store.js has 1773 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"609ed71d7c7201078e4b101586b0817aa7b226fb634306b6662404d64367a88e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/commands/status.js: 1702 lines of code: src/commands/status.js has 1702 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241bfee90f7104759750a9b799ebfe6e5ce85d170be7bce651f4c53c3da22803"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx: 1665 lines of code: dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx has 1665 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageLimitsPanel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"867dcfd121605ff64549257c5b520d81fdd5013658f6d5c00752822723953a63"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts: 1534 lines of code: dashboard/edge-patches/tokentracker-leaderboard-refresh.ts has 1534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93b922fb949777a1aea1f5d3d5175a0d3fda013e1e2791ec0ee0b83eece2e3c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/zcode-limits.js: 1502 lines of code: src/lib/zcode-limits.js has 1502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe23de780bfc48b3241d8bbc1f795a4757b507736ccd4d5c2d5a6585d21881c"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/DashboardPage.jsx: 1466 lines of code: dashboard/src/pages/DashboardPage.jsx has 1466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2656f4ba1bc1ae18553aa1f248c60dec897a9d9916b9057aa2778f2d88490778"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/skills-manager.js: 1466 lines of code: src/lib/skills-manager.js has 1466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e7b10afd10c95e3c9a167dac7554903e23cc7d964f325fd30bb2085f453fbb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/codex-rollout-parser.js: 1419 lines of code: src/lib/codex-rollout-parser.js has 1419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f154908ce28e0cfadee1e83ae22115ea8a54ee3e2544ac17845a858b601d70"}},{"ruleId":"R3","level":"warning","message":{"text":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js: 1298 lines of code: TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js has 1298 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ce988a82e414268e751b2f635ccb6bc3a413dd311a8dd6951aaccc5d68ff44"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/IpCheckPage.jsx: 1247 lines of code: dashboard/src/pages/IpCheckPage.jsx has 1247 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dedf8bac702ed7dac27df0818c80c9295d8a6b91d9b8d0d743dca4f26949e5c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/claude-categorizer.js: 1238 lines of code: src/lib/claude-categorizer.js has 1238 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceee982713e60b121ad08283a97ea27cbe649b29a49cc7b926faf8aa7b2e7cd"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-embed-svg.ts: 1187 lines of code: dashboard/edge-patches/tokentracker-embed-svg.ts has 1187 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce581ece13cb36d7735138a003fbddb24044adb784a1c96a84ff370ebf82904"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts: 1177 lines of code: dashboard/edge-patches/tokentracker-leaderboard-profile.ts has 1177 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5715af7c05382068169a08e75b1dc14e17b4f63c02bc13cbc0a58af20363f6"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/LeaderboardPage.jsx: 1176 lines of code: dashboard/src/pages/LeaderboardPage.jsx has 1176 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/LeaderboardPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a952d21cf7ba5c9d644d21cf496c76f755a09c2a2133c20ca56c56dfadc7d"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/mock-data.ts: 1150 lines of code: dashboard/src/lib/mock-data.ts has 1150 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/mock-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f90b212d1fab4a5a192ab09e116c50888845232469ce3cfbd7abd8a79e100"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/api.ts: 1079 lines of code: dashboard/src/lib/api.ts has 1079 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaae0c37295b1325cff53f06eb6254782f393e550ef84359866738a2f9861a29"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/UsageOverview.jsx: 1072 lines of code: dashboard/src/ui/dashboard/components/UsageOverview.jsx has 1072 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8e2d5a55e7ca9412cfa9c5d2314ad74f689e0a0aea02f605b0be26a09127aa"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts: 1071 lines of code: dashboard/edge-patches/tokentracker-account-model-breakdown.ts has 1071 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb8436339c3a6331e0cbd622c5b9b926669938bf1ec955628224d58699e89db"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-account-summary.ts: 1053 lines of code: dashboard/edge-patches/tokentracker-account-summary.ts has 1053 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66deda023abcef8e709d295cee2b8fb8f3bb3e9c4c6c6792c18ec42ae59b1ba6"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx: 1008 lines of code: dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx has 1008 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65c430b303e2d38dd6bc2aff57cf379380294db189cb18f28ea6ed14dab1277"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/qoder-limits.js: 1008 lines of code: src/lib/qoder-limits.js has 1008 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad44bccbfce150f522c2497b0b481d81e0e70b84f106a6382a745ef4233d0bb"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-account-daily.ts: 1002 lines of code: dashboard/edge-patches/tokentracker-account-daily.ts has 1002 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb57491e2b35ef675bf28452ca11fa58bedd6eeb5f46f694d5303c5408327655"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pet.jsx: 976 lines of code: dashboard/src/pet.jsx has 976 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5145ac467065fdf344fd2ff567abc4ea968cbee16808f50e7d3c224c218694ad"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx: 941 lines of code: dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx has 941 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c8d158341a9a6f93d07142733a7b730aaca2a24cf68bd305ece81de4b4e0af"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/SessionsPage.jsx: 899 lines of code: dashboard/src/pages/SessionsPage.jsx has 899 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/SessionsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99769bfbf3b1525701e259df3752b116b7492b1a314f2478910889e6cf7caceb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/workbuddy-limits.js: 868 lines of code: src/lib/workbuddy-limits.js has 868 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd763005be32b36f06b4865395b2a23baa0b01381a2091b29a735aaf83debac"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/hooks/use-trend-data.ts: 866 lines of code: dashboard/src/hooks/use-trend-data.ts has 866 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ad8c85ad9f28ddee2d71402c4b6bca3e35828bdacb3d93bc649d757821676f"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/CloudCheckoutPage.jsx: 859 lines of code: dashboard/src/pages/CloudCheckoutPage.jsx has 859 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7d9b717a44b9d14c534029dffe62705a98e4d02053a212b5d93e22d1696046"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx: 844 lines of code: dashboard/src/ui/dashboard/components/TrendMonitor.jsx has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitor.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdefad64f231e1c672ba371d96423a73cde7640185eefc2eee3999083e91e1a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/grok-limits.js: 833 lines of code: src/lib/grok-limits.js has 833 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d8409eca84c56abc07370197b56d95e4f9aa2e4a908da20af3ff2e5ebcac41"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/grok-context-breakdown.js: 816 lines of code: src/lib/grok-context-breakdown.js has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00287a52c27d410aaf9f8e5bb27c1caa3607d2f1244660f160e6051d3ee1bb90"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/components/cloud/CloudMembershipCard.jsx: 754 lines of code: dashboard/src/components/cloud/CloudMembershipCard.jsx has 754 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c034be4c9db3345678f6471e505b99ced763077b1f4a3006575a119a5e858f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/codex-context-breakdown.js: 754 lines of code: src/lib/codex-context-breakdown.js has 754 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-context-breakdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d47bdc6c83d7d121f9c1a6f1543c10e7f02521dfdae134f5d1a882d5c6c82"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/opencode-go-limits.js: 752 lines of code: src/lib/opencode-go-limits.js has 752 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc3614ecb6e7712201c189c7662eba22f1d7080f78a1799dffc2f687c1f5662"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx: 747 lines of code: dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx has 747 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/LeaderboardProfileModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c884688b65a713f62bf684909fd6d76b25ae30be986ac9e3c3fca2cce0533f6"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx: 733 lines of code: dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx has 733 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c017070368f9ca65c6112845d3b468281bbd37bf8d6c78326e578f57b42f482"}},{"ruleId":"R3","level":"warning","message":{"text":"src/commands/serve.js: 728 lines of code: src/commands/serve.js has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36249affca0d7e41288ab94bcc86675eb9fce8ec1bc9a4b04947241bebab8c0d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/pet-packages.js: 683 lines of code: src/lib/pet-packages.js has 683 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ed1976cbbf18c83f3a8d946f16ae5e8e2f8543f30c6299b64e829beb7648de"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/pi-session.js: 648 lines of code: src/lib/pi-session.js has 648 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pi-session.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5581382ab22bfa5d7b41eaf1077db6a6aa85d8f9cfb25f55ca8d09df380dc3"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/cloud/waffo.ts: 647 lines of code: dashboard/edge-patches/cloud/waffo.ts has 647 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919595bdc4b564fcd49aa2eb99899e7f089609017bc38824431a4fc946894200"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/components/LoginCard.jsx: 645 lines of code: dashboard/src/components/LoginCard.jsx has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LoginCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83634a6551ed5de3bf22621527581ed637d60be7b52ac267d8f0a8a52fdb62ad"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/pet-quips.js: 645 lines of code: dashboard/src/lib/pet-quips.js has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c76a98e555ac8dec45f6b40dea1594f7d38991e13454b21e0a291221f69df7"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/WidgetsPage.jsx: 643 lines of code: dashboard/src/pages/WidgetsPage.jsx has 643 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/WidgetsPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aef794915c906c4ef88e8e80524a87699db646fa354188680a0b86a8739944"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/pages/PetPage.jsx: 638 lines of code: dashboard/src/pages/PetPage.jsx has 638 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/PetPage.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ecb778475f214863e2cf8c69cbcdca3f8975b067b6eeff40378497f181bc0d"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/components/Sidebar.jsx: 624 lines of code: dashboard/src/ui/components/Sidebar.jsx has 624 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/components/Sidebar.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37f06a64749362697b3cc403ec8bf1a817df793a629576a3c332e2315ac767"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/dsh-session.js: 622 lines of code: src/lib/dsh-session.js has 622 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e659e67d2fd8c2994848df4b1e9bf1547d736f9874592aa74b4e2ab9e3a0b20f"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/bot/states.ts: 582 lines of code: dashboard/src/lib/bot/states.ts has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/states.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21939331cade7274fd61a40631701edd6683e179735b932124a212316d65d500"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/model-breakdown.ts: 566 lines of code: dashboard/src/lib/model-breakdown.ts has 566 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bf59b5c525b4bdf0a89762f56b5c7fe7b3043f9d8ba83d26853a4508a2802c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/trae-cn-config.js: 566 lines of code: src/lib/trae-cn-config.js has 566 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa15ec7c0f51bda36fda6b84ffb5645adc89c87049fdbe2cd1feb538e679e01"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/cursor-config.js: 562 lines of code: src/lib/cursor-config.js has 562 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea022572b44589753e8ecfe49d6c50db8eb6b7740527b96384637c01dbe28dc"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx: 560 lines of code: dashboard/src/components/leaderboard/CommunityStatsModal.jsx has 560 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/leaderboard/CommunityStatsModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcee221637f39f7f09b341e94268b37084257ba6dc6bf32381e6b342fbd7674"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/omp-hook.js: 539 lines of code: src/lib/omp-hook.js has 539 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-hook.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8ba9982c9662fa94c54b73ae2c89c063c644a5b73068530053a168c27672f6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/codex-config.js: 528 lines of code: src/lib/codex-config.js has 528 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bd268db496b85a6c7fac6b6b381fa8a3e768c8748426ba5f1ec3e7922de39e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/cloud-account.js: 523 lines of code: src/lib/cloud-account.js has 523 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cloud-account.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9146f33515c5f95f422e763a9d861a848386a0351e222f566c89563e4b36994"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/bot/engine.ts: 518 lines of code: dashboard/src/lib/bot/engine.ts has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8cbb4f455bf8b19f7293adfeb3099b2387f65ff1fb90267654b8ebc766bcc8"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx: 518 lines of code: dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/SubscriptionSettingsCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace35975f534ec8300b9f5241cc7f0ec54ba8f5e5810bb11a83622b780f53d84"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/openclaw-session-plugin.js: 514 lines of code: src/lib/openclaw-session-plugin.js has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-session-plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c69a457d544be5e058b552259b89fad1b8d77114aa5ee867c436eaa12559bc"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/tokentracker-billing.ts: 506 lines of code: dashboard/edge-patches/tokentracker-billing.ts has 506 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc21e8acce9ffddc265aa25c305af27dc4d1f6b3963dc14fda97c56899d5294c"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx: 505 lines of code: dashboard/src/ui/marketing/v3/TokenGalaxy.jsx has 505 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/v3/TokenGalaxy.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2bf6d96b2c12c6b9c10c45ebba3a971442c1c6a2fc8d653d35204e4ca5ed14"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/hooks/use-usage-data.ts: 498 lines of code: dashboard/src/hooks/use-usage-data.ts has 498 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-usage-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e9b089aea0af78c610f14a0eaf8f6a6ff0134b8f3aaef4c1eb5b1f7496ad49"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx: 494 lines of code: dashboard/src/ui/dashboard/components/ProviderIcon.jsx has 494 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProviderIcon.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85c4752645cbdd5a327b47d9d6fc725de52afc6b624428a376a511f463e2af8"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/views/DashboardView.jsx: 491 lines of code: dashboard/src/ui/dashboard/views/DashboardView.jsx has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/views/DashboardView.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"000f67e4d82d52b15e8d263109b6cda2a77d11c8cef5e72af371a96eb4883499"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/pricing/matcher.js: 486 lines of code: src/lib/pricing/matcher.js has 486 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/matcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"850b28f9c8ee1ba47b68e67577e56d98043026f5faf23be1f6ed38c1358a6df0"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/hooks/use-limits-display-prefs.js: 479 lines of code: dashboard/src/hooks/use-limits-display-prefs.js has 479 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab6c6b8979bab40c58fb8221f71eb40f106e02c75400dd46e16d5eb211a0ef1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/pricing/index.js: 472 lines of code: src/lib/pricing/index.js has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1524e97fe899c63bf14978b119974f6fccb81267cfcdca81bf29f33fd526e97a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/ark-coding-plan-limits.js: 469 lines of code: src/lib/ark-coding-plan-limits.js has 469 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-coding-plan-limits.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5089b8ffdafbad260adfc0b76f969f47fa19199917d7bec35217a2b94fe8e7f"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/edge-patches/cloud/paddle.ts: 450 lines of code: dashboard/edge-patches/cloud/paddle.ts has 450 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6edee69ee49d8f7cd6c212651bf8c30b7dc798d19ecbb7ba12672065a993e9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/proxy-env.js: 441 lines of code: src/lib/proxy-env.js has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-env.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2580a033b60dc6b70a1d15102feeadbd88526b3823338adbc9ddaa101926c3f"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/share/ShareModal.tsx: 440 lines of code: dashboard/src/ui/share/ShareModal.tsx has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/ShareModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392510f39d1bf0cd3b94e8e38bd08dff427e332d6081d0530c2c8b46888f4371"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/subscriptions.js: 440 lines of code: src/lib/subscriptions.js has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cabaf76586ea27ac5472ca9b9b2bd1c9092b393e487b3374450d0c7a77ab791"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/limits-cache.js: 439 lines of code: src/lib/limits-cache.js has 439 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/limits-cache.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2477a63fb031f4865d152d27c29b6128175b5eb7f7d1e54430b70ad67e8eca"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/omp-session.js: 439 lines of code: src/lib/omp-session.js has 439 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd651af0916a9864baffcfdf784c26fb04702b8a31d70fd1b46d3087e3006309"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx: 429 lines of code: dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b900042dfa575b8861861b1e4f4c1a08a33bc728c0c497536e597582f9d4059f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/fs.js: 428 lines of code: src/lib/fs.js has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/fs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d84121527770fe14a65ea056769f94734348a196508b7d942c8598a872562"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/bot/eyefit.ts: 426 lines of code: dashboard/src/lib/bot/eyefit.ts has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/eyefit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eecd54f9db3866ea0aa9c8ebc794670af8efdb45287807b8887014277522b18"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/lib/dashboard-preload.js: 423 lines of code: dashboard/src/lib/dashboard-preload.js has 423 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7f3cf0628501a054fb39a95b0866b7451a2300ec32e0d74d91a3a1a9a5037"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx: 421 lines of code: dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a1a5d3eccf89186cffd60dacf45452494305ae90d124e2357823e8515c8f0a"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/share/variants/BroadsheetCard.jsx: 419 lines of code: dashboard/src/ui/share/variants/BroadsheetCard.jsx has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/BroadsheetCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae44ba4f2a5177d58f605224c1e6451a9067d80c53d1749cda8c01a5e6c68e6"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/App.jsx: 403 lines of code: dashboard/src/App.jsx has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32daf5748af26efcc6412f5dea08273b93fc0d58a4964c551266a4211a2d990b"}},{"ruleId":"R3","level":"warning","message":{"text":"dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js: 402 lines of code: dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/usage-limits-provider-specs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ceb253724285f67e70933472a612305b007990ba4fe7a81f8920a919ab2feb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/gnome-extension/[e-mail redacted]/extension.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1139da8cac39f6c03548ed7ba5fdd6aa54f8a32c86a175e8cf22fe1254cdc7c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebd65f8c54579e4e454372d3c9a90562d79e9f87a7096b31156eb4ad66ad7fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b86ae9b24f7c17bfd381fac4ae4fc7050e1025f84ca521eecfeb96a97499d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35824eebf5ceba16bc8013098727f745cbbfdfd40aa40bc348ab957f85586f76"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/paddle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6088f676b574cf08381be6ec2c69cd012d9cf272427414113af85beb22aaac6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-profile-likes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b72705763b6dff1e2c39ab9f8e307458fd7eab39274e96b58ed7575b201e0f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/compare-visual-baselines.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb4bbfc84d96b19add2d70d90a7b6e97e9a638ae2532d5135391b8880b61283"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c6b8e1f54ea18da014350a252309d0b520ba18ab66083d832032ba11a7d23c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/wechat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eefde96835a8631c26f5cb45b9d751792eb74edf2ce88cdea915ec91abcae8a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-badge-svg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c71ef2ba25e4315b6b86a90a89468f25602a191525d4a6eab275444c960e14b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-monthly.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6167ac44b0e55948b80ef56d803f190e305d2d96ceed50686d84ce39612d0cde"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/alipay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af481cbaac24a25c248097be47cb827067ce93e65d21b55ff983364b4280d5d3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-public-visibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893b875bca9cdce6bd309d1c6429440c06d01d0fe1690424a04fc2d1aecf371"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a1ad10277abc3955a9e89893eb8c08c3cd3e3516ed0a9f58032e8c02a4e253"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/MacAppBanner.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0f3f6250ca1f44ec8a2d8b082eb6081db9328e5357a2e1904394a78ff3d058"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo-processing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb22452a1eff7762d917bad4d04fb48a00275c0bdf941eccb043ad33c573396"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-user-badges-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"022adac9e5be07d407d2dcdd1864c73bfd858f82cb5b51c6a7b9e7ff397339b4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-authorize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1486d7b5d678a2b5830c9d1f10bd9ed16eeeb999e2a280111f01c39d18666f95"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-device-flow-grant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf08eb01ed361e7fb1b7fa0704d7bf658558ff65be1954436e671fe41dd6ba"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-paddle-webhook.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a4be7e45513238724f971c7087e8ed85b32711495174312a2e0f0b4a99ced"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/WidgetOnboardingCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7f86078fec65bbf8dc5c82091f9331048ff13704f6a0aff08ab1f8d198fa7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/scripts/capture-dashboard-screenshot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ae7a19cd3850c3aed877f241c5fe81c8ddba86ef6a14c8f6afbebca9c2fe2f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/gifts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4adfc46d7edcf6520929d12573bafa60c3ccc19db12c2a02abf98dfc4cd3204"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/useClawdState.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556de3a9fb96c22b5d131dc80cdcfbe5a3ff476781f9956bfae927a239d1c8f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-waffo-webhook.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb3a614ae331916f9582d104ed30b33bfd6e24fd6e5e6b5d4c32227fad4f4f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-wechat-webhook.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f8be2d2dc9ecbfed62e7c3197c21340a44824f4f7a08ce3f505add7e99baab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-alipay-webhook.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce275c5c8547785440f20e9bfc789135797040801a8201a468546c5a918bf684"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/gift-expired-orders.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd40cd062f72550ac8ccfd4b230eeb3a4767cb54e3295da1f75668898301c81"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: the root package is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060gen:bot-frames\u0060 script (\u0060node scripts/gen-bot-frames.cjs\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da2845aa31794704ba9aa52272a9e8b3d6d282e7745e8ad7c160bdc0610fc34"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060dashboard\u0060 declares the lint script \u0060lint\u0060 (\u0060eslint \u0022src/**/*.{js,jsx,ts,tsx}\u0022\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060dashboard\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b861b1d5d896f64d6f8d21ce178114d560848de0e9729d8c247b8950563aa127"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~484 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/hosted-archive-acceptance.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7f88841a34378404afeb2c89a3428c9a5e75b73e1236e75895085441b39607"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~148 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/MacAppBanner.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcce8b013f0de7e5f3f7dbad1cd69bde76cfd596a474f0a89e0c7849ca44f01"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~128 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/gemini-hook-install.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07498d18ef1c6deddc9172afb54bb2aa873f2a45a69dde772b8fe00ea31e4236"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~100 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/opencode-plugin-install.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"defa584ab345bc1d3631abd400b34ccc6155264777104dc3ced03b2982de1d9a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~94 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/WidgetOnboardingCard.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d7bfe73d4f7239c0237cf4780999847ae1efffb81fe8410ba8b276a72cf618"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~79 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-waffo-cloud.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06eab919befc5879fa094abad4323e7985366b333f8830ea2755777daff488"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/acceptance/windows-queue-performance.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cc148440779d2be1cd1cf6d9fabbd520b0613604fd1e3776121128433af38a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (149 application, 45 tooling, 693 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (dashboard/src/ui/dashboard/components/MacAppBanner.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/useClawdState.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67c4c3981b5c1a05d97bf0cbf0a595a9a77d83b37cb83cc93b63159df73a045"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027emitCloudSyncChange\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/contexts/AccountViewContext.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccc7219b62d8624bdede84f9656ed6fd58145a4274dd3fdbdd60bb61e08a6e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-achievements.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7151d3c971896908840927d9d2302ed9069c8f2beb03d9d9a65bd35d0216f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027visibleProviderIds\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-limits-display-prefs.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f72da00906939c8e1261e79cd92009eccc7f1721df9f1c65df9d774f939a54"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cachedPetById\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-pet-catalog.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84593765d3fbf75521d5b3b26a4a504d7a53f34318e6c6d73b72b7433adf0b7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027offsetOf\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/cycles.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0745bf195aa5f2ab974c7155e62340a793be155a9fc1accabb78e852f53d7d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PRIVACY_URL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/config.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b004ef43c5b654f4ecd808237291f6319257a8aa798e792cd37051fa108f1d66"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CURRENCY_CNY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/currency.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c2e5e6069883840c1503895f653bffbff59bddf98efadeb4dd5df53b563fcc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCurrencyLabelKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/currency.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"350eb682a8ab942486e3d120b2ddefa29f606f45bd9c470133695f145a65a6cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DASHBOARD_PRELOAD_STATUSES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c61c79e78aaf371620471e6f7605d4d2a01fb9df6b93e609e942a0b0e41dc6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LB_STICKY_TH_TOTAL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/leaderboard-columns.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb1940ea5d38122eaa77f702be461ea2ca3173b5b7db8bc34c07e85c2f66135"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027lbStickyTdTotalOnly\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/leaderboard-columns.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"748e64898a6ec6859047f696b1ca671b2a7e479f6fb9a779269e71fdf810f919"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementBadge.jsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b26a41d79d8bfe16035d7e9f425ab7394c7f5934f275a5a400d43ccfae0ea5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AchievementsSection.jsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec4210fb12242053ba1f63b90ec3a94524b9e677f62086499806a557b2c0fba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/AvatarWithBadge.jsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e762b8871c41baa836fcb28c8b55c8e63d0bbc1273ad3a941b3849da158069b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/Badge3DCoin.jsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"36953b9fdecde9fbdba82a6c7b7fa85992081848fe30733abb9273864f40838f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeMini.jsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e76271cf114de7840a158374241d3ab92050b78d25beb4ad3686850371835"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/achievements/BadgeStrip.jsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fe941729ee9ec3223df8d4fed5480fee24c5372efc990f08f8748ab90b5004"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed044adb842286bf36208899614b5e8de3c7fe8cad239a7c124df1984219fd62"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/LogoCarousel.jsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c73a39e0e051547764b70dc89a86d5b7aef1681ca96be7993016850dab61053"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/components/BorderGlow.jsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8996a5e77fb486206962852116812460e8caad4bbefa40f3f965192c17f16448"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/marketing/components/SpotlightCard.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe5333f9e10dc7e7844a57543ffdca017379473b09c5a3b2ab675be6b38e6c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027zonedDayKey\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bb9b8be5336e9766cce3ae6f7771daa224eae5182f647d0db0638b817c7ba9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027HourlyRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4822fcbf1f545c7aacc8b88ae3a424c9d33f81869a5834fc4a916ba6800a74"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027HourlyRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5789b18b8de5636848e1414277c0dc3867feeeb1272df18f3cf6bbf76a5739f4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getZonedParts\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e4ebb2a227424de899e93527b18d12bc09c95c6db55e3422a687971a1801ed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatDayKey\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"31600e40a4662dde92a292c2d1ffc0700cc2e3b39cb86908d5044a47aacffca8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027zonedDayKey\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cee7e93a11fc79276bce671c5693cca3716983953ff9c29c59010903920541"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027HourlyRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-model-breakdown.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"23916a45362024956e77043a9744e520c6a66f899d4a68d64bfacca684753653"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027HourlyRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-summary.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"651e9c5d9eebbdbeac69e74a1156817378ed99a2c62e823e23ff551ee0a97261"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MONO_STACK\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-embed-svg.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ab651ec066fdff3d51638cd45b1d49502eee16ff530e3f42f928b564feb8e9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hover\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.test.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03d2978cf9813330ef874c9745858f18dc9666d19f0bc4b1e913dddce262bfb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027eventExceptionMessage\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b7dc4ac4f4dee1f1227f9a4f9002e93846371b5b7f36477f6de17ca51d335c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027bucketColorAlpha\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ContextBreakdownPanel.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04396a9585908a3f0a2acb36e05f74fce369dfb8bfa6a458de06ca98e724f7e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027GRID\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/share/variants/AnnualReportCard.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f457850b31b82f3e07d72346ccae420c4194d54e95cf8eb611ae989e279fd58"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027maskCode\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/contributor-gift-distribution.cjs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b40b5e7869616a0b98b0fc8be88c9fb807c59e8e61293b87c13c9c1c58c67f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DEFAULT_DASHBOARD_URL\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1837c8c988673cd7c139af261dc4cae4ab869d64329bfaf166f76f59960423fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027sleep\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c35d751c4dc06096598e3b9d9ac9fe6c761283645b44a2db1dc1f8b53e3a65"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027normalizePlatform\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"24729d8020e57f61bc25d16047679f57cfbbe36003b824dc0263c645a91c3327"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027deriveAutoSkipReason\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3966cb866b5a6a113bbea82f0b7933e87f898ccd7745cd71cd1c1f92c98481e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027countDirEntries\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcec97fa19275ff40a9b91d4e89faf7ae9fcabda7bab2d7f0f2a9a14e7d14c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027quoteArg\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c9af03e1f863ab6864e0b82002b3e07a655f8abdadee6da18d30e250e672bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027quoteArg\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gemini-config.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"74137d925f7ae883328159e849b43510a404e95866cf3e975455d22f96d4186c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027dayKeyToIsoBounds\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0714ff71019aae961138f70b9e4db8b9d971902c6481b274daf131151cdeefa5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027scanCodexProjects\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc442b9edadf0cf4602166fda5064883651ede39524feba72d81afca3e7b0071"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027scanClaudeProjects\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a36d595826084e313f45a2c38505c80875623aec8b8c580368f2966202e8259"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027qoderLimitsCachePath\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9153340a47da23c10c3334de7bddfb3b6fd3387274fd61e7b6fbfe4a0889f90b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isNonEmptyObject\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5458}}}],"partialFingerprints":{"codehealthFindingId/v1":"74934b48f4f4aba4b35374117deb4603ba98ec471b0b466bfd59d021d23f3a4b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isFiniteNumber\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5477}}}],"partialFingerprints":{"codehealthFindingId/v1":"82788004d9d81e8e950e40723c102fce05f1cf5e40a6b92f16ccab7505924dbf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027defaultRunWsl\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebd6b8c88b3873290c3677d1e9cef8d16bdefdb9b9638010a7c951b0b9515ac"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027resolveAllWin32ProviderPaths\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b111e51c549826b5393f9e8f4232edd405153e8d349921d6c0218f49ee5b216e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hasLegacyHermesDefaultState\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8602}}}],"partialFingerprints":{"codehealthFindingId/v1":"983f303d6540ff13a0b41f85d68375c9ae8a50fcad4777d3d51b45c387d7d8cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027readPlaintextCopilotOauthToken\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1461c154c8cae1caf858fefb16929ed5e615c9f054562f38e2488e794bdbd0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027resolveClaudeLimitsCachePath\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"369b64933ef052ae5104b4a07ff2d2d95482757aaa2f17baf94b3e403e4fc17a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hasClaudeWindow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ecf2eb51c5c11f77d4b981f76e5551e3a8269d0118756254f606cccf2137ce"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027resolveDevinLimitsCachePath\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbc8d6edf0b924aea3e8b022ec1b00b7d7accbbd0e299ffcdad9ad262b5a1d7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isZcodeBuiltinPlanProvider\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe1835cb4dbc2a81a81221299c001c8e0528f01edfc098548ff0b7628bf9d3c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ODO_CELL_H\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/edge-embed-svg.test.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18ae52d1e847ccbd9083a14e21f357000458a51b87fcfad9c9ba1eb239cae12"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@insforge/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cloud-access-sandbox-build.test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698eba84faac8b627abde71331787e012e87481d7e84454e4043399fdf9c80e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ogl\u0027: Declared in dashboard/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/package.json"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef094419278155771fa85633a4834a54b26d519ceb850a1faa11cf20f80f07e8"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): dashboard/src/lib/dashboard-preload.js \u2192 dashboard/src/pages/LeaderboardPage.jsx \u2192 dashboard/src/lib/dashboard-preload.js (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/dashboard-preload.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c976fe4618a5a6efa95b585f18be6a39013c5a9535e53831d783ca0803579d0e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/lib/cursor-config.js \u2192 src/lib/cursor-login.js \u2192 src/lib/cursor-config.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e58d99221b2fcf9cdba640be4dc3315d6137a3dcc974c10059633e3f9f2809c"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/lib/local-api.js \u2192 src/lib/wrapped-aggregator.js \u2192 src/lib/local-api.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"632818223e200084f843e2ddaf9fbcd25ef32d8bda695e2fb94bbdb4fa2ac5d1"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: TokenTrackerWin.Tests/TokenTrackerWin.Tests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin.Tests/TokenTrackerWin.Tests.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e275a3334912a9861619dc361e1bf5fd2ea06346445a9ae9fd894ba93034050b"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: TokenTrackerWin/TokenTrackerWin.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenTrackerWin.csproj"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdcf88bdf76eb3712ab27a6184f0ec7e393cdda6d7e88b380b61ced3eb63ac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_coreReady || _server.Status != ServerManager.ServerStatus.Running\u0060 appears character-identically in 2 files \u2014 TokenTrackerWin/DashboardWindow.cs, TokenTrackerWin/PetWindow.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"467cb269796d89bd8c09e9d3d9e89253004a618d72c84017bcab664d6624816d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(rows) || rows.length === 0\u0060 appears character-identically in 3 files \u2014 src/lib/opencode-go-limits.js, src/lib/rollout.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69254fc3a1462c260d51c3ffee175e2eaebb03970948e941d21ff94828350df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!DAY_KEY_RE.test(String(payload.from)) || !DAY_KEY_RE.test(String(payload.to))\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/heatmap-compact.js, src/lib/heatmap-compact.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5934ecd0a0cf3e2fb63d02663c26739766e87d6c3d872e79d493c668fea47f31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(cachedAtMs) || cachedAtMs \u003E nowMs \u002B 60_000\u0060 appears character-identically in 2 files \u2014 src/lib/workbuddy-limits.js, src/lib/zcode-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9895d5bc88ff6367a900a1e86d7247119258023b854e30a0bbf31093c861a0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(inputTokens) || !Number.isFinite(cachedInputTokens)\u0060 appears character-identically in 2 files \u2014 dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd480a82c899070e1b9c3bba7716004ce1533f19c6a9f741d9b974733928e443"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(providerTimeoutMs) || providerTimeoutMs \u003C= 0\u0060 appears character-identically in 3 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99d102e943fc8dc3aed549ebe04f822657913cb495bf7751bf0bb5297a7409a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(timeoutMs) || timeoutMs \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/lib/opencode-go-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e696ebcd51b050036790f0b38a06477292f6151bef5426d36615f0e27ec6ee5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(y) || !Number.isFinite(m) || !Number.isFinite(d)\u0060 appears character-identically in 4 files \u2014 dashboard/src/hooks/use-trend-data.ts, dashboard/src/hooks/use-usage-data.ts, dashboard/src/lib/date-range.ts, dashboard/src/lib/mock-data.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec71a37b266aca92338f2fd4e454448279be03e49f45756aaaf25bdd4b593ccc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(year) || !Number.isFinite(month)\u0060 appears character-identically in 2 files \u2014 dashboard/src/hooks/use-trend-data.ts, dashboard/src/lib/detail-sort.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12dede516de36c2356eb1961db8a1fc54891fbfdfadc998e40722efa432b12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(year) || !Number.isFinite(month) || !Number.isFinite(day)\u0060 appears character-identically in 2 files \u2014 dashboard/src/hooks/use-trend-data.ts, dashboard/src/lib/detail-sort.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66854d5664c1c95700b7d237e0283e7d74acd1eeb5f7369ce68c314bcb1e93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(value) || value \u003C 0\u0060 appears character-identically in 3 files \u2014 src/lib/local-usage-transfer.js, src/lib/rollout.js, src/lib/trae-db.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-usage-transfer.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fcb6b79c418896c5105be57541b7799bc64dea3d5cde3e232a8bfc3382c2e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!accessToken || !isValidJwtShape(accessToken)\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/api.ts, dashboard/src/lib/skills-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/api.ts"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ec23445dbbffd6c6225e601892366235eaff00be62dc5dd6da7b77e4875b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cursors.files || typeof cursors.files !== \u0022object\u0022\u0060 appears character-identically in 3 files \u2014 src/commands/sync.js, src/lib/cursor-store.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6977}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5c531858993602f9ddbe64e9c452bebf788812ceefe421645fd35e928bea48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isCursorStoreRetry(error) || attempt \u003E 0\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/cursor-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c6c59dff9267d3fddf511d4ff50d152351f7c33c6891eabd0b1b129ea33324"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!key || key.startsWith(\u0022/\u0022) || key.includes(\u0022:/\u0022) || /[A-Za-z]:\\//.test(key)\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-account-skills.ts, dashboard/src/lib/skills-inventory.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de816757802faaee8f524e2c0446d4c106ba81a48f168f1f93a85394f7ab20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lower.includes(\u0022deepseek-v4-flash\u0022) \u0026\u0026 !lower.includes(\u0022deepseek-v4.1-flash\u0022) \u0026\u0026 !lower.includes(\u0022deepseek-flash\u0022) \u0026\u0026 !lower.includes(\u0022deep\u2026\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f749b0c471eb94a834fb85e7128f68418e673e3baace3838f68ef82924e4f374"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0022object\u0022 || Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e074490c082930a4afad2123b8bdf13cfe714cd0d0efa02476924cfa1b9d4953"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!payload || typeof payload !== \u0022object\u0022 || Array.isArray(payload)\u0060 appears character-identically in 2 files \u2014 src/lib/opencode-status.js, src/lib/subscriptions.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-status.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4fa7d02cdb84b585f1972fa1635056d46c217e14c3a3750315a4cd40ee99c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!plansResult?.error \u0026\u0026 plansResult?.status === 0\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9083d4a9aaa2f7a203e05bbc79d8b5821f90ecebc5d013e94a7d37cc78f7da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || raw.startsWith(\u0022/\u0022) || /^[A-Za-z]:\\//.test(raw)\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-account-skills.ts, dashboard/src/lib/skills-inventory.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5e7e770500a8e4e6c633e6e2738369a00f17ea1e472ea420bfe4f6545a31e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 src/lib/outcomes-engine.js, src/lib/scan-roots.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/outcomes-engine.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d7a1ac4bb43e503b91158f90eaf26c98b9383ab67ee573587789a1629efb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resolvedToken \u0026\u0026 !mockEnabled \u0026\u0026 !isLocalMode \u0026\u0026 !useCloud\u0060 appears character-identically in 4 files \u2014 dashboard/src/hooks/use-activity-heatmap.ts, dashboard/src/hooks/use-trend-data.ts, dashboard/src/hooks/use-usage-data.ts, dashboard/src/hooks/use-usage-model-breakdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b5c86df333d530d263624b2d70ff39a73063087b4fd4647d03fa52a03a5848"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!row || (row.source !== \u0022codex\u0022 \u0026\u0026 row.source !== \u0022every-code\u0022)\u0060 appears character-identically in 2 files \u2014 dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3503a5820190a6dc8959290ce2514eca3ad42472d5f5b710f239a71d2b0ed98e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!row || typeof row !== \u0022object\u0022 || Array.isArray(row)\u0060 appears character-identically in 2 files \u2014 src/lib/upload-queue.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/upload-queue.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c97a3b971b30d12594397b8dc6b3c8eac79b00066f4375a5f6f2bc4f03ac23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings || typeof settings !== \u0022object\u0022\u0060 appears character-identically in 4 files \u2014 src/lib/claude-config.js, src/lib/codex-service-tier.js, src/lib/gemini-config.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"17263b4889adee4eb6f4045ce8a1ff281c05a07c21682c0072b0199a84de37f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot || typeof snapshot !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4731}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee07f16131e0e3610333e40b67d59fcb0d65281f9d402c8dd6a9d5e01859c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!storageKey || typeof window === \u0022undefined\u0022\u0060 appears character-identically in 4 files \u2014 dashboard/src/hooks/use-activity-heatmap.ts, dashboard/src/hooks/use-trend-data.ts, dashboard/src/hooks/use-usage-data.ts, dashboard/src/hooks/use-usage-model-breakdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12b0e87bd919d198c288e3ededf688fe2bfdb23a18ead6249deb1d909a7c05c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tokenReady \u0026\u0026 !guestAllowed \u0026\u0026 !mockEnabled \u0026\u0026 !isLocalMode \u0026\u0026 !useCloud\u0060 appears character-identically in 3 files \u2014 dashboard/src/hooks/use-activity-heatmap.ts, dashboard/src/hooks/use-trend-data.ts, dashboard/src/hooks/use-usage-model-breakdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-activity-heatmap.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc144ae7f40bf8d3d4b7bb88b91494f5864c9cfde9b9b2553838ff99015d727d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!usage || typeof usage !== \u0022object\u0022 || Array.isArray(usage)\u0060 appears character-identically in 2 files \u2014 src/lib/codex-usage-record.js, src/lib/trae-usage.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-usage-record.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b346bbb7e8fb13d73c62d3925aebe973b6ebc140aee863bfe3e0900e10512470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 dashboard/edge-patches/cloud/contracts.ts, dashboard/src/hooks/use-limits-display-prefs.js, dashboard/src/lib/cloud-checkout.js, src/lib/codex-token-usage.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/contracts.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"063bc4b50616443e6ed18da6ffaba57545b49a7cb6807890434be83b63d2fd5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!windows.primary_window \u0026\u0026 !windows.secondary_window \u0026\u0026 !windows.tertiary_window\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0b757470b225a7e0b00c6e58a682a2b6bacdfd8d57a04d271c7ee5d20bdcc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!from || day \u003E= from) \u0026\u0026 (!to || day \u003C= to)\u0060 appears character-identically in 2 files \u2014 src/lib/local-api.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/local-api.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a58a8aecfbfec5a70d476b271b85bda858d5e0772f0f143c7c80dc9ab73157c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(hour \u003E= 1 \u0026\u0026 hour \u003C 4) || (hour \u003E= 6 \u0026\u0026 hour \u003C 10)\u0060 appears character-identically in 6 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a24af0801b4a378acd5a680e49296bb909ba486779b5cecf5eec77824934646"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(sourcePath \u0026\u0026 path.resolve(sourcePath) === target) || (installPath \u0026\u0026 path.resolve(installPath) === target)\u0060 appears character-identically in 2 files \u2014 src/lib/openclaw-hook.js, src/lib/openclaw-session-plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5eefbfc470a745e12e56e9291e6ff9bdbf199a6cf246ed9d82ff128c77789b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ARK_PERSONAL_PRODUCTS.includes(candidate?.product) \u0026\u0026 candidate?.subscribed === false\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eef563cb7da3954acee5fd5a3f1a833320da1a6e07545477d93655531ba05f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(rootDirs) \u0026\u0026 rootDirs.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/claude-categorizer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7530}}}],"partialFingerprints":{"codehealthFindingId/v1":"874cce1757676f852a831a6acd3ddee98465ee135d24b89f7af019d85e58e741"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(base) \u0026\u0026 (fssync.existsSync(resolveKiroDbPath(base)) || fssync.existsSync(resolveKiroJsonlPath(base)))\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75dfb277584f031152c0dc5b884f3b1e667a56e7729551345dc4850b1be810"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(record?.configured) \u0026\u0026 !record.error\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b812d27f95ebba6681feab83e10e7171b11e743f16d31d356e558bd6e5b8f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CSS.Transform.toString(transform) || undefined\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/LimitsSettingsPanel.jsx, dashboard/src/ui/dashboard/components/SortableCard.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LimitsSettingsPanel.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a733f35320547f7abd065731ba6f41dd0d047cfa275273e4d80aaf10bae51e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(primary?.updatedAt || \u0022\u0022) || 0\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd124a0b44563e38246e1e97bc8eafe8f7a65a579b0b24f6fbc67d7adfe517a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Deno.env.get(\u0022INSFORGE_ANON_KEY\u0022) || Deno.env.get(\u0022ANON_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/cloud/runtime.ts, scripts/cloud-sandbox/qa-sdk.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/runtime.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c9f6bc8d07bb11cdd813192d060f4a1b305b1e269f2d3b6731b2f7d42e071d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Deno.env.get(\u0022TOKENTRACKER_BILLING_ENVIRONMENT\u0022) || \u0022live\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/cloud/access.ts, dashboard/edge-patches/cloud/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/access.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672b97a4118cc5671771257945d4f8dc50ba08ffe88e0c8e91319e8d04ba38f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Deno.env.get(\u0022TOKENTRACKER_SANDBOX_ACCESS_USER_IDS\u0022) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 scripts/cloud-sandbox/access.ts, scripts/cloud-sandbox/qa-sdk.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/access.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b424c8b129549dd03fa9f5459a5038fe43868be0d5fd2cae676ba40d248e2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(row.cache_creation_input_tokens) || 0\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef04408475336d407a1b1b95bd0ff615c5576a44efdfe4087c59995e7ece3c90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(row.reasoning_output_tokens) || 0\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f721cf23d6e4ec2b41cb76200cca69df7b1c70771372ed279c725461a32701"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(direct) \u0026\u0026 direct \u003E= MIN_OMP_TIMESTAMP_MS\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20b49ede5e47b9d86fa7e83a9086fb6351228bed562a1a46339dcc9dc9c364a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(expiresIn) \u0026\u0026 expiresIn \u003E 0\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6659b8045f4424b96d9ffe6053c6139fcfbabc41f2fa9ce77be989fb8777e45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(fromMs) \u0026\u0026 Number.isFinite(toMs) \u0026\u0026 toMs \u003E fromMs\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ec5e127f532022dabb45192295522cb01273929ecea9a1758f56f95b0ae78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(parsed) \u0026\u0026 parsed \u003E= MIN_OMP_TIMESTAMP_MS\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c78980b64677281e5fa8d319b6ee63ecd5b3533a172a6735bb05644300749"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(used) \u0026\u0026 Number.isFinite(total) \u0026\u0026 total \u003E 0\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1765bae91b20a5e635ec4d4cd9b542a40770436805379777604bbeaf50579216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(windowSeconds) \u0026\u0026 windowSeconds \u003E 0\u0060 appears character-identically in 2 files \u2014 src/lib/commandcode-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ec43f0ac299a8328b319febfac71a1d99b8db29325f5eb20a6d0f95e5b559"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SOURCES_WITH_AUTHORITATIVE_COST.has(row.source) \u0026\u0026 Number.isFinite(reportedCost) \u0026\u0026 reportedCost \u003E 0\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"5061ae6813a77224fd2d86735e182fd4faa4d6819b1a877dcb13b18bccf7b266"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060[\u0022active\u0022, \u0022trialing\u0022, \u0022past_due\u0022, \u0022paused\u0022].includes(item.status) \u0026\u0026 !item.cancel_at_period_end\u0060 appears character-identically in 3 files \u2014 dashboard/src/lib/cloud-prompt-policy.js, dashboard/src/pages/CloudCheckoutPage.jsx, dashboard/src/pages/CloudPage.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-prompt-policy.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c307912d7d5831885e811676fb54b60bed03703062078e34d2ed73b673ac31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anythingllmDbPath \u0026\u0026 fssync.existsSync(anythingllmDbPath)\u0060 appears character-identically in 3 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09a7e01d8407791a8031c936faadc5240942a8e6aa3a49de540a1256ea2e3a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.total_tokens - a.total_tokens || a.model.localeCompare(b.model)\u0060 appears character-identically in 2 files \u2014 src/lib/codex-rollout-parser.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efba2e3b20623859ede5f2e637a219b9c623c941859dc2ac5b360a2d05ab41a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060background \u0026\u0026 body.allLocalSources === true\u0060 appears character-identically in 2 files \u2014 dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41f2d6ead73258f326360519b6d0cf2446f8a92f8d02c52c7d7cc2c6c7c8a1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bearer \u0026\u0026 serviceKey \u0026\u0026 timingSafeEqualStr(bearer, serviceKey)\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts, dashboard/edge-patches/tokentracker-user-badges-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"276dfa5f34bbc269420d5f5e82bdafc1900f383cf05321817c7b91f5d5449459"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.name || block.toolName || block.tool_name || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d14d6fe92f3a009769b3d3caa462f97e787424d392d811c5e3b4842cd933b00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.type !== \u0022toolCall\u0022 \u0026\u0026 block.type !== \u0022tool_use\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a49f5e9814abf594badd2316b0a4f617bb6ed195d910ad5ce4b877ed2a7cc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body?.profile \u0026\u0026 typeof body.profile === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada7d11ca6e7ddd13344c70919bb6d38f64b629dc9b345bab886cb74fb6aedd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached \u0026\u0026 Date.now() - cached.at \u003C CACHE_TTL_MS\u0060 appears character-identically in 3 files \u2014 src/lib/claude-categorizer.js, src/lib/codex-context-breakdown.js, src/lib/grok-context-breakdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee73ddf501d30c78e89b26e63b226e985023941b7dbdd148913b7919c908840"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached \u0026\u0026 Date.now() - cached.fetchedAt \u003C COMPACT_TTL_MS\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b668f6a92213110fe81ec66b81601aebe396a9348ba661360c331534b35864e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached \u0026\u0026 Date.now() - cached.fetchedAt \u003C GROUPED_ROWS_TTL_MS\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb95b618543766f95477aed576625580a4950ae8f81e572ae7706628020d025"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cachedInputTokens \u003C= 0 || inputTokens \u003C cachedInputTokens\u0060 appears character-identically in 2 files \u2014 dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2bfb3b2eb8892dd4434ba732995af7d1d12c940bdeba5ad078d0f955ea7d77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060catalog?.policy?.hosting_mode === \u0022self_hosted\u0022 || membership?.status === \u0022self_hosted\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/pages/CloudCheckoutPage.jsx, dashboard/src/pages/CloudPage.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/CloudCheckoutPage.jsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a524d961afbb2f8113b834ef45ad7bc062f5c1ee06621b1af8a1f189e760d27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cloudAccess.available_from \u0026\u0026 from \u003C cloudAccess.available_from\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65678ff3a2ab7277995c2992cc7cce5b92554177aefc48f071e3b11241fb719"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor \u003C= to \u0026\u0026 cells.length \u003C MAX_GRID_DAYS\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/heatmap-compact.js, src/lib/heatmap-compact.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/heatmap-compact.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390866ead33f3b6990d52d1f6255ecd0e61db2e887ffd4ef78ce8e4d5e65c53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursors.files \u0026\u0026 typeof cursors.files === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5824}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd5207e61e89dde17e6ff59260fefad66edf3852d6e76497844d94e3c106722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursors?.copilot \u0026\u0026 typeof cursors.copilot === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":3141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da4df9eb745266379e4929a854c0cdf8f7dba96f96ac1757af59ab0e75d45ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursors?.files \u0026\u0026 typeof cursors.files === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/cursor-store.js, src/lib/project-usage-purge.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffce0fadb5f31de65732f6f14f7c094ed22092d18d35943806c0485918cdec13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursors[providerName] \u0026\u0026 typeof cursors[providerName] === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/install-resolver.js, src/lib/multi-install-parser.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9517c64a4e81acad31a241c6f8b15df430cc982de06d82bf5f5a03c05563d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.created_at || new Date().toISOString()\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/cloud-sync.ts, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378fb74aa4260e2b8d76458c5a1dca87c1cd5996f2a15ec0257cd1cefeb958f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deps.discoverWslHome || wsl.discoverWslHome\u0060 appears character-identically in 2 files \u2014 src/lib/rollout.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558c93446a9a43e1532a326e7eae99b3d7088bc2b7f06412fa0e68d6b3eb84c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060devinDbPath \u0026\u0026 fssync.existsSync(devinDbPath)\u0060 appears character-identically in 3 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a5059e37c1d0588af6fab30a8431dbd33fdf53f33ed7a41df7211f1004129"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060diagnostics \u0026\u0026 typeof diagnostics === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"027aa92538b70433f244327190f41c0f4eba4a75794238331914ce4dcd16b0a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dragState === \u0022running-left\u0022 || dragState === \u0022running-right\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/ui/foundation/BotAnimated.jsx, dashboard/src/ui/foundation/PetAtlasAnimated.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/BotAnimated.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeead9a13ad36ffccac59f8732a8d1d8d6576bd5ef92c0f0938e6e624f1112af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.target === e.currentTarget \u0026\u0026 isClosing\u0060 appears character-identically in 3 files \u2014 dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx, dashboard/src/ui/dashboard/components/ProjectDetailModal.jsx, dashboard/src/ui/dashboard/components/TrendMonitorZoomModal.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3144f4e01a082f40410ec85af2893b2e78067e13320a7f94ff9396f9bd7a2d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e?.code === \u0022ENOENT\u0022 || e?.code === \u0022ENOTDIR\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"be345f53caa0744d01bc3bf1fea3c22d67b2b6dc812651e6ef572467def6c64a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() \u0026\u0026 !entry.name.startsWith(\u0022.\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/validate-retros.cjs, src/lib/command-runner.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-retros.cjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5319e1d6709c733c44a681f396dccca6405a66fffe53fc7609424b2285dbbd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0022.jsonl\u0022)\u0060 appears character-identically in 3 files \u2014 src/lib/claude-categorizer.js, src/lib/rollout.js, src/lib/skill-usage.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bf29b4ea0a6e446b141735cd87d75dff9448d5ad544b1cf2ffe5027168bfc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.message \u0026\u0026 typeof entry.message === \u0022object\u0022\u0060 appears character-identically in 3 files \u2014 src/lib/kimi-session.js, src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79467b40ce2a18a5ffff423c839dcd095e12cce19f0836607f2f967da0e649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry?.product === product \u0026\u0026 entry?.subscribed === true\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b6b33b36bcc479f9ced676907b4cbc26f312c7500b7dbe2268c61953de47e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.APPDATA || path.join(home, \u0022AppData\u0022, \u0022Roaming\u0022)\u0060 appears character-identically in 3 files \u2014 src/lib/qoder-limits.js, src/lib/rollout.js, src/lib/trae-db.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f82d1beb7a1558161c337938c0e3e02ebf77a5a48f590ea92b4f47d7c813a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.HOME || env.USERPROFILE || os.homedir()\u0060 appears character-identically in 2 files \u2014 src/lib/antigravity-paths.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-paths.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"267cded0ad0d1171ba351f32f56bdf392f383b393e24bff5f38a829ef5ecf663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.XDG_CONFIG_HOME || path.join(home, \u0022.config\u0022)\u0060 appears character-identically in 2 files \u2014 src/lib/rollout.js, src/lib/trae-db.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":10789}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d41b2e5de2a64e1fa028cbec83dc8a3a4b9f9f26412082129d8c31a8c091e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env?.VITE_INSFORGE_ANON_KEY || env?.VITE_TOKENTRACKER_BACKEND_ANON_KEY\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/insforge-config.ts, dashboard/src/lib/insforge-deployment-config.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-config.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3b9852d36414a22f050bd859c6478d5e07e74b36a0ff588fe3f4a35b09be06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env?.VITE_INSFORGE_BASE_URL || env?.VITE_TOKENTRACKER_BACKEND_BASE_URL\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/insforge-config.ts, dashboard/src/lib/insforge-deployment-config.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/insforge-config.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab52203bb81ee076211605eae13d931fcd590011a88ebbc8ca0538f186ce562a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err \u0026\u0026 (err.code === \u0022ENOENT\u0022 || err.code === \u0022ENOTDIR\u0022)\u0060 appears character-identically in 2 files \u2014 src/lib/doctor.js, src/lib/fs.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/doctor.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffee09108e182ccc6da99ca97a2d43222f5553847315c51cf9d35f92a0e4fd24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.code !== \u0022ENOENT\u0022 \u0026\u0026 err.code !== \u0022ENOTDIR\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/trae-cn-config.js, src/lib/trae-db.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2f627d758c8c6a3104b36baad809046d51226b33862e1f869fc56838443c34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err?.code === \u0022ENOENT\u0022 || err?.code === \u0022ENOTDIR\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/openclaw-hook.js, src/lib/openclaw-session-plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"777773e702ac511feb6e5227b1b2260bd208c181c4c660c17d9dbc199e8e86d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.code === \u0022ENOENT\u0022 || error.code === \u0022ENOTDIR\u0022\u0060 appears character-identically in 3 files \u2014 src/lib/openclaw-cli.js, src/lib/rollout.js, src/lib/workbuddy-ipc.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-cli.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c4cbe3472abdbbaf77ac668e1ddea8737ab3892a1a6686dd0168ff01ac5e19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 || event.key === \u0022 \u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/LeaderboardProBadge.jsx, dashboard/src/pages/SkillsPage.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/LeaderboardProBadge.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b470d3b1c7c91a452c70ce19f13b57cb107148479e4364fecc57594fb8c4fbf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060execDelta \u0026\u0026 pendingExecDetails.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/lib/codex-rollout-parser.js, src/lib/grok-context-breakdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-rollout-parser.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd61d13fa04e9f714f89aa2e5792c9a6c72b72ed5c2641f0a53ecb5c7ba8ebe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expandHome(process.env.WORKBUDDY_AI_HOME, home) || path.join(home, \u0022.workbuddy-ai\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebe0ec08571ee9574dd90083a1d6f93065fb58f2eb738f93df382e1ba54be19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected.length !== actual.length || !crypto.timingSafeEqual(expected, actual)\u0060 appears character-identically in 2 files \u2014 src/lib/trae-cn-config.js, src/lib/workbuddy-ipc.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trae-cn-config.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87f83967fa49e4bde19adb6070e83e2d5a4ff59a5006062f755662b2fc9d917"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060formatDeviceLabel(d) || copy(\u0022dashboard.device_card.unnamed\u0022)\u0060 appears character-identically in 2 files \u2014 dashboard/src/pages/DashboardPage.jsx, dashboard/src/ui/dashboard/components/DeviceUsageCard.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/DashboardPage.jsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990e54c7353f493a4447ed0ff0c8f8b84499473183543fd11a548d210c3f9f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fromDate \u0026\u0026 Number.isFinite(fromDate.getTime())\u0060 appears character-identically in 3 files \u2014 src/lib/claude-categorizer.js, src/lib/codex-rollout-parser.js, src/lib/grok-context-breakdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"44edb0935ae4153b337483ea5f348121d78e0d3a6f8120e5d10ca15b953927b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getInsforgeRemoteUrl() || \u0022unconfigured\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/cloud-checkout.js, dashboard/src/lib/cloud-prompt-policy.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-checkout.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"169f4ec47f99d29ee3f4c032f54c890f18c7d078e056c21f04f1a20a72d68b06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gooseDbPath \u0026\u0026 fssync.existsSync(gooseDbPath)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aed8f31ab01a4466c4fde4e04187a016f3c8c5fafe93396004d80c89c21c81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host === \u0022localhost\u0022 || host === \u0022127.0.0.1\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/analytics.js, dashboard/src/lib/sentry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/analytics.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3b77df62633ef796d65fcb8ea4bf1e19b3291e2fb30a454ec3c54677b5c18b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hoveredCell.models \u0026\u0026 Object.keys(hoveredCell.models).length \u003E 0\u0060 appears character-identically in 2 files \u2014 dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx, dashboard/src/ui/dashboard/components/ActivityHeatmap3D.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a793bed509225bd1e81c34db3cbbf4392a5af3635c7e7c30e5d968fd0788af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input === 0 \u0026\u0026 output === 0 \u0026\u0026 cached === 0 \u0026\u0026 created === 0 \u0026\u0026 reasoning === 0\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6461ac943a22ca0fc25867be0dee2ecdbc21892fa7fb66a8e6ccdde26f6fe352"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMainSession \u0026\u0026 line.includes(\u0027\u0022type\u0022:\u0022user\u0022\u0027)\u0060 appears character-identically in 2 files \u2014 src/lib/claude-categorizer.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3d2e750e5efa293530e0e49f6ebf524a3307d583bc67a52b039a7c108c08bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastPrompt \u0026\u0026 fingerprint === lastPrompt\u0060 appears character-identically in 3 files \u2014 src/lib/kimi-session.js, src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"01697eff1c1ffa139872358bbf2d81d392f842fc3ccdf021f50753f2292162d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022authorization\u0022) || lower.includes(\u0022cookie\u0022) || lower.includes(\u0022password\u0022) || lower.includes(\u0022secret\u0022) || lower.includes(\u0022tok\u2026\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/sentry.js, src/lib/sentry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/sentry.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"93437eb825c7ae25c7eb118abc2298f7d2bec4f157596699d883d4afc17700ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022cline-free/\u0022) || lower.includes(\u0022cline-pass/\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cd8f535454080cc835991eeef1af25b87a25713b9c3e971ff5706f0e39e632"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022composer-2.5\u0022) \u0026\u0026 lower.includes(\u0022fast\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45bbf8dfbf9a5f9b4470dc62c552637e029fe8fd77d6f80df89de30bc1c30f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022gemini-3\u0022) \u0026\u0026 lower.includes(\u0022pro\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af1057104350178a2647d4d6b3920091ab32d7d734759f4004c1a938f23f849"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022gemini-4-argon\u0022) || lower.includes(\u0022gemini-4.argon\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c8aa1d7561439e218bd7eea327f601d272dbdd32ed37e764f4cda618daabee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022grok-4.5\u0022) \u0026\u0026 lower.includes(\u0022fast\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c1a094505e1d89dd5cd20fdd70b18c0e92693e58c0d46e0c223305c0c81978"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022grok-4.6\u0022) \u0026\u0026 lower.includes(\u0022fast\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"3566837773de421c95af0dc776a9de79ffa5bbfca91104f40b130ebae2f7581f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022grok-4.7\u0022) \u0026\u0026 lower.includes(\u0022fast\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffba42930bd3e3df1da7d993a2e001b9f2cfbd39bc8602eff7067b85b20b684"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022kimi-k3.1-pro\u0022) || lower.includes(\u0022k3.1-pro\u0022) || lower.includes(\u0022k3.1pro\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f3193c5fb7cb1028f938a954e77e9e3ecb3a8cb0b5cc59fa56cbffc4f41bad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022kimi-k3.1-pro-highspeed\u0022) || lower.includes(\u0022k3.1-pro-highspeed\u0022) || lower.includes(\u0022k3.1pro-highspeed\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0ec4fb6c89d2d9a9b987be6f3d7caa0ef99004f78329319f80089f44581703"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.includes(\u0022kimicoding\u0022) || lower.includes(\u0022kimi-k2.8\u0022) || lower === \u0022k2.8\u0022 || lower.endsWith(\u0022/k2.8\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6a04a498fd10109e78ca6fe3bdaac6af676fbfb22455fdcef051cebcf40c29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.full_name || meta.name || prof.name || meta.user_name || meta.preferred_username\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/contexts/InsforgeAuthContext.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f406d872f76ecd49e85910050527898e23f10587a3927555d344a91d880cb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.trialDays != null \u0026\u0026 meta.trialDays !== 0\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/cloud/waffo.ts, scripts/setup-waffo-cloud.cjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/waffo.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f82375ae64436f93bc7f0793889ebdd41870833a2a4359f1a3c55901a237ad1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060new URL(req.url).searchParams.get(\u0022action\u0022) || \u0022account\u0022\u0060 appears character-identically in 2 files \u2014 scripts/cloud-sandbox/access.ts, scripts/cloud-sandbox/gifts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-sandbox/access.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ee8b854821437ab6eeab5da3c84cebc79db9e672ab423e1a038ab712251bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizeString(env.OPENCLAW_CONFIG_PATH) || path.join(home, \u0022.openclaw\u0022, \u0022openclaw.json\u0022)\u0060 appears character-identically in 2 files \u2014 src/lib/openclaw-hook.js, src/lib/openclaw-session-plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f7e361b8a5bd87628056c306b2a169162aa95d8e462c0ee6d9cba8537e3a80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizeString(env.TOKENTRACKER_OPENCLAW_HOME) || normalizeString(env.OPENCLAW_STATE_DIR) || path.join(home, \u0022.openclaw\u0022)\u0060 appears character-identically in 2 files \u2014 src/lib/openclaw-hook.js, src/lib/openclaw-session-plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaff40718b0c8440386d71a3165c1de682ff77b8750c63adab2cf4d70ee596a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022auto\u0022 || normalized.endsWith(\u0022-auto\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1914d3c8ae71608139b28b910e2cfad5436d8dc6f8ac6734667375c6413af408"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060now instanceof Date \u0026\u0026 Number.isFinite(now.getTime())\u0060 appears character-identically in 4 files \u2014 dashboard/src/hooks/use-trend-data.ts, dashboard/src/hooks/use-usage-data.ts, dashboard/src/lib/activity-heatmap.ts, dashboard/src/lib/date-range.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3eb2293230afc36c69e7db8f5b031b79f010f838ae2f7a92bf318f353b2b4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offsetMinutes != null \u0026\u0026 Number.isFinite(offsetMinutes)\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780cf2103db7c089bdd9861f9f7e505127b5ca527e2325287651d2299c1e3f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060openclawHome || path.join(os.homedir(), \u0022.openclaw\u0022)\u0060 appears character-identically in 2 files \u2014 src/lib/openclaw-hook.js, src/lib/openclaw-session-plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/openclaw-hook.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceffdf673ec1859310ec4c8dd2e2f2223257e12e7c4054573ffe1c57832e7d0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.basename(nestedPath, \u0022.jsonl\u0022).toLowerCase() || \u0022subagent\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0ce7cd493e6cce9d3363b0ec1a12ca83c54a5f40cc29acd82fe8a2d4848300"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060performance.byModel.get(row.model) || normalizePerformance()\u0060 appears character-identically in 2 files \u2014 src/lib/dsh-session.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"455885140de45a569cd4debad1eddb05419005c65df3eed953037cc655bc7892"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CODEBUDDY_HOME || path.join(home, \u0022.codebuddy\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f32ac3980b5fc465b845b66fc90bf9ca32ef3ee6d299e7502bb39b2205f4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CODEX_HOME || path.join(home, \u0022.codex\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11e681f233dc66a2bf946fe138eba2c1e14cfa1cb0be123fedff46f42c76ff0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CODE_HOME || path.join(home, \u0022.code\u0022)\u0060 appears character-identically in 4 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f89f515bbd0a641bf3a49cf47cf38ab0fe7da84c40df02d791d6a7f4f9e03e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GEMINI_HOME || path.join(home, \u0022.gemini\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe0896627138941d661c2f436bd69f8397db9c0c784e6e4c23540d8449e468"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.KILO_HOME || path.join(xdgDataHome, \u0022kilo\u0022)\u0060 appears character-identically in 3 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d4852064cea94379cacc9afd29391776ad65c1e3fbfba827dc80e3236e9995"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.KIMI_CODE_HOME || path.join(home, \u0022.kimi-code\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/status.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5591e1f39508ff1fa0a151a8633d70e8c830c6ba6de298e86c79beb0593f82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.KIMI_HOME || path.join(home, \u0022.kimi\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/status.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"e302a4d7fbb27c50e5af748b4c114ef0bf8e360696acf8bfa324066bbefb1150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.OPENCODE_HOME || path.join(xdgDataHome, \u0022opencode\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9011bf4976828595ff29f3f19d40d8d013c6ba409b990b63d31ab16a16057ae7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.TOKENTRACKER_ACODE_HOME || path.join(home, \u0022.acode\u0022)\u0060 appears character-identically in 4 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7e8c2dd70e9573ff38d0a64e8b621634cfa2297a8894a126dcc21dace22ea8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.WORKBUDDY_HOME || path.join(home, \u0022.workbuddy\u0022)\u0060 appears character-identically in 2 files \u2014 src/commands/init.js, src/commands/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4d465889473184aef59f5ee973c490d9c67188e5a83b24e0439ead704fab7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.XDG_DATA_HOME || path.join(home, \u0022.local\u0022, \u0022share\u0022)\u0060 appears character-identically in 3 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba49caf7bd518ff88c7cdc5d79c0d90a49ba4de2ace3807f10181c7c3f656bef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022win32\u0022 || wsl.shouldProbeNative(process.env)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"990a0a6e8f03ef04b85769903e0f7bdcfbd04860e52a02111484df02dea7bdba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0022win32\u0022 \u0026\u0026 typeof process.env.APPDATA === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9a35a8f145b0ac58e149b9779085444faa54177ec36523bdfd149142b9d409"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0022win32\u0022 \u0026\u0026 typeof process.env.LOCALAPPDATA === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29dc308c137b968b34b8fba2090ae1adcb346f208048917f7c22d10a9e1fcdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0022win32\u0022 \u0026\u0026 wsl.shouldProbeWsl(process.env)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f9d9e3b1671e829bcabd3cfec1cd236f3f2c27c694ab555ad79ce33101f39f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile?.name || profile?.profile || profile?.profile_name\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb6a6e3782d3c5057b97f8604bfbbe32b3a2ce4e53f7936a8c5b563da03dcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile?.user_id || profile?.userId || body?.user_id || body?.userId\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5326af7b9e1bc89f83d4cf709482511240619556007b2fe9e060b20ac0f15a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profileResult?.error || profileResult?.status !== 0\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a0f0996a86ba7a37a784cf785fb24e229f0c984d85bc6a6c7d07c3c0d8e34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw \u0026\u0026 typeof raw === \u0022object\u0022 \u0026\u0026 !Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 src/lib/claude-config.js, src/lib/gemini-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-config.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"97046ddcc3872375bfd949cd714dbe80675e64670ea69586ac7a5236b2f14d97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw == null || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 src/lib/proxy-env.js, src/lib/proxy-settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-env.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aedd7bd5dcf8fe57e9f75ea802314274326ac5bc3bf407a89fa7237d8697622"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawDeviceId \u0026\u0026 /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(rawDeviceId)\u0060 appears character-identically in 6 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad10824ff0ef68cc896f9dc1b039e60e476c05de71127b3f116767087e6b822a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawPercent !== null \u0026\u0026 rawPercent !== undefined \u0026\u0026 String(rawPercent).trim() !== \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab67abbe8001aaf780dde053805de73302c1877804f016d06ee877d398dbdd9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.oversized || record.utf8Valid === false || !record.line\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd6647186e421e658c5d65ebf71734e0a09b7785b6cda0c9a8ecaeed70ad3df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method !== \u0022GET\u0022 \u0026\u0026 req.method !== \u0022POST\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-account-skills.ts, dashboard/edge-patches/tokentracker-billing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"513359bf6c978fddf118f440ee1711667ef7c5e7991657801cffbd9389810df2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.status === 401 || res.status === 403\u0060 appears character-identically in 3 files \u2014 src/lib/cursor-config.js, src/lib/usage-limits.js, src/lib/zcode-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-config.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb28195f9fa988642324cbadd89e817e81a808bfeca5811f2f5ce60f6a6839"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || response.status === 403\u0060 appears character-identically in 6 files \u2014 src/lib/deepseek-limits.js, src/lib/grok-limits.js, src/lib/opencode-go-limits.js, src/lib/qoder-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-limits.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b80502d3a1f9d5fbecb62265ea649fc32540a5118ddad1d3b18060fc3870880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 404 \u0026\u0026 (method === \u0022GET\u0022 || method === \u0022HEAD\u0022) \u0026\u0026 target.origin === PROD_FUNCTIONS_URL\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/function-url.ts, src/lib/function-url.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/function-url.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"93475a2d8249406110d8c6f0e2ef8aa2863b7c2e1e5026d4325538f809d77a6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response?.status === 401 || response?.status === 403\u0060 appears character-identically in 3 files \u2014 src/lib/commandcode-limits.js, src/lib/devin-limits.js, src/lib/workbuddy-ipc.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c069addc5fa4cd9b1850354db590668da27cd3012a36e9c2f96a69abed775fa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result?.status !== 0 \u0026\u0026 result?.status !== null\u0060 appears character-identically in 2 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b89b038e48b8fc439aa512c1aad18e7fb3ff88b909a8946025b7442fceef8ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.mtimeMs - left.mtimeMs || parseDshVersion(right.name) - parseDshVersion(left.name) || Number(right.name.endsWith(\u0022.zstd\u0022)) - Number(le\u2026\u0060 appears character-identically in 2 files \u2014 src/lib/dsh-session.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3797899a2582a51d1bff136213720e849770bc87799d7ef12f8f3475365a41bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.source === \u0022codex\u0022 || row.source === \u0022acode\u0022 || row.source === \u0022every-code\u0022 || row.source === \u0022cline\u0022 || row.source === \u0022omo\u0022 || row.sou\u2026\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3908b4d922475cbed0db2cb402da63a7ef7aa671c07fce947accb262490f1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.source === \u0022pi-github-copilot\u0022 || row.source === \u0022pi-copilot\u0022\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e6658326e0e90312f6d6fd9e58cf457b647df0a3fcc909cd7af5cd4ce4987c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.source === \u0022unsloth\u0022 \u0026\u0026 /^(local|unpriced)\\//i.test(rawModel)\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"0946fe2b812fe94edd524978c18e237950589bc4e6051a84330f010a644e643f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.source === \u0022workbuddy\u0022 \u0026\u0026 rawModel.toLowerCase() === \u0022auto\u0022\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b2542c746cb64bbb466eaadc3e77e51de1755cd37a6504ca62d8998288e7f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runner === cp.spawnSync \u0026\u0026 !fs.existsSync(MACOS_SECURITY_BIN)\u0060 appears character-identically in 2 files \u2014 src/lib/subscriptions.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"606102a9d8fce0ba2dd25bb61d2c4fedf11d7322660eb20412844852a25fefc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060secret \u0026\u0026 provided \u0026\u0026 timingSafeEqualStr(provided, secret)\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-leaderboard-refresh.ts, dashboard/edge-patches/tokentracker-user-badges-refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-refresh.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"631a7745596ff163faa293efca33a0fffd07b03a0701348793eb678e16905825"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settingsRow \u0026\u0026 typeof dialogOpen === \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/cloud/CloudUsageExport.jsx, dashboard/src/components/cloud/RedeemProCode.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudUsageExport.jsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9b1a2cbc7b7ce298b3baa6c5a84f39ae566ff56c12d8b60c755cfbb55e041f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source !== \u0022codex\u0022 \u0026\u0026 source !== \u0022every-code\u0022\u0060 appears character-identically in 2 files \u2014 scripts/audit-token-correctness.cjs, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/audit-token-correctness.cjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb07d34bd5e195f0a8c27c01c9f1de0a53da99ceb5820fd72e5701b3da3df64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source === \u0022cline\u0022 \u0026\u0026 lower.endsWith(\u0022:free\u0022)\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef975e908a6e79d10eea45878a889cea0b2ea935e0c2eab7cab98e3d4d761690"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.toLowerCase() === \u0022workbuddy-ai\u0022 \u0026\u0026 model.trim().toLowerCase() === \u0022auto\u0022\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts, dashboard/edge-patches/tokentracker-leaderboard-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4f1aca2c44df22ccedc211d0c09f007a41a1980f9458b2030cf1c808dd8f07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stale \u0026\u0026 Date.now() - stale.fetchedAt \u003C COMPACT_STALE_IF_ERROR_MS\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts, dashboard/edge-patches/tokentracker-account-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b3238ba0e9acfc3ff073cdf2e94e71af0b79829298be566b89f7013a5ab98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stale \u0026\u0026 Date.now() - stale.fetchedAt \u003C GROUPED_ROWS_STALE_IF_ERROR_MS\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/edge-patches/tokentracker-account-monthly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"411689cf482167e9291e1c1c33e0f8d3ba6a4d56f5c10603e1a9c43a1b2f7cdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.messages \u0026\u0026 typeof state.messages === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/cursor-store.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"914dfc5a2f6545bbadb3086a69141a7f50da61a5fe19d4174bdd0a732ad28e84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.native !== undefined || state.wsl !== undefined\u0060 appears character-identically in 2 files \u2014 src/lib/cursor-store.js, src/lib/install-resolver.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e307bd60ce3426905e421d1cedd49400213b5860d691c6c0a9d05e4855af4ada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.native === undefined \u0026\u0026 state.wsl === undefined\u0060 appears character-identically in 2 files \u2014 src/lib/install-resolver.js, src/lib/multi-install-parser.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305e47a887fd76f6edcac8aa0e1fbc23c4958e97cb9ace9d0a245bcc0587788"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timeZone \u0026\u0026 typeof Intl !== \u0022undefined\u0022 \u0026\u0026 Intl.DateTimeFormat\u0060 appears character-identically in 5 files \u2014 dashboard/src/hooks/use-trend-data.ts, dashboard/src/lib/timezone.ts, src/lib/codex-rollout-parser.js, src/lib/grok-context-breakdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-trend-data.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"477261a6ef15fea0598d47d9d2e690d913f188a0bfb627e79936ebecd7c52ca3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toDate \u0026\u0026 Number.isFinite(toDate.getTime())\u0060 appears character-identically in 3 files \u2014 src/lib/claude-categorizer.js, src/lib/codex-rollout-parser.js, src/lib/grok-context-breakdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d88d18b5c3c6d284fc3c867d9e3edeb178f70f49310d0c9832767d6e8415b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.cwd === \u0022string\u0022 \u0026\u0026 entry.cwd.trim()\u0060 appears character-identically in 3 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"318791f512ebed4ccf57cc093660a19b6254beccdc33f752a7bf65610fcf32c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.id === \u0022string\u0022 \u0026\u0026 entry.id\u0060 appears character-identically in 3 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb767b4b8de297c51ef1193ba6a38b7112fcfeffbc5c66dd317fc6838c2eea4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.id === \u0022string\u0022 \u0026\u0026 entry.id.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2d8ec097da6c0d013526f6bbd8300ffea7bc54c8f45a5ed77a5607d2ed872d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry?.timestamp === \u0022string\u0022 \u0026\u0026 entry.timestamp\u0060 appears character-identically in 2 files \u2014 src/lib/omp-session.js, src/lib/pi-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0b32001bdba49de2803aff50ef4796a0846d614d5dda0f442181b33e0b02c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof env.APPDATA === \u0022string\u0022 \u0026\u0026 env.APPDATA.trim()\u0060 appears character-identically in 3 files \u2014 src/lib/dumate.js, src/lib/rollout.js, src/lib/trae-cn-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dumate.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"163697c19c9e21898dce90a896e63782135057d879d98ad22e72bc250324cb91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof env.GROK_HOME === \u0022string\u0022 \u0026\u0026 env.GROK_HOME.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71dc3ea73c702a1f625cadacd875f87796d8f4a1ede808fb026f5f0c626c7ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof env.TOKENTRACKER_GROK_HOME === \u0022string\u0022 \u0026\u0026 env.TOKENTRACKER_GROK_HOME.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba6ba4a60be4d362e2257f4ab212fee698f1c422c23f0590589553b205cd2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof env.XDG_DATA_HOME === \u0022string\u0022 \u0026\u0026 env.XDG_DATA_HOME.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/install-resolver.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-resolver.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bce40db70ddc20280e07c5693a5ec2a10b433713457f0154a771b02e3bda341"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof env[homeKey] === \u0022string\u0022 \u0026\u0026 env[homeKey].trim()\u0060 appears character-identically in 2 files \u2014 src/lib/qoder-limits.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/qoder-limits.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b303036fcbbaf4c1d144b2f38616bd7ad859e46a523162c6d314aa934661c916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof filePath !== \u0022string\u0022 || !filePath\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4860}}}],"partialFingerprints":{"codehealthFindingId/v1":"57837f56bc2d628d40579db20a15093caa1476b96cf5f074217b4ac4b56b16f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof filePath !== \u0022string\u0022 || typeof root !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/antigravity-discovery.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/antigravity-discovery.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9217b336b04c8b41bacd1e574c203311813dba6e0d1b6438a914c4c55a203ec5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof filePath === \u0022string\u0022 \u0026\u0026 /\\.jsonl\\.zstd?$/i.test(filePath)\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/codex-rollout-parser.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aabaed092b28adc6fb878d375bf792b31b8b1977239b0bd1f0fe3e15e5035f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof model?.id === \u0022string\u0022 \u0026\u0026 model.id.trim()\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/model-breakdown.ts, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/model-breakdown.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"500d36f8c7f96536715e592d18d44bad2ecc7b169f94e4a6291d54055abdcc89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof override === \u0022string\u0022 \u0026\u0026 override.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"635198b662987b23d1664abe7971cd5ee0937854ac41282a049f2f883bd593a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof payload.exp === \u0022number\u0022 \u0026\u0026 Date.now() / 1000 \u003E payload.exp\u0060 appears character-identically in 14 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-hourly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"88734078061f046f41e58d8d6dcdbf8aeda05bea20d32e6e767873cb4f10c966"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof payload.sub === \u0022string\u0022 \u0026\u0026 payload.sub\u0060 appears character-identically in 4 files \u2014 dashboard/edge-patches/tokentracker-account-skills.ts, dashboard/edge-patches/tokentracker-leaderboard-refresh.ts, dashboard/src/lib/api.ts, dashboard/src/lib/cloud-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-skills.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e6b5ccc2f8eb1793cd1be90be1f3dea035cc84f77b2e094d109a17f753440"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof projectQueuePath === \u0022string\u0022 \u0026\u0026 projectQueuePath.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":6325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3eb9abcd06b988802da2d9f0c28926391d0c0b2f4f0dc30599851a3cf90303"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw !== \u0022number\u0022 || !Number.isFinite(raw)\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/desktop-quota.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/desktop-quota.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ce6d19a77243dd3f7f04141d68db36f106bf5e6fcee9103f7b6318ddf5b449"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 src/lib/proxy-settings.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/proxy-settings.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3cf7823882e9440dc473e2fb2c336d89780b7cfb41604259d913c576b78ddc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof refreshToken !== \u0022string\u0022 || !refreshToken\u0060 appears character-identically in 2 files \u2014 TokenTrackerBar/scripts/native-qa-auth.cjs, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/scripts/native-qa-auth.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797d8bcaf9bc2be63e88616ca5718d798dda1a00d84da8022bdf89c9d3f8028"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof refreshToken !== \u0022string\u0022 || !refreshToken.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515f9cf63bc75c1ba09240237c039e37aeb1325c95e0291fff3c5bcc8158cea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof row.model === \u0022string\u0022 \u0026\u0026 row.model\u0060 appears character-identically in 2 files \u2014 src/commands/sync.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":5882}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c588fe218be422199b8e5826cbd77787c336112d619bf4f329aa0ea7232c5d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof row?.directory === \u0022string\u0022 \u0026\u0026 row.directory.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/rollout.js, src/lib/session-analytics.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":6244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3c6dcfa5a99c120d02fc309f3fbb9de67fb5eea8bcbae96e007cb4c2d63e33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof sub === \u0022string\u0022 \u0026\u0026 sub.length \u003E 0\u0060 appears character-identically in 14 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-hourly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b954b7acab8a204e9a16d41cdb21d7de0d384c82a4974bb86395b2efd618f09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof token !== \u0022string\u0022 || !token.trim()\u0060 appears character-identically in 2 files \u2014 src/lib/grok-limits.js, src/lib/qoder-cn-cli-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-limits.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"135bc84ca18c67d65cdad16bb5c37c1d0d05fb49d6d9431f55167677b1780596"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof token !== \u0022string\u0022 || token.length === 0\u0060 appears character-identically in 2 files \u2014 src/lib/codex-token-refresh.js, src/lib/usage-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-token-refresh.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590b7215e78864230ff71f71084b2cd7d7cc16f0823e52e9bf46f981369c239"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof trackerDir === \u0022string\u0022 \u0026\u0026 trackerDir.trim()\u0060 appears character-identically in 3 files \u2014 src/lib/deepseek-limits.js, src/lib/limits-cache.js, src/lib/provider-api-key-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deepseek-limits.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"18537430ab7d6a376ee118913e1eb84c95b2eb6a8bdde7ffec25a6347f9a9568"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof uid === \u0022string\u0022 \u0026\u0026 uid.length \u003E 0\u0060 appears character-identically in 12 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-hourly.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e528d5ac9a15315738949eb5b5feedae8ec30cadbeb37632ead42ad3af00fd25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof user.email === \u0022string\u0022 \u0026\u0026 user.email.includes(\u0022@\u0022)\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/contexts/InsforgeAuthContext.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fd9c19dd795eb1c23e6c1ac526b6f7a6df666af11c23c9b9032611db453589"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022number\u0022 \u0026\u0026 Number.isFinite(v)\u0060 appears character-identically in 3 files \u2014 scripts/build-pricing-seed.cjs, src/lib/pricing/litellm-fetcher.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-pricing-seed.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b2fa476c996cc84519c41dbf62c97bf936d435288766cace758b756c9596e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !value.trim()\u0060 appears character-identically in 8 files \u2014 dashboard/src/components/cloud/CloudMembershipCard.jsx, dashboard/src/lib/insforge-deployment-config.mjs, src/lib/claude-backend.js, src/lib/devin-usage.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/cloud/CloudMembershipCard.jsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5ba6ef5fceb2feae30809a517ca120ed0912824ad5b0d8da3f1846219334d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/pet-quips.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d26f17efef3b913c44e06f93f245ce0380b08e092193dd186047617ae01ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 4 files \u2014 dashboard/src/lib/currency.ts, src/lib/usage-limits.js, src/lib/workbuddy-limits.js, src/lib/zcode-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/currency.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0333713377d0cc1814ffb5aa667410323ee5997b0a4efa53d6aee99b738f44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || /^\\d\u002B(?:\\.\\d\u002B)?$/.test(String(value).trim())\u0060 appears character-identically in 4 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js, src/lib/commandcode-limits.js, src/lib/qoder-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aff8e97b4536ffae480e9b193d821a60365d07a67b5fa99bb16ec1247ffb5e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/lib/cursor-store.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-store.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"778aeab870a620fd2e4c17bb72c1f8b6be57ef3c3bf01695a63aa40046c58106"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 9 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/lib/copy.ts, dashboard/src/lib/pet-quips.js, dashboard/src/pages/ResetPasswordPage.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd375f8208fbc9b13c603162c51865793dd91c2be05e6decdc67d8c58d32a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim() === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/lib/format.ts, src/lib/devin-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/format.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7dd44de3379d689d8d6e42e5ff2217892602176e7a39466d6eca76a7825d8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 src/lib/commandcode-limits.js, src/lib/devin-limits.js, src/lib/workbuddy-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/commandcode-limits.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0258f09778ed8488cb9adb285eced8ee61ab1940882d437bfb621dfec7ad074a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 \u0022requestIdleCallback\u0022 in window\u0060 appears character-identically in 2 files \u2014 dashboard/src/hooks/use-community-stats.js, dashboard/src/pages/LandingPage.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/hooks/use-community-stats.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a671175251c42424ffbd01e6a32c406eb4001aa2038122ef6b6d30cadbcf87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 (window.location.hostname === \u0022localhost\u0022 || window.location.hostname === \u0022127.0.0.1\u0022)\u0060 appears character-identically in 15 files \u2014 dashboard/src/App.jsx, dashboard/src/hooks/use-activity-heatmap.ts, dashboard/src/hooks/use-project-usage-summary.ts, dashboard/src/hooks/use-trend-data.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/App.jsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e9f648bff06b459794da203795e5b7a6caa2b2abe2314f83a5dc3f68e59c9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0022undefined\u0022 || typeof window.matchMedia !== \u0022function\u0022\u0060 appears character-identically in 4 files \u2014 dashboard/src/ui/dashboard/components/UsageOverview.jsx, dashboard/src/ui/foundation/BotAnimated.jsx, dashboard/src/ui/foundation/ClawdAnimated.jsx, dashboard/src/ui/foundation/PetAtlasAnimated.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/UsageOverview.jsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de6c77b0cad1d54b3bd6c4e3596b18f6ec75927c3782bf8727812339617e4a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tzOffsetRaw != null \u0026\u0026 tzOffsetRaw !== \u0022\u0022\u0060 appears character-identically in 5 files \u2014 dashboard/edge-patches/tokentracker-account-daily.ts, dashboard/edge-patches/tokentracker-account-devices.ts, dashboard/edge-patches/tokentracker-account-heatmap.ts, dashboard/edge-patches/tokentracker-account-model-breakdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-daily.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25205ca41ed38fc3fa163b1696473b0d2e16f371c0c18233e123dbdd0b8e5ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unslothDbPath \u0026\u0026 fssync.existsSync(unslothDbPath)\u0060 appears character-identically in 3 files \u2014 src/commands/init.js, src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/init.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fa044629ea1a5c76257a27c13c5cd567df1febd21477a77c8111881aea534e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022action\u0022) || \u0022account\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-billing.ts, scripts/cloud-sandbox/native-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-billing.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c3a2b6338963a45fd2f323faf5753a9742fddb4a982534386f38708a2cd2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022day\u0022) || new Date().toISOString().slice(0, 10)\u0060 appears character-identically in 3 files \u2014 dashboard/edge-patches/tokentracker-account-hourly.ts, dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-account-hourly.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f6ce20252ddf992ed6a6176f62d3d178cb103c9b1e61c41c831e2ddcaf6b74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022period\u0022) || \u0022week\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/edge-patches/tokentracker-leaderboard-profile.ts, dashboard/edge-patches/tokentracker-leaderboard.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/tokentracker-leaderboard-profile.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afba5e243a87c6f9f5039d9ccee2e6118cba9773237eef072467ea4aed7bbf9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022source\u0022) || \u0022claude\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/vite.config.js, src/lib/local-api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/vite.config.js"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd86588db486ab22b510a4636c55febe792b2dbdf14ba0ba0135237aa8bff38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.email.split(\u0022@\u0022)[0].trim() || user.email.trim()\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/contexts/InsforgeAuthContext.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dcaaab801efbfbbaeb0593f18809172875470963062f0af1e706493fa28597"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.profile \u0026\u0026 typeof user.profile === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/contexts/InsforgeAuthContext.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de51d12338906d5217b7bcd7d290738c81bff38fd7344c25e8e65245cc0ba16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.user_metadata \u0026\u0026 typeof user.user_metadata === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 dashboard/src/components/settings/AccountSectionUtils.js, dashboard/src/contexts/InsforgeAuthContext.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/components/settings/AccountSectionUtils.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8634e1025a5cba7cc0478308babd7550c3ebfb1aad089312fb721e6b3125f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 src/commands/doctor.js, src/lib/cursor-store.js, src/lib/rollout.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/doctor.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d05ee7d583dbaa8724761fd58bb902e0d7088ab2dbcb2262a91a470dcb2334"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || value === \u0022\u0022\u0060 appears character-identically in 10 files \u2014 src/lib/ark-agent-plan-limits.js, src/lib/ark-coding-plan-limits.js, src/lib/commandcode-limits.js, src/lib/grok-limits.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ark-agent-plan-limits.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03968869cf3d6e416a18cdff7174c1a25f5935605ff99888edcf571cd97f196"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060zedDbPath \u0026\u0026 fssync.existsSync(zedDbPath)\u0060 appears character-identically in 2 files \u2014 src/commands/status.js, src/commands/sync.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"88606d13cb9edaa30e4b89c7b169e018b11df6f3958b004d279a314de1aec840"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8b2f88eaef61aa7bcf87f426f1a07e362ec28954277568d007e588badb7d28"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060label\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28689e91b130e3a0e515a548c7ee411473e9da958e819c1fdb1a9f7bcc106a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2633081d94cc29b3fd0b79d797dcea2b92ea341ec7512a7e6d9c92181e72fc28"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t.failed\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"108c28ab28a58cd911f6d7a1b39ab402402140890b3d6128304c4afb20ecad9d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060trustScore\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a533a35cd91f5b902954f65dcaa05f68844fad278ebeb20970dbeb11a82e802e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060pingCls\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"118412def485419c6ada70fe2f16d410c2f59d021569b9bcab61089c157a0873"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t.regionWarnTitle(restrictedName)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e991bf3c0deb617486e5a078d28b2e554dd241fecf43596e1bd1db6adb9a4c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t.histEmpty\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af50c4b41a97693d379e0cf0dc4c88c714b778677ebd68ab5f1bb8dcbc25b7a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t.failed\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"063f327dece50ace6419e4dc68cdd468cfb384703fe73006633ff101c0a3a393"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t.failed\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ae702a5acb095eacc6f56bea6385c4c5b354a6191d278282fe89ef8d66a86c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svgHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pet.jsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4362744f3e60f7c0be7927aee1c0cefafc838b024cbd628d7efec39534f1fe30"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svgHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/foundation/ClawdAnimated.jsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d1448698be62ee71722070d7d3c7c9dd72866e32cd9f752f8b19bff011e620"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060redirectUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser-auth.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"254bf5323a3a58d270084a48a8a8da0b8b47637715fc99d9246d23ce1c7a118e"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/2 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~2.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 55 assertion(s) across the 27692 source line(s) of the 108 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: dashboard/src/lib/bot/shape.ts (11), dashboard/edge-patches/tokentracker-profile-likes.ts (6), dashboard/src/lib/bot/engine.ts (6). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~0.5 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 20 suppression(s) across the 41190 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadSettings\u0060 swallows every exception into \u0060return new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/AutoUpdatePolicy.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"735701000d44db58b08b1c61fa5359fb592cdeb6cad9ff7bd4e66420582c67f1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ResolveProxy\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ChildProcessProxy.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f2a75872d2c02c7d9369abd9bbb1e952ba0fe4d320d47033a586fd6195c54"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadPersisted\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/Currency.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee41d309f59016127d6fb35b2bf628ddcd2d865c8c7c91bfb55c9e5afb1a4717"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadSettingsObject\u0060 swallows every exception into \u0060return new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/Currency.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ff38d7f29e1af3e41e10c9f311ab7385e5c35d45690a6977da9cf103436314"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060RecoverFromDispatcherException\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6b547d82db9ab0bddfdb8b3e357a975e868f978210d2e599cb45f1c2b34b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadCurrencyAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0d24a901c2d7f1de4ebdcdce9359b8eb415b7d93dd88746a21573d3d618ce3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadLocalePreferenceAsync\u0060 swallows every exception into \u0060return NativeLocalization.SystemPreference;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a993755f1ed9cef202995a2048b856e9e68af6d07d9112bd5cf6d0c1efbeec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadThemePreferenceAsync\u0060 swallows every exception into \u0060return NativeTheme.DarkPreference;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DashboardWindow.cs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02b1b5165aeddfc56aaf6396a5ad73b90fac14c75ef091a2511cd34a642e78c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadStoredPreference\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeLocalization.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a156063df207b96c040790cbfb2a0dad3271e3ac1e0dcd15a706626a0c91dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadSettingsObject\u0060 swallows every exception into \u0060return new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeLocalization.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c035e419057426104a22772d4930e869cfe23f77dca771f0c8f33de2663c52"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadStoredPreference\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a1612b62c27aa8064cdb7191399be9dbe8b3390b895b31cbecbcdfe06cc4d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadSettingsObject\u0060 swallows every exception into \u0060return new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f14ee510ff440cda6ae04fa102eb539680176e6c682cfb91446bdf2a35e4030"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsWindowsAppLightTheme\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/NativeTheme.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeecf448b8c5b8490edeac7d91a6fa1a4a6f02c2b3a5b51a2bfe5402437ff28"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadOpenCommand\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/OAuthLoginWindow.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ce282e2b8c6374ff93e1ef37a4fede1c3b33b6c6ab81af0b976373707ee60a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsPointOnPet\u0060 swallows every exception into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7284ef5c1c4179d5a4fa58443cecd0e8f59aae124c47ebe5647a57fd451cf3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CurrentBotColor\u0060 swallows every exception into \u0060return \u0022auto\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7922da4bce4734ec217f4eea8216aa86de19c65010da54512724fc180eca473"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060StoredVisible\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"69734f8f9157560ffaefa0bdc7ba0a1583a47a989622bde0f87926d8e6e6dc9a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsBuiltinCharacterHidden\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c331324700cc23891611039f2239862d612da2f9f63d9a8ab4c2e6c198125b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CurrentSize\u0060 swallows every exception into \u0060return SizeMedium;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"17469fad959e795229bc9ef9d20c374320665cded7df919cc711f85965ec8b4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CurrentCharacter\u0060 swallows every exception into \u0060return CharacterClawd;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"448467c8831bc0609ed22c0897e531604ff9cc621a0dd06bc9b9b00caa00ca36"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WriteSettings\u0060 swallows every exception and sets \u0060settings = new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/PetWindow.cs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6dfe75064839ccf17c98f4be716bb1f31c987971ac98aaf7fc87c9777e84f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Load\u0060 swallows \u0060Exception\u0060 into \u0060return new();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetSettings.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f59ebc26aa564125868e348fb47fbda0794870ee996a54397685be273689e5e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ApplyLimits\u0060 swallows \u0060JsonException\u0060 and sets \u0060_failed = true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/QuotaWidgetWindow.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b4deb5e796d86f65ee464ae3225cb4c897d38d2a226b781ad681d83a4478a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060LoadMetadata\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ResumableDownloader.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6035a271247c90e12dc342a33a3d0a41b44e84aebf7565ecb2f11940e02b88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsProcessAlive\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"461af92b5357198f8ccaf7885db3b1185c8b555f419324a3001e4fc75be81471"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsLoopbackPortBindable\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"3524baa2018d229ec7ec3c4419bf0478773df629ac8dd48590f460da2fbe293a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CheckHealthAsync\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/ServerManager.cs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6666ba423066931aad3ffc744de82d269d32579656e41e09df5d91b9dfa6480"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryForwardToPrimary\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/SingleInstance.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b015e9dfa02b41505f4dae2a8e19cebea11c786514c493108138e3a93f0a6e26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadStored\u0060 swallows every exception into \u0060return English;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenUnits.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c433b05576ddc7f55f2bfd585db6a49ddec04f3b9b290f4d25f9bdd749317891"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadSettingsObject\u0060 swallows every exception into \u0060return new JsonObject();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TokenUnits.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6c321df46e8076729ae8ee18f5cdd253c20ebb11517eb16f883f7f9e9b50d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsTaskbarLight\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/TrayApplicationContext.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a5c910266ac6f2688907acd991e219b1394ee0cee82b19692ae225b2ace42a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060CompareVersions\u0060 falls back to \u00600\u0060 when \u0060i \u003C pa.Length \u0026\u0026 int.TryParse(pa[i], out var x)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UpdateChecker.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0239cba7350aa412a7a043fdb0c1c0933fbdeae2e5218c1e974d619f235e2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FetchLimitsAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b168c9840508881bf1d9442574dfc511c23214a9e1fc25b9642820e934f110d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FetchAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6603ab21f281a5af9ed94f7f4c60c2ea18007d5fd67f61ecd7c97571b350fe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FetchTopModelsAsync\u0060 swallows every exception into \u0060return NoModels;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/UsagePoller.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a681e8da6a867b0926be74cfc514761b805be58b974e83522cda7570b73863"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060transportSHA256\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerBar/Shared/NativeQAProfile.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab46de520d43d73a688db1b75316ecf59c9851f30b98d3ef006189aa6f6e1b51"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060js_string\u0060 turns every \u0060Err\u0060 into \u0060\u0022\\\u0022\\\u0022\u0022.into()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerLinux/src-tauri/src/pet.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1915f5720844b300bf3e8398fa254c1f4b6ecadb5627dbb0dabf14c8fe33eea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLines\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-backend.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b6e22114dabff1e6a18ce8c6e597873bdedec891fda178cf0a9455a346bd3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeReadDir\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":5525}}}],"partialFingerprints":{"codehealthFindingId/v1":"8813229455786a8f9b7193817f0791de5b81cf4797b7dcea70a869804ddfc6f5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countKiroJsonlLines\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":8053}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36e097354ea2cc961dbfddf862cb6a45ffcb38daa6ed39705b32e0acaf95a1b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readKiroCliSessionTurns\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":9031}}}],"partialFingerprints":{"codehealthFindingId/v1":"d540d0cdcc8ced1bd007cedb61278a33c4d5b34ec44e785901b64379d9dcfd88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractDroidModelFromSidecarJsonl\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":16199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de0776186b4a9709107c068c5878835dc0273b148ca43874767464d771d1c0b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveGrokBuildSessions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":21238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8bdc1583d6681be9832f5819910a024c122a2775b0c357129afce5e4e04e48"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060antigravityValueTokens\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/rollout.js"},"region":{"startLine":23650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a304a0c21f80e1a66e2ef7739d792829b89495d155e2d05ab46e9f46e6b9430e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveDumateDbPaths\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dumate.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cfb12f7a2da129675d707b000fff8344253db9614b981df0658a6611a5eda1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060categorizeSessionFile\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf763d98ed874141ab09f7b59336f18c868d957189ffa5a68d3919fe0a638319"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countDirEntries\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7643f2fa729940d5e507930890dfcfa04358f380cbb02bee82dced9508529a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fileExists\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/claude-categorizer.js"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"880a5edfd01f5d2b1219d5016178837ea5a519e6d4c848107c06d28ea6002901"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadSeedSync\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pricing/index.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97060f4ce4ad0eb793c6e414bedd9833a4e4a6a9c40f40e6d27dbc6f0075a5c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverGrokSessionFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grok-context-breakdown.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e049e3b7323a4c16b04b5c629fc27a958949bb27e6cd9e8c87be4f0bc0204"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readHiddenBuiltinIds\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7804a51ab12636539c65fad2b204ca46a90b9a76a2d86a0b2f6b235ec06c4aad"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCodexBuiltinPets\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet-packages.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8308b14c0d2c5a3e2317d67647890e65e29208de2d66a3cfca3fe495ccdc77e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveClaudeKeychainAccount\u0060 swallows every exception into \u0060return \u0022claude-code-user\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/subscriptions.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"45004fa93e748d0d57c4297b5e0b635340a98aa8ca3408857228b96b840dee55"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadZcodeProviderAvailability\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21443e2aa3b530e094c6ec5f26321ee8265d8333d84e6f53b25ff48bdc1b0a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadZcodeSelectedPlans\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaafd765f4247d3cacb4b4d9c8273531a5b77b4da9fd87852da11c9addb2313f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadZcodeCredentials\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea679871a283e8d2a4ab3e74dbd86f3b244634ffe16e4f62c08ec41b31ec64a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadZcodeAuthCandidates\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc4b755e79b5b4481e86030ccc7b3cc7146ffc52e6156af6c47d36d9a5b77fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadZcodeTelemetryDeviceMid\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/zcode-limits.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d222c33b6a8afc3a47399d84d49434ddd596b305173d8352994f696efae88fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredApiKey\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/provider-api-key-store.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dd8f26c7ac8f6d4aa839496f53a5807c80501189e94df5f04a97687c5e5cfc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverOpencodeDbPaths\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-go-limits.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc7e99284b0be1eabdcf1f303436fa59258c06e81c7b7fe4632d15b9dc31779"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060versionedBinDirs\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/command-runner.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66c58ea312a2074154704fda939df9d58197d40a3ab28bbbed45fcd04310ca9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hostOf\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1df26f781550de743ed29391dcd5cce6764279faa30e921b4cfdaae1d23c748"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060directoryExists\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/workbuddy-limits.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73f858d73d707304903e04a8be14dfe3c5b73c31e4e5ac044b845327da36918"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseWindowsProcesses\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb134627eaaea4b15af9e90eed6a95d718342c3b7d63a2c90afbcc228167a41"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseLinuxProcListeningPorts\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/usage-limits.js"},"region":{"startLine":3209}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad368cb25aa62b59897d3fe6b2831f08d81d4b079406a36dd4bd0888e83df8a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readObject\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-session.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c164b8675999e51ac1d47321c533c2990ac05a7834094c80b717cc2bb1befc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverOmpSubagentFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/omp-session.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e57752fdba3dadd05a87e7b27ab8af8ba41394963e9f81f19911d659c1f81f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060directoryEntryIs\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dsh-session.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0735fea25a50f5a7ceadfc160528e5b6f5bd2bad3207b9a28eddf1f6d8d45f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readJsonl\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/git-outcomes.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cabfae439fb76fa5bf4329a3da8ebe1da51ea225b55f778fdc172f1d1b87b4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readActivity\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skills-manager.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d3ccf282863a3bcd5254d1bd7de74a2adff2e23565ddae2c3a77eb9ee031ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStatSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":4298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240e6d2049d0bae03c9900fa172a50ae0967e848b9fe3fe3ee517a79947ebe6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060relabelClaudeMemQueueRows\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/sync.js"},"region":{"startLine":7818}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d1857b52605ae396d52aeed33ff2d6b75ecb0d98ca1477e80acb4c3b59d45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStatSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diagnostics.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"61832689c3658ffeb850edd25813e1bf5515f9b31502984c6157c6face215d61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060cmdStatus\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8bd2c2b0ef1d224b280a4eca5b77f5c2e23779d1ce4c1067d011a03f867eba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStatSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/status.js"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8d7ad9c954df2b7931d54aaeaae5992305ff8f3af18ef154b665b16ee5a0cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060findPidOnPort\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e396e955e5c3eb244ec5edbe3f386a635d3f5f6066fa17b82c7c6428297b0b1d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProcessCommand\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/serve.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2c4d3eeb44a85ad63d8ecca30b5f895470ddff40e801f09de131f110c2bb1a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProBadges\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/edge-patches/cloud/pro.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de24278e68176e422465409a9fba3b9a2b6c8fbf36ea8c003088dd9cee7b5d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCurrentDeviceId\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync-prefs.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6d13a151fe1e401e069d90fdfc4fb0898586ff6f16bf5f77f8267a3854a11e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLastCloudSyncTs\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/cloud-sync-prefs.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4911251c612a7aedc47db5f721468b5085f46e4151d8456147131bdc7bb048a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCycles\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/limit-alerts.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f279f5735dc9df7da9d1764e1b8d5d6c209787cfbeca4868a1fe172d1e2c0193"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ActivityHeatmap\u0060 swallows every exception into \u0060return \u00222d\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/ActivityHeatmap.jsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b57a36b9d325f3e6008f08a34a44dfbd7d0db2ba3d811eb3082fe764a1a334"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060projectRefHost\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/project-usage-utils.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c63a1c75c139d71a347eed2d683d0ebd83c409a7b7857b4396ecc731379480"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getIPHistory\u0060 (in \u0060IpCheckPage\u0060) swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/pages/IpCheckPage.jsx"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dfb351118dbb66245620f69ddc6245fe1b6eac669244d166ed562617d4c109"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseCycles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/bot/cycles.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f9fe15cb44a2ef171aaf177865400c25a6fef895f5171acac4d2ffa5edf8fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchTopModels\u0060 (in \u0060startLinuxPetHost\u0060) swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-linux-host.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2cd1744d6a94d76fc1ad276be589bdf524974357fc562859794c180d652ece"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060systemPetLocale\u0060 swallows every exception into \u0060return \u0022en\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/lib/pet-quips.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfdebce210d3d9427c1ed5a854f54354ed64f41a5cf249349975629a0c8c5a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060MacAppBanner\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/MacAppBanner.jsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f406668d7759bfe4b3c5599e9ceefdba2b867d7bd31de1b8a2d604ffa96f7b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WidgetOnboardingCard\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dashboard/src/ui/dashboard/components/WidgetOnboardingCard.jsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5d6e14d8c721f329f028d30af3026b2bd1c04b94f2085cba94301e26e81f3a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadGraphConfig.tsconfigPaths\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/lib/config.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c3e0b92811840735786296eac92192523891d1dada21cbd50d2a070ce84fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverDomains\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/graph/lib/domain-discovery.cjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ec3788f98053dac91e35c7e7a397c80c0a180ec05725a710f8629338b1753"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060objectName.Contains(\u0022corewebview\u0022, StringComparison.OrdinalIgnoreCase)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060objectName.Contains(\u0022corewebview\u0022, StringComparison.OrdinalIgnoreCase)\u0060 also satisfies \u0060objectName.Contains(\u0022webview\u0022, StringComparison.OrdinalIgnoreCase)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TokenTrackerWin/DispatcherExceptionPolicy.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a048d36bb972c34b59adc19c71054b5584dfd26fdd7f05f8eb0ea8ad447f5272"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":135,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}