{"$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":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"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":"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":"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":"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"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":"Model.Update (cyclomatic 503): Model.Update has cyclomatic complexity 503 (threshold 15). Of this number, 500 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":"internal/tui/update.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"30338a6b12b9c344604647375adef29c8429b2eb3bc468da0041d596569d0604"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar (cyclomatic 179): Sidebar.Sidebar has cyclomatic complexity 179 (threshold 15). Most of this is not in the body itself: 12 of the 179 points are its own statements and the rest belongs to 37 function items inside it that branch (a function literal at line 635, a function literal at line 252, a function literal at line 300, \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":"web/src/components/Sidebar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f84c26c430c8aac62878eee8b82fa320aee6a8e299628019fd18af1a93c3b45"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteConnectWizard.RemoteConnectWizard (cyclomatic 156): RemoteConnectWizard.RemoteConnectWizard has cyclomatic complexity 156 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 106 belong to 27 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8839e2e7f2093d6efaf670ef40fbc1ea1038dc560a85673449799c8487332d15"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderAuthSection.ProviderAuthSection (cyclomatic 146): ProviderAuthSection.ProviderAuthSection has cyclomatic complexity 146 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 91 belong to 24 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"298e9a29d1ca145ab66b5455183a2464e24b0bfeccf60cbf3c947dac814ad5e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput (cyclomatic 118): ChatInput.ChatInput has cyclomatic complexity 118 (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 (ChatInput.ChatInput::handleKeyDown) 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b271ad236c712eee7edaf6cd0d4fc158a2ddb735173544c654291b78cdf14"}},{"ruleId":"D1","level":"warning","message":{"text":"command.runWebServer (cyclomatic 116): command.runWebServer has cyclomatic complexity 116 (threshold 15). Most of this is not in the body itself: 11 of the 116 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 434, 345, 293). 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":"internal/command/web.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eccb7baa769ff3b4637228485aba086f564850b492838d5e897734f05e43c4"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ComputerTab (cyclomatic 114): SettingsView.ComputerTab has cyclomatic complexity 114 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 45 belong to 16 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9392a291d46ec5d60d0312e2ebef98cf1514c910c10bb64d844e55901b7255"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudTab.CloudTab (cyclomatic 110): CloudTab.CloudTab has cyclomatic complexity 110 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 61 belong to 18 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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b382358bfc0554bc6dffc923b5e7f1cfe9050bdd45b1bf54f59809e10edbaea4"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.runInner (cyclomatic 107): runner.runInner has cyclomatic complexity 107 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 22 belong 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":"internal/runner/runner.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0cb5eb1a0e5ece1daf09aadcc34d06e0b4b49437354126046bf05d1650c529"}},{"ruleId":"D1","level":"warning","message":{"text":"Composer.Composer (cyclomatic 107): Composer.Composer has cyclomatic complexity 107 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 66 belong to 27 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e340b42d52b867dbbbae80fe02e03f7fcd67f4c65c9ffb76af255096cc0205"}},{"ruleId":"D1","level":"warning","message":{"text":"command.RunInteractive (cyclomatic 101): command.RunInteractive has cyclomatic complexity 101 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 32 belong to 16 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":"internal/command/interactive.go"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97e636cf3ba8f72facc4cb50a42821d8421cd1298f86dd44b9e79ea91eb8778"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.MemoryTab (cyclomatic 97): SettingsView.MemoryTab has cyclomatic complexity 97 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 35 belong to 9 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc780477a83cb16bd628f964d57aa283ceff0ae35b40fbc3208db1bdeb747f"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspacePicker.WorkspacePicker (cyclomatic 91): WorkspacePicker.WorkspacePicker has cyclomatic complexity 91 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 54 belong to 17 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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"020107f33230ffe3286116aad4348f9af6ae0e8c0206b4afdba55076d28cb183"}},{"ruleId":"D1","level":"warning","message":{"text":"verify.check_oracle (cyclomatic 85): verify.check_oracle 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":"agent-eval/suite/verify.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceafb40ac1dfffcdc592b59c6652ec6f21199b7e8264ae2c3156de2ce127413"}},{"ruleId":"D1","level":"warning","message":{"text":"web_browser_driver.run_web_browser_case (cyclomatic 81): web_browser_driver.run_web_browser_case 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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b29079af343b3e6158b7f7f808659e3eceece2af69ac6c047f08deccaa489"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupView.SetupView (cyclomatic 81): SetupView.SetupView has cyclomatic complexity 81 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 56 belong to 10 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":"web/src/components/SetupView.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca40279a2c9eb2e05d02c5b16840f2846d8e060f88c78b0caeb7975637a70ca"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ProvidersTab (cyclomatic 78): SettingsView.ProvidersTab has cyclomatic complexity 78 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 58 belong to 26 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e7029d9c034bac4b7a47565b79e115ae2893c3c899bf23f1018a6c90699f28"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleUpdateProvider (cyclomatic 73): Server.handleUpdateProvider has cyclomatic complexity 73 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 57 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":"internal/web/providers.go"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec74e30a07350d88d82ec1949d4bc88a6d52197212e774828c0d0ad261507a"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 67): App.App has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 5 of the 67 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 111, 271, 212, \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":"web/src/App.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284499db58283264a57a27b5a579a2874ab2407f3d17b8770f3764302f89d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.MCPTab (cyclomatic 61): SettingsView.MCPTab has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 15 of the 61 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 3258, save, a function literal at line 2988, \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35c63e24d6833f1addc35fa499081c2b97239b05bf9cdb384b7b24469c278d"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.update (cyclomatic 56): Game.update has cyclomatic complexity 56 (threshold 15). Of this number, 47 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c39b447b52d09b03a87eca77038cf0fad5525ecf65fbf47a9fe35a54d92b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.runAgentTurn (cyclomatic 54): Manager.runAgentTurn has cyclomatic complexity 54 (threshold 15). Of this number, 53 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":"internal/team/manager.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ddc92590dbc9530fc701bd6c4c2e8cd2164c65ce368db5e9163858f060924"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.Message (cyclomatic 52): Message.Message has cyclomatic complexity 52 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 7 belong 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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e85440a2f3c1ee1d49ee29dddec7357d8a006e3bd016aba2965ae184972b084"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ProviderCard (cyclomatic 52): SettingsView.ProviderCard has cyclomatic complexity 52 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 9 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"90837887f00720e3c7bae37d56acb5bc41ffa04f211811d8337d75efa637c4e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleProviderCatalog (cyclomatic 51): Server.handleProviderCatalog has cyclomatic complexity 51 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 6 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":"internal/web/providers.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0b0eca681560647ee04a65513327ec8a50d1f058d4db5e3ab5f02299dae9c1"}},{"ruleId":"D1","level":"warning","message":{"text":"extractSymbols (cyclomatic 51): extractSymbols 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":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b6170012b6f82af30eb454795d0b81ac31b3e41a0f3d60c84ab98c6f30532"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectMenu.SelectMenu (cyclomatic 50): SelectMenu.SelectMenu has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 12 of the 50 points are its own statements and the rest belongs to 13 function items inside it that branch (onListKeyDown, openMenu, onTriggerKeyDown, \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":"web/src/components/SelectMenu.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7fc7fdb9942cd2755b6a750230d650cd6ecc39002575a52ba2ec92acdf20e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactsPanel.ArtifactViewer (cyclomatic 49): ArtifactsPanel.ArtifactViewer has cyclomatic complexity 49 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 27 belong to 15 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"5536cc8474693ef53e2693dfad459876115924dd5a0fa40c7eaa4158bcb40552"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrate._run_one (cyclomatic 48): orchestrate._run_one 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"881e75db1e01bf43b522d45d58762a6b33cb3bc914a9a59421f4368503e05554"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.handleClick (cyclomatic 47): Game.handleClick 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8800ad3550fce46ed9968b4b8d64682a6d5cd123ad3ba21969e5be674ff77a"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationsView.AutomationsView (cyclomatic 47): AutomationsView.AutomationsView has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 11 of the 47 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 970, 1124, 849, \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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeda3e1bfe7f0b4a24908cb50c6d05ddc906032804e2826c974a85a743602f4a"}},{"ruleId":"D1","level":"warning","message":{"text":"acpAgent.buildAgentSession (cyclomatic 46): acpAgent.buildAgentSession has cyclomatic complexity 46 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 19 belong to 8 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":"internal/command/acp.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c584810dc1eb238533a45a597bb79e555727c347363d635caeb7232a9c68b88b"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupModel.Update (cyclomatic 46): SetupModel.Update 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":"internal/tui/setup.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641eaea6d0c7380db8aebd5255cc530a37b204998b8225eb0562c359c1dcb2e"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_cases._validate_expectation (cyclomatic 46): toolsearch_cases._validate_expectation 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7192150392153ea854b0f247ea3ba230fa662c638ad6216b5d958ca84db0b591"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneratedImageCard.GeneratedImageCard (cyclomatic 46): GeneratedImageCard.GeneratedImageCard has cyclomatic complexity 46 (threshold 15). Of this number, 44 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":"packages/jcode-ui/src/components/GeneratedImageCard.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c860f0f8d190b3d1f958aaf1d621c8916f7333b667cb6af528388d885a846a74"}},{"ruleId":"D1","level":"warning","message":{"text":"handler.extractToolDisplayInfo (cyclomatic 45): handler.extractToolDisplayInfo has cyclomatic complexity 45 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"internal/handler/web.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b7ae1a87d7963f5254ff3fd9b0365d5889bc8f17feca95649c94fb76651691"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 45): main.run 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":"script/generate_models.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc8655a88c13379a27ab616a72269d52247e135c25ea89796b2506a334c1ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze.main (cyclomatic 45): analyze.main 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":"agent-eval/analysis/analyze.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4d1b3814bbdf3072f83f11b1818e5ac89f3341113acead132c74847870090"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_cases._validate_case (cyclomatic 45): toolsearch_cases._validate_case has cyclomatic complexity 45 (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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0e09621319e52e9790f0996b3a222dfe9324d11c65ad3ab15bf4811840765a"}},{"ruleId":"D1","level":"warning","message":{"text":"jui.initSelect (cyclomatic 45): jui.initSelect has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 5 of the 45 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 224, syncValue, setActive, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd804438e44444bfb5ad4093cd15cb633c41d21d2dec262f1cfe99ac13066cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.reconcileProviderConfigs (cyclomatic 44): Connector.reconcileProviderConfigs 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":"internal/cloud/provider_sync.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d87f5deab7b5e513d9218bff85b41c6e430ee6c63656783575959f7fab487b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ensureConversationLocked (cyclomatic 44): Server.ensureConversationLocked has cyclomatic complexity 44 (threshold 15). Of this number, 43 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":"internal/web/activation.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"391919fe1ed840aeccb15a2154b14c871e305fadc90cc5917d7c1751d87f3536"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallView.ToolCallView (cyclomatic 44): ToolCallView.ToolCallView has cyclomatic complexity 44 (threshold 15). Of this number, 43 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":"packages/jcode-ui-core/src/primitives/ToolCallView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdeddac826eafa75cd42376c457485f749a9966afede8fd5837dc65634fc02d"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationLoadingView.ConversationLoadingView (cyclomatic 44): ConversationLoadingView.ConversationLoadingView has cyclomatic complexity 44 (threshold 15). Of this number, 41 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":"web/src/components/ConversationLoadingView.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"943fdfe63330cebc2879043095138cb3cc8818fc1d13f658fd3888f7a6f30bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleListModels (cyclomatic 43): Server.handleListModels 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":"internal/web/models.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1a1f7e0fc9840d4a808a27ba7debdd668a2570ac39d592c172ff1841ff0e86"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolRow.ToolRowHeader (cyclomatic 42): ToolRow.ToolRowHeader 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":"packages/jcode-ui/src/components/ToolRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a3510eb6814d6e1b70c98c80f0b15c332bee76b366f8dbef55e0e1cb0d24f2"}},{"ruleId":"D1","level":"warning","message":{"text":"App.Shell (cyclomatic 42): App.Shell has cyclomatic complexity 42 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 23 belong to 6 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":"web/src/App.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c802126af4e65493d6a094ac6ad57edfdaf9d49ef122338ffc4753c6c8d4ae9"}},{"ruleId":"D1","level":"warning","message":{"text":"SpeechInput.SpeechInput (cyclomatic 40): SpeechInput.SpeechInput has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 201, 131, 220, \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":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ecad7212e2f76ef3a308fbe31da081da22b9fa7ab61d3ab2632800ed72314c"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleDeleteSession (cyclomatic 39): Server.handleDeleteSession 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":"internal/web/sessions.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7222558ddd5f835057bf192ccb5a3430c798c754313b923c5ae4413f17d5f60"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallCard.ToolHeader (cyclomatic 39): ToolCallCard.ToolHeader has cyclomatic complexity 39 (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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570bd2bdad68e0defc4c35bdb09182312cd7d13e7b7d82c5fe327166f359cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactsPanel.ArtifactsPanel (cyclomatic 39): ArtifactsPanel.ArtifactsPanel has cyclomatic complexity 39 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 17 belong to 8 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee745cbfd48b7bcb085f4f0dd91c0b7546050e93730a6ba121086e8b82bbab39"}},{"ruleId":"D1","level":"warning","message":{"text":"acpAgent.Prompt (cyclomatic 38): acpAgent.Prompt 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":"internal/command/acp.go"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed816ec7c3b9796d5702c86e501bfbbac245040fb4b59718fc773f02f4cca3f"}},{"ruleId":"D1","level":"warning","message":{"text":"session.ReconstructState (cyclomatic 38): session.ReconstructState 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":"internal/session/history.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5719b2f5456b898f5b18fbbbf2658c629475f88f4a0b4cc7c782b08b6b8bdf91"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleSetupComplete (cyclomatic 38): Server.handleSetupComplete 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":"internal/web/setup.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6f274aa334c1b03b60bd9d44efaa55d01ebb998eac84e8cb1504a2aaec5d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.handleModelInput (cyclomatic 37): Model.handleModelInput 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":"internal/tui/pickers.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56f1a8e4eba646866fc98d90ff8ea4f83ad1fa9b03b2ac48c8f523f2d7d87c"}},{"ruleId":"D1","level":"warning","message":{"text":"store.replayOperationsByOccurrence (cyclomatic 37): store.replayOperationsByOccurrence 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":"web/src/app/store.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"97280804339bd5d8e7610b7c09604f5641ece4ac435f85c8a6f16425c3b79380"}},{"ruleId":"D1","level":"warning","message":{"text":"ACPHandler.presentationForTool (cyclomatic 36): ACPHandler.presentationForTool has cyclomatic complexity 36 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"internal/handler/acp.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"04077418cf9b5878dd9bafed8b6ec43cf98b9c102100aff4df6d4c4e5ca8c45f"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentTool.runSubagent (cyclomatic 36): subagentTool.runSubagent has cyclomatic complexity 36 (threshold 15). Of this number, 32 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":"internal/tools/subagent.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"459b7219c05c81e1c3227216864e0176917935e882bada389c05cfcc9fc2a12f"}},{"ruleId":"D1","level":"warning","message":{"text":"web_browser_driver.analyze_browser_session (cyclomatic 36): web_browser_driver.analyze_browser_session 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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da6f31a9c55427e1586ef05a1903eab3dc7cd70e1c8a6f9c77751026aeb17f"}},{"ruleId":"D1","level":"warning","message":{"text":"BranchPicker.BranchPicker (cyclomatic 36): BranchPicker.BranchPicker has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 14 of the 36 points are its own statements and the rest belongs to 9 function items inside it that branch (checkout, a function literal at line 46, a function literal at line 94, \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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a05436521248a7fbe989b10f2819baae38693e8c5f91b7e4ef7511ccd237cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.backfillSessionHistory (cyclomatic 35): Connector.backfillSessionHistory has cyclomatic complexity 35 (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":"internal/cloud/history_sync.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8fbe8244d8af3df2139bd522be07b641240454056193d1a1ae275d04eacbef"}},{"ruleId":"D1","level":"warning","message":{"text":"web.inspectSessionChangesFromBase (cyclomatic 35): web.inspectSessionChangesFromBase has cyclomatic complexity 35 (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":"internal/web/session_changes.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4626c6e7a5e2360f7e350f824212147b573ccd081038c18db51d6493ce742b"}},{"ruleId":"D1","level":"warning","message":{"text":"web.publishSessionDraft (cyclomatic 35): web.publishSessionDraft 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a746086f7bd72859da04f11066f94d04674e4e1fef0252547c5745da54d6b2"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteConnectionNotice.RemoteConnectionNotice (cyclomatic 35): RemoteConnectionNotice.RemoteConnectionNotice has cyclomatic complexity 35 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 7 belong 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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d4155fca60e5ca9f522edeecd1619c5df401aef41dffda60ae9841be97367a"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ProviderForm::save (cyclomatic 35): SettingsView.ProviderForm::save has cyclomatic complexity 35 (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 (SettingsView.ProviderForm) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f33d8221ba2082f1d50b24e64d5b63cae63ee9c3a73d209bf614e0d7999c92"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.submitMessageWithOptions (cyclomatic 34): Server.submitMessageWithOptions has cyclomatic complexity 34 (threshold 15). Of this number, 31 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":"internal/web/chat.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f25800cd9c257f1f657e51e77c0eb65c4bf6469a53172b3cf3ab78c0b98a337"}},{"ruleId":"D1","level":"warning","message":{"text":"web_browser_driver._validate_case (cyclomatic 34): web_browser_driver._validate_case has cyclomatic complexity 34 (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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47e5ff51300d1ca63f68eafc0150ff5bff3920f22c3a3b0ddbe00c6620eece5"}},{"ruleId":"D1","level":"warning","message":{"text":"city.buildCity (cyclomatic 34): city.buildCity has cyclomatic complexity 34 (threshold 15). 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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e438efe82a570049299e993a9b56db3f8045b000b21cb83013e682e831292"}},{"ruleId":"D1","level":"warning","message":{"text":"jui.initDropdown (cyclomatic 34): jui.initDropdown has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 5 of the 34 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 422, a function literal at line 419, activate, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4906f743382ffd684f41d2ec0b5e109dfb1f733acf7630eef5df051f4b00d479"}},{"ruleId":"D1","level":"warning","message":{"text":"lab.initLab (cyclomatic 34): lab.initLab has cyclomatic complexity 34 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 18 belong to 8 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f85edb33b7e4753b08073ff161b55ec0d9e30106624fed523cf5e07e351bce"}},{"ruleId":"D1","level":"warning","message":{"text":"store.replayTimeline (cyclomatic 34): store.replayTimeline 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":"web/src/app/store.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e319036cf71eb177e30cc6b45929ac645124aa6a12b40d04980517654f293"}},{"ruleId":"D1","level":"warning","message":{"text":"store.provisionNewChat (cyclomatic 34): store.provisionNewChat has cyclomatic complexity 34 (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":"web/src/app/store.ts"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"0887dad975d677bef57ba34d5eef87b94bc2234e9e21015cab2d9841bbe7b3f9"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ProviderForm (cyclomatic 34): SettingsView.ProviderForm 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. This shape REPEATS in the file: one other method here (SettingsView.ProviderForm::save) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc879e66972dad41649ba771a5274f487ac36f5678904e3ded0ae6a5dd439abd"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenPlanMultimodalClient.Generate (cyclomatic 33): TokenPlanMultimodalClient.Generate 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":"internal/imagegen/token_plan_multimodal.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6a0703142f903b1bf77f121078abbd50e01e9e21a2a9b943faa40c3d615372"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleRemoteBind (cyclomatic 33): Server.handleRemoteBind 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":"internal/web/remote.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae09eaf0f5ddca6ca513b94bdff3df3e1a15c30c220518a7e580fd7951e412"}},{"ruleId":"D1","level":"warning","message":{"text":"background.connect (cyclomatic 33): background.connect has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 139, 176, 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":"extension/background.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"36616e4066521f74dbc96aa2028a1a250830aa11be6ef96c08afd0e2aa942bd0"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceVisualizer.VoiceVisualizer (cyclomatic 33): VoiceVisualizer.VoiceVisualizer has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 131, 56, 55, \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":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ccc3704f1779edc329d2ca048fccba492e6f3a3670d53b79af15f9a963b859"}},{"ruleId":"D1","level":"warning","message":{"text":"config.mergeProjectFields (cyclomatic 32): config.mergeProjectFields 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":"internal/config/project.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d5ace00ca31413f62892488e876b1deca82c23ae83d48fcdb0ffb1e0187b90"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentTool.InvokableRun (cyclomatic 32): subagentTool.InvokableRun has cyclomatic complexity 32 (threshold 15). Of this number, 26 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":"internal/tools/subagent.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c36141f87773a976670d2cae8f3c6f1ab4ee32cfcbdebd117ef78db07124279"}},{"ruleId":"D1","level":"warning","message":{"text":"store.resumeConversationEnvironment (cyclomatic 32): store.resumeConversationEnvironment 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":"web/src/app/store.ts"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4a70f36962ca50d58c2f5031396fe9327a2eeff9ae18e092b7c42a54d1af2"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal.TerminalRenderer (cyclomatic 31): terminal.TerminalRenderer has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 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":"packages/jcode-ui/src/toolRenderers/terminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c8c53ce0c9d3485816544c540fe5c3679bf7cfff3cf52b6b6523e7c7dd05f"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudBadge.CloudBadge (cyclomatic 31): CloudBadge.CloudBadge has cyclomatic complexity 31 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 13 belong to 5 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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"742d4187347e33cecdf1b5e6d6318a9b91b48871ce43f3bfcdb1006ac23f99e1"}},{"ruleId":"D1","level":"warning","message":{"text":"imagegen.inspectGeneratedWebP (cyclomatic 30): imagegen.inspectGeneratedWebP 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":"internal/imagegen/client.go"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"848714320b75432801f4a05a6ce30d4791f7a6e88b508af86880b23981afa6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"uitree.Build (cyclomatic 30): uitree.Build has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 181). 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":"internal/uitree/uitree.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f339dfdc9e1e7780601cc40d1e9be92664912e526a8e38173dd5aecef87e9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report.render_html (cyclomatic 30): toolsearch_report.render_html 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"565fedb90d6df1c045cf26ac43a623b338c98fd7fc3dcb481b76a7e51ec9ce03"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationsView.AutomationEditor (cyclomatic 30): AutomationsView.AutomationEditor 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. This shape REPEATS in the file: one other method here (AutomationsView.AutomationEditor::save) 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113347d351577282dfbbb53a624bcc98c6b31b3f933fa38be42bf091614ce8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopTitlebar.TaskDetails (cyclomatic 30): DesktopTitlebar.TaskDetails has cyclomatic complexity 30 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 6 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4364439f18bb29b6554455ebd4d4a2b5d0074ca54d19cd800bfb2aff2c0548"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact.inspectWebP (cyclomatic 29): artifact.inspectWebP 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":"internal/artifact/managed.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1e1af7ca0e9196608098e4064d677fd6cac1b19d4876a8b67b21e0bb6f630e"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.ensureAccountSyncCipher (cyclomatic 29): Connector.ensureAccountSyncCipher 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":"internal/cloud/provider_sync.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8f0a42c1aab52e7769fa4bcb3614d9700e144cd34d79825ac5b4f08338b5a5"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report._validate_campaign (cyclomatic 29): toolsearch_report._validate_campaign 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e940064c5a9e745c4976df351990354bf6391f7361390476ddc47b4eed6cc"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_expect._check_activation (cyclomatic 29): toolsearch_expect._check_activation 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6291bf159cbb910ee5c8426d4855a951e844b85cbc2a3f615bff9c6e199c7d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserBlock.AskUserBlock (cyclomatic 29): AskUserBlock.AskUserBlock 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 10 function literals inside it that branch (lines 174, 92, 129, \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":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5cf68b8be69e7db696f89b342c412ebfeea8135d00f9051385faeb7fa6dde"}},{"ruleId":"D1","level":"warning","message":{"text":"TopBar.TopBar (cyclomatic 29): TopBar.TopBar has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 196, a function literal at line 73, a function literal at line 93, \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":"web/src/components/TopBar.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1fc4f35bfc7277bb1ef7f13f5d495851d0ce739daaacaf8ba67da501bee4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopTitlebar.WorkspaceOpenMenu (cyclomatic 29): DesktopTitlebar.WorkspaceOpenMenu has cyclomatic complexity 29 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 14 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd35a09b26a14e913ba261d4ebdf33083519734ad23216ab34fd5ea86f5cde6"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.CreateManagedImage (cyclomatic 28): Service.CreateManagedImage 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, 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":"internal/artifact/managed.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ebb9c104a3aff65865eacef07f3d14dd5b904443baad044db081b79c60f04"}},{"ruleId":"D1","level":"warning","message":{"text":"command.runLogin (cyclomatic 28): command.runLogin 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":"internal/command/login.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f2286af8622d76c31f81bd26c44c53ff3240ec011bc833d28dde27aa496a28"}},{"ruleId":"D1","level":"warning","message":{"text":"interactiveState.runEventLoop (cyclomatic 28): interactiveState.runEventLoop has cyclomatic complexity 28 (threshold 15). Of this number, 24 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":"internal/command/interactive.go"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"764149b242a3193c6895aeb6314fe6dc10ab1369aea26c26e1683be815fa5cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.Generate (cyclomatic 28): Client.Generate 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":"internal/imagegen/client.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"001dc4c0e612c72dcef06336957bf92228ad06780ed11a0592d10a20c220cae4"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalState.decide (cyclomatic 28): ApprovalState.decide 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":"internal/runner/approval.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c1463e8bc3586600b8e08d93f00a05a1ff464b2fcb22c8d6e55108e1794ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"web.validateImageEndpoint (cyclomatic 28): web.validateImageEndpoint 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":"internal/web/providers.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b171d62872b6f875dbe86868c0e7b908dd32f2069fbea42d5d24474d823658"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ensureManagedModelConfigured (cyclomatic 28): Server.ensureManagedModelConfigured has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 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":"internal/web/models.go"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c289ba2f584a0d9fe86f1ccd6d8ae1b2ad32f1bd92433b2216f78d55098612f"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrate.main (cyclomatic 28): orchestrate.main 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1553170249adf8bd8b7317f886c44a8761e8c36a51fa128bc16bf51c073a7eb1"}},{"ruleId":"D1","level":"warning","message":{"text":"routing_verify.verify_routing (cyclomatic 28): routing_verify.verify_routing 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b6efc559bf2c8fd6c6798ea549759ab90764425cdba592af13a278c82dc51"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_campaign.validate_run_artifacts (cyclomatic 28): toolsearch_campaign.validate_run_artifacts 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83bc3a1c9fd751f33d7a894d8936efcabcd9d9316a4f093f8e9fd83c21efe29"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.LangfuseConfigCard (cyclomatic 28): SettingsView.LangfuseConfigCard has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 belong to 3 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf75e2cb8b4723850bcf4ecafdba56a321a1f5cceac1c6d34a6fe456b23629cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.openManaged (cyclomatic 26): Service.openManaged 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":"internal/artifact/managed.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5d162e4cf5ef1614274d294c7e81a084320a5e5e44e9f4c151068e2991c0db"}},{"ruleId":"D1","level":"warning","message":{"text":"computer.pruneScreenshotStoreRoot (cyclomatic 26): computer.pruneScreenshotStoreRoot 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/shot_store.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e8a0bc831024e4159e63352da5d99e4b98b0a30c2e10adbfb082ceb16651c"}},{"ruleId":"D1","level":"warning","message":{"text":"model.responsesConversationItems (cyclomatic 26): model.responsesConversationItems 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":"internal/model/responses_convert.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd890dcde188cd991aaeb2dbc643553858b704fb69a7fc69656b82225d473b50"}},{"ruleId":"D1","level":"warning","message":{"text":"providertools.ResolveImageRuntime (cyclomatic 26): providertools.ResolveImageRuntime has cyclomatic complexity 26 (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":"internal/providertools/manifest.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be5f20efa2e466db5d7deab50ace8506c4dd4652b27332341c0ec52c851772"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.Run (cyclomatic 26): runner.Run 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":"internal/runner/runner.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53eb4891a45c1bd4ec85851935c9a66d543d8cae133b5654133aab6da0f527d"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.buildHunks (cyclomatic 26): tools.buildHunks 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":"internal/tools/diff.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96654fb5a7d7bba503f3a4e102ed030c4fa401a54045432b4dc4695fa57dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"generateImageTool.InvokableRun (cyclomatic 26): generateImageTool.InvokableRun 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":"internal/tools/generate_image.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9416b6170b1f84696543077cbc16d8f2dc7222dba981653c365e7eaae417af"}},{"ruleId":"D1","level":"warning","message":{"text":"writeTool.InvokableRun (cyclomatic 26): writeTool.InvokableRun 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":"internal/tools/write.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7541cf214b929ab92c2c276f004a25f88a2d9d7d7028201e695fe189f81ed875"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleUpdateAutomation (cyclomatic 26): Server.handleUpdateAutomation has cyclomatic complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 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":"internal/web/automation_api.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0207624895ab376427dcf98c0251bef1e37aee44d4343cd8ba244be0b49aad"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report._validate_plan (cyclomatic 26): toolsearch_report._validate_plan 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29fb46d6def5c6e5c67d1e75de904572eb23deb0ebdc256200cae2ff4a2a436"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.handleCapture (cyclomatic 26): main.swift.handleCapture 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddc8d626c6ef7851fd1d877f464d4f76d521e864c38174d3bf5679ad9d60c66"}},{"ruleId":"D1","level":"warning","message":{"text":"aguiRuntime.createAGUIRuntime.handleEvent (cyclomatic 26): aguiRuntime.createAGUIRuntime.handleEvent has cyclomatic complexity 26 (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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"888d12b2deae36b208612e257722602dfc467e4d99571dc3858b97e2598923d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallCard.SubagentHeader (cyclomatic 26): ToolCallCard.SubagentHeader has cyclomatic complexity 26 (threshold 15). Of this number, 23 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de04be0aac13ec24d89a5a51b1226741848ffa679fd0c6a941ce0e198ea861"}},{"ruleId":"D1","level":"warning","message":{"text":"toolLifecycle.mergeToolLifecycle (cyclomatic 26): toolLifecycle.mergeToolLifecycle 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":"web/src/app/toolLifecycle.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bdc2c1632519a4abcaf59e3a5c1f466da04c9f54716eb88bb4bb6fea955fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"toolInfo.extractToolDisplayInfo (cyclomatic 26): toolInfo.extractToolDisplayInfo has cyclomatic complexity 26 (threshold 15). 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, 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":"web/src/lib/toolInfo.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f223cd455e3826f832a84f0904c37c75286f6be5a8b680d041225d11cbab858"}},{"ruleId":"D1","level":"warning","message":{"text":"wsBridge.createWSHandlers::applyForegroundAgentDone (cyclomatic 26): wsBridge.createWSHandlers::applyForegroundAgentDone 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":"web/src/app/wsBridge.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"918ad84d3569e9a7d915bfcf1d55a44a455e7197ad89c3a0b88d4be7b008713c"}},{"ruleId":"D1","level":"warning","message":{"text":"RightPanel.RightPanel (cyclomatic 26): RightPanel.RightPanel has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 81, 75, 156, \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":"web/src/components/RightPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d863e96ccddf784d486470eecd7f8326285965e7b3284b3ad1e972bd135fc0dd"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateBanner.UpdateBanner (cyclomatic 26): UpdateBanner.UpdateBanner 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":"web/src/components/UpdateBanner.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"256c52787fc7299470f9c239de9483157114b311bf60ba33ac4f9e40af66f414"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.execChatSendCompose (cyclomatic 25): Connector.execChatSendCompose 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":"internal/cloud/connector.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"74afc1e8a6ba7841ec08a3cda3d089e3eaa70f8d281c8f78be83b59ffc80183d"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks.parseOutcome (cyclomatic 25): hooks.parseOutcome 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":"internal/hooks/exec.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f5682c9b870305878b70ef6adee6c31459ffe07cf54cc41535c92590c3ed12"}},{"ruleId":"D1","level":"warning","message":{"text":"responsesSSEState.emitItem (cyclomatic 25): responsesSSEState.emitItem 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":"internal/model/responses_parse.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"66137c675223f31fc7efa20b8fb1ee01704fb3d7ea11b6886e58520e8fc03afc"}},{"ruleId":"D1","level":"warning","message":{"text":"readTool.InvokableRun (cyclomatic 25): readTool.InvokableRun 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":"internal/tools/read.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c50fbfcd27b11dcb3d748dcb944ee8de787d0673ad1b9b08dcaf80a21e425f6"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report._validate_supplementary (cyclomatic 25): toolsearch_report._validate_supplementary 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1869c439c759e0d0db62acb66f0ea10fabb3f1dbe1532b85dca23a0e2634e0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.MarkdownBody (cyclomatic 25): Message.MarkdownBody 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 5 function literals inside it that branch (lines 417, 384, 405, \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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81b8cf8a723d89975f735216201d20a16443f97e307a3a11b8e65a25c5f7ee9"}},{"ruleId":"D1","level":"warning","message":{"text":"GoalBanner.GoalBanner (cyclomatic 25): GoalBanner.GoalBanner has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 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":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b044c136677638c20e8256be46e2e6843a6dd32a81a50af7218e2b16f45b34c"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioPlayer.AudioPlayer (cyclomatic 25): AudioPlayer.AudioPlayer has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 186, 97, 115, \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":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe3fb7ecab1f4c553a2848ca07c1b1931b55ebb9eae538a0aecb879124ec3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Transcription.Transcription (cyclomatic 25): Transcription.Transcription has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 113, 83, 70, \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":"packages/jcode-ui/src/voice/Transcription.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2071ccb42ddf43d32303bb53bc4ac63b39f5d81fb7ef6896eac68cba1e7ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"main.onMessage (cyclomatic 25): main.onMessage 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":"site/public/showcase-projects/webgpu-cnn/js/main.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca986bff2d223ea21a75814b8524786858efe0011f7bba67f3f348aafb3f089"}},{"ruleId":"D1","level":"warning","message":{"text":"ComponentDemo.DemoChrome (cyclomatic 25): ComponentDemo.DemoChrome has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 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":"site/src/playground/ComponentDemo.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cc7810ab5ac823dcab2e33589dd6266c8031e7238c34cba3526e7a73f2115b"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ToolSearchSection (cyclomatic 25): SettingsView.ToolSearchSection has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"213005440c6462b9e6fc95c3b7c021f8e449f8d9e424b78c2a38caa6092b61d4"}},{"ruleId":"D1","level":"warning","message":{"text":"model.toOpenAIMessages (cyclomatic 24): model.toOpenAIMessages 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":"internal/model/chatmodel.go"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"87531318ccee8a650df5d2857eec33c3f6312f318089d1ba768579c1b3158c34"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.NewFlowSpawn (cyclomatic 24): tools.NewFlowSpawn 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 one function literal inside it that branches (line 46). 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":"internal/tools/flow_spawn.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"308a21d405af73590d0edc85ce734d39857f00138dc6a68276ea55f47bd94f38"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarComponent.View (cyclomatic 24): SidebarComponent.View has cyclomatic complexity 24 (threshold 15). Of this number, 22 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":"internal/tui/sidebar_component.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef42f7e7ca890a8c099df13a47737583058cd156aa22be607117efd7eabe4e"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_campaign.run_campaign (cyclomatic 24): toolsearch_campaign.run_campaign 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b71a30f1b2f4aa4a144029c6224f9abe9154719defc399564c4a80d19ae996"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.handlePerform (cyclomatic 24): main.swift.handlePerform 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. This is NOT this file\u0027s highest cyclomatic complexity: main.swift.normalizeRole (cyclomatic 25) 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbc8f42c5b8140cec726ba7dc0318de96e1c45e38c7351ac929c28b6db54be3"}},{"ruleId":"D1","level":"warning","message":{"text":"Thread.VirtualizedThread (cyclomatic 24): Thread.VirtualizedThread has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 239, 279, 170, \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":"packages/jcode-ui-core/src/primitives/Thread.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f8ef5f4e6802f518e950a925dd928de7d05df28f4e30c489179977023f0910"}},{"ruleId":"D1","level":"warning","message":{"text":"turnGroups.bindApprovalsToTools (cyclomatic 24): turnGroups.bindApprovalsToTools 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c0fc3fff651312abe8d3465839ae89305761882a9a6b6cb472e7e60ccd0a3f"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserCard.PendingCard (cyclomatic 24): AskUserCard.PendingCard has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 3 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":"packages/jcode-ui/src/components/AskUserCard.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f83d70dd3bcb1136e62f951683ea432fd6182d11f2746565e181f471e868186"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalBanner.BillablePendingCard (cyclomatic 24): ApprovalBanner.BillablePendingCard has cyclomatic complexity 24 (threshold 15). Of this number, 22 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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb11c2aa48a301c4d04efa65ecf9809fc93f20ad2b4026144406269ea97395a9"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSelector.ModelSelector (cyclomatic 24): ModelSelector.ModelSelector has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 8 function items inside it that branch (onSearchKeyDown, a function literal at line 64, a function literal at line 72, \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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89cfe56c7fd881e1c42ebf6b82e7e663dfb223ced088f54202d4f2defc4c0ab"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.onmessage (cyclomatic 24): worker.onmessage 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":"site/public/showcase-projects/webgpu-cnn/js/worker.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44197e1ad35839f648d5c1be8269e798f101464ee11843466ecf2747a1cb0f0"}},{"ruleId":"D1","level":"warning","message":{"text":"store.revealSessionInSidebar (cyclomatic 24): store.revealSessionInSidebar 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":"web/src/app/store.ts"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"195c1c145e81f912b6e93364072882f738b8c343ea186d31b0ed6b1087940bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactSharePublisher.Publish (cyclomatic 23): ArtifactSharePublisher.Publish has cyclomatic complexity 23 (threshold 15). 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, 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":"internal/cloud/artifact_share.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"294a1c9cc0793ca2d9d4aa5967cb54de4153167d046db90456a72917cc993ed1"}},{"ruleId":"D1","level":"warning","message":{"text":"generateImageTool.parseInput (cyclomatic 23): generateImageTool.parseInput 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":"internal/tools/generate_image.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7c2a562943ac176e35419f09c6f92211c1a0109e67982a6c52b722b66adb24"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleListProviders (cyclomatic 23): Server.handleListProviders 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":"internal/web/providers.go"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39d0a2849b4a9cc6e8f2a596ae9fa54075b77e67e6b8af809816ba862c43f61"}},{"ruleId":"D1","level":"warning","message":{"text":"groupExploring.summarizeExploringCounts (cyclomatic 23): groupExploring.summarizeExploringCounts 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b125f7f7552d9be596c886336cd3e80e0c7074db6205ce6b409f5c9d99e4b6e"}},{"ruleId":"D1","level":"warning","message":{"text":"groupActivity.summarizeActivityCounts (cyclomatic 23): groupActivity.summarizeActivityCounts has cyclomatic complexity 23 (threshold 15). Of this number, 22 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde23fc8cf00febfc145da1335f15cf0cfebc81a747faa4eb4e249cf64d64624"}},{"ruleId":"D1","level":"warning","message":{"text":"turnGroups.findApprovalTool (cyclomatic 23): turnGroups.findApprovalTool 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca56cbb34ed682aae774aaca95bbb666237e4c205ea75a91ec4960cd872a484"}},{"ruleId":"D1","level":"warning","message":{"text":"CompactToolRow.CompactToolRow (cyclomatic 23): CompactToolRow.CompactToolRow 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":"packages/jcode-ui/src/components/CompactToolRow.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e969d734845e82eaca180618b7e51d7a3c094c455a43fe6e9d79b2bbcc5be4b"}},{"ruleId":"D1","level":"warning","message":{"text":"store.sendMessage (cyclomatic 23): store.sendMessage has cyclomatic complexity 23 (threshold 15). Of this number, 22 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":"web/src/app/store.ts"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb5b9c71f53a9ce889c4cdc04a08e05b846b8d190c4f61d129bc51e5b99aa19"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.ChatView (cyclomatic 23): ChatView.ChatView has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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":"web/src/components/ChatView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1585ba169c792f7d6be005fe6d1ebdabafdf36bc9900b1e6ffbe196b4e4f9d2"}},{"ruleId":"D1","level":"warning","message":{"text":"RightPanel.FileTreePanel (cyclomatic 23): RightPanel.FileTreePanel has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (openItem, a function literal at line 330, goBack, \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":"web/src/components/RightPanel.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511876871cb7de4038abb296a13b8ec09000d4e88aed80039f79da1619a2ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.reconcileAccountSettings (cyclomatic 22): Connector.reconcileAccountSettings 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":"internal/cloud/account_settings.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b92634957717a86ade7e1966302c3e3400cfb06b8bcb5710a08e32fcd2d012"}},{"ruleId":"D1","level":"warning","message":{"text":"command.handleMCPAdd (cyclomatic 22): command.handleMCPAdd 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":"internal/command/mcp.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3306e8cdf94db00563232fb82372b734ad3c64ae3fc45ebaf9735ef632f26eb"}},{"ruleId":"D1","level":"warning","message":{"text":"ACPHandler.OnToolResult (cyclomatic 22): ACPHandler.OnToolResult 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":"internal/handler/acp.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b298d2e53807f0438909c1ac02aae9de867b162b2caec8a743da566456f53fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"model.responsesInput (cyclomatic 22): model.responsesInput 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":"internal/model/responses_convert.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ded111319430f8c79d704315cdce7f7b1bd3fe51f05875f5cbeed512188dac1"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.pollLoop (cyclomatic 22): Client.pollLoop 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":"internal/pkg/weixin/client.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f8a1ad3bdd58ded717063cac076569d29f94218c948b7af0b1ec0fa31b98db"}},{"ruleId":"D1","level":"warning","message":{"text":"tui.summarizeActivityCounts (cyclomatic 22): tui.summarizeActivityCounts 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":"internal/tui/activity_group.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"335561f3201c47da51368359116c6c3e0375595422d190ff87b75b4d2262664e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.runAutomation (cyclomatic 22): Server.runAutomation has cyclomatic complexity 22 (threshold 15). 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: 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":"internal/web/automation_run.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"106077fbcc45b0ca988d108509439e78e2af83f36b6d4e2a9190e94af52f7b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleAddProvider (cyclomatic 22): Server.handleAddProvider has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 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":"internal/web/providers.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"befe730b1f019a3608626c1d212ae9ce901f3760879c05f94ffe5c5243b11d19"}},{"ruleId":"D1","level":"warning","message":{"text":"web_toolsearch_orchestrate.run_job (cyclomatic 22): web_toolsearch_orchestrate.run_job 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bb2f2b22564b5e435b21e617ac6d9b29b2a5f042143d185c7c503d09e60c5a"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowCaptureHelper.swift.runCapture (cyclomatic 22): WindowCaptureHelper.swift.runCapture 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":"cmd/jcode-computerd/WindowCaptureHelper.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"243bec0be4f58d5296f8b14325d63a0f68539ef81a8e3a5b1071529b82130013"}},{"ruleId":"D1","level":"warning","message":{"text":"just-the-docs.searchLoaded::update::addResult (cyclomatic 22): just-the-docs.searchLoaded::update::addResult 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":"agent-eval/site/docs/assets/js/just-the-docs.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90ce3a0f4e23b040816370f60a23113a549ba1761a5dfb30f1ad528e305f200"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.DeveloperTab (cyclomatic 22): SettingsView.DeveloperTab has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae33f2366ecb0a78ea439ef4b81ae4c866c5c1ebcd60e7f0401fd005dc11971"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneratedImageToolRenderer.GeneratedImageToolRenderer (cyclomatic 22): GeneratedImageToolRenderer.GeneratedImageToolRenderer has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 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":"web/src/components/GeneratedImageToolRenderer.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"03263099ebe4fc2d41110ff8b6da1f7c1504cf3a25786db673ce2d185426aaa3"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.RevokePairing (cyclomatic 21): Connector.RevokePairing 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":"internal/cloud/pairing_inbox.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e06a2d1a60ab5e116fca470e321cb6a30cc81df8868967609f337665d5e9a32"}},{"ruleId":"D1","level":"warning","message":{"text":"interactiveState.createAgentWithModeCatalog (cyclomatic 21): interactiveState.createAgentWithModeCatalog has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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":"internal/command/interactive.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ee069563b24a1841652046d1c406c2f43928504f3ec953cf81584ccd156445"}},{"ruleId":"D1","level":"warning","message":{"text":"grepTool.runLocalRg (cyclomatic 21): grepTool.runLocalRg 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":"internal/tools/grep.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"27adc9b5554614b158f5e5a85616a73e7c772064fa9d847db71395bc271d748e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.runMCPLogin (cyclomatic 21): Server.runMCPLogin 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, 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":"internal/web/mcp.go"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f0d1ec99110cccf39bf692bd973122b3af4a1e2b553d1925ae2690e6b8db5a"}},{"ruleId":"D1","level":"warning","message":{"text":"report.build (cyclomatic 21): report.build 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":"agent-eval/analysis/report.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f28e28345a49b039e99af416ec704a4fa5c8bb63fdee9ab52add27361595c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"routing_verify._verify_fixture (cyclomatic 21): routing_verify._verify_fixture 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cbaa59106211bf96ef5696c4aabd53b07236d7d74d1eb4423e1f3d81b6acad"}},{"ruleId":"D1","level":"warning","message":{"text":"web_toolsearch_orchestrate.build_jobs (cyclomatic 21): web_toolsearch_orchestrate.build_jobs 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3764b67649c9d0e0066d548b0d57a1ed6f5e8dc777a4055c63cd8c4c069f4b66"}},{"ruleId":"D1","level":"warning","message":{"text":"jcode_desktop::sidecar::start (cyclomatic 21): jcode_desktop::sidecar::start 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":"desktop/src-tauri/src/sidecar.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"820690b19ea8ede9b460f63d59dfa151cecbf50a71c548be0c66d92ac8bbf034"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.render (cyclomatic 21): Game.render 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab26a1eabc909701b49fc80f30d82d3cc22d42a71184eb3f967f95caa53cee27"}},{"ruleId":"D1","level":"warning","message":{"text":"Replica.Replica (cyclomatic 21): Replica.Replica has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (play, a function literal at line 226, onSend, \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":"site/src/components/desktop/Replica.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"338461d4b2ed4308eada8a5ab443f9a066f127104d4374b409830fead9de9d8e"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.buildMCPRequest (cyclomatic 21): SettingsView.buildMCPRequest 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, 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce10357824b4ac47f7d98052b75b85cafbf4099739f828ec03934c63ea472e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 20): main.main 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":"agent-eval/harness/main.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6b89d56a9db7b547bb34a032f3310cd8af1bfb94978bdd4508e3ecfbf053e0"}},{"ruleId":"D1","level":"warning","message":{"text":"approvalMiddleware.WrapInvokableToolCall (cyclomatic 20): approvalMiddleware.WrapInvokableToolCall 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 one function literal inside it that branches (line 47). 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":"internal/agent/middleware.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6119bcc8c2d0935a7b83ccb7357580a2f76873be4a7298b7ee88bcf2e54d02a"}},{"ruleId":"D1","level":"warning","message":{"text":"approvalMiddleware.WrapEnhancedInvokableToolCall (cyclomatic 20): approvalMiddleware.WrapEnhancedInvokableToolCall 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 one function literal inside it that branches (line 163). 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":"internal/agent/middleware.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c374a768a9712f25c52605a1078bfc4db91f93dea59088f31ce7f13c643bc9"}},{"ruleId":"D1","level":"warning","message":{"text":"toolObservationMiddleware.recordSearch (cyclomatic 20): toolObservationMiddleware.recordSearch 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":"internal/agent/tool_observation.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3397d180975451f7179d5d9c46aa96fe6906b7f40b16daa489981fb57406ef"}},{"ruleId":"D1","level":"warning","message":{"text":"automation.parseCronField (cyclomatic 20): automation.parseCronField 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":"internal/automation/cronexpr.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae4aa905739d62cff19dcde3db8c28bd4c314c046ea2bc7f23c062e376a605"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud.projectSessionHistory (cyclomatic 20): cloud.projectSessionHistory has cyclomatic complexity 20 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/history_sync.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd34ae9072014a7c61c17707e897de16d4ee1aa1fd662b5244d897371e87f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.collectCapabilities (cyclomatic 20): Connector.collectCapabilities 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":"internal/cloud/capabilities.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca64bb753838abf7edb6450e8973bbfdb6e21e3462a2f919fe54784549bf1cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Session.Act (cyclomatic 20): Session.Act has cyclomatic complexity 20 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/session.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"2098b5b40172481b6041d132917775a1dbd018a08a766a447c3ccc5234ba9fee"}},{"ruleId":"D1","level":"warning","message":{"text":"responsesSSEState.handleEvent (cyclomatic 20): responsesSSEState.handleEvent 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":"internal/model/responses_parse.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a2db6abec99c58d1b03c8efd2b116ff058aead439a1f10190085aaa93c187e"}},{"ruleId":"D1","level":"warning","message":{"text":"cloudLoginFlow.pollAndFinish (cyclomatic 20): cloudLoginFlow.pollAndFinish 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":"internal/web/cloud_login.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b5062a5c8afe8b254ac10b1b591bcc9b9713b90170b46a75c631fdf5fbf0db"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.publishEngineCandidate (cyclomatic 20): Server.publishEngineCandidate 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":"internal/web/engine.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ca2f3cf4690ac19aaa6929ebe1ed1f11cec8f65052ea1851d9aea2072059b1"}},{"ruleId":"D1","level":"warning","message":{"text":"report.render_trajectory (cyclomatic 20): report.render_trajectory 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":"agent-eval/analysis/report.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"17014054785084f7f0f48cce607c047c52fa3de60e2f46df7fc5bbebdfee84c5"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report._trajectory_lines (cyclomatic 20): toolsearch_report._trajectory_lines 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b23b9436de947008f932fddbc2324da9934db93ffec97a9349cc6df68ffc2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"session_extract.extract_trajectory (cyclomatic 20): session_extract.extract_trajectory 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":"agent-eval/suite/session_extract.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d9b1c37bc6f518cedcd20b72cbf26d75e61aaff3ee7b02583e2d9d42d39fc5"}},{"ruleId":"D1","level":"warning","message":{"text":"groupExploring.summarizeExploringSteps (cyclomatic 20): groupExploring.summarizeExploringSteps has cyclomatic complexity 20 (threshold 15). Of this number, 19 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f7afd5508e9a55c8ebd81d9d49b855b06cac690d37a405979ef7c0602669ab"}},{"ruleId":"D1","level":"warning","message":{"text":"jui.init (cyclomatic 20): jui.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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccba32f65bb7e0dc6ba23ad0b6abca455605446690109a77d229f7d4d5607348"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChart.draw (cyclomatic 20): LineChart.draw 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":"site/public/showcase-projects/webgpu-cnn/js/charts.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dd98891dad8ae6c279883a742eddf4ad51b2ecfe40e71d18eab18aa140c212"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatDemo.ChatDemo (cyclomatic 20): ChatDemo.ChatDemo has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 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":"site/src/playground/ChatDemo.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"671c8379bd44ed2a5fc125005c9d21efc57a576fa5af855697afdc52e0b548da"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingTerminal.TypingTerminal (cyclomatic 20): TypingTerminal.TypingTerminal has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 33, 92, 47, \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":"site/src/components/TypingTerminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa54771782633e39f756efbd9bc6c078813cc74e269e43cf5a22d6a2db4a93b"}},{"ruleId":"D1","level":"warning","message":{"text":"store.retryRemoteConnection (cyclomatic 20): store.retryRemoteConnection 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":"web/src/app/store.ts"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8780d96a3e35340df27c3d16fde8e5494341a70ff0112e347bd0805d6a0f4341"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 20): CommandPalette.CommandPalette has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 7 function items inside it that branch (onKey, openTask, a function literal at line 90, \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":"web/src/components/CommandPalette.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"209288b3f7b4d192423f452be517056ae802bb1359dfcff3598f44e7bef3ce05"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerVersionRow.ServerVersionRow (cyclomatic 20): ServerVersionRow.ServerVersionRow has cyclomatic complexity 20 (threshold 15). Of this number, 14 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":"web/src/components/settings/ServerVersionRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b34613c9bed656bccd712cda38a192e8ff373b1ded69bf346c1e8b42e5a845b"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.ApprovalReviewSection (cyclomatic 20): SettingsView.ApprovalReviewSection has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"370813d14bd5d2ce3442ae833d36a882c7ce72af46e9b3e35c29b37b13b46e71"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.SkillsTab (cyclomatic 20): SettingsView.SkillsTab has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 3367, a function literal at line 3406, load, \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"603d98627cc2bd5bb8e96b8357333d3b30526c7936870a50b09412567db0f79e"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.BrowserTab (cyclomatic 20): SettingsView.BrowserTab has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 5 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca059cbcf44dc05b4acb01ad12bdd7ca0955350d8f94c72770ba4a0051d0213"}},{"ruleId":"D1","level":"warning","message":{"text":"App.AutomationRunReplay (cyclomatic 20): App.AutomationRunReplay has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"web/src/App.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc194ea774942bf511f2f9b80dd4b67b3c14bc3c32936ddec8ae5d854db52fc"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact.validateWorkspaceFile (cyclomatic 19): artifact.validateWorkspaceFile 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":"internal/artifact/service.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2296852670497f713a0ccbb96e9ae1af6fee37cf2f0a1cd7f52b516184c1cf6"}},{"ruleId":"D1","level":"warning","message":{"text":"automation.validateTrigger (cyclomatic 19): automation.validateTrigger 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":"internal/automation/validate.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a0944b744bb6ccaa97c3f1c0d43c663905619977fcc0581ecfc0745a70edcb"}},{"ruleId":"D1","level":"warning","message":{"text":"config.loadAgentRoleDir (cyclomatic 19): config.loadAgentRoleDir 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":"internal/config/agent_roles.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a786041cea56651d6c35d412bd9d3b3f2375bb6ce3dd0cc1ee988efc071516b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ACPHandler.RequestApproval (cyclomatic 19): ACPHandler.RequestApproval 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":"internal/handler/acp.go"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"237faab4bf20ead3e3ab83b0242db6910c9b1493e2971754aa89805761bfc497"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.runPhase1 (cyclomatic 19): pipeline.runPhase1 has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 209, 191). 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"172a7a7daa64f33edc309e351b42a979078b5f3fe414d0e9169fb282742d4d2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Recorder.TruncateAtUserMessage (cyclomatic 19): Recorder.TruncateAtUserMessage 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":"internal/session/session.go"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c57453d34839b587ac26276075a9ee884678408fb25b13a37c6c0b4dd468ec"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.PerformMCPOAuthLogin (cyclomatic 19): tools.PerformMCPOAuthLogin 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":"internal/tools/mcp_oauth.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b5806b6cb319d55b688cfd7dd83cbb025b9d9c07105993ad5448e7bcdb311"}},{"ruleId":"D1","level":"warning","message":{"text":"switchEnvTool.InvokableRun (cyclomatic 19): switchEnvTool.InvokableRun 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":"internal/tools/switch_env.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c8c2d03c894791d146205981a454a6903bdfb048834875e39e4cb12974990b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.handleComputerInput (cyclomatic 19): Model.handleComputerInput 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":"internal/tui/computer_command.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae069c0f2ee8b3e4c5eefe39fc4e0a35c5c8e37456f3c35237d007f464a49c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.runConversationAutomation (cyclomatic 19): Server.runConversationAutomation has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/automation_run.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"65697c847912ab1a9343472c2d8f377d5194b0ddf9c4a9577f084fc9b2c49130"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleDevOptionsConfig (cyclomatic 19): Server.handleDevOptionsConfig 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":"internal/web/dev_options.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a9448fa23fef7eecac49014a5ffb350b331bbc1e03855ec167b24b833c7816"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_cases.validate_suite (cyclomatic 19): toolsearch_cases.validate_suite 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ce2f139ac717fb1fb0f4ac8e6e2cb9a1398169d2d19b3e6237916fa9bfa682"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageView.MessageView (cyclomatic 19): MessageView.MessageView has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 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":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0946dbffe46790c9e6028ed3c95f015dd5b49fc19b841be9a68cbf1e45b33f88"}},{"ruleId":"D1","level":"warning","message":{"text":"lab.initLab.renderConfusion (cyclomatic 19): lab.initLab.renderConfusion has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"625aa350844b589a44dda86e29ff44b22c3f8589bc58babe8531e5a6392ec2d9"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.SettingsView (cyclomatic 19): SettingsView.SettingsView has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"897a3e028f5a52b691f9559e4d52b7ef08d01df481bde18b20d7568c7e9d81b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.GeneralTab (cyclomatic 19): SettingsView.GeneralTab has cyclomatic complexity 19 (threshold 15). Of this number, 13 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bf400d77dd1f0e158a3b8e5a76884321e35101342903ae82fc55d2f441dfa6"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactsPanel.parseCSV (cyclomatic 19): ArtifactsPanel.parseCSV 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1bccc20e6df24bc41585476a464c36a937f6158f15d5fa86edc7bda91b7ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validateDescriptors (cyclomatic 18): agent.validateDescriptors 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":"internal/agent/tool_plan.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"531a930e87c6cd9751bd0fb180ebef7f41fe7f5c65f1842bfe06411421fa89f2"}},{"ruleId":"D1","level":"warning","message":{"text":"turnBudgetMiddleware.BeforeModelRewriteState (cyclomatic 18): turnBudgetMiddleware.BeforeModelRewriteState 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":"internal/agent/turn_budget.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10e4c903aa3428774f1fdce51d705a3ab7c4b26fea9a70c801010e0a684ea8b"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact.inspectManagedImage (cyclomatic 18): artifact.inspectManagedImage 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":"internal/artifact/managed.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ed4e3ad6d203080f469e5026de4ca762329cb59924beefa8c6b90642a14324"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler.tick (cyclomatic 18): Scheduler.tick 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":"internal/automation/scheduler.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0627fcd173e762254f89e46ae7cd711fe38c493645291b21405835997a5c7654"}},{"ruleId":"D1","level":"warning","message":{"text":"Session.Act (cyclomatic 18): Session.Act 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":"internal/browser/actions.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f2ca2af544e77890ea96fb046292a1db9c6d06ab766b6f5f97e19e5a23a6ee"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud.UnwrapAccountSyncKey (cyclomatic 18): cloud.UnwrapAccountSyncKey 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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df7527ae527e071a181741e434f7b693c37a5784d95f3d6a1279dee32e87039"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.handleWSEvent (cyclomatic 18): Connector.handleWSEvent 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":"internal/cloud/events.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0308ae2ba735e331a5bf8970bd33e3bb43b525f647c5ffe9af85f9b5e3b6271b"}},{"ruleId":"D1","level":"warning","message":{"text":"Connector.sessionSyncLoop (cyclomatic 18): Connector.sessionSyncLoop 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":"internal/cloud/sessions.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb353e78f674c4ccff47ea1daae9c0fd6dd4149b683ff82db29bd438b0835f7"}},{"ruleId":"D1","level":"warning","message":{"text":"run.jsAgent (cyclomatic 18): run.jsAgent has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 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":"internal/flow/run.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4e47d370af74d2b021a701bd3c3893adc009bdb58c4f5cd132e370966068c3"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.WriteNote (cyclomatic 18): memory.WriteNote 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":"internal/memory/note.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8175c6260eb02711baf8e3c41ece8b21e073d9d98d391c70a43ee2b3abc6d641"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.selectSessions (cyclomatic 18): pipeline.selectSessions 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c344af26e42af9990104f15bf79bc8ce719b9cc83bb9439aa885ac7f88f1a"}},{"ruleId":"D1","level":"warning","message":{"text":"model.classifyByStatus (cyclomatic 18): model.classifyByStatus 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":"internal/model/retry.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"36682f09fc8ff86dc97072fd6eb9d92b37e8b719529ee28c35cbcf5cfafbc46f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelFactory.GetModel (cyclomatic 18): ModelFactory.GetModel 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":"internal/model/factory.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3931d5a3cf69e8e002ab1d1b6fcdc8f31e4f4fcce44b5d220b51ffebc795f58"}},{"ruleId":"D1","level":"warning","message":{"text":"responsesSSEState.emitEnvelopeFallback (cyclomatic 18): responsesSSEState.emitEnvelopeFallback 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":"internal/model/responses_parse.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fba7d774d1878bd69814d33d1090fc399774ac6ab6e77f9aba8afcf61607a5"}},{"ruleId":"D1","level":"warning","message":{"text":"session.validateSecurityJournal (cyclomatic 18): session.validateSecurityJournal 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":"internal/session/security_journal_strict.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf62e2d960afb176f6c1d0d664f9f1209338c9ff7bb59329613e721a7d930907"}},{"ruleId":"D1","level":"warning","message":{"text":"editTool.applyMultiEdits (cyclomatic 18): editTool.applyMultiEdits 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":"internal/tools/edit.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7abc004b7c5b3cb4e9b7bbe13f4abda972d8189f20406d70b47b31aea9ccbd5"}},{"ruleId":"D1","level":"warning","message":{"text":"web.mergeMCPServerReq (cyclomatic 18): web.mergeMCPServerReq 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":"internal/web/mcp.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54b9f9c2a92fab23693f1f371b8072073ae6956485005fe7d41d4f887fe4275"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.authorizeCloudRemoteWorkspace (cyclomatic 18): Server.authorizeCloudRemoteWorkspace 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":"internal/web/activation.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc243e731fe31ec1dea30207f8ab8651b3316dc2fa8a9f52610204ddc7db634"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleGitCheckout (cyclomatic 18): Server.handleGitCheckout 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":"internal/web/git.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f27d0be4781b48648dd2c2397b7130a8cac3dc20581d3f10b0a0a02038f1cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleMemorySync (cyclomatic 18): Server.handleMemorySync 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, 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":"internal/web/memory.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"378b4f011fa0a7596993c42187a61cf2e6207d5d39e4a0daae73949a9d6e599e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleNewSession (cyclomatic 18): Server.handleNewSession 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":"internal/web/sessions.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3064025dc8fcb56e3c61c58171dea84d082529dfdb7cff864d59664062a91410"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_campaign.normalize_options (cyclomatic 18): toolsearch_campaign.normalize_options 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"45571a4b5c8e407e913d188b0a292a50b35dbaeccdf8a36a4c26fb0f4d7a79cd"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_expect._check_searches (cyclomatic 18): toolsearch_expect._check_searches 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d44e5000fe0a44786ed2db6fcc0d6ddb680faf89a38035c672c2bd7ca909e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"web_toolsearch_orchestrate._load_selected_provider (cyclomatic 18): web_toolsearch_orchestrate._load_selected_provider 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d863af6e7c118e77ca18f3d19b0592c95061209a3acd5e13bada415c6e2cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"groupActivity.bucketOf (cyclomatic 18): groupActivity.bucketOf 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b157f64f5a81543a0e6392aafefd70d3973a557056dc1697ff9a5067fe1fbd9"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadList.RowActions (cyclomatic 18): ThreadList.RowActions has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"72747ecfba78b9951b03ef6faa02a70d875fdafb04ed72a2e131d9986045dfb0"}},{"ruleId":"D1","level":"warning","message":{"text":"city.fillBlock (cyclomatic 18): city.fillBlock 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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc500ca1a1f19ab02ab2e47baf761ffd45ad22e099a2e4e21be2e48647d861a"}},{"ruleId":"D1","level":"warning","message":{"text":"jui.initTableSort (cyclomatic 18): jui.initTableSort has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 710, applySort, a function literal at line 686, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f83d70da2c8785e5934f32dc625f9e7416e5840dc79e5aa467c498aab1673"}},{"ruleId":"D1","level":"warning","message":{"text":"DocPage.DocPage (cyclomatic 18): DocPage.DocPage has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 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":"site/src/pages/docs/DocPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946bf1b9317b8eb8410c93108abfce79297124f3b97ab2d7aff507cf3607bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"store.replayArtifacts (cyclomatic 18): store.replayArtifacts 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":"web/src/app/store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8924f24cefe70d54dc7e4664bed7a2f9cad2b9bc403b7c1005ed3ff21afff57"}},{"ruleId":"D1","level":"warning","message":{"text":"store.lifecycleHostIndex (cyclomatic 18): store.lifecycleHostIndex 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":"web/src/app/store.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc72f24a71e7bd16554451a048b92823091f49d1249e27b79d7b8e3c25f1563"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarFilterMenu.SidebarFilterMenu (cyclomatic 18): SidebarFilterMenu.SidebarFilterMenu has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 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":"web/src/components/SidebarFilterMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a953cecbb0a1c821c2870af70734e6efa42ee051a176d2b7e110cf17d6390ad"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.compareProjectGroups (cyclomatic 18): Sidebar.compareProjectGroups 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c71cb05366ebccf9b1256477c1098a4e70f146ef92b341b2787af7e59ab75b"}},{"ruleId":"D1","level":"warning","message":{"text":"useAppUpdate.AppUpdateProvider (cyclomatic 18): useAppUpdate.AppUpdateProvider has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 82, 122, 115, \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":"web/src/lib/useAppUpdate.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6bdab2f2f752ede2985c6e3aed85f7268a99d7bc3bc0b8364bbf5e77c6cf8b"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalPanel.TerminalPanel (cyclomatic 18): TerminalPanel.TerminalPanel has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 93, 175, 99, \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":"web/src/components/TerminalPanel.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"abca2d9502d477b8088f8bb3b25ff59cc32b8c7dc1d6a86dd619f986971cdbb7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.parseToolSearchExactListEnvelope (cyclomatic 17): agent.parseToolSearchExactListEnvelope 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":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"333ed58b0c3edae3c75e6c63280c44a47958f2c1ca7c47980c44de6b8fccd3b8"}},{"ruleId":"D1","level":"warning","message":{"text":"Notifier.connect (cyclomatic 17): Notifier.connect 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":"internal/channel/ble/ble_cgo.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff0ff32675a139ccb4edf7fd44d3f1cbb37bcea0586c3e77dc18886cf61e04b"}},{"ruleId":"D1","level":"warning","message":{"text":"interactiveState.handleResume (cyclomatic 17): interactiveState.handleResume 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":"internal/command/interactive.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ded46b58470d9c370a6f881983f0c0adf5ffa379e9690ab50ac0c38d6cfd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"handler.pendingApprovalIndex (cyclomatic 17): handler.pendingApprovalIndex 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":"internal/handler/acp.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c87a96a7788cc672912905e5f26fa9a01e10b92f78924d8baa1d57141557726"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.buildTranscript (cyclomatic 17): pipeline.buildTranscript 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"854c20a3c2b9dc6fde808a5472750bbe0980c563f5ec9003b74c6053f5a15ad0"}},{"ruleId":"D1","level":"warning","message":{"text":"providertools.ImageModels (cyclomatic 17): providertools.ImageModels 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":"internal/providertools/manifest.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98418cae9025242e938e055ee7e3567132ed838142cc778d882179660a41084"}},{"ruleId":"D1","level":"warning","message":{"text":"review.runReviewerAgent (cyclomatic 17): review.runReviewerAgent 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":"internal/review/investigate.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc25c3f8f430785223be15fb837874f5935cdeae7a43ab17591e9beed767e910"}},{"ruleId":"D1","level":"warning","message":{"text":"session.ValidateProviderToolTransition (cyclomatic 17): session.ValidateProviderToolTransition 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"890f2c6aae2c8afa313d5d1dc35d06def8ef3a5a294c9df9bbdcbb70d089721b"}},{"ruleId":"D1","level":"warning","message":{"text":"session.ValidateGenerationTransition (cyclomatic 17): session.ValidateGenerationTransition 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":"internal/session/session.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca142e3af3441344a644fccb61928ff68e6db1f03823e6fab1a61600e02f2fa"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.parseFrontmatter (cyclomatic 17): skills.parseFrontmatter 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":"internal/skills/skills.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"816b90ca598476baf2fac97e10bbf5d688ac6543aa4dd526c6850b00b9da42f2"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.ExtractTodosFromPlan (cyclomatic 17): tools.ExtractTodosFromPlan 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":"internal/tools/plan_parse.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01c30de7cea8bf1d089e59e4cf18b26a7cf774b4d35285a80c3411910c6725b"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.WrapProviderManagedBillableTool (cyclomatic 17): tools.WrapProviderManagedBillableTool 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":"internal/tools/provider_managed_billable.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65b2fed24d585a6004b8f46fa78b6881b15ae8270d6697cf99634ea572c824e"}},{"ruleId":"D1","level":"warning","message":{"text":"SSHExecutor.runOnce (cyclomatic 17): SSHExecutor.runOnce 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":"internal/tools/env.go"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cf26fa9c431fc3a844175f20108baf25e0601d3ddb3a061105583520865ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"workflowRunTool.InvokableRun (cyclomatic 17): workflowRunTool.InvokableRun 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":"internal/tools/workflow_tool.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81393a0e0c34f47ffb75d38bf052f359c1d3e67b5a9bef2816a2e5d2e64093a"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.assembleConversationEngine (cyclomatic 17): Server.assembleConversationEngine 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":"internal/web/activation.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f30a59a4fa45f1aa5856a279f5eeef1874077630de591b45f1c3b1ec226e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.engineForChatContext (cyclomatic 17): Server.engineForChatContext 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":"internal/web/chat.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bf307fd40d4b3dc9e0284fbbb2cccfecbe364fe2a0e87488b1d867494947a0"}},{"ruleId":"D1","level":"warning","message":{"text":"computer_report.main (cyclomatic 17): computer_report.main 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":"agent-eval/analysis/computer_report.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c254fe2e7f86d2ed49afed7df8ca40f5653e999fbcf8bb82c2894603fb1873"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_report._evaluate_gates (cyclomatic 17): toolsearch_report._evaluate_gates 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec498a5e150ca70f0cc8bfd5b6996c7f6f5c126335e66bdab38b89613bdddfa"}},{"ruleId":"D1","level":"warning","message":{"text":"routing_verify._batch_facts (cyclomatic 17): routing_verify._batch_facts 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15b2e36fbaccfc8b62873f0cd81fbfe25338c8962138a586f8310181a508c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_cases._validate_call (cyclomatic 17): toolsearch_cases._validate_call 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf134cd1785ead2322e30595c8e9df46966fb5c7d4c7818981d67fa291415ea"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_expect._search_facts (cyclomatic 17): toolsearch_expect._search_facts 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"325816620790790a76b168af1a15e04307855e00864cc8cb6f0e8b795a6a5728"}},{"ruleId":"D1","level":"warning","message":{"text":"computerAct.ComputerActRenderer (cyclomatic 17): computerAct.ComputerActRenderer 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":"packages/jcode-ui/src/toolRenderers/computerAct.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f9ba107d8626c4f1647607c0b65141dbef227947943ed7649e303f9d24ea0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadList.ThreadList (cyclomatic 17): ThreadList.ThreadList has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"103df702598d53f4170b581e5c4deab6c2a5b76afc7a83ea0d8261b9428f2bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput::handleKeyDown (cyclomatic 17): ChatInput.ChatInput::handleKeyDown 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. This shape REPEATS in the file: one other method here (ChatInput.ChatInput) 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4c6e638008328d710fc5114c3614fc21c896c3b4e5c2cc58f829790e5bc347"}},{"ruleId":"D1","level":"warning","message":{"text":"lab.preprocess (cyclomatic 17): lab.preprocess has cyclomatic complexity 17 (threshold 15). Of this number, 13 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda396c78257b644bb75a28a72282a9b86115585662a78dfbee01ec5500dd8fb"}},{"ruleId":"D1","level":"warning","message":{"text":"renderMarkdown (cyclomatic 17): renderMarkdown 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":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b45aec22b36a11b0bd3721c010321fb220f4ece1047f007976c68293b0fc44a"}},{"ruleId":"D1","level":"warning","message":{"text":"reminderMiddleware.BeforeModelRewriteState (cyclomatic 16): reminderMiddleware.BeforeModelRewriteState 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":"internal/agent/reminder.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ab200de062d2f80b325700b730911ee8f34bd576f27e816c18badcd9851300"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.ResolveOwnerSession (cyclomatic 16): Store.ResolveOwnerSession has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 387). 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":"internal/automation/store.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"84382341fdad98048af9db399dce15c8d7e74268f4150233e51d4c57e57bfc71"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud.LoadCredentials (cyclomatic 16): cloud.LoadCredentials 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":"internal/cloud/credentials.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c24061f7270b6aebc76a07cee80a53e1865d53543e67a07a53b8735f55330c7"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.writeJSON (cyclomatic 16): Client.writeJSON 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":"internal/cloud/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c10c7a3944042633f80d6bb7798d4548e0ceb4aaf2dd8d7cf04c5f3ce74a9"}},{"ruleId":"D1","level":"warning","message":{"text":"command.startWebServer (cyclomatic 16): command.startWebServer has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"internal/command/web.go"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8150f149fe19557f1d140b3523ea4c7c153abbb6e54919e4e495a50dcd511f35"}},{"ruleId":"D1","level":"warning","message":{"text":"interactiveState.handlePlanCompletion (cyclomatic 16): interactiveState.handlePlanCompletion 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":"internal/command/interactive.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"90508b7507b9873cf67e0241edbd4442dc3e0f932c791fd77c308c1a82286062"}},{"ruleId":"D1","level":"warning","message":{"text":"config.loadConfig (cyclomatic 16): config.loadConfig 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":"internal/config/config.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcb64a4ffb5ed905e42a4f604fc08dde095b985d7f148a25b49d5dc2fcb8b59"}},{"ruleId":"D1","level":"warning","message":{"text":"release.comparePre (cyclomatic 16): release.comparePre 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":"internal/release/release.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5e9e5f61d8522e6460bb727c10acd07362edd7f6e3456571542c42c873508"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.extractFlowJSON (cyclomatic 16): tools.extractFlowJSON 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":"internal/tools/flow_spawn.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f97c8279bf997043f28675a0f4a4721890d22a4fac80279c174906a69e3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"editTool.editFile (cyclomatic 16): editTool.editFile 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":"internal/tools/edit.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd7636b1fde1788064cfeb6cf1244456317880204aa0ffba4e1a1da850fb189"}},{"ruleId":"D1","level":"warning","message":{"text":"grepTool.buildRemoteCmd (cyclomatic 16): grepTool.buildRemoteCmd 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":"internal/tools/grep.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6abe3fbd4c8f523795379f4213d134e24cd69b6512d84dc93e36723ac55fa6c"}},{"ruleId":"D1","level":"warning","message":{"text":"enhancedTodoWriteTool.InvokableRun (cyclomatic 16): enhancedTodoWriteTool.InvokableRun 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":"internal/tools/todo_enhanced.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cdb26cbb5f51dbcc56b9bc58e5530dc3d4e6876c2540bdac42b2fef4b4c39d"}},{"ruleId":"D1","level":"warning","message":{"text":"tui.sanitize (cyclomatic 16): tui.sanitize 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":"internal/tui/format.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ed167d14f4c2573960af485f42712f7aafcff4d04b117464f111b3361a2f36"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.handleManageModelsKey (cyclomatic 16): Model.handleManageModelsKey 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":"internal/tui/manage_models.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa2a84c137bc2baefd386bbdb94dddbe1c4b0734ffbe181564912de410f5872"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handleMemoryStatus (cyclomatic 16): Server.handleMemoryStatus 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":"internal/web/memory.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f953630e9ad7a29afcfb5b18751e7c2f27d53a2f2a9ba2560a4aa22ff180c"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ensureCustomModelConfigured (cyclomatic 16): Server.ensureCustomModelConfigured has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 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":"internal/web/models.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"30024e46101c388e3de0373e24b6d5d2092d01b9a346c846e7bb5b3d46846841"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.ValidateScratchPath (cyclomatic 16): workspace.ValidateScratchPath 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":"internal/workspace/scratch.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f03bcba0b0e2c35ad47a5a8cb19af84f2b4a7319b61efc6cb379c8c9f693b14"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_cases._validate_browser_fixture (cyclomatic 16): toolsearch_cases._validate_browser_fixture 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"600a0afbf3bae4f3d7ac13b5d548a76a8441d1f05e3d76b0506dbea4404dcddc"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_expect._pair_entries (cyclomatic 16): toolsearch_expect._pair_entries 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3513d980a5231fbead98db0e43e246e4e7b42a770a774a54aa94d54458a6e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"toolsearch_expect._batch_facts (cyclomatic 16): toolsearch_expect._batch_facts 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b02977e517c1ccfc26ed29faf61f660699926026cbf6d8d59b03016d3fa959"}},{"ruleId":"D1","level":"warning","message":{"text":"jcode_desktop::desktop_apps::linux::parse_desktop_entry (cyclomatic 16): jcode_desktop::desktop_apps::linux::parse_desktop_entry 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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a64732af73fc08d926ebb62cd18ee41552f50c08bdece44136c35787c29649"}},{"ruleId":"D1","level":"warning","message":{"text":"jcode_desktop::desktop_apps::windows::known_application_paths (cyclomatic 16): jcode_desktop::desktop_apps::windows::known_application_paths 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":"desktop/src-tauri/src/desktop_apps/windows.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d072577151ae2ce06098de524477999da748090a97fe5e53fddc670d72877195"}},{"ruleId":"D1","level":"warning","message":{"text":"Attachment.Attachment (cyclomatic 16): Attachment.Attachment has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"945f6cdd13db8a355eaa3f23bbfb562dfa95eb493601986e8da4ad89bf7e0c75"}},{"ruleId":"D1","level":"warning","message":{"text":"Attachment.PendingTile (cyclomatic 16): Attachment.PendingTile 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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"330641f03a6b4760ab3b5afc5eba1e2d1125f85eb9cd66b9e06c9d5294fcadb3"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityGroupCard.ActivityGroupCard (cyclomatic 16): ActivityGroupCard.ActivityGroupCard 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":"packages/jcode-ui/src/components/ActivityGroupCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4fe690aa554744bc8a55fbfe24529f839ecf89706cd7436a18666cf479e5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"stackTrace.StackView (cyclomatic 16): stackTrace.StackView has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 76, openFile). 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":"packages/jcode-ui/src/toolRenderers/stackTrace.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b388877869ff7dbc0746744edfa0c25d44051b7f76cc0e3b08f4dc050208aa"}},{"ruleId":"D1","level":"warning","message":{"text":"jui.initPopover (cyclomatic 16): jui.initPopover has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 518, a function literal at line 508, close, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14fb1823ec151120e22cf4a5f8c93a288c8b7e4679d52bfb033244c8d098e46"}},{"ruleId":"D1","level":"warning","message":{"text":"useDesktop.initExternalLinks (cyclomatic 16): useDesktop.initExternalLinks has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (onClick). 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":"web/src/lib/useDesktop.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2fc52a2f15abb7550ea36fa3366a875ed18523c34bdd56e4109574b437d596"}},{"ruleId":"D1","level":"warning","message":{"text":"remote.parseRemoteLabel (cyclomatic 16): remote.parseRemoteLabel 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":"web/src/lib/remote.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b610945d7e9d4eb67a9625b7c1b49a789250e855771a65de5b78212be63b07f4"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationsView.AutomationEditor::save (cyclomatic 16): AutomationsView.AutomationEditor::save 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. This shape REPEATS in the file: one other method here (AutomationsView.AutomationEditor) 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f781982be1b407269279bc92c88287a7ed78c81563b43e7aa6db14038b11726"}},{"ruleId":"D1","level":"warning","message":{"text":"ComputerShotPiP.ComputerShotPiP (cyclomatic 16): ComputerShotPiP.ComputerShotPiP has cyclomatic complexity 16 (threshold 15). Of this number, 12 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":"web/src/components/ComputerShotPiP.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"950a71baae2346dbe06093fdb0428f056e3cf6366103f5ae3645f2b2e617c570"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.Update (cognitive 1067): Model.Update has cognitive complexity 1067 (threshold 15). Drivers by points: if/else 256 (862 pts), match/switch 40 (131 pts), boolean chains 50, loops 7 (24 pts) (nesting depth added 714). Of this number, 1057 points are the body\u0027s own statements and 10 belong to 2 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":"internal/tui/update.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"520711c399ba55f69f349866df566cea7904f39e7dab6ff23fd65541042056e1"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.runInner (cognitive 284): runner.runInner has cognitive complexity 284 (threshold 15). Drivers by points: if/else 71 (234 pts), loops 15 (34 pts), boolean chains 14, match/switch 1 (2 pts) (nesting depth added 183). Of this number, 253 points are the body\u0027s own statements and 31 belong to 4 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":"internal/runner/runner.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a9dbc3b1bbc0d2d0f3c41f5688ddc644f1ee7c3c0c415c31b3cc39a7bdbbae"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar (cognitive 198): Sidebar.Sidebar has cognitive complexity 198 (threshold 15). Drivers by points: if/else 58 (72 pts), ternaries 37 (64 pts), boolean chains 47, loops 8 (9 pts), error handling 5 (6 pts) (nesting depth added 43). Most of this is not in the body itself: 11 of the 198 points are its own statements and the rest belongs to 37 function items inside it that branch (a function literal at line 635, a function literal at line 300, a function literal at line 252, \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":"web/src/components/Sidebar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c788e6b49222d7f02484e9482b8abf72ac7e707ffb8d0968c8be95cec6130a0"}},{"ruleId":"D2","level":"warning","message":{"text":"command.RunInteractive (cognitive 152): command.RunInteractive has cognitive complexity 152 (threshold 15). Drivers by points: if/else 88 (132 pts), boolean chains 9, loops 4 (8 pts), match/switch 1 (3 pts) (nesting depth added 50). Of this number, 107 points are the body\u0027s own statements and 45 belong to 16 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":"internal/command/interactive.go"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c3d31b8c89382f5b1a736a3815ed6821dd38ff66510ae039d1cdb1cce6b41c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 150): main.run has cognitive complexity 150 (threshold 15). Drivers by points: if/else 35 (124 pts), loops 10 (26 pts) (nesting depth added 105). 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":"script/generate_models.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff4a1cae56a3882ac19efd827aae5af5d409fb31898401c52fca1299765fed"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudTab.CloudTab (cognitive 146): CloudTab.CloudTab has cognitive complexity 146 (threshold 15). Drivers by points: ternaries 26 (65 pts), boolean chains 40, if/else 27, error handling 13 (14 pts) (nesting depth added 40). Of this number, 72 points are the body\u0027s own statements and 74 belong to 18 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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afe25408b012362666c5f98cac73427370a83b6aa1ef083c583d1329da00f87"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.runAgentTurn (cognitive 145): Manager.runAgentTurn has cognitive complexity 145 (threshold 15). Drivers by points: if/else 41 (115 pts), loops 5 (22 pts), boolean chains 8 (nesting depth added 91). Of this number, 144 points are the body\u0027s own statements and 1 belongs 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":"internal/team/manager.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4858830ac7fc1c6d4e224b3239b9e9b64f21fca463fa64f93f5b3643a9ad12"}},{"ruleId":"D2","level":"warning","message":{"text":"command.runWebServer (cognitive 143): command.runWebServer has cognitive complexity 143 (threshold 15). Drivers by points: if/else 94 (115 pts), boolean chains 22, loops 4 (6 pts) (nesting depth added 23). Most of this is not in the body itself: 11 of the 143 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 434, 345, 293). 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":"internal/command/web.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"254015381da7c90e4df639cb4b76c44e11f2131702f4606ca04fce04091dca67"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteConnectWizard.RemoteConnectWizard (cognitive 138): RemoteConnectWizard.RemoteConnectWizard has cognitive complexity 138 (threshold 15). Drivers by points: boolean chains 53, if/else 41 (46 pts), ternaries 23 (30 pts), error handling 9 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 110 belong to 27 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5983969b4764a5979c7cb2201f67f3605715540cbc80cdba0b6ed937539cd15"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.update (cognitive 134): Game.update has cognitive complexity 134 (threshold 15). Drivers by points: if/else 37 (93 pts), loops 8 (20 pts), ternaries 2 (11 pts), boolean chains 10 (nesting depth added 77). Of this number, 124 points are the body\u0027s own statements and 10 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b53e270d4df9b69f3323e7f6be47fac5adf3793d89383f7b1fa80b8c916b24"}},{"ruleId":"D2","level":"warning","message":{"text":"verify.check_oracle (cognitive 131): verify.check_oracle has cognitive complexity 131 (threshold 15). Drivers by points: if/else 57 (91 pts), boolean chains 19, error handling 3 (10 pts), loops 4 (9 pts), ternaries 1 (2 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":"agent-eval/suite/verify.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa885b14412051357b8fa0c6221bf86061c40c89d2e43538f9fa88d1d45d962"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleProviderCatalog (cognitive 126): Server.handleProviderCatalog has cognitive complexity 126 (threshold 15). Drivers by points: if/else 31 (92 pts), loops 10 (26 pts), boolean chains 8 (nesting depth added 77). Of this number, 118 points are the body\u0027s own statements and 8 belong to 2 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":"internal/web/providers.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a5f46f36b49208e34aa0e0b6a8e86a4da3bd503410f2bf93cc7b1c08da1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleUpdateProvider (cognitive 126): Server.handleUpdateProvider has cognitive complexity 126 (threshold 15). Drivers by points: if/else 56 (104 pts), loops 5 (13 pts), boolean chains 9 (nesting depth added 56). Of this number, 17 points are the body\u0027s own statements and 109 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":"internal/web/providers.go"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"4501786f03ffd8fca00ad463daa821377137724fcd108ee1415ea5923a4edc53"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ComputerTab (cognitive 125): SettingsView.ComputerTab has cognitive complexity 125 (threshold 15). Drivers by points: ternaries 35 (68 pts), boolean chains 30, if/else 22 (24 pts), error handling 2, loops 1 (nesting depth added 35). Of this number, 89 points are the body\u0027s own statements and 36 belong to 16 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea323916edd1f3fcfac7423ae2142bb4953a50ce5f2c5d41cbdaa0b3d1f90a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"web_browser_driver.run_web_browser_case (cognitive 120): web_browser_driver.run_web_browser_case has cognitive complexity 120 (threshold 15). Drivers by points: if/else 43 (74 pts), boolean chains 25, error handling 9 (16 pts), loops 3 (5 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd7f00b3877a1e9f83d81724842648a3035619a590ffe5f7a93529916ee023d"}},{"ruleId":"D2","level":"warning","message":{"text":"Composer.Composer (cognitive 120): Composer.Composer has cognitive complexity 120 (threshold 15). Drivers by points: if/else 41 (51 pts), ternaries 33 (46 pts), boolean chains 20, loops 3 (nesting depth added 23). Of this number, 45 points are the body\u0027s own statements and 75 belong to 27 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b2c7d8918ce677c4ac6af5d91d087a5059a3ef6347cd9d055b49c94fc901bc"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentTool.runSubagent (cognitive 97): subagentTool.runSubagent has cognitive complexity 97 (threshold 15). Drivers by points: if/else 26 (76 pts), loops 6 (18 pts), boolean chains 3 (nesting depth added 62). Of this number, 92 points are the body\u0027s own statements and 5 belong to 2 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":"internal/tools/subagent.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a24ec4ae4636ac389f6d7a4dfb3b0ce0027f0ae4249fa6868c42b9ea81152c"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ProvidersTab (cognitive 95): SettingsView.ProvidersTab has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 19 (32 pts), boolean chains 29, if/else 21 (24 pts), error handling 10 (nesting depth added 16). Of this number, 20 points are the body\u0027s own statements and 75 belong to 26 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d464b0555733a4c44013f7526289433dec07820103d50680fdc31e76456397a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationsView.AutomationsView (cognitive 92): AutomationsView.AutomationsView has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 16 (65 pts), boolean chains 17, if/else 6 (10 pts) (nesting depth added 53). Most of this is not in the body itself: 14 of the 92 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 970, 1124, 849, \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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01543069062b79ce8d89355e798787959fb6d68f133c1e2160272763a8ec32a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput (cognitive 88): ChatInput.ChatInput has cognitive complexity 88 (threshold 15). Drivers by points: boolean chains 124, if/else 94 (124 pts), ternaries 24 (30 pts), loops 6 (10 pts), error handling 2 (5 pts) (nesting depth added 43). 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. This shape REPEATS in the file: one other method here (ChatInput.ChatInput::handleKeyDown) 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ed08b63d1de42555e22282f899dbf4cfdaa8d512ebda870ee01cee5b6d8fa"}},{"ruleId":"D2","level":"warning","message":{"text":"extractSymbols (cognitive 88): extractSymbols has cognitive complexity 88 (threshold 15). Drivers by points: if/else 27 (61 pts), loops 4 (10 pts), boolean chains 9, ternaries 3 (7 pts), other 1 (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":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6fa12b20e43838872d83be23317cd7fc28a3cbe9db8b3dfb0b9c953abcc12f"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleModelInput (cognitive 87): Model.handleModelInput has cognitive complexity 87 (threshold 15). Drivers by points: if/else 26 (72 pts), loops 6 (10 pts), boolean chains 5 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/pickers.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1669328f97466aec5309dff0b447b61a4b4f5ce4e9188ba4c1df6321639abc03"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspacePicker.WorkspacePicker (cognitive 85): WorkspacePicker.WorkspacePicker has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 34, if/else 21 (26 pts), ternaries 13 (18 pts), error handling 5 (6 pts), loops 1 (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 59 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef3a009fddcbc214f5f120f7d26f4f1b4d2174a65f64bb54171e0adf956bf2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.reconcileProviderConfigs (cognitive 83): Connector.reconcileProviderConfigs has cognitive complexity 83 (threshold 15). Drivers by points: if/else 30 (67 pts), loops 8 (9 pts), boolean chains 7 (nesting depth added 38). 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":"internal/cloud/provider_sync.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b22eda756e13b497cef7a8647b414e49aa89428aa3e176c2f423aecfc5eade"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 83): App.App has cognitive complexity 83 (threshold 15). Drivers by points: if/else 32 (41 pts), boolean chains 20, ternaries 6 (16 pts), error handling 4 (6 pts) (nesting depth added 21). Most of this is not in the body itself: 4 of the 83 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 111, 212, 271, \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":"web/src/App.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f3a8407afd9f078c4eddc28c550308a7aaec17eab2b870713940eca567a79e"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupModel.Update (cognitive 77): SetupModel.Update has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (59 pts), match/switch 5 (12 pts), boolean chains 6 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/setup.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5920d91bb5f19e4cb2184d3190c6da5e7c467912994c5aaf3d40ed801ccaa30"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.MemoryTab (cognitive 77): SettingsView.MemoryTab has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 38, ternaries 13 (18 pts), if/else 16, error handling 5 (nesting depth added 5). Of this number, 36 points are the body\u0027s own statements and 41 belong to 9 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c907d5d22c12c2f5718ac1d689e73c3ef5261923a020b4bbc9241896d0a8e70f"}},{"ruleId":"D2","level":"warning","message":{"text":"acpAgent.Prompt (cognitive 75): acpAgent.Prompt has cognitive complexity 75 (threshold 15). Drivers by points: if/else 29 (64 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 38). 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":"internal/command/acp.go"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a7752e335ae1f95a7ae21579163d922c09d9722aa605157f659b085864e9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderAuthSection.ProviderAuthSection (cognitive 75): ProviderAuthSection.ProviderAuthSection has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 26 (78 pts), boolean chains 51, if/else 41 (50 pts), error handling 8 (nesting depth added 61). To reduce it, split the body into named stages: move each independent 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 (ProviderAuthSection.ProviderAuthSection::runStatusAction) 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf458fa8f854c74a49a4380f990613a3a5ad7b1022f6043b9473d5b2e851348a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ProviderCard (cognitive 71): SettingsView.ProviderCard has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 21 (47 pts), boolean chains 23, if/else 1 (nesting depth added 26). Of this number, 51 points are the body\u0027s own statements and 20 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecd34d3af3127db4e0bbef78acb880db6287152a9320587afa22c5688c35507"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrate._run_one (cognitive 70): orchestrate._run_one has cognitive complexity 70 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 12, ternaries 8 (11 pts), loops 6 (10 pts), error handling 3 (7 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b11e24a587cd57427870148f4a1a6d4398629ca15cbb7272c7a2736091fa0c"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze.main (cognitive 69): analyze.main has cognitive complexity 69 (threshold 15). Drivers by points: if/else 24 (40 pts), loops 11 (15 pts), ternaries 6 (11 pts), boolean chains 3 (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":"agent-eval/analysis/analyze.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce2c2437de9eb9e3c186dfca62a0e785527056c62d63e35dec614a31f3c4a44"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.handleClick (cognitive 68): Game.handleClick has cognitive complexity 68 (threshold 15). Drivers by points: if/else 36 (59 pts), boolean chains 7, loops 1, 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"074ba75ef4be722893aa51800d165cc7469180de4dd87ed6c49f217df30bc5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.MCPTab (cognitive 68): SettingsView.MCPTab has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 16 (35 pts), boolean chains 21, if/else 7, error handling 5 (nesting depth added 19). Of this number, 17 points are the body\u0027s own statements and 51 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc3ce0835d8207fd396b7edbca0786d9e0c9bd7a10d03c9c9a3d47f65aea64"}},{"ruleId":"D2","level":"warning","message":{"text":"session.ReconstructState (cognitive 67): session.ReconstructState has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (55 pts), boolean chains 4, loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/history.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc0c95a4732ddf1105dc208cbfc79a43d883cb357a5dab5bc1a09d5951de1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleListModels (cognitive 67): Server.handleListModels has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (47 pts), loops 9 (16 pts), boolean chains 4 (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":"internal/web/models.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06db4d79383d6b2b3995d3421c2ce0074750595c4b258e3fc973050d68476c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleDeleteSession (cognitive 59): Server.handleDeleteSession has cognitive complexity 59 (threshold 15). Drivers by points: if/else 30 (53 pts), boolean chains 6 (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":"internal/web/sessions.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4487d87387cc7033c123af8af6e87f1dc977eaee9ae8b40dd8b96bc814fa2261"}},{"ruleId":"D2","level":"warning","message":{"text":"just-the-docs.searchLoaded::update::addResult (cognitive 58): just-the-docs.searchLoaded::update::addResult has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 7 (19 pts), boolean chains 2 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/js/just-the-docs.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfc65afc1e2d414e0588130f3332c328729074b58ba316ddee5c685a7e501c"}},{"ruleId":"D2","level":"warning","message":{"text":"web.inspectSessionChangesFromBase (cognitive 57): web.inspectSessionChangesFromBase has cognitive complexity 57 (threshold 15). Drivers by points: if/else 22 (40 pts), boolean chains 10, loops 4 (7 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":"internal/web/session_changes.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be99ab68ce52819dc5cf91348f8c1040fb6ca7bcca60c2385c475472c3721e"}},{"ruleId":"D2","level":"warning","message":{"text":"store.replayTimeline (cognitive 55): store.replayTimeline has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 13, ternaries 3 (9 pts), loops 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":"web/src/app/store.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e684a05923d21e499efc022dd4741ee9074dfd3e15b786bb214e9b52b994169a"}},{"ruleId":"D2","level":"warning","message":{"text":"acpAgent.buildAgentSession (cognitive 54): acpAgent.buildAgentSession has cognitive complexity 54 (threshold 15). Drivers by points: if/else 41 (48 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 23 belong to 8 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":"internal/command/acp.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d372aebe6bd6bd13efd7eebd34050231ca0db69e2249c4b9bcffb86d5d8aafdd"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.pollLoop (cognitive 54): Client.pollLoop has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (42 pts), loops 3 (7 pts), match/switch 2 (5 pts) (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":"internal/pkg/weixin/client.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cf66fd03f4cf7bb40da2df58106bb14c37967800f48aadc91e7a287be3085d"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ensureConversationLocked (cognitive 54): Server.ensureConversationLocked has cognitive complexity 54 (threshold 15). Drivers by points: if/else 31 (45 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 15). Of this number, 53 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":"internal/web/activation.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"becfe9789e53565bac3c7497f283658bcabc65588c184dcd47e0367253cc3ca1"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.submitMessageWithOptions (cognitive 54): Server.submitMessageWithOptions has cognitive complexity 54 (threshold 15). Drivers by points: if/else 30 (48 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 20). Of this number, 51 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":"internal/web/chat.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd5fe9cc0cce0bc20b9081b4451e3a170003dd1540807aaa2b67e5a248c0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"city.buildCity (cognitive 54): city.buildCity has cognitive complexity 54 (threshold 15). Drivers by points: loops 20 (30 pts), if/else 10 (19 pts), ternaries 3 (5 pts) (nesting depth added 21). 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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9e68d55041a43ed77c9081563d0fada2af26acf89535f212d69d06cb57d3b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleSetupComplete (cognitive 53): Server.handleSetupComplete has cognitive complexity 53 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 8, loops 2 (5 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":"internal/web/setup.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b1563f87b8723154222697da8afa6db694dd9cabaa98f3571a7ddb0fcd9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._validate_expectation (cognitive 52): toolsearch_cases._validate_expectation has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 19, loops 3, ternaries 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6455d17b6af498d1e4c9965b74ceb6bd057f996e41ea1aaa25d9552486386912"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleListProviders (cognitive 51): Server.handleListProviders has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 5 (11 pts), boolean chains 2 (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":"internal/web/providers.go"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b967b258b707908729bc7fe39b7a2c22958d8db82d0abb972830dbe77ad16b"}},{"ruleId":"D2","level":"warning","message":{"text":"Conv2D.backward (cognitive 50): Conv2D.backward has cognitive complexity 50 (threshold 15). Drivers by points: loops 7 (28 pts), if/else 3 (20 pts), boolean chains 2 (nesting depth added 38). 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":"site/public/showcase-projects/webgpu-cnn/js/nn/cpu.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb27e2811dbe33e130c39414b7e677dae320fd51ae3ffacaee6de084f2167db"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._validate_case (cognitive 49): toolsearch_cases._validate_case has cognitive complexity 49 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 15, loops 3 (4 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0550794088339bafc4835791327bdab6b791bd50fd6106824d64a2ccd3a85e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolRow.ToolRowHeader (cognitive 49): ToolRow.ToolRowHeader has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 20 (34 pts), boolean chains 13, if/else 2 (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":"packages/jcode-ui/src/components/ToolRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d7d379e670431b2869a2796743da345d9fa4f9597874a6315a463a045bdf10"}},{"ruleId":"D2","level":"warning","message":{"text":"config.mergeProjectFields (cognitive 48): config.mergeProjectFields has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26 (36 pts), loops 6 (12 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":"internal/config/project.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"017d947adf33b932816f1e1e780309497cc56587362a29937cf628e16b245ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"web_browser_driver.analyze_browser_session (cognitive 48): web_browser_driver.analyze_browser_session has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 9, ternaries 2 (6 pts), error handling 3 (4 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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33073ed9fbd92f929a1c2143169476f95e22e9dceafbb6308e3dbb8e1ba270a"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratedImageCard.GeneratedImageCard (cognitive 47): GeneratedImageCard.GeneratedImageCard has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 18 (26 pts), boolean chains 20, if/else 1 (nesting depth added 8). Of this number, 44 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":"packages/jcode-ui/src/components/GeneratedImageCard.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7328d8a6a76fe920ec5ba56a40b63bfd0c1b3422cb2c199054fb99f13ae33d7"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectMenu.SelectMenu (cognitive 47): SelectMenu.SelectMenu has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (22 pts), ternaries 11 (14 pts), boolean chains 11 (nesting depth added 4). Most of this is not in the body itself: 10 of the 47 points are its own statements and the rest belongs to 13 function items inside it that branch (onListKeyDown, onTriggerKeyDown, openMenu, \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":"web/src/components/SelectMenu.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f1e3fe52ec12182a34971faba973b35b23843d3ccd65bf117e6bb86c90844e"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleRemoteBind (cognitive 46): Server.handleRemoteBind has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (40 pts), boolean chains 6 (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":"internal/web/remote.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d212706af84ea6368220355c7d9d87d266ee3b42e043cf94148cc292d584687a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.handleCapture (cognitive 46): main.swift.handleCapture has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 6, ternaries 2 (6 pts), error handling 3 (4 pts), loops 1 (2 pts) (nesting depth added 21). 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b470581c055cea1da63be2ea595a8e5d37218558a1433bb4828669c6fb192"}},{"ruleId":"D2","level":"warning","message":{"text":"jui.initSelect (cognitive 46): jui.initSelect has cognitive complexity 46 (threshold 15). Drivers by points: if/else 26 (31 pts), boolean chains 12, loops 1 (2 pts), ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 46 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 224, setActive, syncValue, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba4ac5b34905742c71c2a48372e3f8cbddd2fd1b2557976fd8537aca78cedbf"}},{"ruleId":"D2","level":"warning","message":{"text":"model.responsesInput (cognitive 45): model.responsesInput has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 4 (8 pts), boolean chains 5 (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":"internal/model/responses_convert.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b7ba152eecb67460ac4fbf63914d6df5dde700eaf1bc8c3da7436d80508f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Conv2D.forward (cognitive 45): Conv2D.forward has cognitive complexity 45 (threshold 15). Drivers by points: loops 7 (28 pts), if/else 2 (15 pts), boolean chains 2 (nesting depth added 34). 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":"site/public/showcase-projects/webgpu-cnn/js/nn/cpu.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5432662e226cf3334536aea4286628c37a6ba696b5c8fe84dd68a4ce5b13ee"}},{"ruleId":"D2","level":"warning","message":{"text":"gradcheck.convF64 (cognitive 45): gradcheck.convF64 has cognitive complexity 45 (threshold 15). Drivers by points: loops 7 (28 pts), if/else 2 (15 pts), boolean chains 2 (nesting depth added 34). 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":"site/public/showcase-projects/webgpu-cnn/js/nn/gradcheck.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2506c0a8cbacd659fb7fb70db1eae2ac154d20b0eb1f25507613c6f1bdb264da"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ProviderForm::save (cognitive 45): SettingsView.ProviderForm::save has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 12, if/else 8 (9 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. This shape REPEATS in the file: one other method here (SettingsView.ProviderForm) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6414d9724e560a8889f84cfd6382e043f51da613d171c0bc851de001f9cbc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"model.responsesConversationItems (cognitive 44): model.responsesConversationItems has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 4, match/switch 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":"internal/model/responses_convert.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba9ea39073959b74e0a184277c19e1ba5c26389e693099503b48182bbf352f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.Message (cognitive 44): Message.Message has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 13 (23 pts), boolean chains 15, if/else 4 (5 pts), error handling 1 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 8 belong 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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fd0d12939ff518f72d6985b9658f8862d48b5a76fa3fc2ac6493cfde768a74"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._trajectory_lines (cognitive 43): toolsearch_report._trajectory_lines has cognitive complexity 43 (threshold 15). Drivers by points: if/else 5 (20 pts), ternaries 3 (15 pts), boolean chains 5, loops 2 (3 pts) (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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b45acd229c23fc7f4ea8d08a5b8322639c35eb9fa127ab5cbf4bcc3ccc4427"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report.render_html (cognitive 43): toolsearch_report.render_html has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 16 (28 pts), if/else 4 (6 pts), boolean chains 5, loops 4 (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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77ec12fbabcaea37574cfff2b3ef3c0a41217aa60ec7b800e2212a887082342"}},{"ruleId":"D2","level":"warning","message":{"text":"session_extract.extract_trajectory (cognitive 43): session_extract.extract_trajectory has cognitive complexity 43 (threshold 15). Drivers by points: if/else 7 (26 pts), ternaries 6 (12 pts), loops 2 (3 pts), boolean chains 2 (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":"agent-eval/suite/session_extract.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d3aa737c44b2cdceb9391edd24bb3a9dbbabfb82040ff263b3965f68544431"}},{"ruleId":"D2","level":"warning","message":{"text":"store.replayOperationsByOccurrence (cognitive 43): store.replayOperationsByOccurrence has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 13, ternaries 1 (3 pts), loops 2 (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":"web/src/app/store.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f143442c15abaa53c63969f368714061ceaddb4db2d2b3c7cfb5a8050c262621"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.backfillSessionHistory (cognitive 42): Connector.backfillSessionHistory has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 6, loops 2 (3 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":"internal/cloud/history_sync.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55fbcf25aa4077f4c95595da07309dd064de802cfebc4a26b6d65d52849a13"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.buildHunks (cognitive 42): tools.buildHunks has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 10 (14 pts), match/switch 2 (7 pts) (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":"internal/tools/diff.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadea6412d5e837a69724cc38ba39f82856f6bda0ddd7ced1f9e7423ca6b60df"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._validate_supplementary (cognitive 42): toolsearch_report._validate_supplementary has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 4 (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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f15485f74ebbd40920fac544946d9d7a330ad3c265dbdf1223ebfb923a7464"}},{"ruleId":"D2","level":"warning","message":{"text":"routing_verify.verify_routing (cognitive 42): routing_verify.verify_routing has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 6, loops 3 (6 pts), ternaries 4 (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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce0fe4d67861f4881649da708d8f099bab8d811821acd47cc6030e04d970e53"}},{"ruleId":"D2","level":"warning","message":{"text":"toolObservationMiddleware.recordSearch (cognitive 41): toolObservationMiddleware.recordSearch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 4 (9 pts), boolean chains 4 (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":"internal/agent/tool_observation.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"866c4a9034941ee6957e54adb41eee59fb6738454796be70a963328dfcf8a009"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationLoadingView.ConversationLoadingView (cognitive 41): ConversationLoadingView.ConversationLoadingView has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 17 (29 pts), boolean chains 11, if/else 1 (nesting depth added 12). Of this number, 38 points are the body\u0027s own statements and 3 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":"web/src/components/ConversationLoadingView.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"586c6f32fadf03f39771c91806a04da04b45856200b4144f598b061c593689fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactsPanel.ArtifactViewer (cognitive 41): ArtifactsPanel.ArtifactViewer has cognitive complexity 41 (threshold 15). Drivers by points: if/else 24, boolean chains 14, ternaries 3. Of this number, 18 points are the body\u0027s own statements and 23 belong to 15 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"194ca5fdd227421f9b85538e67bfb17f666767e8c6bded0e4d2e379d46aee870"}},{"ruleId":"D2","level":"warning","message":{"text":"model.toOpenAIMessages (cognitive 40): model.toOpenAIMessages has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 6, loops 3 (5 pts) (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":"internal/model/chatmodel.go"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"715f644a270537c6f42fc9b8ae6c9062e4317802fac87730d0fcd6160704f1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"review.runReviewerAgent (cognitive 40): review.runReviewerAgent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 2 (4 pts), boolean chains 1, jumps 1 (nesting depth added 23). Of this number, 39 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":"internal/review/investigate.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"693d95c5011a595b4fc28cacaf2fd1bb2157d3d14f2cd047afc2236d47b30358"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalState.decide (cognitive 40): ApprovalState.decide has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (35 pts), match/switch 2 (3 pts), boolean chains 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":"internal/runner/approval.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"84421eef2d9bb53eed5a9278b6c0472e7dcec8fc24b1988240e95cbe720f2d98"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentTool.InvokableRun (cognitive 40): subagentTool.InvokableRun has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27 (36 pts), boolean chains 4 (nesting depth added 9). Of this number, 32 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":"internal/tools/subagent.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f8f5bc9a13d937dda13f754a1af45139c5b8c1a78549956b9e129b73c41ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"web_browser_driver._validate_case (cognitive 40): web_browser_driver._validate_case has cognitive complexity 40 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 9, ternaries 2, error handling 1 (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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25d8cb56b17697ec60717af907541625eda37b0ce35ed9f1f6e3e162f048d28"}},{"ruleId":"D2","level":"warning","message":{"text":"approvalMiddleware.WrapInvokableToolCall (cognitive 39): approvalMiddleware.WrapInvokableToolCall has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (39 pts) (nesting depth added 19). None of this is in the body itself: all 39 points belong to one function literal inside it that branches (line 47). 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":"internal/agent/middleware.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5792b16094b20e3f278ddb81cbc125270933092f555eada8d802f39330b1522"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.runFlowAgent (cognitive 39): tools.runFlowAgent has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (4 pts), boolean chains 1, jumps 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":"internal/tools/flow_spawn.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9b087e50ca6832f96d1afbd9cd035db5091c46c562ce3fc0a5aa059880b22c"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.ensureAccountSyncCipher (cognitive 38): Connector.ensureAccountSyncCipher has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 5, match/switch 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":"internal/cloud/provider_sync.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0b83f4a09bb05c0e714e2d26d481aa134da6ce99b01d0fc818af9e4cfa485a"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.parseOutcome (cognitive 38): hooks.parseOutcome has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 4, 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":"internal/hooks/exec.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c328bde94310c2e77b74d268fec46ff67f7dd1593b974fa5e6d317a56d92684"}},{"ruleId":"D2","level":"warning","message":{"text":"session.validateSecurityJournal (cognitive 38): session.validateSecurityJournal has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (34 pts), match/switch 1 (2 pts), boolean chains 1, 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":"internal/session/security_journal_strict.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2c5e5a20145e888a5c7b20947507a33de3db45c679000e30f35d7d69c470e"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteConnectionNotice.RemoteConnectionNotice (cognitive 38): RemoteConnectionNotice.RemoteConnectionNotice has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 7 (17 pts), boolean chains 15, if/else 6 (nesting depth added 10). Of this number, 32 points are the body\u0027s own statements and 6 belong 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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"64805367fa66933a6b5f4ec7c3897ffaa1167fde0a09451a3e5e41fbb45f0844"}},{"ruleId":"D2","level":"warning","message":{"text":"approvalMiddleware.WrapEnhancedInvokableToolCall (cognitive 37): approvalMiddleware.WrapEnhancedInvokableToolCall has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (37 pts) (nesting depth added 18). None of this is in the body itself: all 37 points belong to one function literal inside it that branches (line 163). 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":"internal/agent/middleware.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396969a719765f9a370c46f840f83e069fa4703bba763bf6aba7cb7d6ba9748"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.parseCronField (cognitive 37): automation.parseCronField has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 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":"internal/automation/cronexpr.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb34159a0b45ac1e9afa82b3a555680716490ace37c839396c96aa83e012ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.collectCapabilities (cognitive 37): Connector.collectCapabilities has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 2 (5 pts), boolean chains 4 (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":"internal/cloud/capabilities.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"438180890a98b5c5ccbaa3a200ffc7c4f090f96f2e3060dcdd21be7ddbc11115"}},{"ruleId":"D2","level":"warning","message":{"text":"routing_verify._verify_fixture (cognitive 37): routing_verify._verify_fixture has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 5 (8 pts), boolean chains 4 (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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e277ae8d7199ca09b92d893011596857b79bc6f7ef487e10a53adbe4c52d092"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._check_activation (cognitive 37): toolsearch_expect._check_activation has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 9, loops 5 (6 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc37a8b37dd272bcfc50b1c86f3775712bbeb9917895a7682e8d7ddee1c4f574"}},{"ruleId":"D2","level":"warning","message":{"text":"connect (cognitive 37): connect has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 6, error handling 4 (5 pts), ternaries 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 5 function items inside it that branch (onmessage, onclose, a function literal at line 122, \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":"extension/background.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0d8cfdd0d11c693abc98dcd3c2a1e91317c0b3fd327ad6d9d9efbebb7cd63c"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.execChatSendCompose (cognitive 36): Connector.execChatSendCompose has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 3 (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":"internal/cloud/connector.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e7a34fdaa7f00340e4ffc2cafd4cccd66dda0a7d0c5d1cc35cd7892e9c1df"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.sessionSyncLoop (cognitive 36): Connector.sessionSyncLoop has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 2, match/switch 1 (2 pts), loops 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":"internal/cloud/sessions.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc7e49c12521fef9e8f74813c7dc5ee8bcdbb03827fce75d3d6774cdb43355b"}},{"ruleId":"D2","level":"warning","message":{"text":"uitree.Build (cognitive 36): uitree.Build has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 6 (8 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 13 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 181). 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":"internal/uitree/uitree.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394ebc0d61349a24f0fb99738869c9b6d00044200def75dbe8075909ed68a03"}},{"ruleId":"D2","level":"warning","message":{"text":"report.render_trajectory (cognitive 36): report.render_trajectory has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (23 pts), ternaries 4 (8 pts), error handling 1 (2 pts), loops 2, boolean chains 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":"agent-eval/analysis/report.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3b6fdb6c37bb47d5abf18cc09718d2b9b5f2a4a7d64691b019b21108cdee8"}},{"ruleId":"D2","level":"warning","message":{"text":"report.build (cognitive 36): report.build has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 6 (10 pts), loops 6 (7 pts), boolean chains 2 (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":"agent-eval/analysis/report.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d84cf42eede0c0d6d45d87a3b9facbe502e369c3675b7ac7a7f9ba0244637b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechInput.SpeechInput (cognitive 36): SpeechInput.SpeechInput has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 12, ternaries 7 (12 pts), if/else 7, error handling 4 (5 pts) (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 20 belong to 11 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":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"779afc092338d6eb1d1ef2b53fdb33e1cba23978e507968f817e1c51447768fc"}},{"ruleId":"D2","level":"warning","message":{"text":"lab.initLab (cognitive 36): lab.initLab has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (21 pts), loops 4 (8 pts), boolean chains 7 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 17 belong to 8 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"045f42ed93bb19b462ed77e08f18af89fef312caf90fa5efd4537f5719f6a0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.tick (cognitive 35): Scheduler.tick has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/automation/scheduler.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5e99ef68355a7bd82b644fe3798e993b8f6b56416140085e7e6b33d5001007"}},{"ruleId":"D2","level":"warning","message":{"text":"computer.pruneScreenshotStoreRoot (cognitive 35): computer.pruneScreenshotStoreRoot has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 10, loops 2 (nesting depth added 11). 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":"internal/computer/shot_store.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc998d63b37150ff4e5faf0c031b64292af6d921565919c339272dc7aba2ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"ACPHandler.RequestApproval (cognitive 35): ACPHandler.RequestApproval has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 2 (3 pts), boolean chains 2 (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":"internal/handler/acp.go"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3544c2d96c7b15da42e7fecf59c7f9e6ca72969a1f06c048550922a467f954"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.Generate (cognitive 35): Client.Generate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 5, 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":"internal/imagegen/client.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef904affaef5230960137458bd1666dd097b6b7ccf1002ff71a00b1b76cad439"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenPlanMultimodalClient.Generate (cognitive 35): TokenPlanMultimodalClient.Generate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 7). 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":"internal/imagegen/token_plan_multimodal.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"682d0dfdb16b9b5632fc1c49a6da53b4b59204df6e43c754e8edfcce415f5151"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ensureManagedModelConfigured (cognitive 35): Server.ensureManagedModelConfigured has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 5, loops 3 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 12 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":"internal/web/models.go"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5775c7a12a3f4e1c770aa23024c48ee9ccdb9cd8e5c3f0237041218ed2b5c9b"}},{"ruleId":"D2","level":"warning","message":{"text":"turnGroups.findApprovalTool (cognitive 35): turnGroups.findApprovalTool has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 4, loops 3, 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78d9b8d35e91c7f4f5baca0df558577c500bf70e338ced0269637258396894"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactsPanel.ArtifactsPanel (cognitive 35): ArtifactsPanel.ArtifactsPanel has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 9, ternaries 6 (8 pts), error handling 3 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 18 belong to 8 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa870016845059f1e4dc1c323762602e530dac9c44faff2af40a52fb359ab49"}},{"ruleId":"D2","level":"warning","message":{"text":"responsesSSEState.emitItem (cognitive 34): responsesSSEState.emitItem has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 5, match/switch 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":"internal/model/responses_parse.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1af8bd145b0bd1a32ccf09dbeab3955c8c5fa558d6693e6102073db3e369e"}},{"ruleId":"D2","level":"warning","message":{"text":"writeTool.InvokableRun (cognitive 34): writeTool.InvokableRun has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 4, match/switch 1 (4 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":"internal/tools/write.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5051361f3fd2e069056b8d8f3bd2422395408c1c854e191b7f7484cfa5f996"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleComputerInput (cognitive 34): Model.handleComputerInput has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (31 pts), match/switch 1 (2 pts), boolean chains 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":"internal/tui/computer_command.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50039f6ece39d0806235ac6a87ba909f67a377f4066fe858c4022acc9667730"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.authorizeCloudRemoteWorkspace (cognitive 34): Server.authorizeCloudRemoteWorkspace has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (7 pts), boolean chains 5, match/switch 1 (2 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":"internal/web/activation.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beba09a40214f789f2705fb3813241d0c00de7d0f7b8a978a1cc26147c7c404"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._validate_plan (cognitive 34): toolsearch_report._validate_plan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 5, 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"221ddb2a6e1656262e890a22ccf52b2373fe1c7603b39d12a1286d53e105b611"}},{"ruleId":"D2","level":"warning","message":{"text":"jui.initDropdown (cognitive 34): jui.initDropdown has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 11, ternaries 2 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 422, activate, a function literal at line 419, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6ad1a1805a7acd4d0dc1f4d9725a85046037b8429af813a732aec323be7282"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ProviderForm (cognitive 34): SettingsView.ProviderForm has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 30 (45 pts), boolean chains 27, if/else 9 (10 pts), error handling 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. This shape REPEATS in the file: one other method here (SettingsView.ProviderForm::save) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a569326caa0c63d14b0693862966a18f0b54bde53327e057c0f7620cec3c736"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validateDescriptors (cognitive 33): agent.validateDescriptors has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (3 pts), boolean chains 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":"internal/agent/tool_plan.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f2ce88ff6afc8409a89db6ee92c8a1cfa036c13c877d47913f8ae8f757fa28"}},{"ruleId":"D2","level":"warning","message":{"text":"imagegen.inspectGeneratedWebP (cognitive 33): imagegen.inspectGeneratedWebP has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 8, match/switch 1 (2 pts), 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":"internal/imagegen/client.go"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22d1bece7a039b96475da6998bec361d04f0dfcfb894f863b72d165576a38a"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceVisualizer.VoiceVisualizer (cognitive 33): VoiceVisualizer.VoiceVisualizer has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 11, error handling 2, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 131, 56, 55, \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":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa9a19c05c73c9b2f828ba2ec00f4d31cd89ad7ba06db7ce56b569d99b78c02"}},{"ruleId":"D2","level":"warning","message":{"text":"Flythrough._buildValidated (cognitive 33): Flythrough._buildValidated has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 5 (12 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":"site/public/showcase-projects/city3d/js/flythrough.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde9bfd8b5c67f064eccb5a2bd244e49a126cf8317587fb5c18352d5a6ad18b"}},{"ruleId":"D2","level":"warning","message":{"text":"store.resumeConversationEnvironment (cognitive 33): store.resumeConversationEnvironment has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 11, error handling 3, ternaries 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":"web/src/app/store.ts"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"336ba12b1415b164dd7c65c2514c3aff43b5b6b91cfdf934128af0f0ddee134d"}},{"ruleId":"D2","level":"warning","message":{"text":"RightPanel.FileTreePanel (cognitive 33): RightPanel.FileTreePanel has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 8, boolean chains 7, error handling 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (openItem, a function literal at line 330, navigateTo, \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":"web/src/components/RightPanel.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acd9111d8ff80dd87f9aa86451be6db8e2a0cff929e18d6e18e9651c66bf1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.selectSessions (cognitive 32): pipeline.selectSessions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 6, 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d00ae474eac427a6e91d5b8a75a8824c1e21b70cdd2574261a4797483e497"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.NewFlowSpawn (cognitive 32): tools.NewFlowSpawn has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 3, loops 1 (nesting depth added 10). None of this is in the body itself: all 32 points belong to one function literal inside it that branches (line 46). 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":"internal/tools/flow_spawn.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f73775b70b09c1cc85a10bb3df4edd1e93aef4fcd2a909c19da19cccbbe3363"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ExtractTodosFromPlan (cognitive 32): tools.ExtractTodosFromPlan has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (3 pts), boolean chains 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":"internal/tools/plan_parse.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4188027055f52c65d3c8d8abb274cf622a7e390fc0fe5c36ca1f3d703aaf04a0"}},{"ruleId":"D2","level":"warning","message":{"text":"web.publishSessionDraft (cognitive 32): web.publishSessionDraft has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 6, loops 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, 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":"internal/web/session_draft_pr.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b638d2bd5fa95a50c08bc101ab599403939706339f3b6ed1b63ec6c7e143bd"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._validate_campaign (cognitive 32): toolsearch_report._validate_campaign has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 7, loops 4, ternaries 1 (2 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbef0aec3dca044c3e73ac661f540ceeed3ffa772d4ce48d43f7cfbcd6be30d"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrate.main (cognitive 32): orchestrate.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (13 pts), loops 5 (7 pts), error handling 5 (6 pts), boolean chains 4, ternaries 2 (nesting depth added 4). 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b68df28c7aadc06d49bc3775eb05612ae67f1d16b9ddc0aee548eb04746ffbd"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._search_facts (cognitive 32): toolsearch_expect._search_facts has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (3 pts), loops 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db2153d0a1f0aa927a818486629c54e404188d07b6a2e011416c4c6db7e4464"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallCard.ToolHeader (cognitive 32): ToolCallCard.ToolHeader has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 21, ternaries 9 (11 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fd70bbf89be6f7707a30f7c7d6b51ac102057f9cd840daf031d17bd61c05f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallCard.SubagentHeader (cognitive 32): ToolCallCard.SubagentHeader has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 12 (18 pts), if/else 4 (6 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 9). Of this number, 30 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67cf89c14978957395d9a3e26f2e324611884c25d3f3a7dcf627226e8001af1"}},{"ruleId":"D2","level":"warning","message":{"text":"lab.preprocess (cognitive 32): lab.preprocess has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 18). Of this number, 30 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"178f19c300a3e2a630df2b0c561cea58ecc8512870d8a2272e757aa8a689e2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"App.Shell (cognitive 32): App.Shell has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 23, if/else 7, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 388, 375, 370, \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":"web/src/App.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"25829c396714e171fb69fbba1501af9ad64f906a50973ec3035d867b03624f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.RevokePairing (cognitive 31): Connector.RevokePairing has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 3, loops 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":"internal/cloud/pairing_inbox.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe18a56f3c64b83dbdaa135d5a9f132d844b0da561d005b01d2aa35e8716c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.Act (cognitive 31): Session.Act has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). Of this number, 29 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":"internal/computer/session.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a237b771f0dca8da16c8b819297d6acd02fcfdff0a786289072f6ff49482e"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.runPhase1 (cognitive 31): pipeline.runPhase1 has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 1, loops 1 (nesting depth added 13). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 209, 191). 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc051970c81364db618c235e3c23e06fe9a9763cb4a7d797b9d9dc7d202ff8b"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.driveAgent (cognitive 31): pipeline.driveAgent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (4 pts), boolean chains 2 (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":"internal/memory/pipeline/phase2.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c312aff14c03a9af22816ab2b2a8bc0da4833d9fe6d5d24a57a880047bc2c1e7"}},{"ruleId":"D2","level":"warning","message":{"text":"providertools.ImageModels (cognitive 31): providertools.ImageModels has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (6 pts), boolean chains 3 (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":"internal/providertools/manifest.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7c2684af409bc8b1853ed2de790bf8c820c8887cf43d0af5c56b3524121e83"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.Run (cognitive 31): runner.Run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, match/switch 2 (4 pts), jumps 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":"internal/runner/runner.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c63d04b19c1310083b3a9cabe5fa906c8debd67849e02ce4ad403008cabe53"}},{"ruleId":"D2","level":"warning","message":{"text":"generateImageTool.parseInput (cognitive 31): generateImageTool.parseInput has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 8 (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":"internal/tools/generate_image.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded828828a2271721fe3550573f73cb709fbfaa535a31d8c729b38b790fdd00b"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._pair_entries (cognitive 31): toolsearch_expect._pair_entries has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (8 pts), boolean chains 4, loops 2 (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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a156f5de5242915ac87b18505c97f9704293bd0c9c39128ede9c5e8cf5349de"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalBanner.BillablePendingCard (cognitive 31): ApprovalBanner.BillablePendingCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 17 (26 pts), boolean chains 5 (nesting depth added 9). Of this number, 29 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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"361593a78e065a34da2cf8c943c18e2e72c81b79ee7966645cd605373cc07c04"}},{"ruleId":"D2","level":"warning","message":{"text":"BranchPicker.BranchPicker (cognitive 31): BranchPicker.BranchPicker has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (13 pts), ternaries 2 (3 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 9 function items inside it that branch (checkout, a function literal at line 46, a function literal at line 94, \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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b97c460bb422dc96c5b7dd1092dd6c7c5cae1a8a93e92be1a860597f9bb51b"}},{"ruleId":"D2","level":"warning","message":{"text":"city.fillBlock (cognitive 31): city.fillBlock has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 6 (12 pts), ternaries 1 (2 pts), boolean chains 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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8ab9de3c68c5a8872bae9a2f83b3890578c00bb29c330f50ebb287752f716"}},{"ruleId":"D2","level":"warning","message":{"text":"store.sendMessage (cognitive 31): store.sendMessage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 11). Of this number, 30 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":"web/src/app/store.ts"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f065004efcc62cac61181d5e6bbf6fb9935f30465a7ef8478dbd419ad3d84"}},{"ruleId":"D2","level":"warning","message":{"text":"store.provisionNewChat (cognitive 31): store.provisionNewChat has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 14, if/else 11 (14 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/store.ts"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd13c54563f24c0f3ba3c6ff8d333da26ffea4c24a6c5600d2ffce38075d192"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudBadge.CloudBadge (cognitive 31): CloudBadge.CloudBadge has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 10, ternaries 3, error handling 2, loops 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 77, 71, 127, \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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f706bbc237300b73c049c1c28b4addda3651369b49f11a4c58ac0656adb13fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact.inspectWebP (cognitive 30): artifact.inspectWebP has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, match/switch 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":"internal/artifact/managed.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8adca2a2636de96a395c166200a55344c99b8fdb52419a03d4cb2fc4afae361"}},{"ruleId":"D2","level":"warning","message":{"text":"command.runLogin (cognitive 30): command.runLogin has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 5, match/switch 1 (2 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":"internal/command/login.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd173e365f500fb84212c209df27ab32b77e0c21176899bcc6f5d35605ed861"}},{"ruleId":"D2","level":"warning","message":{"text":"command.handleMCPAdd (cognitive 30): command.handleMCPAdd has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 4, match/switch 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":"internal/command/mcp.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459e01b922a5f9820ca65aaea7146e5467ae9fa6edb9ba3df19ef5a7ff7bcc5"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelRegistry.MergeConfigProviders (cognitive 30): ModelRegistry.MergeConfigProviders has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (27 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":"internal/model/registry.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3441caf476389fe17a85eaece64629ca55bfbccc1df3f2bcadedce9c288cb322"}},{"ruleId":"D2","level":"warning","message":{"text":"SSHExecutor.runOnce (cognitive 30): SSHExecutor.runOnce has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 3 (4 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":"internal/tools/env.go"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce03e35d582ced3a62607d3244dc97435f83d0486199e979b6f36a860f2a51fe"}},{"ruleId":"D2","level":"warning","message":{"text":"grepTool.runLocalRg (cognitive 30): grepTool.runLocalRg has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (24 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":"internal/tools/grep.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"42969078aaf1e01c5f1727c65b9198a3c41bf63b5df1a08d0a2d10b18da12db5"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_campaign.validate_run_artifacts (cognitive 30): toolsearch_campaign.validate_run_artifacts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 10, loops 3 (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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed1cda358e580e9d346ca2d54718048872c0216c3e211d34b73e1b0b2b2a9b3"}},{"ruleId":"D2","level":"warning","message":{"text":"aguiRuntime.createAGUIRuntime.rebuildFromMessages (cognitive 30): aguiRuntime.createAGUIRuntime.rebuildFromMessages has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (8 pts), boolean chains 3, ternaries 1 (2 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a5856296468ef13928ae5201074c7246953c259daab87db1cf595d6e7ada3e"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChart.draw (cognitive 30): LineChart.draw has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 7 (9 pts), boolean chains 2 (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":"site/public/showcase-projects/webgpu-cnn/js/charts.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b262d15224249d9ac7990dfd9c43488e783c485d355d71d2efa9f60466e4986"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxPool2D.forward (cognitive 30): MaxPool2D.forward has cognitive complexity 30 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 1 (7 pts), boolean chains 1, ternaries 1 (nesting depth added 21). 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":"site/public/showcase-projects/webgpu-cnn/js/nn/cpu.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d838f6c6e6d8e10fc2f07b7c07ac7308d25a2822fcd2e19dcb5b3444147952e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactsPanel.parseCSV (cognitive 30): ArtifactsPanel.parseCSV has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa00ff1f9a33758f9b5a30d699d7b326e9cc75a3254a05e4bbbd86a7a0d425f"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.collectModelCapabilities (cognitive 29): cloud.collectModelCapabilities has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (10 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":"internal/cloud/capabilities.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e114cdbbe09b372fb3da1a716d08ac1425f088e67bb31569f79ec1a9f1828fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.collectModelCapabilities (cognitive 29): Connector.collectModelCapabilities has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (10 pts), boolean chains 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":"internal/cloud/capabilities.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f956dff1ff54480c3ef33f8e33d28e79c13b4d6458c9007bdbe0151442f0ddc3"}},{"ruleId":"D2","level":"warning","message":{"text":"responsesSSEState.emitEnvelopeFallback (cognitive 29): responsesSSEState.emitEnvelopeFallback has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 3, match/switch 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":"internal/model/responses_parse.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9586f1c05be0169a86c972564ace2956c25592d84175d4386c3f5c43c325d30"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleUpdateAutomation (cognitive 29): Server.handleUpdateAutomation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 3 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 9 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/automation_api.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986679a3e4e9c6f404f71486156446604de0ad8c79a871cfcaf64d3bdf8db35"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_campaign.run_campaign (cognitive 29): toolsearch_campaign.run_campaign has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 7 (9 pts), boolean chains 6, error handling 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10b9d164e8f2a807b5d4c0494b469079ae21f7fdca6cbe9eaa3d845eab8b5e4"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._check_call_specs (cognitive 29): toolsearch_expect._check_call_specs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (9 pts), boolean chains 2 (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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef28a38b17f75de8f902bc5d9d6f42cf9149c896c2fb0e87f30c5452936c44ea"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::desktop_apps::linux::resolve_icon (cognitive 29): jcode_desktop::desktop_apps::linux::resolve_icon has cognitive complexity 29 (threshold 15). Drivers by points: loops 6 (17 pts), if/else 3 (10 pts), boolean chains 1, match/switch 1 (nesting depth added 18). 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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"7274a22909299d9af7954b0ff50a08e8bc65e2d6438d51566f1595f65b9b3e86"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::sidecar::start (cognitive 29): jcode_desktop::sidecar::start has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 2 (3 pts), loops 2 (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":"desktop/src-tauri/src/sidecar.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfdcab4284acd869175253fba07e46c02038ff3136b1d3212ba7143b78e9d20"}},{"ruleId":"D2","level":"warning","message":{"text":"groupActivity.summarizeActivityCounts (cognitive 29): groupActivity.summarizeActivityCounts has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 7). Of this number, 28 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea25aa178c872e1cc88bcace242017c11b31d0cb031790bddda9b1a7dc0d9b32"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.MarkdownBody (cognitive 29): Message.MarkdownBody has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 4 (7 pts), boolean chains 5, loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 417, 384, 405, \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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"97624429388795127c38390d54e31f0ebb1fc61e048d419e31ebbe6998ea6f88"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.projectSessionHistory (cognitive 28): cloud.projectSessionHistory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/history_sync.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4096b0585ee27984b2bab556ca441a70696b11b4b01380018c5e1e0d08e1ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.createAgentWithModeCatalog (cognitive 28): interactiveState.createAgentWithModeCatalog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 1, loops 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 10 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, 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":"internal/command/interactive.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8257d740cb81ca99cb636ac66a2d20dc5cb242b06b37734805926cb54fbe37e0"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.runEventLoop (cognitive 28): interactiveState.runEventLoop has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 4 (7 pts), match/switch 1 (2 pts) (nesting depth added 10). Of this number, 23 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":"internal/command/interactive.go"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a53e22054c40d0ac488a3d145d74a167be94cb069de56bc735daaf914a06766"}},{"ruleId":"D2","level":"warning","message":{"text":"readTool.InvokableRun (cognitive 28): readTool.InvokableRun has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 2, loops 1, match/switch 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":"internal/tools/read.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6316ca3c829c7bf6dfde9884d363e14215f00f75c4c5ebe2db8011e0141f2ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleManageModelsKey (cognitive 28): Model.handleManageModelsKey has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 3, match/switch 1 (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":"internal/tui/manage_models.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0ab86c8bd945d32a98a0cedebc30bd50015debdfc3fb731fcb1e33e35c5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"gradcheck.maxpoolF64 (cognitive 28): gradcheck.maxpoolF64 has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 1 (7 pts) (nesting depth added 21). 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":"site/public/showcase-projects/webgpu-cnn/js/nn/gradcheck.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e297909244f121dea9e6ead392a78b5eae6f8b9ef8e37d7274a080b939d7bd07"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerVersionRow.ServerVersionRow (cognitive 28): ServerVersionRow.ServerVersionRow has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 4, if/else 3 (4 pts), error handling 1 (nesting depth added 9). Of this number, 20 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":"web/src/components/settings/ServerVersionRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"084b50c657ddcbee9e78ca7e06c3b9ef52f28adaf86d6ac09732c7df821c49bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.VersionUpdateRow (cognitive 28): SettingsView.VersionUpdateRow has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (25 pts), if/else 2, boolean chains 1 (nesting depth added 16). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2e2e32a452782a9f592bca0846a6131b2fdb26c6ca259b6b6f963d6d2d621c"}},{"ruleId":"D2","level":"warning","message":{"text":"config.loadMCPFilesWithRoot (cognitive 27): config.loadMCPFilesWithRoot has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 9 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":"internal/config/mcp_file.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9646232c303cd247ea9bd86d06280abda97ac42f862fef45a2e2ec1ce3524ff"}},{"ruleId":"D2","level":"warning","message":{"text":"session.UpdateSessionMeta (cognitive 27): session.UpdateSessionMeta has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 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":"internal/session/session.go"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"429432f87de3e7cd1d2a07f372ac3a1e8eb326c0a0bf1b906ffe4eb26f1072c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Recorder.TruncateAtUserMessage (cognitive 27): Recorder.TruncateAtUserMessage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (26 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":"internal/session/session.go"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c79b2dee4804c4bbcd2ba174ca46a577de3628a3afb626fa52e443a2f82be3"}},{"ruleId":"D2","level":"warning","message":{"text":"switchEnvTool.InvokableRun (cognitive 27): switchEnvTool.InvokableRun has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (25 pts), loops 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":"internal/tools/switch_env.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b329ef6cfb3b04d9a2f1c0763256be612a8e63bd7bf24383f8a641a19138c80"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarComponent.View (cognitive 27): SidebarComponent.View has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, loops 3 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/sidebar_component.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d111b3b00a62b5c88931277c2fa5d15054f7a43c744b9d3c1712bb7d78bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"web.validateImageEndpoint (cognitive 27): web.validateImageEndpoint has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 3 (4 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":"internal/web/providers.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37eaf426f4498950b146285baf3932610d05c1fdda3052cafde7766f361eb64"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.assembleConversationEngine (cognitive 27): Server.assembleConversationEngine has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 2, 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":"internal/web/activation.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fbfa4eca05c4152829770036e7a66cc81721a139541044a38f53c6ba0456bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.runAutomation (cognitive 27): Server.runAutomation has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). 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, 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":"internal/web/automation_run.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddd6bbd08cfff0d96c92adc3baa234b8121e06cf1ed737a8abbc8cbdde40e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.publishEngineCandidate (cognitive 27): Server.publishEngineCandidate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5 (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":"internal/web/engine.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff9a0a1aae4563cbe19854f8d10acd43d427c2e4a829cb2219caae4034b5220"}},{"ruleId":"D2","level":"warning","message":{"text":"web_toolsearch_orchestrate.build_jobs (cognitive 27): web_toolsearch_orchestrate.build_jobs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 4 (10 pts), boolean chains 5 (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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c399812db0467280b77571faac414cc9cfca397705c559aa9b193df54309fedf"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallView.ToolCallView (cognitive 27): ToolCallView.ToolCallView has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 12, if/else 1 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/ToolCallView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d95922631283163aad4fec9f2ba6fe71c8f00a7b938d96db5c92b1512d86b"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserBlock.AskUserBlock (cognitive 27): AskUserBlock.AskUserBlock has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 8, ternaries 4, 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 174, 92, 129, \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":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abc4f1d0acf554cbc329e50d9827ddc3d79fdec28404961a310bf129fcc860"}},{"ruleId":"D2","level":"warning","message":{"text":"RightPanel.RightPanel (cognitive 27): RightPanel.RightPanel has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 11, boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 81, 75, 156, \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":"web/src/components/RightPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdddd187a5c699b66ce1b1092d393130af87cd444b66458ff056d9c8867c1f3"}},{"ruleId":"D2","level":"warning","message":{"text":"renderMarkdown (cognitive 27): renderMarkdown has cognitive complexity 27 (threshold 15). Drivers by points: loops 5 (8 pts), ternaries 4 (8 pts), if/else 2 (6 pts), other 4, boolean chains 1 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 10 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":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6445dd5f790901bb3540e182748e69968851d46388b001ff96c2861cfd70a783"}},{"ruleId":"D2","level":"warning","message":{"text":"config.loadAgentRoleDir (cognitive 26): config.loadAgentRoleDir has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, 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":"internal/config/agent_roles.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e023b9f975cb781d833d8082a102153bc058aeb20a0d855c47607d8a4d83638c"}},{"ruleId":"D2","level":"warning","message":{"text":"editTool.applyMultiEdits (cognitive 26): editTool.applyMultiEdits has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 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":"internal/tools/edit.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a516db6a182cdbb38ada99f2a33f018575b36ed284e1948ad8337426a3c38b77"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteQueue.drain (cognitive 26): WriteQueue.drain has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (6 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":"internal/tools/storage.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"46569ca8c420a31b066ca295eb0d7c00517e0cb75459bc73f516b63539e0efa7"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.summarizeActivityCounts (cognitive 26): tui.summarizeActivityCounts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). 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":"internal/tui/activity_group.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff1c4a03a0d409a3ec1a56ce2135e15e09416cef11f8935df78ea01e9344f98"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.engineForChatContext (cognitive 26): Server.engineForChatContext has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (26 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":"internal/web/chat.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75113f39022c02f042ec74f2823bf17a8bf1cb18533cfb16b70ea1259df43fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleGitCheckout (cognitive 26): Server.handleGitCheckout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (25 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":"internal/web/git.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d42d523067fa57037c240962321de714f2d7b9304b543ea2276e947f6d3d902"}},{"ruleId":"D2","level":"warning","message":{"text":"routing_verify._pair_session_entries (cognitive 26): routing_verify._pair_session_entries has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 2, loops 2 (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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"db806f0f39c9335669ffbce05cf7853c0c564ad554eb68ae8561136fc5837817"}},{"ruleId":"D2","level":"warning","message":{"text":"groupExploring.summarizeExploringCounts (cognitive 26): groupExploring.summarizeExploringCounts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, ternaries 3 (6 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ac9aca803312a744bc4ba3ba2cc80a3c278bd1af8cae2098f51f96f6f3fda"}},{"ruleId":"D2","level":"warning","message":{"text":"turnGroups.bindApprovalsToTools (cognitive 26): turnGroups.bindApprovalsToTools has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, ternaries 3 (6 pts), loops 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8793f101148ae3c3dd1d9053f629250739a76ae770d2371315e78555eea46c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput::handleKeyDown (cognitive 26): ChatInput.ChatInput::handleKeyDown has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 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. This shape REPEATS in the file: one other method here (ChatInput.ChatInput) 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"3219fa820c46ba4ad5ab6ac96dca6afc48abb9ab2e336d135aafe3077acf0230"}},{"ruleId":"D2","level":"warning","message":{"text":"GoalBanner.GoalBanner (cognitive 26): GoalBanner.GoalBanner has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 9, if/else 3 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"366067403bafd1e39df24562778cb86aad221a0b02f05933f5e5d3b11c1f4e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationsView.AutomationEditor (cognitive 26): AutomationsView.AutomationEditor has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 26, if/else 12 (14 pts), ternaries 8 (11 pts), error handling 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 (AutomationsView.AutomationEditor::save) 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc36db00b4b3954ea39b507fc4d9aa3f57e7dba83458f5e73bbc35c5be8c4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.loadLocked (cognitive 25): Store.loadLocked has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (6 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":"internal/automation/store.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3874d3b44e2355c4434717494d5283145b4c2754136a956bdc9657437e794d33"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.reconcileAccountSettings (cognitive 25): Connector.reconcileAccountSettings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 4 (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":"internal/cloud/account_settings.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"389903d551c54cb8bcfbd518d114c766aa6b77f360843434951fcfa170dcd05b"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.reloadMCP (cognitive 25): interactiveState.reloadMCP has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (25 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":"internal/command/interactive.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd5bd3febbc7a9ccfc465bec38fd377570659ea7641531ca5edad532a0ba37"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.pendingApprovalIndex (cognitive 25): handler.pendingApprovalIndex has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), 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":"internal/handler/acp.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7642c261a8ef1b2850bdc6e420328fc35bb3635ce65e5a833da3ed6951bb0b64"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.extractToolDisplayInfo (cognitive 25): handler.extractToolDisplayInfo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 10). 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":"internal/handler/web.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b021dae7fda2c8819e11e50e1a31850e5d4210a84484840eabcffec39203bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.matchesTool (cognitive 25): hooks.matchesTool has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (7 pts), boolean chains 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":"internal/hooks/match.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dfe862b2cd0933a8b3f4ad9bd1a3e702c204b98fc9d08b8614fe9796ff9542"}},{"ruleId":"D2","level":"warning","message":{"text":"model.toOpenAIMessage (cognitive 25): model.toOpenAIMessage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 1 (3 pts), loops 1 (2 pts), 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":"internal/model/chatmodel.go"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea236aeaca2c6cb0b4bc71022c5c555749a341a0c7b7df2ac231bcde7dc0cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact_safety.sanitize_artifacts (cognitive 25): artifact_safety.sanitize_artifacts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 pts), boolean chains 2 (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":"agent-eval/suite/artifact_safety.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed208283b422974249a911d449d92f2072dcb93c07abdea4e61dcff8b811e510"}},{"ruleId":"D2","level":"warning","message":{"text":"wsBridge.createWSHandlers::applyForegroundAgentDone (cognitive 25): wsBridge.createWSHandlers::applyForegroundAgentDone has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (11 pts), 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":"web/src/app/wsBridge.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce74d2484aa42ccbe178baa4423392284fb5129e52af12400b0224824f494e"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.LangfuseConfigCard (cognitive 25): SettingsView.LangfuseConfigCard has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (7 pts), if/else 4, error handling 2 (nesting depth added 2). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (save, clear, a function literal at line 2559). 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcca8ecf23e8dfc7323f4d8aeed54c928bd2613ebbb54ed58373031f9c8f7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"turnBudgetMiddleware.BeforeModelRewriteState (cognitive 24): turnBudgetMiddleware.BeforeModelRewriteState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (5 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":"internal/agent/turn_budget.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe32141b39aad93bc20cb09db3e406b5bb0944672b19a5436d8f9c3566e2c36"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.handleWSEvent (cognitive 24): Connector.handleWSEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 3, match/switch 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":"internal/cloud/events.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0b1416f7f9c879bdd382aba5d2d7befaff6900e8642f8e68a66fa9ea8ff8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ACPHandler.OnToolResult (cognitive 24): ACPHandler.OnToolResult has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (4 pts), boolean chains 3, 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":"internal/handler/acp.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adbf781030aa7e6331a85003ef89290ffcc05b6b8bc11fdc1b3552303f40bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.runTeammate (cognitive 24): Manager.runTeammate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/manager.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a63d080a24e6ed30ea435f49973b03bba3cc6b2c9ea1381f6a28ba446cf35c"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.renderSubagentBox (cognitive 24): Model.renderSubagentBox has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (5 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":"internal/tui/subagent_state.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469ad74d3cc43175fe5a4d926b9c6a134878b485d02cb0bab0004d7816928b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ptyManager.serveWS (cognitive 24): ptyManager.serveWS has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2, boolean chains 1 (nesting depth added 11). Of this number, 13 points are the body\u0027s own statements and 11 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":"internal/web/pty.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"138cbc8cffc0066b73552343889f013a5da3aa3d5eabf4f50c958dbb6caf75be"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowCaptureHelper.swift.runCapture (cognitive 24): WindowCaptureHelper.swift.runCapture has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, error handling 1, 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, 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":"cmd/jcode-computerd/WindowCaptureHelper.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cf3747d561a57f57678399d728495ebb76ffdfd6f4e04dcfce8b030fe5686d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.handlePerform (cognitive 24): main.swift.handlePerform has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, match/switch 1 (nesting depth added 9). 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8c03e20135aeda0b4bd95a6d06effc1b8aebd6d7b7dbcf22b5f8fb979d4dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"main.onMessage (cognitive 24): main.onMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, match/switch 1 (nesting depth added 10). 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":"site/public/showcase-projects/webgpu-cnn/js/main.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"82828d0cb3eb4a7a0dad89da7df7ddc2ea0564727b86a76d6774f1ed17de3237"}},{"ruleId":"D2","level":"warning","message":{"text":"TopBar.TopBar (cognitive 24): TopBar.TopBar has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 8, if/else 6, error handling 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 10 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":"web/src/components/TopBar.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8190d9dde40f772e6b4a8ac5c0a8cb2c3ffb2f27d70300353a0dec9a128bea"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.expandToolSearchResult (cognitive 23): agent.expandToolSearchResult has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (6 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":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d52a8ba2c156792c38a66fffe681f33bcf9696822d88b2627fd7680b5ae1e"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.ComputeNextRun (cognitive 23): automation.ComputeNextRun has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (9 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 13). 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":"internal/automation/schedule.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f12c645d66a50a370006b95563a4e26fe5a178c46c0b1fd908512a1bb81514"}},{"ruleId":"D2","level":"warning","message":{"text":"flow.matchBrace (cognitive 23): flow.matchBrace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 2 (6 pts), boolean chains 1, 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":"internal/flow/parse.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9df62a62c0daeda32de8f7eef5557650e87372127d39560f822f3f9a12bcf3"}},{"ruleId":"D2","level":"warning","message":{"text":"ACPHandler.presentationForTool (cognitive 23): ACPHandler.presentationForTool has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 3 (5 pts) (nesting depth added 9). 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":"internal/handler/acp.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7556f9f1eccceadce622cbc3af9929365943cae2b91c3cd1ce176c8081007860"}},{"ruleId":"D2","level":"warning","message":{"text":"model.decodeResponsesSSE (cognitive 23): model.decodeResponsesSSE has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 1 (nesting depth added 10). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/responses_parse.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ba3d21691eda4227bf2a33a12c61d430e08d7f85aec960ff1f63f6fddaf2de"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelFactory.GetModel (cognitive 23): ModelFactory.GetModel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 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":"internal/model/factory.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab0dc8745a88dd6469732b10dcd9f6655049dc97e0ab508359a8c40b09afd03"}},{"ruleId":"D2","level":"warning","message":{"text":"responsesSSEState.handleEvent (cognitive 23): responsesSSEState.handleEvent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2, match/switch 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":"internal/model/responses_parse.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cff78f4f2261da16660337e6c51ce884aefecf6ce6c121f8a28c30de0379d5"}},{"ruleId":"D2","level":"warning","message":{"text":"session.ReplayProviderToolOperations (cognitive 23): session.ReplayProviderToolOperations has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36dec8280b9181153321128f85d2fb2bc1d8fb102bcd707a783121ca7bc7318"}},{"ruleId":"D2","level":"warning","message":{"text":"SSHExecutor.runWithRetry (cognitive 23): SSHExecutor.runWithRetry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 1, 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":"internal/tools/env.go"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc55d3cf28e00d6c5487baab6668810aff0e541abfb32c771f2a4a7c352c9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleSetupProviderModels (cognitive 23): Server.handleSetupProviderModels has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 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":"internal/web/setup.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01e24876c1101888d02641ed5fbdca79ae45719d24d196e019442349fb4b252"}},{"ruleId":"D2","level":"warning","message":{"text":"routing_verify._search_facts (cognitive 23): routing_verify._search_facts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea625b1c40f6b5ecf20833a45b69f8aca5009e6b5086e8c4f6f1b998f2f1eb41"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._validate_call (cognitive 23): toolsearch_cases._validate_call has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, ternaries 1 (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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b10435ac3ac6ec7880d771f574c0f9639e590405890b993ab55b1baf8d7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"groupActivity.groupActivityTimeline (cognitive 23): groupActivity.groupActivityTimeline has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"22985750c3faf85ac9271d8538aeed2af83328a2cd8ebc0769722c92562602c8"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal.TerminalRenderer (cognitive 23): terminal.TerminalRenderer has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 18, ternaries 4, error handling 1. Of this number, 20 points are the body\u0027s own statements and 3 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":"packages/jcode-ui/src/toolRenderers/terminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912a4259b1f3bf271f6a93f29137cad08a87194959c49e1010668f94d6f14ce"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserCard.PendingCard (cognitive 23): AskUserCard.PendingCard has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 6 belong to 3 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":"packages/jcode-ui/src/components/AskUserCard.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de716c2bb68bb7e47bfcc3892af3acfa99756cc4a550a662efd4594f82ba6e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPlayer.AudioPlayer (cognitive 23): AudioPlayer.AudioPlayer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, boolean chains 4, ternaries 4, error handling 1. Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 186, 90, 97, \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":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"841363d8c04ac4742e107f21cc4d211a6097be827128c1f3f5ac239c8ec966ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Transcription.Transcription (cognitive 23): Transcription.Transcription has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 7, ternaries 2. Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 113, 83, 70, \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":"packages/jcode-ui/src/voice/Transcription.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d8ec367c4bd2bdb6dc0c41eff8e2e9c043ac12db460ad107d4d78d6957af4"}},{"ruleId":"D2","level":"warning","message":{"text":"Replica.Replica (cognitive 23): Replica.Replica has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6 (7 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (play, onSend, 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":"site/src/components/desktop/Replica.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"700661cc78bbc65c791d96c24396d2836690357ca45033e684b1d369f1b4ed2e"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopTitlebar.WorkspaceOpenMenu (cognitive 23): DesktopTitlebar.WorkspaceOpenMenu has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, boolean chains 8, ternaries 3, error handling 1. Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (onMenuKeyDown, openIn, a function literal at line 406, \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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"086644777cba132d29fd9ed462aab3577e89d9fe3b760eca93b80de68840d265"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHandler.takeActiveToolCallForResult (cognitive 22): WebHandler.takeActiveToolCallForResult has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, 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":"internal/handler/web.go"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5320b74019035efcfc8bcf71c010c2a116f9ebe75ba1ca7dca68a41f92a7493"}},{"ruleId":"D2","level":"warning","message":{"text":"providertools.ResolveImageRuntime (cognitive 22): providertools.ResolveImageRuntime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9, match/switch 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":"internal/providertools/manifest.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e394e9e6aafe6099f98f68ea8b4bd1c6216121717fa9355f0dc6d835f26620"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.PerformMCPOAuthLogin (cognitive 22): tools.PerformMCPOAuthLogin has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 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":"internal/tools/mcp_oauth.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cda8dff899cf5d77c4b38bb3146bc388bee519a960cbed77b89794a6862bad"}},{"ruleId":"D2","level":"warning","message":{"text":"globTool.InvokableRun (cognitive 22): globTool.InvokableRun has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 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":"internal/tools/glob.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a62292fefb6deef4f4623371587831af0dd9bb7b73d9b34ce0c4a0ce8fa24f"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleBrowserInput (cognitive 22): Model.handleBrowserInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). 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":"internal/tui/browser_command.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f4bdf2b421c3e71ed1db5a1ff341c5c4e9ea18bd52be683092e84b6170b01"}},{"ruleId":"D2","level":"warning","message":{"text":"web.mergeMCPServerReq (cognitive 22): web.mergeMCPServerReq has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 2, loops 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":"internal/web/mcp.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b96c2f35a58603fc5d284b760dd0ddeb504a247631587a89ac9d28248638aa"}},{"ruleId":"D2","level":"warning","message":{"text":"cloudLoginFlow.pollAndFinish (cognitive 22): cloudLoginFlow.pollAndFinish has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4 (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":"internal/web/cloud_login.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd843591da20e1242877b15782b53bf53229b0904659292998ae357119f145ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.runConversationAutomation (cognitive 22): Server.runConversationAutomation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 3 (5 pts), loops 1 (nesting depth added 7). 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":"internal/web/automation_run.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"002ce897c6e335de44620ffab500a16e4bc0bc74f5dbbced2dc197184d5836ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleCloudConfig (cognitive 22): Server.handleCloudConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 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":"internal/web/cloud.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2803ac65c67c1c472ee03ab8092f437027a1dd016697cd2969c49b9afbb526c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleNewSession (cognitive 22): Server.handleNewSession has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4 (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":"internal/web/sessions.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b12234bb1a638842411668da3d457f81f41574ef9bddad6e92db4c7806aa60f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.emitReasoningOptions (cognitive 22): main.emitReasoningOptions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 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":"script/generate_models.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbee6764103159c6ae835a2d839d71df18e8296fe75f49dfbf609490787c8d48"}},{"ruleId":"D2","level":"warning","message":{"text":"routing_verify._batch_facts (cognitive 22): routing_verify._batch_facts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4c4aedf7ed56e800f18a9d02dcef15a473c4701c227557ad4a1d97ced85f5"}},{"ruleId":"D2","level":"warning","message":{"text":"web_toolsearch_orchestrate.run_job (cognitive 22): web_toolsearch_orchestrate.run_job has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 8, 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcc9741d6e25226847e60c2a895bbf4bec202c6975e3beaecaa431d1246fd86"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactToolRow.CompactToolRow (cognitive 22): CompactToolRow.CompactToolRow has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 6 (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":"packages/jcode-ui/src/components/CompactToolRow.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3d3da6ba92d8f6aa215d7c015adc12d5978a3fafd6ba8794ce0de49086b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSelector.ModelSelector (cognitive 22): ModelSelector.ModelSelector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (onSearchKeyDown, a function literal at line 72, a function literal at line 102, \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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"da247c70546593b6df303218bbc718345f5e52f14ec667367e05067a568993e1"}},{"ruleId":"D2","level":"warning","message":{"text":"map.loadMap (cognitive 22): map.loadMap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 6 (8 pts), boolean chains 3 (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":"site/public/showcase-projects/game/js/map.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"64547dc0b5cc49cbf29492dcfcd5db006f3894e0c2fcabb381a5b58d1dc4178b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.ChatView (cognitive 22): ChatView.ChatView has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 6 (7 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 10 belong to 3 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":"web/src/components/ChatView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"319ad29ff66e321675845b76a514e4330bd4d6684fc893ac5f97b40dd07188bd"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 22): CommandPalette.CommandPalette has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 3 (4 pts), loops 1 (nesting depth added 3). 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 items inside it that branch (onKey, openTask, a function literal at line 90, \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":"web/src/components/CommandPalette.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb9410e17cbd86a547c70a6bc5be136e8a7831e5de5be91aa30ce1815ed59f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.parseToolSearchExactListEnvelope (cognitive 21): agent.parseToolSearchExactListEnvelope has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, match/switch 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":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37992558e5c7a4da1d5c1f61549a224ab8ecb8506fdd9818b8488edeee6db65"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact.copyManagedImage (cognitive 21): artifact.copyManagedImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), 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":"internal/artifact/managed.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef6fbc3cc6e1619057720f19ee4d6112b1fab1c50c6f9111aba9f96ab50b709"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.CreateManagedImage (cognitive 21): Service.CreateManagedImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2. 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: 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":"internal/artifact/managed.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dc9d34803bcb528cdab21d40b27f0a0505fc7357c20a8b998d3b6be8eaca5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.openManagedImagesRoot (cognitive 21): Service.openManagedImagesRoot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 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":"internal/artifact/managed.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"990099212f06721c7a01fc4a91fa66a962bda5ba41f7a6a8a471324cc1f459b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.ResolveOwnerSession (cognitive 21): Store.ResolveOwnerSession has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 2, match/switch 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 387). 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":"internal/automation/store.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc279c0dd84c2cae610555521fab67026d54807fa16726ad5aaf5a062e8922c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Notifier.connect (cognitive 21): Notifier.connect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_cgo.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04428c6ac015b474497cc3657d92cc0320325b63de6ac4b72fb20df71da762d0"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.WriteNote (cognitive 21): memory.WriteNote has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (20 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/note.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"841885cbb5587745f85d533cca31c2bc683105e74e820a7bacf8a5a7ea3b0771"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.extractFlowJSON (cognitive 21): tools.extractFlowJSON has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (5 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":"internal/tools/flow_spawn.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f4567abf0ffe64ed684227f37b8e769cb3a86132b59afc362582b8b5806d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"sshTransport.ensureConnected (cognitive 21): sshTransport.ensureConnected has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (2 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":"internal/tools/ssh_reconnect.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b2df7ed5e59e589ea10f50bdca167ab23f19a27368bd6f39796110bc457688"}},{"ruleId":"D2","level":"warning","message":{"text":"sshTransport.reconnectAttempts (cognitive 21): sshTransport.reconnectAttempts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), 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":"internal/tools/ssh_reconnect.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a265766c70c3f906258ba10d10fc0f5c7d72f80a8679d7a0f8d2982293f0693"}},{"ruleId":"D2","level":"warning","message":{"text":"grepTool.buildRemoteCmd (cognitive 21): grepTool.buildRemoteCmd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, loops 1, match/switch 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":"internal/tools/grep.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fbe56cea1537e111287f246c136e2419167797ce50080a14568c68e872cce7"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhancedTodoStore.Modify (cognitive 21): EnhancedTodoStore.Modify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 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":"internal/tools/todo_enhanced.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d58e6aeebb0de38574d46b13f34e67b1b69af86af4cc5d5013d24ded61f0ded"}},{"ruleId":"D2","level":"warning","message":{"text":"workflowRunTool.InvokableRun (cognitive 21): workflowRunTool.InvokableRun has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 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, 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":"internal/tools/workflow_tool.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b5cbc89ddf69555dc579b903eaf69b59a1354e2955f1e24f1ed75882d02309"}},{"ruleId":"D2","level":"warning","message":{"text":"uitree.RenderStates (cognitive 21): uitree.RenderStates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, match/switch 1 (2 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":"internal/uitree/uitree.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d8c5f23a5d74c9eacde806adb325cf5a8c6e6c5f5e46732eaf7ac6e71afbc"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.runMCPLogin (cognitive 21): Server.runMCPLogin has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2 (nesting depth added 3). 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, 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":"internal/web/mcp.go"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df73da2ffe25adab4aa86f4941e8c9efab25d6bdb1a9533449f07aff1f32269"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._case_summaries (cognitive 21): toolsearch_report._case_summaries has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (15 pts), loops 3 (4 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"920d7f83a23bc2c6816071e0c402ed125d8921a1bb757bacff828bf721eeec6d"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._validate_hard_gates (cognitive 21): toolsearch_cases._validate_hard_gates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e20a856e112a48465babdaf65283fce44b1987a35651254a9967fb33645271"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._check_searches (cognitive 21): toolsearch_expect._check_searches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 4 (5 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90724729feacec8537ab144450dddedc92a9cfa6abf0178220af1edb79ae7ab"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.step (cognitive 21): index.html.step has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 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":"agent-eval/showcase/projects/fe_canvas_particles/index.html"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76bdee30b399821a1489eb4b4a1f8c929222197b5bb1eeaed7f7a00e76b9bea"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.step (cognitive 21): index.html.step has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 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":"agent-eval/site/projects/fe_canvas_particles/index.html"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154434b55886e010f3647af818d3f921809a5f9f1d2f7329957cafa9da9baa0"}},{"ruleId":"D2","level":"warning","message":{"text":"groupExploring.summarizeExploringSteps (cognitive 21): groupExploring.summarizeExploringSteps has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, loops 1 (nesting depth added 4). Of this number, 20 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"aded2403f0ffda9a8bdeee029ccd31bdd5b21487c765358861db2bcee6897485"}},{"ruleId":"D2","level":"warning","message":{"text":"turnGroups.groupCompletedTurns (cognitive 21): turnGroups.groupCompletedTurns has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 3 (4 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac70fa4cc84320b84a24e32adb43a655518db69cf89052c9404a0080bff62c3"}},{"ruleId":"D2","level":"warning","message":{"text":"stackTrace.parseGo (cognitive 21): stackTrace.parseGo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 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":"packages/jcode-ui/src/toolRenderers/stackTrace.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca156a3312883244c6d265e7a5a05d6077b13fd7ce617374612800d30e5d60"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.step (cognitive 21): index.html.step has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 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":"site/public/showcase-projects/fe_canvas_particles/index.html"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"375174e4f4d6d6fb0b4674c66f0107cbc54099959b25cb48072301653c3e7365"}},{"ruleId":"D2","level":"warning","message":{"text":"Tower.acquireTarget (cognitive 21): Tower.acquireTarget has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (2 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":"site/public/showcase-projects/game/js/towers.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4016919b8545fc0e98db46fac11b7f1a49d47ca9eef573ea2387456b251669f"}},{"ruleId":"D2","level":"warning","message":{"text":"lab.initLab.renderConfusion (cognitive 21): lab.initLab.renderConfusion has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (9 pts), boolean chains 5, if/else 2 (4 pts), loops 2 (3 pts) (nesting depth added 9). Of this number, 20 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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc4ccaa829839678af7f0d7ac0e78a6324433fe9cba0c9bd960eee3c9c40bb"}},{"ruleId":"D2","level":"warning","message":{"text":"TypingTerminal.TypingTerminal (cognitive 21): TypingTerminal.TypingTerminal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 33, 47, 115, \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":"site/src/components/TypingTerminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"144b9d974a5ac2c209059bf154afcca803b5a767db0357a2e00c6e3e8448984e"}},{"ruleId":"D2","level":"warning","message":{"text":"toolLifecycle.mergeToolLifecycle (cognitive 21): toolLifecycle.mergeToolLifecycle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8 (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":"web/src/app/toolLifecycle.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d11fa3e2bf4d6e2a946a1330f2fb8b77caace285653bab72c0d78f8d411cd4e"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.parseRemoteLabel (cognitive 21): remote.parseRemoteLabel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (6 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":"web/src/lib/remote.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60aeb3139670f84dd656fdac2a636651f8bdcc1b191cf3bc8232a7759ab705a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 20): main.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2, match/switch 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":"agent-eval/harness/main.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"43546f7f023603b9382e5909413bf1ac3b80d73c746c0c0b36f6a7344c70c4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"reminderMiddleware.BeforeModelRewriteState (cognitive 20): reminderMiddleware.BeforeModelRewriteState has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2 (4 pts), boolean chains 3 (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":"internal/agent/reminder.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f28b0d231981c2889f586bb5059f7e29a96d6636e2d35d03fab86c6c1d581e"}},{"ruleId":"D2","level":"warning","message":{"text":"browser.CheckExtensionInstalled (cognitive 20): browser.CheckExtensionInstalled has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 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":"internal/browser/discover.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4989b7b91ecdedae85b3dbf378e66ac0986975ca3f22701b04ca5c04d2b668"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.handleResume (cognitive 20): interactiveState.handleResume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 1 (2 pts), match/switch 1 (2 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, 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":"internal/command/interactive.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa36d51cdd72fcb9bd81924c2770b61e2f9ee396977d0b383b429cb58bf09ea"}},{"ruleId":"D2","level":"warning","message":{"text":"run.jsAgent (cognitive 20): run.jsAgent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2, match/switch 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 8 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, 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":"internal/flow/run.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f27623841ff792069eb92f962acfd230645d7881a90e42b288b29b083b8468c"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.LoadMCPTools (cognitive 20): tools.LoadMCPTools has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 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":"internal/tools/mcp.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5238da128a7ff152fd9e14c777626480cd71a998ff437d1dff188e470cc51950"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleThemePickerKey (cognitive 20): Model.handleThemePickerKey has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 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":"internal/tui/theme_picker.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1394ba0de2760dfbc95c240c13cc802f1855b81466dcbba62d89ac98329d84a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleListAutomationRuns (cognitive 20): Server.handleListAutomationRuns has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 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":"internal/web/automation_api.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0370c9c88e99b0781410ce0d79af313d6d568249d4f9bc4d34e790dab2d2468"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleAddProvider (cognitive 20): Server.handleAddProvider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, boolean chains 4. Of this number, 14 points are the body\u0027s own statements and 6 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":"internal/web/providers.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24d3b778240843f64c86a38e656cd44660620971aa4a37a8e331a7e7f302b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleWSMessage (cognitive 20): Server.handleWSMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, 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":"internal/web/ws.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ef5ee05096267fdf514c26ae6164421d119c44fa2a67a33682480657507eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"computer_report.main (cognitive 20): computer_report.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 4, 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":"agent-eval/analysis/computer_report.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"635cfdba762d0b5d1135b4ee753b842f181c68836f0fad59f77ae4a1d1af7b3d"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._validate_browser_fixture (cognitive 20): toolsearch_cases._validate_browser_fixture has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1, 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"1331927c9733992dd2a5e41d9826c42ae468c9a1e08f7f9322800401d49879eb"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases.validate_suite (cognitive 20): toolsearch_cases.validate_suite has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), loops 3 (4 pts), boolean chains 3 (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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"00003b9d30245310debf5d3aef628074dac2fe37c463d2f2babd3e13e22801c4"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._batch_facts (cognitive 20): toolsearch_expect._batch_facts has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), loops 2, 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f0ae75d8eacee4705b1aaff936a91fe1c8691cdb389a9ca48627dcb995ba2d"}},{"ruleId":"D2","level":"warning","message":{"text":"web_toolsearch_orchestrate._load_selected_provider (cognitive 20): web_toolsearch_orchestrate._load_selected_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 2, ternaries 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b69a02fa9cd004321c5a81ab14194f159e2ee9c1b18efca3c82bc9a81473e"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::desktop_apps::linux::desktop_command (cognitive 20): jcode_desktop::desktop_apps::linux::desktop_command has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), 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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16b692d8ea385f1ed688d3c95bc031613290bb8250b5219837f57b3f8e24139"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallCard.parseDiffCount (cognitive 20): ToolCallCard.parseDiffCount has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, ternaries 3 (4 pts), loops 1 (2 pts), 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"76422cccd512b5d8f48d5233f0c3b333aa2f03cd1b4a0924ef59332a5a93fb60"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.onProjectileHit (cognitive 20): Game.onProjectileHit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (2 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ce89328362a7c3201a2fc9d686244113ae8ed14445eb0da93ffad08c0a3202"}},{"ruleId":"D2","level":"warning","message":{"text":"jui.initTableSort (cognitive 20): jui.initTableSort has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 8, boolean chains 2 (nesting depth added 4). 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 710, a function literal at line 717, a function literal at line 686, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c27b21cdf7fc608f19d0856bc87bf38d36e065bec876e01b3ea05dddaa9aec"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.compareProjectGroups (cognitive 20): Sidebar.compareProjectGroups has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8, if/else 3 (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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d239e9468f525d20df3f1a3242f34a050f46c480b195c2bead31ca1542ecc08"}},{"ruleId":"D2","level":"warning","message":{"text":"useAppUpdate.AppUpdateProvider (cognitive 20): useAppUpdate.AppUpdateProvider has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6 (7 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 5). None of this is in the body itself: all 20 points belong to 6 function literals inside it that branch (lines 82, 115, 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":"web/src/lib/useAppUpdate.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"244dbe68223c8b3d089b94dfa83d23a5f3580b28f26743c59a31065f55120f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerShotPiP.ComputerShotPiP (cognitive 20): ComputerShotPiP.ComputerShotPiP has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 4 (6 pts), loops 1 (nesting depth added 5). Of this number, 14 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":"web/src/components/ComputerShotPiP.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae7c3360b1dcb9545e0f986f7096b922d82c9841eff72985519d30350edd7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"App.AutomationRunReplay (cognitive 20): App.AutomationRunReplay has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (8 pts), if/else 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"web/src/App.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4292c632db4ffb66b20029c3db60661a1274bafa3e1462810305a0ee2070475b"}},{"ruleId":"D2","level":"warning","message":{"text":"reminderMiddleware.refreshAgentsMd (cognitive 19): reminderMiddleware.refreshAgentsMd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 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":"internal/agent/reminder.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da97e5754f84baf1bb43158672b53adb95f1dad5056301e946f6e443477088"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.validateTrigger (cognitive 19): automation.validateTrigger has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, match/switch 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":"internal/automation/validate.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d23eea30c4febad4caff4824038934644b11d8675a89290ee5d712b102ff24"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactSharePublisher.Publish (cognitive 19): ArtifactSharePublisher.Publish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3. 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: 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":"internal/cloud/artifact_share.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8910663981c45a5d439dcd51180d27b3bf0eaa5774fae64988d65a34e2880094"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.syncSessions (cognitive 19): Connector.syncSessions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 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":"internal/cloud/sessions.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea18bdaed01d735e36450c90cedc60e72ae139574f6b0cd2fd77eb9df0c962bb"}},{"ruleId":"D2","level":"warning","message":{"text":"command.runDoctorMode (cognitive 19): command.runDoctorMode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 1 (2 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, 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":"internal/command/commands.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed64734c437bf8ea2afef7cc9124f2311c403c26cab52aefc4dd0528634dccd"}},{"ruleId":"D2","level":"warning","message":{"text":"command.installEvalComputerBackend (cognitive 19): command.installEvalComputerBackend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/computer_eval_disabled.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4cdbb49e6aa97daeee975be05a7ff61ce53b3d90b867f9eeb3cf385d8d2102"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.pendingWebToolCallIndex (cognitive 19): handler.pendingWebToolCallIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, 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":"internal/handler/web.go"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e646854a441bc003006b45f5405371db0e8a53d7d39509d9253d94103996237"}},{"ruleId":"D2","level":"warning","message":{"text":"pathGuardMiddleware.checkArgs (cognitive 19): pathGuardMiddleware.checkArgs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, 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":"internal/memory/guard.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d59ed81e80113b1934d8890efab09072d076cfa99a26695d2d5fda8975d84c"}},{"ruleId":"D2","level":"warning","message":{"text":"model.messageFromResponsesItem (cognitive 19): model.messageFromResponsesItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), match/switch 2 (4 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":"internal/model/responses_parse.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa254515ed36522d698b643909a038068c6bba5540e1fea4d8037d080da9ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"model.classifyByStatus (cognitive 19): model.classifyByStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 9). 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":"internal/model/retry.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e1a40b1311d9416169166548d5cedd1d65821f5020b146a2a90d15c38b442a"}},{"ruleId":"D2","level":"warning","message":{"text":"CalibratedCounter.Count (cognitive 19): CalibratedCounter.Count has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). 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":"internal/model/token_estimate.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dea34c7a9264ad92ddcca6da8bf81d90a3597df1b391157b84860f31486d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.reviewCached (cognitive 19): Engine.reviewCached has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/review/session_cache.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cd0b027d1f9685011084c1925d090a8e8a1cdc5d8827ed06b1669d878d6d39"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.parseFrontmatter (cognitive 19): skills.parseFrontmatter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (5 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":"internal/skills/skills.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a384b341a285b9c218de7b4a0cd0fd6d5e0c63dace20a8c22ed478903adcb4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.validate (cognitive 19): tools.validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 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":"internal/tools/todo_enhanced.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbc291bf87c658349f190c39b7c4be6af8f042129e6521b4d2d50ee4a5d1e05"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundManager.execute (cognitive 19): BackgroundManager.execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (19 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, 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":"internal/tools/background.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c6f96679c413cd22c9d8cc4519e999f1395bc9b367199150906385b464d541"}},{"ruleId":"D2","level":"warning","message":{"text":"grepTool.buildRgArgs (cognitive 19): grepTool.buildRgArgs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, loops 1, match/switch 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":"internal/tools/grep.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a854ee6d709d19b7f467c248b4410f7a72d9646ce88fdae61099cf97b340eea0"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleTruncateHistory (cognitive 19): Server.handleTruncateHistory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 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":"internal/web/sessions.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d41c68c6c3cecf2da9cabda870b61cb98f29ba51a55ca90d5a7b0a41101dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityGroupCard.ActivityGroupCard (cognitive 19): ActivityGroupCard.ActivityGroupCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (12 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":"packages/jcode-ui/src/components/ActivityGroupCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4696b9a08f1cefa4e458c53b651277b789087ede57c97f7acdec5bc26efc088"}},{"ruleId":"D2","level":"warning","message":{"text":"Tower.update (cognitive 19): Tower.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 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":"site/public/showcase-projects/game/js/towers.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaf7226f20ccbb6c7f989bba66aa87daa565d7f7318a525d29a1f431064ce0a"}},{"ruleId":"D2","level":"warning","message":{"text":"jui.init (cognitive 19): jui.init has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. 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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"80467caf0abf3e23d40defd3ffcfd5a6dff21041a9b97f55b4430575e21c54fc"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.onmessage (cognitive 19): worker.onmessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, error handling 1, 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":"site/public/showcase-projects/webgpu-cnn/js/worker.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23ac34ec96ac9ca683f3c2099837ae711325cdae6f413bb5474e1e0bb6cb6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"store.replayArtifacts (cognitive 19): store.replayArtifacts has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 2 (4 pts), ternaries 1 (2 pts), loops 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":"web/src/app/store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b41f04ac883e6417d6c3dcdc1ebb60dd29345b77741ff2f6360bbcd49f52f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupView.SetupView (cognitive 19): SetupView.SetupView has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 30, ternaries 19 (23 pts), if/else 15 (18 pts), error handling 4 (5 pts), loops 1 (nesting depth added 8). 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 (SetupView.SetupView::validateInputs) 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":"web/src/components/SetupView.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25e96b9358ceadf6f2ec2ae394ac1825721c708239cda14c97791023ffa8795"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ApprovalReviewSection (cognitive 19): SettingsView.ApprovalReviewSection has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts), if/else 2, error handling 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 6 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f602bcc486eef1c94514ee29dd65db60818fac9a5b5206041f20a9e0ed2152b"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.buildMCPRequest (cognitive 19): SettingsView.buildMCPRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, ternaries 1 (nesting depth added 2). 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: 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5faa64689b5bf4336af13e0d145c0b094bfbbe0fdd2866d6f6de9d5d36ed374"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.SkillsTab (cognitive 19): SettingsView.SkillsTab has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (7 pts), if/else 3, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 3367, a function literal at line 3406, load, \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"420570f21cddc87fd71056948aa31be51ab6964e34560ee79de93d5931ecf86c"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopTitlebar.TaskDetails (cognitive 19): DesktopTitlebar.TaskDetails has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (6 pts), if/else 3, error handling 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 5 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9000bbe55ea83970b5668298da5867a0f1d13048d1af52ca1f707858a0084ae"}},{"ruleId":"D2","level":"warning","message":{"text":"RightPanel.TaskList (cognitive 19): RightPanel.TaskList has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 3, if/else 1 (nesting depth added 6). None of this is in the body itself: all 19 points belong to 2 function literals inside it that branch (lines 262, 251). 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":"web/src/components/RightPanel.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6828dc62e20a26ed7daa1d8df0286619f4e9bc237164ef2330d1782737134a7"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateBanner.UpdateBanner (cognitive 19): UpdateBanner.UpdateBanner has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 2, 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":"web/src/components/UpdateBanner.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e82e826d6ebaaf229e8837945ffe31f935e0aef9a92b3000bce6eba88e6f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"nativeConnect (cognitive 19): nativeConnect has cognitive complexity 19 (threshold 15). Drivers by points: error handling 4 (7 pts), if/else 4 (5 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 5). None of this is in the body itself: all 19 points belong to 4 function items inside it that branch (a function literal at line 68, a function literal at line 57, (anonymous)::done, \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":"extension/background.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acb5f3e41a7f637156c5dfc5f5354ac050d3167c62054e42e3343bdae95e40d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.trimTrailingToolImagesWithBudget (cognitive 18): agent.trimTrailingToolImagesWithBudget has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 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":"internal/agent/turn_budget.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d30769036b13861b9f05c712629f934380d33f8b8f764d0b8eb0383823264bb"}},{"ruleId":"D2","level":"warning","message":{"text":"browser.InstallNativeHost (cognitive 18): browser.InstallNativeHost has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 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":"internal/browser/nativehost.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef0d88418c3fa216b080addf6f2899b4858ade1ba6b0618035c2409ba003efd"}},{"ruleId":"D2","level":"warning","message":{"text":"wsCDP.send (cognitive 18): wsCDP.send has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 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":"internal/browser/cdp.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1527d63b157b6705bfa6c508c798993093c85610f2527f6b6787c0d4dfc61d37"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.Act (cognitive 18): Session.Act has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 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":"internal/browser/actions.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e89ddf06639d72615bb10504a0b0532f0a1874fd5d654b5e6de4d4c7162fea"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.writeJSON (cognitive 18): Client.writeJSON has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3 (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":"internal/cloud/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ff2fa2b479be9d353b2cfa0f83c328ff60e73b4597d54e0928b91992b09337"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.handlePlanCompletion (cognitive 18): interactiveState.handlePlanCompletion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 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":"internal/command/interactive.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"935e9be9dd261bbc8fbf2bf706735cc88e8e3590542a1a57ae2dd4132853e584"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.todoWriteSubtitle (cognitive 18): handler.todoWriteSubtitle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, match/switch 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":"internal/handler/web.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafed60819cf8cf5fc1d4e4079e80d68efc5c7566bf691ac4c5860c93d5b1ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHandler.releasePendingToolCallForResult (cognitive 18): WebHandler.releasePendingToolCallForResult has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 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":"internal/handler/web.go"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687d059a54996085fe82f2e038f75399ba3626c36166bcedd3c712b0861b0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.recordArgsUsage (cognitive 18): memory.recordArgsUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 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":"internal/memory/usage.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63f0832744e8d495131cf9c412eb61358d086e57f6a15075727ccc0b433c009"}},{"ruleId":"D2","level":"warning","message":{"text":"model.mergeResponsesMessage (cognitive 18): model.mergeResponsesMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 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":"internal/model/responses_parse.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8f7354bec7db237063000bd3dadbf1e23a97592a7b1dfd789325601b5620e0"}},{"ruleId":"D2","level":"warning","message":{"text":"chatModel.Stream (cognitive 18): chatModel.Stream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 722). 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":"internal/model/chatmodel.go"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dad52b8b73468dd4e0a2b4b371fee32fd9440a5a444ff2276cf9ba06ad2ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"release.comparePre (cognitive 18): release.comparePre has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 3 (4 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":"internal/release/release.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9036e241bacbbb2d913169f60ea3a70cd3b98fb619c6fb68cf51f1ea0c09a452"}},{"ruleId":"D2","level":"warning","message":{"text":"session.DeleteSessionByUUID (cognitive 18): session.DeleteSessionByUUID has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 2 (3 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":"internal/session/session.go"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f34c85fc46bd0fd77ef60aec47a9d773c8dde3ad293148453892e62be7223b"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.collectMCPToolCandidates (cognitive 18): tools.collectMCPToolCandidates 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":"internal/tools/mcp.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb30c88a8e5401a77642158a9a31609ed67baa38cebd019fb8c90d3c23f559ff"}},{"ruleId":"D2","level":"warning","message":{"text":"generateImageTool.InvokableRun (cognitive 18): generateImageTool.InvokableRun has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 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":"internal/tools/generate_image.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b3d9272c41106f84003aa7469272add874eeb99e3d866f97fcc23fe161f45"}},{"ruleId":"D2","level":"warning","message":{"text":"tui.formatSubagentOutput (cognitive 18): tui.formatSubagentOutput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 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":"internal/tui/format.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f101d1b7716b6f4090655dcaf584a631f4383c3228d29229d7d6fe2e423e4"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarComponent.View (cognitive 18): StatusBarComponent.View has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (2 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, 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":"internal/tui/statusbar_component.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"229e27c2be9d603cd3a741b44f210d4b315e8fccdba93dc2672e9f91731481fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.renderCommandSuggestions (cognitive 18): Model.renderCommandSuggestions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 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":"internal/tui/input_views.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"273642b805a7e2d4482cd8ae7c894941cd558266e1ed637795c7c460760b2912"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleDevOptionsConfig (cognitive 18): Server.handleDevOptionsConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, match/switch 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":"internal/web/dev_options.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d832d8262af6f615020433ffc09e342a336790e528eb772d561631ec06489e"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleMemoryStatus (cognitive 18): Server.handleMemoryStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, loops 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":"internal/web/memory.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e28bc388a25317f9dc5cc53874554a9d2e129b939b56050c4794065b76b7a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleMemorySync (cognitive 18): Server.handleMemorySync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2 (nesting depth added 1). 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, 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":"internal/web/memory.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"921dcb2b7c3b24a03fed18566155c8d48189238cd1ae11e78ccbda93e30800a5"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._evaluate_gates (cognitive 18): toolsearch_report._evaluate_gates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, loops 3 (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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c48a84ebaa70236942996e1e3515e342488f9bdebef76efaeee2582a0c578e"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_report._failure_rows (cognitive 18): toolsearch_report._failure_rows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2de0e517c5e1ab11e58e73191c676e9fdb5e8e001c0cbecb861c2a697dd2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_campaign.normalize_options (cognitive 18): toolsearch_campaign.normalize_options has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 1 (2 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f111801dc0216583d6ba06375dd8eb47916e117b8bd18da518d7991b031c60"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_computerd_onboarding::locator::find_settings_window (cognitive 18): jcode_computerd_onboarding::locator::find_settings_window has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 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":"cmd/jcode-computerd/onboarding/src/locator.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5482e2354dd66ff6d81a4a5a62e7cb031ef9763cf33b253a9f1993b1daf0a68f"}},{"ruleId":"D2","level":"warning","message":{"text":"turnChanges.diffStatForTool (cognitive 18): turnChanges.diffStatForTool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, loops 1 (2 pts), ternaries 2, 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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86509a4ebf928da1db2c5b09c7ebc8e04c33def3ef97dc55464ddc3d2b7f224"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadList.RowActions (cognitive 18): ThreadList.RowActions has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (onMenuKeyDown, a function literal at line 259, close, \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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceac5f33b690baa1034593e7a3a70786bdc066f41f58a3d23f10488d293285db"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.render (cognitive 18): Game.render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 4, boolean chains 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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6ab55196f7e81071baf3bcfef15b49371f0912a2527555167c31ef02b1dd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MomentumSGD.step (cognitive 18): MomentumSGD.step has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 2 (3 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":"site/public/showcase-projects/webgpu-cnn/js/nn/model.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a51077880073a967d62ddb8eb639c3f24a1570171f95a2324297465f1a38270"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.handleConfusion (cognitive 18): worker.handleConfusion has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 3 (7 pts), boolean chains 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":"site/public/showcase-projects/webgpu-cnn/js/worker.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a063124d7437f703aec8554c5b3b14f4807e013d1543965f3a2b041cdd5aa12"}},{"ruleId":"D2","level":"warning","message":{"text":"DocPage.DocPage (cognitive 18): DocPage.DocPage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 7, boolean chains 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 3 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":"site/src/pages/docs/DocPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"607a3fe70f3e5a8e8d3af20453e50ce7123e3dfb43b01d3790776c88722f6864"}},{"ruleId":"D2","level":"warning","message":{"text":"store.retryRemoteConnection (cognitive 18): store.retryRemoteConnection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/store.ts"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"9842e3ec5536ba2630668406da6471dff5cd635a5607212a86f4d3d1ab1884c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationsView.AutomationEditor::save (cognitive 18): AutomationsView.AutomationEditor::save has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 1 (2 pts), 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. This shape REPEATS in the file: one other method here (AutomationsView.AutomationEditor) 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"83948532352a5ec5546cdc67849d72d83a1099c1843c320eeeb8460d680c82c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderAuthSection.ProviderAuthSection::runStatusAction (cognitive 18): ProviderAuthSection.ProviderAuthSection::runStatusAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (5 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (ProviderAuthSection.ProviderAuthSection) 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58f1202cc8c9bc610f2dba12c3785b574eeafd28dff7754c4164514e5b940c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.SettingsView (cognitive 18): SettingsView.SettingsView has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 16, ternaries 2. 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, 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"18327bab9c37a5a40adc21036e32c9a475d84f2686271272fce967d1c1cd9495"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.ToolSearchSection (cognitive 18): SettingsView.ToolSearchSection has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (7 pts), error handling 2, if/else 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (toggle, a function literal at line 2076, a function literal at line 2088, \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dcb875100f96ebf4809532be2bfbd7b8ac6f6250bb13e5877d2edcc2a44412"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratedImageToolRenderer.GeneratedImageToolRenderer (cognitive 18): GeneratedImageToolRenderer.GeneratedImageToolRenderer has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 7, ternaries 2. Of this number, 10 points are the body\u0027s own statements and 8 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":"web/src/components/GeneratedImageToolRenderer.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6302dcaac2140b748b3f15c03a2c041bf5bce2aadeb5f3059dccd04097b35ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"toolSearchSkillReminderMiddleware.BeforeModelRewriteState (cognitive 17): toolSearchSkillReminderMiddleware.BeforeModelRewriteState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (5 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":"internal/agent/toolsearch_skill_reminder.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfec4d7f85cca2e100da1d2eadfa3ebc93b3e7fe33bd1b6c6d7ce62b2372428"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.openManaged (cognitive 17): Service.openManaged has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. 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":"internal/artifact/managed.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1442d557f0be70c893e2607d3e30fd85f83825da6bf411e1f19f5777cfd2b"}},{"ruleId":"D2","level":"warning","message":{"text":"automation.NextCronFire (cognitive 17): automation.NextCronFire has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (8 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":"internal/automation/cronexpr.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89c895132975d4258e8ad064cdab64a78ffb65486701eafb4e6594563940b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.Update (cognitive 17): Store.Update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 276). 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":"internal/automation/store.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8509fa90f5e5cd2ca1f81a343d6d5e7eeb4834ba84cb1083c2742de3b0613a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"browser.FindChrome (cognitive 17): browser.FindChrome has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), match/switch 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":"internal/browser/discover.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"47500dee08f451a2e393e3e10d7eaf7089835eaf19f3c08e6ac5dc798ff94ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.PollForToken (cognitive 17): Client.PollForToken has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 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":"internal/cloud/client.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8878eff98c9e4660305e2d9a4618513a87ff886af4bded791dd23ad58835f124"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector.collectSessions (cognitive 17): Connector.collectSessions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 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":"internal/cloud/sessions.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b23fe33f203ecc2de30ec4bb5ef4fa1365a9a7b8385c200441b980e87b767a"}},{"ruleId":"D2","level":"warning","message":{"text":"command.startWebServer (cognitive 17): command.startWebServer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (17 pts) (nesting depth added 2). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1336, 1352, 1311). 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":"internal/command/web.go"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"57603c410297c9a7406def3a1de2c6baeb5cf203e02cae8a160f9b15bbf5f702"}},{"ruleId":"D2","level":"warning","message":{"text":"interactiveState.handleWeChatAction (cognitive 17): interactiveState.handleWeChatAction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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":"internal/command/channel.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"babfc6b0fd4b564e9503d2c8fbaf48466f9ace79ea1387bce24af6601a415663"}},{"ruleId":"D2","level":"warning","message":{"text":"config.loadConfig (cognitive 17): config.loadConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, loops 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":"internal/config/config.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79470a0c8669f25663bb7454a4c76c2cfb6397ae91ed471f2ac1928a53424c"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.buildTranscript (cognitive 17): pipeline.buildTranscript has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c6ebeaa60d63f3769d43dcb7947815acd5e048a678d0166827579b967ddd64"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.firstJSONObject (cognitive 17): pipeline.firstJSONObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1, jumps 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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b4cfe22453637b5b5f4ad578062ec01ba60341373631d05ed8043a1624010c"}},{"ruleId":"D2","level":"warning","message":{"text":"model.ClassifyError (cognitive 17): model.ClassifyError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3, boolean chains 2 (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":"internal/model/retry.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"20afaf78ef8dc11e5e678ca5398119ea2c310e2e3fd56d0deb3c841f0cf936fe"}},{"ruleId":"D2","level":"warning","message":{"text":"modelcatalog.parseAttachment (cognitive 17): modelcatalog.parseAttachment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, 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":"internal/modelcatalog/modelcatalog.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"18610ca46f550add6a17e7e5d82a50043cd65a11e6c6ab8d2be72d1ca46f72bb"}},{"ruleId":"D2","level":"warning","message":{"text":"session.PruneOldToolOutputs (cognitive 17): session.PruneOldToolOutputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":"internal/session/history.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aae619e03eb52df24e0f3d92d8331420bf7a5050551e3ec371a2588fac7cfac"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.longestCommonSubstring (cognitive 17): tools.longestCommonSubstring has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 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":"internal/tools/edit.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcbee9f1257a20f3995c5f53d75a77823bbc1ba7a7c070be8e7db0438a2468e"}},{"ruleId":"D2","level":"warning","message":{"text":"askUserTool.runBatch (cognitive 17): askUserTool.runBatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, 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":"internal/tools/ask_user.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48fe67293dc2b8eed1cfe683bbf202ee11d5bf2bfa98d86609a6296f5a29b03"}},{"ruleId":"D2","level":"warning","message":{"text":"grepTool.runRemote (cognitive 17): grepTool.runRemote has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"internal/tools/grep.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb9b751cce89a5a21d855cee9fb219c0d7d2e6210f20f7d816fa3f6e2d29fee"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentTaskManager.evictOldest (cognitive 17): SubagentTaskManager.evictOldest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 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":"internal/tools/subagent_manager.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d350209a22494c9aa7d5ed3921c47160f5a242fcb533b499e061bd39ca6c12"}},{"ruleId":"D2","level":"warning","message":{"text":"enhancedTodoWriteTool.InvokableRun (cognitive 17): enhancedTodoWriteTool.InvokableRun has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, 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":"internal/tools/todo_enhanced.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7912c32e68a261a9b3206eb71c85c000876c9cc3738cee81cff1e4161c0f38d"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.toggleSubagentExpand (cognitive 17): Model.toggleSubagentExpand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 3, match/switch 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":"internal/tui/content_render.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4821a8592aa59d44954d3deab6dd531186fc19d17aa37639179275a5b2cdabde"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleToggleModelEnabled (cognitive 17): Server.handleToggleModelEnabled has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 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":"internal/web/models.go"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4948308a0a67384b797f13cbbfc1f67eeab442859b74f5af8f26ede4e6f11c33"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrate.build_jobs (cognitive 17): orchestrate.build_jobs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), ternaries 1 (3 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02ff69115917b546d4e7336b8992e878c48113037b9668d02e9006c4604f352"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_expect._fixture_scope_contract_valid (cognitive 17): toolsearch_expect._fixture_scope_contract_valid 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b824fd0b37232d2cf7cb7c7632903fb03067ddf3c7ab797c3a4e2b65b14de9"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.serveConnection (cognitive 17): main.swift.serveConnection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). Of this number, 15 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da6dbb8cd21fa8998114377aec7afc97c9a0f4f88c9e86110b4aaa1e8d3d74"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.runServer (cognitive 17): main.swift.runServer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d5e3cddb7baf8e78060ab02c1b48f4511d2cd090896b1fa253949aa2ff783"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::desktop_apps::linux::read_desktop_entries (cognitive 17): jcode_desktop::desktop_apps::linux::read_desktop_entries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a48559d10b0381af402825799e3e403452065463c66b5f6a49662f1ac99270"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::desktop_apps::windows::installed_registry_applications (cognitive 17): jcode_desktop::desktop_apps::windows::installed_registry_applications has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 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":"desktop/src-tauri/src/desktop_apps/windows.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"92596e7af6f01d045044e0922117f1023bbd37848f043ca21609dde54b4d5af3"}},{"ruleId":"D2","level":"warning","message":{"text":"jcode_desktop::desktop_apps::windows::known_application_paths (cognitive 17): jcode_desktop::desktop_apps::windows::known_application_paths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), 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":"desktop/src-tauri/src/desktop_apps/windows.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5aae5a6650958ffd9fe9a6abde9ed143aa9431cd37edeced1e7680ab3d6c39"}},{"ruleId":"D2","level":"warning","message":{"text":"aguiRuntime.createAGUIRuntime.handleEvent (cognitive 17): aguiRuntime.createAGUIRuntime.handleEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"93924de15596141bda9cba345a26d5b6e386e0c5466129976796ee08f0361aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"Thread.VirtualizedThread (cognitive 17): Thread.VirtualizedThread has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 239, 279, 170, \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":"packages/jcode-ui-core/src/primitives/Thread.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dd1c851b35c245aba943eebaeb9c4e707bc3643b8d6a1c70729fad1f768b72"}},{"ruleId":"D2","level":"warning","message":{"text":"turnChanges.appendTurnChangeSummaries (cognitive 17): turnChanges.appendTurnChangeSummaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), boolean chains 2, ternaries 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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4849ff0f76f2614cbfedfa0b7ee5969c3d4a776557a5378399b4743c38b7af7c"}},{"ruleId":"D2","level":"warning","message":{"text":"diff.buildDiff (cognitive 17): diff.buildDiff has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 1 (2 pts), 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":"packages/jcode-ui/src/toolRenderers/diff.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f13d6bfa98ea9d02c396b92eb1906aeef8bc35832f170fffb6dfa3c33f64d1"}},{"ruleId":"D2","level":"warning","message":{"text":"computerAct.ComputerActRenderer (cognitive 17): computerAct.ComputerActRenderer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). 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":"packages/jcode-ui/src/toolRenderers/computerAct.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e163cdd09bcc2cbba3d9c01c321b2bde7b10e43423d4de4ea3a689c616a11e"}},{"ruleId":"D2","level":"warning","message":{"text":"Attachment.PendingTile (cognitive 17): Attachment.PendingTile has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (6 pts), if/else 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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c2be3ef0430563854c6731c86cd98507e7a9de1eab268a040a034bc2b4c3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"stackTrace.parseJs (cognitive 17): stackTrace.parseJs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 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":"packages/jcode-ui/src/toolRenderers/stackTrace.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50849751efcc8976cb25c12590ebba439a3aaa21e5177934dd31106ec9247ad"}},{"ruleId":"D2","level":"warning","message":{"text":"DayNightSystem.update (cognitive 17): DayNightSystem.update has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). 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":"site/public/showcase-projects/city3d/js/daynight.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18fba8487ffa071d505a1374e9370e58c620b7eb382cef1761bbbbc81599326"}},{"ruleId":"D2","level":"warning","message":{"text":"traffic.createTraffic.update (cognitive 17): traffic.createTraffic.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 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":"site/public/showcase-projects/city3d/js/traffic.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba43c9b266bedf9c2e9b39121262b4ff57925558f747aaccc3bfcd1f32a8f68d"}},{"ruleId":"D2","level":"warning","message":{"text":"store.findReplayTool (cognitive 17): store.findReplayTool 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":"web/src/app/store.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51002ea47069d4e880d4595903093be170293fef5e1bca83dea6fd887754fb"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFileLink.saveFileLink (cognitive 17): saveFileLink.saveFileLink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (6 pts), boolean chains 2, 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":"web/src/lib/saveFileLink.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac2d2c94086b8bc2c6ebb53c837c5578de41366f2235ec50867b7bb05a93334"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupView.SetupView::validateInputs (cognitive 17): SetupView.SetupView::validateInputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 1 (3 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (SetupView.SetupView) 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":"web/src/components/SetupView.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c795d9377564eefdc5ec1a1e074f01c9fd8bbf5f3f180a3288ed9e34d2a5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.DeveloperTab (cognitive 17): SettingsView.DeveloperTab has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, error handling 1, if/else 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (toggle, a function literal at line 2407, a function literal at line 2422). 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e9b54a663002a55ff96093075ebd88ffd0684c200928aa57075adc9ab574e7"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.collectBillableIntentPreparers (cognitive 16): agent.collectBillableIntentPreparers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 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":"internal/agent/agent.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a820d5a38519c3491658d069e8a39f0b95488e4ae0c01cd319b86b95202cf58"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.rewriteToolSearchExactNameList (cognitive 16): agent.rewriteToolSearchExactNameList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, 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":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a2f117d56a356f29fff850e1e3f6ecfc8db20ce59a6b5418a522d4d439285"}},{"ruleId":"D2","level":"warning","message":{"text":"browser.Launch (cognitive 16): browser.Launch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5422db82c2bdaf97cdf82d33f0158be628d1ead3e3f9cc459a27bfe2216f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"wsCDP.readLoop (cognitive 16): wsCDP.readLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (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":"internal/browser/cdp.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154a118803fc8046cd7d747699ec9e40feec11546781295a03bed45863d0a20"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.UnwrapAccountSyncKey (cognitive 16): cloud.UnwrapAccountSyncKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. 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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcff6e594584470afddf5a25690e521d579ecd55e394af2e0245a8f05c86a01"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.LoadCredentials (cognitive 16): cloud.LoadCredentials has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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":"internal/cloud/credentials.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"244459fae27f143110581f8af1acd86435591d4934c5649c93090716f3d88702"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.providerModelStateSnapshot (cognitive 16): cloud.providerModelStateSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (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":"internal/cloud/provider_sync.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63ee00edf411ba3baa7dc20e1a766d987d08daa486327601e8f06ee0c65c8e1"}},{"ruleId":"D2","level":"warning","message":{"text":"command.configuredGenerateImageTool (cognitive 16): command.configuredGenerateImageTool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). Of this number, 11 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":"internal/command/image_generation.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe7b5cecd67ea54cd9b02c79c3e9d3eb8d7562ab1464dccd406961a289f8337"}},{"ruleId":"D2","level":"warning","message":{"text":"command.splitProviderSearchMCPTools (cognitive 16): command.splitProviderSearchMCPTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"internal/command/provider_search.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d135977edd184e044e187d102ebfa1cd71cba4d9653682f6f22320ada166bf"}},{"ruleId":"D2","level":"warning","message":{"text":"command.runUpdate (cognitive 16): command.runUpdate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (16 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":"internal/command/update.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2d912d6ce4e8d39a2b85c4e04ac032d93017d3f223b2fc00583bc0f9c5b0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"command.newFlowRunCmd (cognitive 16): command.newFlowRunCmd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 139). 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":"internal/command/workflow.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a984d842a3c13be27234fee2d11e80c5cd0e12c1b4234205a6fc2c23f94c2bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.resolvedACPArtifactMetadata (cognitive 16): handler.resolvedACPArtifactMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"internal/handler/acp.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f618afdd762e15840c7231515860040764b1cd3aba5692697fd8ebfe21859a"}},{"ruleId":"D2","level":"warning","message":{"text":"modelcatalog.parseEffortTiers (cognitive 16): modelcatalog.parseEffortTiers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 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":"internal/modelcatalog/modelcatalog.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a7a1b11cb18e4ea7c4a3f5a6fc135e25de8e9ebe0e210ec07873a40bfe6a32"}},{"ruleId":"D2","level":"warning","message":{"text":"Recorder.ensureFile (cognitive 16): Recorder.ensureFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 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, 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":"internal/session/session.go"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f111a1bdfedfb8972d4a1f245fe57d35c8f429bc70b2bc9d131263c9151cdee"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.SpawnTeammate (cognitive 16): Manager.SpawnTeammate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 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":"internal/team/manager.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa4575a8c8af142106c4a83a0285cb5ffe4d3d32411e060e6317f037201c50c"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.hasCycle (cognitive 16): tools.hasCycle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 6 (8 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":"internal/tools/todo_enhanced.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712fa2e9fe0d52e28cc2208e409736c5dbddee71a38f7b89af8e5e4090d16ec"}},{"ruleId":"D2","level":"warning","message":{"text":"editTool.editFile (cognitive 16): editTool.editFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 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":"internal/tools/edit.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3986fa42c2f51599a0e94c0dab9d9611a1b5277a46302b412306c5a29a7892ef"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTracker.ScanExternalChanges (cognitive 16): FileTracker.ScanExternalChanges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2, 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":"internal/tools/storage.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede2c7691d46dd4611dd94125ffc693fd68f2aa43289f40469e6b8a16231b86"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.walkDir (cognitive 16): utils.walkDir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). 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":"internal/util/envinfo.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82219cc9fca0a622206e3af01a8cde15ca8c8fd2bab28dfee900e40638e2c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleAccountPreferences (cognitive 16): Server.handleAccountPreferences has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4 (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":"internal/web/account_preferences.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f629d09687fd095e697a875078435164beb4cbb643667aa13fe51d5ac0140ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.assembleLocalEngine (cognitive 16): Server.assembleLocalEngine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4 (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":"internal/web/engine.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d50def8d84e5b3859865b2831dd499af920dbe3fb5accccbaf65a302df0a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_data.main (cognitive 16): generate_data.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), loops 2, boolean chains 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":"agent-eval/showcase/generate_data.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4f015be749816ba785707a5dec866e1312b7af6c1369c909e82d77064aeeff"}},{"ruleId":"D2","level":"warning","message":{"text":"toolsearch_cases._expand_mcp_case (cognitive 16): toolsearch_cases._expand_mcp_case has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 2 (4 pts), ternaries 1 (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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"61583d282a2662e6596bea41f593aab1f2c09464838661f4c3a317abde113c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"web_toolsearch_orchestrate.read_usage_metadata (cognitive 16): web_toolsearch_orchestrate.read_usage_metadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (3 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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aeef560d17cf0634512c4392cec1e7209191faf70cce32cc2cc07eca327544"}},{"ruleId":"D2","level":"warning","message":{"text":"aguiRuntime.applyOp (cognitive 16): aguiRuntime.applyOp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 1 (2 pts), boolean chains 1, 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987298c023f62d493287c664173ee41eab13aeca175e8258ffd98158eb56b12"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadList.ThreadList (cognitive 16): ThreadList.ThreadList has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, ternaries 1 (2 pts), if/else 1, loops 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 3 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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0823a8c31c672a0ba1704fc76f7d33403aa938c26fa741e74410074e4b1564e5"}},{"ruleId":"D2","level":"warning","message":{"text":"jui.commandPalette.render (cognitive 16): jui.commandPalette.render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 928, 931, 935, \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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bccd0021e8265d0509d7a167b9e4e0d6890719fc113dc5c75b3ebc8a709ad2b"}},{"ruleId":"D2","level":"warning","message":{"text":"dataset.blur3x3 (cognitive 16): dataset.blur3x3 has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 1 (5 pts), boolean chains 1 (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":"site/public/showcase-projects/webgpu-cnn/js/dataset.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df87184a002ab341b8b2c76083ba8d4e8c09335e8550759d48ab4d8ed75a26a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.Update: MethodTooLong \u2014 Update runs 1702 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1602 over it, 17.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":"internal/tui/update.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198c82014f0ef895de5d33efc97b8645b81c39536913cfea3aba56db3b72b27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatInput.ChatInput: FunctionTooLong \u2014 ChatInput runs 1285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1185 over it, 12.85\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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5903a19dcfa7ef350daca64866c1e044ed590498638d44d0be2fdb36c365fca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SettingsView.tsx: FileTooLong \u2014 4408 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3908 over it, 8.82\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ae906f9d2a036e42681a39c6bdeade00d8997feefbec2523ca6a2435425560"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 260 methods, declared across 42 files: web/engine.go (27), web/models.go (13), web/artifacts.go (12), web/mcp.go (12), \u002B38 more file(s). The bar is 30 methods; this is 230 over it, 8.67\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/web/server.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff439fdb385b8ba1d876bfb8951ee2fd99e63908794d317fd44a7c264ef0649"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sidebar.Sidebar: FunctionTooLong \u2014 Sidebar runs 696 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 596 over it, 6.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":"web/src/components/Sidebar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25ca6c0bb848da401e41964c72f2ee50acc0a3a8f01ebeeec9d8b47567fa53c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command.runWebServer: FunctionTooLong \u2014 runWebServer runs 607 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 507 over it, 6.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":"internal/command/web.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27f75d3a8e7820b59666396da68ec48c4b348f19b8376569c7dc7b583173ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteConnectWizard.RemoteConnectWizard: FunctionTooLong \u2014 RemoteConnectWizard runs 600 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 500 over it, 6.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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4098ab9b09c30efd17f261eda730123af23b9bcbfe267db1d9e7b4e55e35f27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudTab.CloudTab: FunctionTooLong \u2014 CloudTab runs 588 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 488 over it, 5.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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d6f4def574cb638af223036db7c990fd4d574cde598898060ddcb3ab0ddacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderAuthSection.ProviderAuthSection: FunctionTooLong \u2014 ProviderAuthSection runs 580 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 480 over it, 5.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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a28e40cea1aa577d3b2c553755d17908e517c372ed5dc4e9a521487253b658"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.ComputerTab: FunctionTooLong \u2014 ComputerTab runs 556 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 456 over it, 5.56\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20e1ea5859188d8b8b46e1e63a52b7314bc386ef8ecbe76b0db32bf9494863e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command.RunInteractive: FunctionTooLong \u2014 RunInteractive runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\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":"internal/command/interactive.go"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba201c4ea33a39a106668ef8bfb6d00af721c677efba9478501c05530fff8b1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/store.ts: FileTooLong \u2014 2167 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1667 over it, 4.33\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":"web/src/app/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2b0cb56c4751ebcc50af56ede50914e51d01c53c950d32e23e8c66abd39ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Model: TooManyFields \u2014 130 stored fields beside 120 methods. The bar is 30 stored fields; this is 100 over it, 4.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/tui.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d80d2d4847fc9eba2a8229fefc03f831b416589b4e79d2beab43ba4248c04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.ProvidersTab: FunctionTooLong \u2014 ProvidersTab runs 431 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 331 over it, 4.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":"web/src/components/SettingsView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37beb8abdd25d73b90e2cf8a462f3196f30075b593031dceb93d00db899e59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.ProviderForm: FunctionTooLong \u2014 ProviderForm runs 407 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 307 over it, 4.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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46663476a5faf28eceb632cc860c97291aba4ff50cfb6d9a5def6181fd87c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Model: TooManyMethods \u2014 120 methods, declared across 20 files: tui/input_views.go (20), tui/content_render.go (15), tui/pickers.go (14), tui/subagent_state.go (8), \u002B16 more file(s). The bar is 30 methods; this is 90 over it, 4.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/tui/tui.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9270cca0f8f12e09d1a8f42a31228f7144fe8eece123da0913777fdae80fa42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.MCPTab: FunctionTooLong \u2014 MCPTab runs 399 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 299 over it, 3.99\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bcf43e5bb5179efda31e789b5a032186f6edfb8c20f08253855d948b93151d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AutomationsView.AutomationsView: FunctionTooLong \u2014 AutomationsView runs 392 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 292 over it, 3.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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a06d6204d8cc2123c2f1b0212738f16d08b8b55d42fc0d33f0613808439ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: city.buildCity: FunctionTooLong \u2014 buildCity runs 391 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 291 over it, 3.91\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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c118325f215ed61083a56bd7753aa8a3812b32a9ae450552a908909d1b5a8d1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Composer.Composer: FunctionTooLong \u2014 Composer runs 384 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d9961f2da9c21ea9ec768eae8e04cf628e60c01e9c7be0fe884b982ced594f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.MemoryTab: FunctionTooLong \u2014 MemoryTab runs 377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 277 over it, 3.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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f79a4d34e04cdbe6dbd7e85f114e0d18b2aa15f39c1da7f1945592113930a3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AutomationsView.AutomationEditor: FunctionTooLong \u2014 AutomationEditor runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"119c56549823568585646f685a9716e2b100360dfa4495363aff22ca995174e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/update.go: FileTooLong \u2014 1717 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Model (21-2330). The bar is 500 significant lines; this is 1217 over it, 3.43\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":"internal/tui/update.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274e3ddf7b6e8ee52a3d6df606ea3695bd8a4612d3387fa71ab107e26f5cf910"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner.runInner: FunctionTooLong \u2014 runInner runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.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":"internal/runner/runner.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd68ecdeeed2e2110d15aaa7be079fbbbe24b7e770462ef1b9e96062e4875f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product/ChatInput.tsx: FileTooLong \u2014 1681 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: ChatInput (306-1890). The bar is 500 significant lines; this is 1181 over it, 3.36\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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e98f96ca1b769bdd7cd4d87fbf0639991e5bf041f96405ba7b0c092c2d2710"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatInput: ClassTooLong \u2014 1285 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 885 over it, 3.21\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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5a5076947143caaa1f9917b2435709f0a4c6c98fe1ad68ace6da6dc0b13e62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: acpAgent.buildAgentSession: MethodTooLong \u2014 buildAgentSession runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.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":"internal/command/acp.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfabe98c35a980c558548546be009ddef96e0daf87f834ee5a6687b7e6014b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetupView.SetupView: FunctionTooLong \u2014 SetupView runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.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":"web/src/components/SetupView.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cbfce2ab3d3240f30757d3561c58ad59aa7626ae63fa89329e2bc1fafc565b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspacePicker.WorkspacePicker: FunctionTooLong \u2014 WorkspacePicker runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aa5656a7eede6ac26ab6e2cef4499a604bfa97497917ed6febc55ae8466c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command/interactive.go: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 913 over it, 2.83\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":"internal/command/interactive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725494697a8c02eacb40c3d0d5a0e1fb18383e77152fe9fab9dd22f1da74b9a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.ProviderCard: FunctionTooLong \u2014 ProviderCard runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"61764e10b99ad79a15f5debb2620963ac9a9cd9f0852fd9536b1d76b306b7992"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aguiRuntime.createAGUIRuntime: FunctionTooLong \u2014 createAGUIRuntime runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e583f9914bd6e6c60d5717faa98daf43d6cb23709d743c42bf8ca8d69eead0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Connector: TooManyMethods \u2014 79 methods, declared across 8 files: cloud/connector.go (40), cloud/provider_sync.go (11), cloud/pairing_inbox.go (10), cloud/account_settings.go (7), \u002B4 more file(s). The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/cloud/connector.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d279653eb3a6fc9833eea333f498f23dfbc1b3a8a5b7ec563a0f3e54f0c4488"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Entry: TooManyFields \u2014 79 stored fields. The bar is 30 stored fields; this is 49 over it, 2.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac0f5f4fde1b212db623cbefbe502d4d73c4cfdda1d3865c9730500a66cf15b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/session.go: FileTooLong \u2014 1288 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 788 over it, 2.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":"internal/session/session.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae873f7e69ff998ccbba97216ff2f5f3f220df16fb0ff24c87cf2c6144478e90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Message.Message: FunctionTooLong \u2014 Message runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff94bf94ec8dac90da6a46b0a66b8a3d4b21671913b133faf48ae11c9c76e0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/toolsearch_report.py: FileTooLong \u2014 1252 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 752 over it, 2.50\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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80336781881fdd27b3df840a4decb27a8d1fdb139996bdeaf58bbb7dbdef0cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jcode-computerd/main.swift: FileTooLong \u2014 1248 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 748 over it, 2.50\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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b97533b34ae29d5883e3f1000c69d45c145fc212d5b3e60aca720de691f28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: just-the-docs.searchLoaded: FunctionTooLong \u2014 searchLoaded runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.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":"agent-eval/site/docs/assets/js/just-the-docs.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8253418d19450863e62211d4c6033de853d427c800faa1e5f3abfe54f1ff03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.BrowserTab: FunctionTooLong \u2014 BrowserTab runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65c0fee9e90761e32b79997996a8c8ecbaa1f2af106f5ab7b91d335425465e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wsBridge.createWSHandlers: FunctionTooLong \u2014 createWSHandlers 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":"web/src/app/wsBridge.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"09371d041d1afcfb8ca690f081abd01139d8f49c94f7368382161a6d04aa39d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomePage.HomePage: FunctionTooLong \u2014 HomePage runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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":"site/src/pages/HomePage.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8604c1865281397d45a52da339739e5590797bc22d7e42f6d9e17c26fb07fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/toolsearch_campaign.py: FileTooLong \u2014 1086 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 586 over it, 2.17\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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"940b55760f2012d00eefeeefda3616c7f3352e996cc5482dfbb8d615cfa50422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudMeshDemo.CloudMeshDemo: FunctionTooLong \u2014 CloudMeshDemo runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.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":"site/src/remotion/CloudMeshDemo.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b96dad14a68fca5bc544145000722fe6ab205f2fc3782a00a98520cbc085de1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lab.initLab: FunctionTooLong \u2014 initLab runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bb2befc200c7b7c22074de945e59d3e94169e62e894f59157a062c490e6f70"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: interactiveState: ClassTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods, 33 blocks, lines 51-1387. The bar is 400 significant lines; this is 429 over it, 2.07\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":"internal/command/interactive.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed401e1da50d490a8cfe9bd44873c76aad67bf7866297da7661bfae8a90c4783"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BranchPicker.BranchPicker: FunctionTooLong \u2014 BranchPicker runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b63870ca22c0004aafc34af6fa93867a56efe112ff03efbc1e6a71c93d35d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/RemoteConnectWizard.tsx: FileTooLong \u2014 1012 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 512 over it, 2.02\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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa030889363f1b71e1331b5cdccbd4e538ea991cb324729e51316c1d1276e16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/web_browser_driver.py: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 511 over it, 2.02\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":"agent-eval/suite/web_browser_driver.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326de939a94c5975d11fce30dfdf388b144b0174aea32c52e5609491e08734b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AutomationsView.tsx: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 507 over it, 2.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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca1fdcb4ca5b55b67e21ccdb208ef1c9ec90e79e7e4bceced3caf216f9d23f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleUpdateProvider: MethodTooLong \u2014 handleUpdateProvider runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.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":"internal/web/providers.go"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9bef9cc49fea645cbe7cc51afc073703ff8818035a020fd4b5a5eb556ecf1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handler.extractToolDisplayInfo: FunctionTooLong \u2014 extractToolDisplayInfo runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"internal/handler/web.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1524f9f4de8562a631d82c333d4e608f5e29f5d02a66ad17049b415a15b7209d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Server: TooManyFields \u2014 59 stored fields beside 260 methods. The bar is 30 stored fields; this is 29 over it, 1.97\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14772866998f8d1de7f7a3fd021ded293b4dc8a4c5c6d0322ef155e557fbc4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopTitlebar.TaskDetails: FunctionTooLong \u2014 TaskDetails 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d987a6bdf5b8d7a963f55d770784e2164e09ae7e0f8ba83649873cb6eeb8f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.Start: MethodTooLong \u2014 Start runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"internal/web/server.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef707d5c892c30caad737a4f00b6d6682dd91c05f7b48a15a425e6ff1a14271"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliPage.CliPage: FunctionTooLong \u2014 CliPage runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"site/src/pages/CliPage.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b100dea261c83cec1719b18b0832a7d391f25c10f3bdff4ae02f58072c9304"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/providers.go: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: Server (8 blocks, 250-1449). The bar is 500 significant lines; this is 441 over it, 1.88\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":"internal/web/providers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6012c3bebe7dd09a1c3307e33722f73324b99eb623c1e4cbc1df033c9f07d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleListModels: MethodTooLong \u2014 handleListModels runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"internal/web/models.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e27f7f4f8942fbb5bce3e4afd99e96a2191fa328c5597d7825924fa076e60ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DayNightSystem.constructor: MethodTooLong \u2014 constructor runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"site/public/showcase-projects/city3d/js/daynight.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e93e153a134809efdc12eec0298b0b466a991a1ca85d5328612b7618190231"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Sidebar.tsx: FileTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: Sidebar (107-1025). The bar is 500 significant lines; this is 424 over it, 1.85\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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8981d19f1526b10457185dca975f51b442f345a3ace08a61fd04a68586cb80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command/web.go: FileTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: runWebServer (253-1179). The bar is 500 significant lines; this is 410 over it, 1.82\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":"internal/command/web.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d8077d94dedc0ce56a2673380af358649fcaa537308ed5da6808b10621b620"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/web.go: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 398 over it, 1.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":"internal/handler/web.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33a2284bee909c2c5611b0d996561a56bf5790a9074dbd3752f8561c3e4ae43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudPage.CloudPage: FunctionTooLong \u2014 CloudPage runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.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":"site/src/pages/CloudPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c96c562d961bfec76497662deca24d1747e7fadb88d71dfc6c4bf37647561c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: acpAgent: ClassTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods, 18 blocks, lines 195-1416. The bar is 400 significant lines; this is 312 over it, 1.78\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":"internal/command/acp.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea585c5d5ecf81b899b337ecca632ecd4d1a5b65c6c5cb4a8ccfd750ab573bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command/acp.go: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: acpAgent (18 blocks, 195-1416). The bar is 500 significant lines; this is 389 over it, 1.78\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":"internal/command/acp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b124c70af87489f0ecd9d3d1829660d7e5d0626b54871103f36e6be23f52e29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/orchestrate.py: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 382 over it, 1.76\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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6215128fcf01c84771f18fdd59a22d1168fee01bdb099f3b364c77145131228"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Sidebar: ClassTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 296 over it, 1.74\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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c8d7d61d69c02d99175b30436f6e46bbc8e68e71b4d889e5bc28115be6dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/web_toolsearch_orchestrate.py: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 362 over it, 1.72\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":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a25b13602575f9ceedfaaf503c8ab2a1abf62038dea19529ecf3eaf98891f6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.runAgentTurn: MethodTooLong \u2014 runAgentTurn 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":"internal/team/manager.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"da988eca95c670eca4c988e9f34f0d3c275fe11eb18131bc9867aca4d2fba98a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleProviderCatalog: MethodTooLong \u2014 handleProviderCatalog 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":"internal/web/providers.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa0c1204365b4ef0b91c0e6e19f38f007dfcaaa6bab853ed9b5f719c3786300"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Manager: TooManyMethods \u2014 51 methods, declared across 7 files: providerauth/manager.go (28), providerauth/copilot.go (7), providerauth/codex.go (4), providerauth/http.go (4), \u002B3 more file(s). The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/providerauth/manager.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"49407972f575aa8025a608098eef00be04fc6a88719fd4a65e8569f53f2a4aec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ServerConfig: TooManyFields \u2014 51 stored fields. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf4bca493fab18f423858a0601e3d8fd4ff557982dbc241b7aa5a8646c67f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarFilterMenu.SidebarFilterMenu: FunctionTooLong \u2014 SidebarFilterMenu 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":"web/src/components/SidebarFilterMenu.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"876621b579c83b5454a729292895faa7cf60ee9b06d4d183ab485cb2f4f50ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConversationLoadingView.ConversationLoadingView: FunctionTooLong \u2014 ConversationLoadingView runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"web/src/components/ConversationLoadingView.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"964e97f0cf2efbe6912edded5f752adcf68a93de3a13d7e11f7f1e7f058776b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.LangfuseConfigCard: FunctionTooLong \u2014 LangfuseConfigCard runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a8ca8e963d8760a9da30def100cd2d68c4bfda987e39b0aa7bd0b92d7749db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatView.ChatView: FunctionTooLong \u2014 ChatView 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":"web/src/components/ChatView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"49236f35ebc1f23e787c7ed013e968879ce254669ae9d774d14c4f70eecc2083"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SelectMenu.SelectMenu: FunctionTooLong \u2014 SelectMenu 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":"web/src/components/SelectMenu.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c50f0a0a48eaa39c24e1021e855cdcea4055ef6b273613419e923d41d0576"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/jui.js: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 300 over it, 1.60\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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c04f4defe096179f18159bb2e53b7f8eb1cd85f86a47d78a81763e8483e04a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpeechInput.SpeechInput: FunctionTooLong \u2014 SpeechInput 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":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f00240e38ab32ad2b5ca510d6bc821a4961d8187783596b600f07f93ff9991"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.ApprovalReviewSection: FunctionTooLong \u2014 ApprovalReviewSection 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3bd53a6cfb6a819c40d02a1e66b4cb0f020fd19b13ed46e94a58b669e1bd32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Recorder: TooManyMethods \u2014 47 methods, declared across 4 files: session/session.go (40), session/security_dispatch.go (3), session/tool_overrides.go (3), session/provider_tool_operation.go (1). The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/session/session.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd43a4178fcf4bfc1a1ceb8b8c45f0acc0ec9f2f60317ffc10c22450dd2eecfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ProviderAuthSection.tsx: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: ProviderAuthSection (250-936). The bar is 500 significant lines; this is 283 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f3e26751585313d0d5768db62bc6bf013fd6cc50e411f4b7569cba08604e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/acp.go: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 280 over it, 1.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":"internal/handler/acp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4b9dbb190e39809d61c45dee40134b0a8780a1cda6fc638daa6617ae59e80b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AudioPlayer.AudioPlayer: FunctionTooLong \u2014 AudioPlayer runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec532a5d707bb2bcd57379be3176452e86f54c46a2342000a753671507bef6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/api.ts: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: api (96-707). The bar is 500 significant lines; this is 278 over it, 1.56\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":"web/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e9a1c756bb21013d71bc2062d8c7d0323de5e17339ceba7057e1fd8cc65d8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/chatmodel.go: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 269 over it, 1.54\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":"internal/model/chatmodel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ced02eb32c17636f9939f03e95d2abb454aba7ab6438aca8d0c4892f04c18f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: interactiveState: TooManyFields \u2014 46 stored fields beside 34 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45b20854f68bf02d2997260b35a2c34fca309ec46f515184859872814b53740"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.submitMessageWithOptions: MethodTooLong \u2014 submitMessageWithOptions runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"internal/web/chat.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd5ec9b7d6bcf4668a6ea9fb424917c59df790823ac528c983cf406dbc185e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteConnectWizard: ClassTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 200 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686847e9b14bcbf60d8b923458aabec2db0729400bb2aea8970375849998b90e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TerminalPanel.TerminalPanel: FunctionTooLong \u2014 TerminalPanel runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"web/src/components/TerminalPanel.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa876822338401c7b90943715d3f2071e2a227950209335249284379de0cbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/types.ts: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 247 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":"web/src/lib/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2a8113bfb6f09c02173e84ac8ad663234a67e2c55cb7f287de1dd6d1fef8e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeneratedImageCard.GeneratedImageCard: FunctionTooLong \u2014 GeneratedImageCard runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"packages/jcode-ui/src/components/GeneratedImageCard.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2bd707b4e8c53d5964f637e04f26ebffd04f69e1b90b4addfd6f56d9bb6469"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopPage.DesktopPage: FunctionTooLong \u2014 DesktopPage runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"site/src/pages/DesktopPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fe272a593fe70f32662b8eedec1ca73fc380310379cd2741be4bcfceef3801"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CloudTab: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 188 over it, 1.47\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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee639e5fcc5f128e7d703fd07e8e856d94eb39968a25a44d5b9097a9e9ae036"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mockRuntime.createMockRuntime: FunctionTooLong \u2014 createMockRuntime runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.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":"packages/jcode-ui-core/src/runtime/mockRuntime.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e6fb5bee486c127c2dd120f0cf2d1d4856f44dcdbafaec72af5a384afcdf6f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProviderAuthSection: ClassTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 180 over it, 1.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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f848e60d5e056b8ba78a482020dde85f077bcdb6b296fad9ca55a7d5620c2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TopBar.TopBar: FunctionTooLong \u2014 TopBar 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":"web/src/components/TopBar.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b87abd036a282c2948a52d3a9d993bb139a91faf2c37e915f3b4696ca03e689"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleSetupComplete: MethodTooLong \u2014 handleSetupComplete runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.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":"internal/web/setup.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"644c93e31472456e6bbadb3101a41be4279b149e173846ad393434339e7a7618"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Thread.VirtualizedThread: FunctionTooLong \u2014 VirtualizedThread runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.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":"packages/jcode-ui-core/src/primitives/Thread.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffece6b0f06b04ae49e91b6a9fcdc7bfc0aec781500021a62697920b4a7cdded"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactsPanel.ArtifactsPanel: FunctionTooLong \u2014 ArtifactsPanel runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb25fc4968a20b718e0d88b4877cbc281dccb35799fcaac4b2b18fa5f98d8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.run: FunctionTooLong \u2014 run runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"script/generate_models.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8176274c8c4225684491745fc250e4d87e900ea0eeaf8343dc3fec599195c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Connector: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods, 41 blocks, lines 100-1173. The bar is 400 significant lines; this is 159 over it, 1.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":"internal/cloud/connector.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8225cf46ce8a7e62241e14814ef8f2de174d66d154541fc60558dd631d1001"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Connector.reconcileProviderConfigs: MethodTooLong \u2014 reconcileProviderConfigs 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":"internal/cloud/provider_sync.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae440da73bcdc45eab8eeefa083a28bf945f8780c5e9471a4676f0d8d58a84c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette 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":"web/src/components/CommandPalette.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d63c31b6250fda21718bc866a8b2c0ad748e1c14f578f15aeec46b45a7f9c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RightPanel.FileTreePanel: FunctionTooLong \u2014 FileTreePanel 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":"web/src/components/RightPanel.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ff571f9cc190d5e9f58f095f45bf86aacf470cb77454c0e866d9453ef98010"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud/connector.go: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Connector (41 blocks, 100-1173). The bar is 500 significant lines; this is 194 over it, 1.39\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":"internal/cloud/connector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790f73d68c4f53fe5a3d00d6fc6d3085b35234d8c71a99c7f00221662dd16270"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/models.go: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Server (13 blocks, 104-1036). The bar is 500 significant lines; this is 194 over it, 1.39\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":"internal/web/models.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3ce5fd4423977ba4eacc98b2f213b40702cc0753e8bd99d5f40877df38aff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Manager: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods, 28 blocks, lines 97-977. The bar is 400 significant lines; this is 152 over it, 1.38\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":"internal/team/manager.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc7debcf41d1468060e6326402c3dc126f8d5bfec7471047b64dca6e17c72be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/toolsearch_expect.py: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63f100b7817db41620d9c36bd1cb69f5fd5c11cf082b4b7838e1a872c7d1dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Env: TooManyMethods \u2014 41 methods, declared across 18 files: tools/env.go (15), tools/automation_tool.go (4), tools/goal.go (3), tools/browser.go (2), \u002B14 more file(s). The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/tools/env.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292650ae004795bc8064ee2a247a1781ff884e5993bcdc714be6e773424cf9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.GeneralTab: FunctionTooLong \u2014 GeneralTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"552568e849ae4d7af4d307a692eef4676c4b944b82952ee1895f3f2a38c6ad4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RightPanel.DiffViewer: FunctionTooLong \u2014 DiffViewer runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.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":"web/src/components/RightPanel.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fad5ae1db096e22c449eb143a3eac2689b8e34332172c2c864cc9de78978d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.handleModelInput: MethodTooLong \u2014 handleModelInput 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":"internal/tui/pickers.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849ce11f8d610134a1ca67db4f7517683a36e9ba76363980f2c1dc778d61e71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserCard.PendingCard: FunctionTooLong \u2014 PendingCard 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":"packages/jcode-ui/src/components/AskUserCard.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"670b72e1d9e1bd7c581e9ea2ee25f83d580ad157fa1ff27bef6f9f69ba57a33a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: traffic.createTraffic: FunctionTooLong \u2014 createTraffic 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":"site/public/showcase-projects/city3d/js/traffic.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b5d6829c77bbfe52b9419fce6a22079d1ac7a83ca3e3cc88aa0245903474a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliDemo.CliDemo: FunctionTooLong \u2014 CliDemo 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":"site/src/remotion/CliDemo.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2775fb6ba585b49f0ac936ee7582c462c5b6f211a2446b9566c53f4b7bd1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner.Run: FunctionTooLong \u2014 Run 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":"internal/runner/runner.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f67ceac4debd07b48fa968e2c5388bacb59000eeca70220dad6e1c39e52d16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RightPanel.RightPanel: FunctionTooLong \u2014 RightPanel runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.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":"web/src/components/RightPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"883351f2939585fa777dfa76bc2f46b9881af57640025c029889214f4626da22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/engine.go: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.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":"internal/web/engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"792c2227e274f9ff94af8d2efcf3fa52a052259296fdd7c5a6107f793137ad72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/config.go: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 147 over it, 1.29\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":"internal/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55f5c9b7f232b4454852d318af718c59d65dc567702cb1ab21eb7ba1fa99b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/CloudTab.tsx: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CloudTab (89-786). The bar is 500 significant lines; this is 147 over it, 1.29\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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be79cb6e25d0c0610c336fbc08e07ed0a19abdb4cbd183e1cdbb304edb7acdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/server.go: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Server (11 blocks, 41-893). The bar is 500 significant lines; this is 141 over it, 1.28\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":"internal/web/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fb740dd428cb77179bdcc2f654e26aacb1a811a501662387357cea26acfa0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityGroupCard.ActivityGroupCard: FunctionTooLong \u2014 ActivityGroupCard 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":"packages/jcode-ui/src/components/ActivityGroupCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d355cb7c0d570529c45f4552b856bc6b3199ca32ef284a27e41d5f19b10ff749"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelSelector.ModelSelector: FunctionTooLong \u2014 ModelSelector 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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb54a21cc5aaf62ba26f6fd257c628e0310e951e7c2390535dc185c4868adc81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/env.go: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\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":"internal/tools/env.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95883caec86aed5d464f1b2ef7df84ab9a78dc0453076594591db1cf687a7398"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runner/runner.go: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 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":"internal/runner/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9a0e6fc5f93730929ed12718da01354da5ba779df49868fcb8912c63731e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VoiceVisualizer.VoiceVisualizer: FunctionTooLong \u2014 VoiceVisualizer 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":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b79447aecb489ce92b392365de687ccfddaa0ddb0bb020ed1c673a96e3bb90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Replica.Replica: FunctionTooLong \u2014 Replica 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":"site/src/components/desktop/Replica.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91f85b163e10fd63f164c1c261c89b36ea2ab5cfb491a16df635b5b64fb09c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suite/toolsearch_cases.py: 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":"agent-eval/suite/toolsearch_cases.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdd741e81db8f71b49c71abee35f9de9c415cd25bfbe79f82afa9a3fa321641"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/manager.go: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Manager (28 blocks, 97-977). The bar is 500 significant lines; this is 124 over it, 1.25\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":"internal/team/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0b1866594b044a2ffc9755d44d304098ac6e662d0de091a51d46a6d821cf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatInput.ManageModelsDialog: FunctionTooLong \u2014 ManageModelsDialog 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b1db025d714f9d99d11bf17e667b01b3e5e1b68e698c9c98239f805b456fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Engine: TooManyFields \u2014 37 stored fields beside 14 methods. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/engine.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"75402ad871ba69a52395a6f7887c9864a10f2a885c4e30269fc9d002c1fee5f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: acpAgent.Prompt: MethodTooLong \u2014 Prompt 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":"internal/command/acp.go"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b3676cecc6a40edfb74e8e3098b1d68c41a4d0ff81ca4eec3e155c5caccefe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteConnectionNotice.RemoteConnectionNotice: FunctionTooLong \u2014 RemoteConnectionNotice 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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1a62fdbc431ab28ed2ef7171840ba7f2df4de1ba4bf221591a571768d04a03"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: api: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 83 over it, 1.21\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":"web/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0c31a08300df235bd1ec45a56bc5398334d1512b0360f2da447469c0e8423"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 36 stored fields beside 21 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd6279147e35b082950b2c903e7899b12d5de3212df2f1248fd14c94d017c80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupModel.Update: MethodTooLong \u2014 Update 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":"internal/tui/setup.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"01625f68a103e89a6508dcd7a70d64ce37ce021ee4319b0db0626a00c0fc0548"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopTitlebar.WorkspaceOpenMenu: FunctionTooLong \u2014 WorkspaceOpenMenu 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26e0912cca404832bb11ce28103a9cb4438de7fd6492853ac4771f335d25727"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/registry.go: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 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":"internal/model/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a776c22606c1f7dd48e5f0f2bc2f101920594dc2584397b0690d17375fe4e5c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleDeleteSession: MethodTooLong \u2014 handleDeleteSession runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.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":"internal/web/sessions.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfb3ea269eaa5f2cff4c44a8955bc99c040d945c16981ef58e3f3118ee81a09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/ui.js: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\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":"site/public/showcase-projects/game/js/ui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8e44a03f29b55e3b0c5de090c4c79a4f252f00d0320ff14c4742902ddff59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composerHost.buildStrings: FunctionTooLong \u2014 buildStrings runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"web/src/app/composerHost.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0b826d87ae5328506541ef6961de54bfd09484759173a42a6d38ca0204d7ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.DeveloperTab: FunctionTooLong \u2014 DeveloperTab runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba2d45fff7486727e7111ecf7b18229f0d84e0498efa3ca3cbda8164f1be803"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesktopDemo.DesktopDemo: FunctionTooLong \u2014 DesktopDemo runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.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":"site/src/remotion/DesktopDemo.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f8130e25f5b5a818aef071267a3609dad4275eb1df21c58255d9dde12629e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Recorder: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, 40 blocks, lines 630-1614. The bar is 400 significant lines; this is 57 over it, 1.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":"internal/session/session.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fcff241669e485794c1fb0564ccf80dd33a25e48dbd9ab2e10b9a708571296"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApprovalBanner.PendingCard: FunctionTooLong \u2014 PendingCard 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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d868dd8ec76e876fe360637c3a569ff8d6e8412a7d3edfbb64be14052e10f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/pickers.go: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Model (14 blocks, 15-867). 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":"internal/tui/pickers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df6915b1da757c820bf844c318ea32cded43cfa3154e9b87b26f89c8560d70a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: interactiveState: TooManyMethods \u2014 34 methods, declared across 2 files: command/interactive.go (32), command/channel.go (2). The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/command/interactive.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f92921204bcf2bbcfd832cc8fa495ce071e1f47a2b2ad4cb91aec0894b58190"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/city.js: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: buildCity (308-809). The bar is 500 significant lines; this is 64 over it, 1.13\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":"site/public/showcase-projects/city3d/js/city.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96590072154484c28b624e096a8869dfeb9b4cf455cba4abd4d3b06c32577bd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TypingTerminal.TypingTerminal: FunctionTooLong \u2014 TypingTerminal runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.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":"site/src/components/TypingTerminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68e9645017abcb3795c566e44e215262b4f76dacb105ea0a4d06b3d6336d45e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ACPHandler: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods, 27 blocks, lines 25-1162. The bar is 400 significant lines; this is 44 over it, 1.11\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":"internal/handler/acp.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a713ea11aa2caef0a0895372fc17b72ad262c44b39cb494f2eda50d92c32afc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: generateImageTool.InvokableRun: MethodTooLong \u2014 InvokableRun 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":"internal/tools/generate_image.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f74438485e05c2a55b3d81842f4541a3cb23a7b004ed60eb17a820fdb1ad7e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 33 methods, declared across 2 files: browser/session.go (21), browser/actions.go (12). The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/browser/session.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"188e4342a09b7051b14c787ce7f86cfa687b12021371fd3c62bd0be1e3ec7846"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApprovalState: TooManyMethods \u2014 33 methods, declared across 2 files: runner/approval.go (28), runner/review.go (5). The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/runner/approval.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe82769bac9b2dbd47ccef458ee2fb370bb0ee92094fd493cdaaff320064c0cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ui.rs: FileTooLong \u2014 550 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). The bar is 500 significant lines; this is 50 over it, 1.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":"cmd/jcode-computerd/onboarding/src/ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef725f4c7f80924bc0324e62e25f9fa38ab7424bbf61626e60906c664480996"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserBlock.AskUserBlock: FunctionTooLong \u2014 AskUserBlock 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":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ca2b82eba0ae742ebc6cc02b6fe5f0b8a18a74b7bc3febb64dc4260c159154"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocPage.DocPage: FunctionTooLong \u2014 DocPage 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":"site/src/pages/docs/DocPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a95ac8b37078e9e1b67b329bd996e5861f7052464ce43296ed85ee3eb99fe25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.UsageTab: FunctionTooLong \u2014 UsageTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":5164}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6001be44759e755334b976f4c1334ff1854b901704c9c5e1882917a50a3af0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.main: FunctionTooLong \u2014 main runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"agent-eval/harness/main.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d5b0918725ea364cf7100ee5144d8178fb2ae5c98031a332702ec7b190ca91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebHandler: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods, 30 blocks, lines 545-1317. The bar is 400 significant lines; this is 35 over it, 1.09\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":"internal/handler/web.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f5d1cc197f7ad3bd24b41be971ede8a11050852a81e48239965dcda071896b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: interactiveState.createAgentWithModeCatalog: MethodTooLong \u2014 createAgentWithModeCatalog runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"internal/command/interactive.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05099181126fd70fc488086b2c4b66aa640e5d70de412a39a83baf776dc3a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product/WorkspacePicker.tsx: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec21167257a777635b64625a0aa9fe57fdd1d170d1767593fe870a55ed6de067"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 38 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":"web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"023754b646da7450795078f47617dc203ad0b20897409fbf94cb1bf47e0e6176"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/RightPanel.tsx: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 38 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":"web/src/components/RightPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e287ea5b90552b8a7fb574315d6b98b57a46a9d18f0a9003ce8a1eec2282f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: computer/session.go: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Session (23 blocks, 21-872). 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":"internal/computer/session.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b841a7022b77b2cea3164828de44526a1182b0f9fb8aaa1484e9bbc0043a92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.handleListProviders: MethodTooLong \u2014 handleListProviders 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":"internal/web/providers.go"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1df2e1f7f036b6e1b814aecf149a277d9e69140ef54c97334a47d87c176b16e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Attachment.Attachment: FunctionTooLong \u2014 Attachment 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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aa744f020c25cc3da398716170b9585d13915d406932ec03feb159eec74e20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ArtifactsPanel.tsx: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29d216cbfde95ac803275a2d6febccdd1c4aacbc464cce80e00cabd68e09ee7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command.startWebServer: FunctionTooLong \u2014 startWebServer 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":"internal/command/web.go"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb711eff7a501bafb038104d289b94ae07e2b2f6e5abdc9b1530536567effd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Transcription.Transcription: FunctionTooLong \u2014 Transcription runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"packages/jcode-ui/src/voice/Transcription.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b92910d327d167eaac9d740cdd9204fdb151cc651f2be2a6ce393a9a591c1fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShowcasePage.ShowcasePage: FunctionTooLong \u2014 ShowcasePage runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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":"site/src/pages/ShowcasePage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6466523593f436da6643c6c7475d24c7ede42cb37470d9b52a1b2b16a1e2f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runner/approval.go: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: ApprovalState (29 blocks, 28-882). The bar is 500 significant lines; this is 20 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":"internal/runner/approval.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c647e74d140fe35d874ab42d906af59b767ea2170163d337ee95796bdf34278"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PrivacyPage.PrivacyPage: FunctionTooLong \u2014 PrivacyPage runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"site/src/pages/PrivacyPage.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83d9f4fc15a1c182151453f0b7bbf35482f4fe866360f7d5b0eb98d38d8b44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 31 methods, declared across 5 files: cloud/client.go (10), cloud/desktop_config_client.go (9), cloud/relay.go (6), cloud/pairings.go (4), \u002B1 more file(s). The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"internal/cloud/client.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f063cbd37ed8c7c846b85eb1d86c6fce041d69557976510b4c024fefc4b1e85f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: desktop_apps/linux.rs: FileTooLong \u2014 516 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). The bar is 500 significant lines; this is 16 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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd185a8138fe4dfb0e00f0eb3ac5eedbe338450c247283db2beff2036571b7e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imagegen/client.go: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 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":"internal/imagegen/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776150ea99e0f7d03bc250e92a121274ee6ef5c42af9163b70c9370058414d44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/mcp.go: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Server (12 blocks, 286-721). 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":"internal/web/mcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bb2fff7270fdd5d6da82b30b1487b2c91a8f670b06fbb41e94f594d82d2745"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCallCard.ToolHeader: FunctionTooLong \u2014 ToolHeader 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3604aa075916490dac39df8a4fe4a72ddd4580642163416ebe3c88072fcc4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Session: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods, 23 blocks, lines 21-872. The bar is 400 significant lines; this is 6 over it, 1.02\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":"internal/computer/session.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a615bbc4489272201745a46f447c3a62ea2bc2ab201226706cb91ebf72333d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCallView.ToolCallView: FunctionTooLong \u2014 ToolCallView 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":"packages/jcode-ui-core/src/primitives/ToolCallView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ee4aedc89e68a272b08e6b7a626458094a0301c90736d2f9485f5847ea014"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (22 shared lines): internal/web/remote.go:471-518 | internal/web/remote.go:522-566 \u2014 These two members are variants of one another: 22 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/remote.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54be218a0ab5cf441bb66b38ccb8ca6337a14607dca15b54e17cd5789536627"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/channel/ble/ble_cgo.go:33-74 | script/poc/ble.go:13-29 \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":"internal/channel/ble/ble_cgo.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"338e3ae57c4eb165bd27d14a62f664cce9049a45d2cb67ca98c105875202083b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): internal/computer/screenshot_filelock_windows.go:16-29 | internal/config/config_filelock_windows.go:13-26 | internal/memory/filelock_windows.go:13-24 | internal/providerauth/filelock_windows.go:14-27 | internal/session/security_filelock_windows.go:13-26 | internal/tools/ssh_known_hosts_lock_windows.go:13-24 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/screenshot_filelock_windows.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be9cd275a88b4bb17cc70ccf38eee32d9e7743a678c8e6777a78377a2366dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/automation/filelock_unix.go:17-27 | internal/computer/screenshot_filelock_unix.go:16-26 | internal/config/config_filelock_unix.go:13-23 | internal/memory/filelock_unix.go:15-25 | internal/session/security_filelock_unix.go:13-23 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/automation/filelock_unix.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b60c303410ef51a7e305635f95c0b6012b2c61e56f51d5a589cdf82be80b51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/session/provider_tool_operation.go:135-155 | internal/session/security_dispatch.go:109-127 | internal/session/session.go:1027-1047 | internal/session/session.go:1222-1240 | internal/session/session.go:1275-1374 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/provider_tool_operation.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f88b62c53c9840c31f3f67897b9976867c99e5ccc59c19e5ca8f816dce6792"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/tui/channel_panel.go:99-138 | internal/tui/manage_models.go:199-249 | internal/tui/pickers.go:270-320 | internal/tui/pickers.go:359-409 | internal/tui/theme_picker.go:136-176 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/channel_panel.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d99490e86ed8ef420670edda52b805cfa7cd1f43448b832ed58fa72843f1c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/web/cloud.go:43-112 | internal/web/computer.go:217-253 | internal/web/dev_options.go:64-147 | internal/web/memory.go:263-307 | internal/web/tool_search.go:42-82 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/cloud.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cc3935ae5376d16abb7ff82d3dd418f631dfc346ec2d2aab5de5408937d795"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/web/models.go:546-602 | internal/web/models.go:609-662 | internal/web/models.go:702-730 | internal/web/models.go:733-789 | internal/web/models.go:1003-1036 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e12a67bd0ea4a537bb4810a832b64bcb584e82a03da387acded004f0b69ee46"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/tui/input_views.go:258-275 | internal/tui/input_views.go:449-475 | internal/tui/input_views.go:497-520 | internal/tui/update.go:21-2330 \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":"internal/tui/input_views.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b20dea76cde1097b4f6bfb8e5ca6a0a6e5c32272532b07fb5be6bcdcdb589"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/web/channel.go:126-170 | internal/web/mcp.go:449-489 | internal/web/mcp.go:527-568 | internal/web/skills.go:53-112 \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":"internal/web/channel.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d201c6db8b2078a10a2ba677aaf1a782de11305fe676e90574cbf90b2fb921"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/web/mcp.go:403-447 | internal/web/mcp.go:449-489 | internal/web/mcp.go:491-525 | internal/web/mcp.go:527-568 \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":"internal/web/mcp.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"373200e8cbafdbd7ee1068c3efe43ac7c1f5f5a98cf2f16fd8db9dc4b7dd1bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): internal/artifact/managed.go:514-573 | internal/imagegen/client.go:714-774 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"internal/artifact/managed.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339e5dfc0eef15f2b10809f5208ab6d13f3caeeb279c903345b735ba6034471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): internal/agent/middleware.go:46-152 | internal/agent/middleware.go:162-253 \u2014 These two members are one piece of code written twice and then edited apart: 92 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":"internal/agent/middleware.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ee97400af2ab4c2902507dd759338f3d4eb8380fcfad0aac6098a635b61ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): internal/tools/edit.go:181-264 | internal/tools/edit.go:491-572 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"internal/tools/edit.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cbcb71de31535a8e4ee3fdfebbae761207a32f736fedf1d19b7cd6ae32e64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): internal/telemetry/langfuse.go:323-389 | internal/telemetry/langfuse.go:399-466 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"internal/telemetry/langfuse.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f6739ff6d3eb29a3acbffce1928e55a9056581e65c3fb1965102e2b9815f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): internal/providerauth/copilot.go:71-128 | internal/providerauth/xai.go:130-192 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"internal/providerauth/copilot.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"140463a6ea194adf980558d0bdf4e68173e8aca83a419e2b72d386aafe659029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): internal/cloud/credentials.go:129-182 | internal/cloud/sync_store.go:192-235 | internal/config/config.go:1261-1325 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 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":"internal/cloud/credentials.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f525f8975b36e111e714c68a6aef6aafd63878d051f90002e298941e7805607"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): internal/cloud/client.go:158-209 | internal/cloud/client.go:214-258 \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":"internal/cloud/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a155b3810d2734b714581d03c874bb58c41fe8c1542df69b25decfdd31bf91a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): internal/tools/grep.go:192-250 | internal/tools/grep.go:581-640 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"internal/tools/grep.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"93879c208043462594360eb332acfc71d3a35953a8e6f9115e6fa0bd4434262c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): internal/providerauth/codex.go:175-218 | internal/providerauth/xai.go:214-261 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"internal/providerauth/codex.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d452aaf0057d1596fff696e35c70016a1a1c680d47293f36bcd2c3e5af2fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/cloud/config_sync_crypto.go:70-109 | internal/cloud/crypto.go:421-461 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee97aefe88d1f2fc2dc0fc43d362c6020e1bec335ef58d2c4bab8f60b67c83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): internal/cloud/history_sync.go:77-113 | internal/providerauth/store.go:203-244 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"internal/cloud/history_sync.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"431562ac5f871b28a541b9b364a5f299b33c774a13a50cd62b3104118daabbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): internal/providerauth/codex.go:20-59 | internal/providerauth/copilot.go:24-69 | internal/providerauth/xai.go:27-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"internal/providerauth/codex.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b66e1912bad62ee070138ac9bc9386c9b4d02769fe95f0e07720d0cddc09a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): internal/review/investigate.go:120-180 | internal/tools/flow_spawn.go:176-231 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"internal/review/investigate.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305c4e6bc1c92048f81ab873ab48378704e4f92cfab017b66f9db41f03343e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): internal/tui/pickers.go:322-357 | internal/tui/pickers.go:411-455 | internal/tui/pickers.go:639-674 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"internal/tui/pickers.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ad8aa2d156bd5f073f757ab51bf66339c83f126ecf212d12a95e50bdd9a2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): internal/web/session_changes.go:76-107 | internal/web/session_draft_pr.go:116-142 | internal/web/session_draft_pr.go:313-336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"internal/web/session_changes.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eb59aea3e2985a9c70429a139d48b2ca1b5fffa0b2d6792b1ecf3eb1ba62dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): internal/tui/pickers.go:550-597 | internal/tui/pickers.go:599-637 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"internal/tui/pickers.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"134be6839be6c06f59938a5004e23ce5983c094fd0c0e0eef17432ac99fa065a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/providerauth/http.go:73-103 | internal/providerauth/models.go:87-113 \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":"internal/providerauth/http.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1f95e06e4ca0a55513be88f9c1ded9decbee2e6a57eaba61385b0bb6a3b22c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/agent/hook_middleware.go:66-92 | internal/agent/hook_middleware.go:123-154 \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":"internal/agent/hook_middleware.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a405e8c390eeeb6eb3d2ad351602477378696850090c492027bf68662807dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): internal/prompts/prompts.go:23-80 | internal/prompts/prompts.go:97-142 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"internal/prompts/prompts.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79bb33c64cee3c684673664e851b09a4c305096d08fb56416fc3767b893c7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): internal/runner/approval.go:561-601 | internal/runner/approval.go:827-858 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"internal/runner/approval.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"086588529b82b5d2811d0715d3faa1c47d1f3b9606d950d851ec38975d7567ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cmd/jcode-computerd/main.swift:417-442 | cmd/jcode-computerd/main.swift:1322-1338 \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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bedee26f86e538e50c89b0c04e8e7a6ce84d1715a18077b90fef0189efcd98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): internal/cloud/connector.go:1087-1109 | internal/cloud/connector.go:1111-1136 | internal/cloud/connector.go:1138-1160 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"internal/cloud/connector.go"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bc3d675367c1d45f6dd06dc982aa3feb353bd9d340368259264e5bc1bac295"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cmd/jcode-computerd/main.swift:1457-1484 | cmd/jcode-computerd/main.swift:1494-1520 \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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae66ffbdc6ec802b4682bb3ebe82d843da32abd6cc561d66e1631dc84842ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/session/provider_tool_operation.go:96-122 | internal/session/session.go:168-196 \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":"internal/session/provider_tool_operation.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37767f22cf1766814579095cfcd8234011c0cf4d055c4d5dd54ac7d0c92cd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): internal/cloud/history_sync.go:234-260 | internal/session/security_journal_strict.go:17-46 | internal/session/session.go:1926-1963 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"internal/cloud/history_sync.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"51977e35120f17f63d3f765b01db5f6493c55d1a392a40df8e1a0d78665fb28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): internal/browser/bridge.go:226-264 | internal/browser/cdp.go:105-138 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"internal/browser/bridge.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4af2ce746ba6452dc8912275a27ff5aa47be3ef8fcaf6d7d7b8d6bd14005032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/imagegen/client.go:445-471 | internal/imagegen/token_plan_multimodal.go:206-231 \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":"internal/imagegen/client.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86c49875226fa0ccbb8bac113982d2bdde01d51d504c2da48a2c92f87cabebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/tools/generate_image.go:111-136 | internal/tools/provider_managed_billable.go:120-147 \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":"internal/tools/generate_image.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1b519f8e041be478cadd21f9cc385051e796c03b7a2ac16ee629a8494d775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/web/cloud_pairings.go:67-93 | internal/web/cloud_pairings.go:106-126 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"internal/web/cloud_pairings.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"664efea3c6a42f24e9c64ff77976b77df212460a22b79b778df4ff4623cdf3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/session/security_dispatch.go:40-71 | internal/session/security_dispatch.go:79-107 \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":"internal/session/security_dispatch.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59cb034b189afad4f60be8a11c0633518fb14668940dba5acac6d51cb14e53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/agent/hook_middleware.go:95-120 | internal/agent/hook_middleware.go:160-189 \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":"internal/agent/hook_middleware.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3a90a1c2aaae20f351779ab8327501bac6de3668ae005b2b6d968cd3b78fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): internal/handler/acp.go:97-143 | internal/handler/web.go:673-713 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"internal/handler/acp.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea96c598f7267827de2a783cda8c3c6302c8736b188bcb24eb4013dd2e18365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/web/cloud_config_sync.go:90-113 | internal/web/cloud_config_sync.go:115-132 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"internal/web/cloud_config_sync.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf1c7856c644fa747fdf456f86b011e34fed514d4da34b412bc05c5e73a121"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/command/automation.go:38-66 | internal/command/workflow.go:77-96 \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":"internal/command/automation.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"545fdda4b8a69faf50b736d159ab29dd15d1d834e95efbf5ebcbdc2829e81ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/web/browser.go:130-153 | internal/web/computer.go:340-363 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"internal/web/browser.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"357880b8949861c2b7ce73d4ae9c476b093b3f637d97f7db463cd7da8b62d99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/command/cloud.go:274-293 | internal/command/cloud.go:327-346 \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":"internal/command/cloud.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef728e2272b4ecb33cea5f4b8a36905cf77387cd1a3c5f6674f9dad87e80bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/browser/session.go:332-358 | internal/browser/session.go:362-390 \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":"internal/browser/session.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ddbb6f4ea4ae9d085cd683511dba79db2d3f7db99a7e3992a07526778ebbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/cloud/crypto.go:267-293 | internal/cloud/crypto.go:298-322 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"internal/cloud/crypto.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d405185cf323cb5e28194b6876d7a82a03185896a57455b35413d836bb5c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/tools/docker_exec.go:222-234 | internal/tools/env.go:727-741 \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":"internal/tools/docker_exec.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feea4e71b46bf91b93dc5d39ecea2c911c2ab7ed9823b34f45dd34e69987223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/web/cloud_login.go:345-357 | internal/web/cloud_login.go:361-373 \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":"internal/web/cloud_login.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee42de90029244482f5952eeb7a9d101ff8269d53f7175737220294b335b3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/handler/acp.go:827-849 | internal/handler/acp.go:855-873 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"internal/handler/acp.go"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0686c01c2cc996d8430502d573c27e3d9daba61a20d176feee1ae74c09c5f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): agent-eval/analysis/toolsearch_report.py:385-401 | agent-eval/suite/toolsearch_campaign.py:598-620 \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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d508e5938f2e7aeafc1507abcdb08d54a2c8fa1cb889a3648edfdc2421ed87eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/modelcatalog/modelcatalog.go:88-104 | internal/providerauth/models.go:115-132 \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":"internal/modelcatalog/modelcatalog.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d2a8c53cf9ac500b49fb018719e117d6cc67718f2008646b9768ad05141e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/providerauth/filelock_unix.go:13-27 | internal/tools/ssh_known_hosts_lock_unix.go:13-27 \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":"internal/providerauth/filelock_unix.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"633a9240f01db4a27b3228e29f33869a25e677554d0f0d3da18286b52899ef68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/web/engine.go:797-818 | internal/web/engine.go:873-895 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"internal/web/engine.go"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"596621a6122b6ffc50d287ebfd1d06a206f57c2b426e27324b0a35548a2a5d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/tools/docker_exec.go:243-259 | internal/tools/env.go:762-780 \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":"internal/tools/docker_exec.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd8aeffe53d0ac45cd0df7b71c1925d02e848e7f350520cfc8485269750cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/tools/todo.go:107-125 | internal/tools/todo_enhanced.go:300-318 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"internal/tools/todo.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d642e41fba8f2888b478be84c382cc104e9187467de3c1abf5c05a98fda89a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/flow/loader.go:46-65 | internal/flow/loader.go:67-84 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"internal/flow/loader.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"07611cfcf717e1f6aec43d10d50c8ad97edf88fe8165df5ef85f1cbeacb4dfa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/tools/mcp.go:340-353 | internal/tools/mcp.go:355-370 \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":"internal/tools/mcp.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff8f670ac20c7c79702cb69fa1fb992de7d2ab4c4c66d9f4b31b7873e94fac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/session/provider_tool_operation.go:254-268 | internal/session/session.go:2115-2129 \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":"internal/session/provider_tool_operation.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf313f126dd10c6e23171bd89929f9bf1792948f00263a7038b92e2e453e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/providerauth/manager.go:417-436 | internal/providerauth/manager.go:547-568 \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":"internal/providerauth/manager.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb85150627b4c6d4b9919cda5ca3ea5e7bdf9cedfe39f13fe9ba696f3f2634c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/browser/nativehost.go:63-77 | internal/computer/proto.go:274-288 \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":"internal/browser/nativehost.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae29cdb60b3952cb7e0ebe77861fe30087aba879effc7b6ae89c94ba3a18bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/cloud/config_sync_crypto.go:43-54 | internal/cloud/crypto.go:406-417 \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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ece9d1879e20e1fc326f82c4674dbec7080c7adcbd31a95ad656870c87f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): internal/web/channel.go:70-83 | internal/web/channel.go:85-95 | internal/web/channel.go:97-107 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/channel.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"06218d396dd7567f55549fae9849f378b0a46684b02bba500ab2f0dd3d7d0314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): agent-eval/analysis/analyze.py:20-26 | agent-eval/analysis/computer_report.py:28-36 \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":"agent-eval/analysis/analyze.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3c316540d4b44f0f6c0cb87029ab3b88a47de11ab33fc03b5c019df875f830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/cloud/pairing_inbox.go:138-148 | internal/cloud/pairing_inbox.go:151-164 \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":"internal/cloud/pairing_inbox.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"19734135f9684a367ba7ce641b0316399228d76dd34bfb5777fdcc0188116112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/computer/configmap.go:59-90 | internal/computer/manager.go:242-267 \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":"internal/computer/configmap.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"929c927a106841944eec955269b20d7af9c9224de5833d4c437b0e276dcd4f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/web/approval.go:15-27 | internal/web/approval.go:30-42 \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":"internal/web/approval.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da96435fbc500bce24001ea2dacc345d32ceb2d7635467dca475b188a11ff15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): internal/automation/filelock_unix.go:31-44 | internal/automation/filelock_windows.go:39-52 | internal/memory/filelock_unix.go:36-49 | internal/memory/filelock_windows.go:36-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 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":"internal/automation/filelock_unix.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"091806d6ed11d35884e0356f7485fdbbb4e16449774b0b4460703ef2998c7d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/tools/storage.go:277-295 | internal/tools/storage.go:456-473 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"internal/tools/storage.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee554c7f5be847e3b664a99134b751feccf944da232cfc5d83cb4990c772d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/config/project.go:22-40 | internal/util/envinfo.go:73-86 \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":"internal/config/project.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3f6ddcc935cd60088e9da8dc3982d926b81c2f84d29461a1f862e56ce9b5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/model/responses.go:399-415 | internal/model/responses_parse.go:173-189 \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":"internal/model/responses.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f014c94e8f816abf308b468844e0c3012f50f93be09b635154def15570f5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/tui/input_views.go:430-445 | internal/tui/input_views.go:479-493 \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":"internal/tui/input_views.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad499002a48adee4181b980d1f7c7e235424b80435b8405dfa5685b9f6d07482"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/web/provider_auth.go:207-223 | internal/web/provider_auth.go:255-276 | internal/web/provider_auth.go:278-299 \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":"internal/web/provider_auth.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd972aed8517bfe026b4faf3ee33469d9782bb61605bfddb1706601bfa8e317d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/flow/run.go:201-212 | internal/flow/run.go:215-226 \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":"internal/flow/run.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b347de49e1c76e164ca8304904bd5ec786e1c9d2cf4f8dea0876505089f00993"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/web/approval.go:86-97 | internal/web/project.go:180-192 \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":"internal/web/approval.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c52426e4e9f5e2a6265079461c6fbd06062d4b34521630cca9d8c1d3f4a3533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/command/update.go:145-160 | internal/computer/helper_install.go:200-220 \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":"internal/command/update.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8882b739e884077a235f1ded26b9e4ece671412ee9d04ffc266d57815e74f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/tools/todo.go:85-104 | internal/tools/todo_enhanced.go:278-297 \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":"internal/tools/todo.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e320c717eb1a334ab96625a3fd54a5d8dc3b3d9e59904e2d8f76da5aaa5b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): internal/flow/loader.go:112-121 | internal/skills/skills.go:201-212 | internal/team/manager.go:492-503 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"internal/flow/loader.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d9e24e414c1c8932b5a0f86fbc36fe5d966e2701bd6b7ca63b0053fe7c1be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/web/cloud_config_sync.go:39-51 | internal/web/remote.go:273-284 \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":"internal/web/cloud_config_sync.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4872e5266104e849bf9e26043cadd9b9817c0c806ca8908ddb6627f563a69728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/cloud/history_sync.go:220-229 | internal/review/session_cache.go:173-185 \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":"internal/cloud/history_sync.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2135dc172fb42ba945cf90db7d692ff112b9d90492cd1bfd034bc04a4dff099"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/jcode-computerd/WindowCaptureHelper.swift:65-75 | cmd/jcode-computerd/main.swift:971-982 \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":"cmd/jcode-computerd/WindowCaptureHelper.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ea79d6c051ebf48dc03a8a11eddd496de53ef2b66f0f1cb65e00ac97f10a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/browser/nativehost.go:79-90 | internal/computer/proto.go:255-270 \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":"internal/browser/nativehost.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f54d6949d2bcb100e87826b257a703843d294176fe3812d83a52254b9fd2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/providerauth/http.go:23-37 | internal/providerauth/http.go:44-56 \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":"internal/providerauth/http.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb986a2e3b33be0107f067da3c2f10359a84907b2c1226f71a54afabdba2568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): internal/web/providers.go:138-151 | internal/web/providers.go:162-178 | internal/web/providers.go:206-218 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 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":"internal/web/providers.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e86954342071030af2713820747f6de873d976efb78e614083d5dcae58edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/jcode-computerd/main.swift:236-247 | cmd/jcode-computerd/main.swift:249-258 \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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf0533549cd242e61f7ff7379642ac5947c7af4aedcd4502e932c1566611e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/web/session_changes.go:63-74 | internal/web/session_draft_pr.go:58-71 \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":"internal/web/session_changes.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a755ce48e2a699b4fb8c8a9779a355f92b79e68ebc9ddc2e955ebbd1502d4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/model/chatmodel.go:1156-1170 | internal/model/chatmodel.go:1172-1186 \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":"internal/model/chatmodel.go"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8229a70e600f7062bc59e9c74c9d004e4a2991cf05e5e686a4e3f1e667b824fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/command/acp.go:1132-1148 | internal/command/acp.go:1240-1261 \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":"internal/command/acp.go"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfffb20a131c944e3cf0b1035d8c7e771eb2d55ec24097c2f1d7c954b6933cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/command/provider_runtime_verifier.go:18-30 | internal/command/provider_runtime_verifier.go:32-44 \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":"internal/command/provider_runtime_verifier.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"feead15c3628d15d2f0964c5aebd3f2ffb097b98b5223c7ea5085e26423caa4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/tools/provider_managed_billable.go:153-170 | internal/tools/provider_managed_billable.go:176-191 \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":"internal/tools/provider_managed_billable.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e65ff4f4d7532c25212267f21e60710a8c43d3bc3d662de49df6a4617cf34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/config/mcp_file.go:22-35 | internal/team/mailbox.go:138-154 \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":"internal/config/mcp_file.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddebf4ae39a9683ac578cfd1bf1e727ad7ed633b9c761916ca42341e54124262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/artifact/service.go:278-291 | internal/artifact/service.go:296-309 \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":"internal/artifact/service.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bf6eab463174a379c777c34bcd8cf37038c1204a76381b118153b4de074d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/agent/toolsearch_disclosure.go:82-97 | internal/agent/toolsearch_disclosure.go:145-155 \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":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d146e67637be05a05a8904242acea058cdbf17b9a818ecbc43d5764eff7139a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/model/registry.go:96-111 | internal/model/registry.go:441-458 \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":"internal/model/registry.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a6567ac6d17ee4883692cc80df5c773b479b981498fa060ebca5fd09543ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/tui/input_layout.go:110-123 | internal/tui/input_layout.go:126-138 \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":"internal/tui/input_layout.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa12a1611f349f8faf45050548386cf6503db2f5d1004ef3cc8e2e5b627181d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/web/approval.go:197-206 | internal/web/approval.go:255-262 \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":"internal/web/approval.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8852a06aca0983674b41dca3c9354e3bf733b46565651cee7fbee208108b4eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): internal/session/session.go:522-539 | internal/session/session.go:1788-1805 | internal/session/session.go:1868-1885 | internal/tools/storage.go:659-672 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 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":"internal/session/session.go"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba75d28653b37ad05f5ae4351a8d40f928c1cd985377c6ca4385039f5e2e2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): agent-eval/suite/toolsearch_campaign.py:1233-1236 | agent-eval/suite/web_toolsearch_orchestrate.py:957-960 \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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"69541075e4abdc2134c0496aad7761e79a744d49ebb7cc990d63d2a6c289ff88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/cloud/account_settings.go:312-325 | internal/cloud/provider_sync.go:569-584 \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":"internal/cloud/account_settings.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fbb84a382c3f75f00bef41b7a3f276e1c41c34731598873c94191a085c5292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/command/cloud.go:106-115 | internal/command/cloud.go:117-126 \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":"internal/command/cloud.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8f381cbadeb7ed8dba438bd577b91135b9d4b14719daeb66c0f510285ef556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/command/login.go:58-72 | internal/util/util.go:12-23 \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":"internal/command/login.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ebd7b9a8d4d6926ec5cb51b10b83483292d20f208f8c9c13e7afba0dd5bb36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/util/envinfo.go:26-34 | internal/util/envinfo.go:40-47 \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":"internal/util/envinfo.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80dea5aa7de7d474722cd347840f7df4ff053f7e6048d351ffaa62d047c828"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/cloud/config_sync_crypto.go:56-66 | internal/cloud/crypto.go:82-92 \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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e7ea226cb0e7c72db4c040c6a731173c8f973dedc6cc9ae725401987c9b3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/model/retry.go:544-558 | internal/model/retry.go:560-573 | internal/model/retry.go:779-792 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"internal/model/retry.go"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90c9ea9a96ffbb08b79146f281daf904161f5e478687fb7650484cf46178a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): desktop/src-tauri/src/desktop_apps/linux.rs:198-212 | desktop/src-tauri/src/desktop_apps/windows.rs:148-158 \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":"desktop/src-tauri/src/desktop_apps/linux.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3195087e7b7ca68055c56ecf5f1e602c712ee3a530af45e1ec16744e94204c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): agent-eval/suite/orchestrate.py:156-160 | agent-eval/suite/session_extract.py:202-207 | agent-eval/suite/web_toolsearch_orchestrate.py:139-143 \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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf1be92b7d1bcf1476d987bce0162627a70cc0b7debc1f8d46299853870277a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): desktop/src-tauri/src/main.rs:36-46 | desktop/src-tauri/src/main.rs:52-62 \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":"desktop/src-tauri/src/main.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdfb329c793c1e8e02ecb4e5c83f5f636126c758aa968d454cd5693098aa763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/web/memory.go:53-65 | internal/web/memory.go:82-95 \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":"internal/web/memory.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d936a8d15d2d9067df92b49d5d71885452602ef7db6c343b00df281f9eb2b25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/cloud/desktop_config_client.go:87-99 | internal/cloud/pairings.go:32-44 \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":"internal/cloud/desktop_config_client.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9be8e644abb41d3ce5b09d75d736348abe4794e0e3089420dc943a6f417bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/command/workflow.go:278-291 | internal/tools/workflow_tool.go:158-170 \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":"internal/command/workflow.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05e618eca5e035d1ef8b3d96500a7a1eb4f6b22a99e18faba752083eb0b873a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/tools/todo.go:279-286 | internal/tools/todo_enhanced.go:764-771 \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":"internal/tools/todo.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efec222622ab4cf3aa66b734fea44e306bdef25068bad557f0471ec25714230"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): internal/handler/web.go:1242-1252 | internal/tools/background.go:248-257 | internal/web/pty.go:177-185 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/handler/web.go"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"904443789deeb2d44596a529c6d1600b5418c3a245d13267461bd66b70fe424a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/cloud/desktop_config_client.go:123-132 | internal/cloud/account_settings.go:48-58 \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":"internal/cloud/desktop_config_client.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301f118d9da287e6691c96ea7b8b7042bb4e2ed1e7325c61d987a97bf7ff442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/cloud/config_sync_crypto.go:35-41 | internal/cloud/crypto.go:193-199 \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":"internal/cloud/config_sync_crypto.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2b066f53999b548f67b01f42b5befca2800e5897ae4eca868036753df341f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): agent-eval/suite/routing_verify.py:107-114 | agent-eval/suite/toolsearch_expect.py:266-271 \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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf27301897f560e8f2871491ed5f4d37bfa93da292ec39edc80626e6e6ca5c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/cloud/backoff.go:49-59 | internal/tools/ssh_reconnect.go:389-401 \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":"internal/cloud/backoff.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26b188b9c66217674745b4d4d7da697a643b3b28fdd101c4139a33444ba017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/memory/pipeline/phase1.go:403-414 | internal/memory/memory.go:77-87 \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":"internal/memory/pipeline/phase1.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64b453d393f3e2e47bef05ef8b9e70c162b76dca5209e956660e07375b32ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/tools/docker_exec.go:261-268 | internal/tools/env.go:802-810 \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":"internal/tools/docker_exec.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"746203126065a939a858494d21159ae3e0243a240d4c7fcdfa536ec6611a4fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/command/web.go:193-199 | internal/computer/helper_dial.go:40-46 | internal/runner/approval.go:743-749 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/web.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8591629cb36d0dc9eb7dc8214934fb3aaef7d9f0774b1f8bd318c5e11f03dcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/memory/memory.go:186-195 | internal/tools/read.go:204-213 \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":"internal/memory/memory.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dbb796fbf9b817a9bc00df680980ef8374281e357c1b90aae3ca5b1b16f0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/command/acp.go:213-223 | internal/command/mcp.go:84-93 \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":"internal/command/acp.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2510c60ef21f5667f3bbb207125564b3b05ea464a07ae11b42f63fce4b95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/agent/tool_plan.go:288-294 | internal/agent/toolsearch_agent.go:124-133 \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":"internal/agent/tool_plan.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5edace158d5b89ae400f9f5093ee1ca983dcd077f7387655d9d1da0ceda83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/cloud/account_settings.go:40-46 | internal/cloud/desktop_config_client.go:65-71 \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":"internal/cloud/account_settings.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b0856a6e58290d87ad4652a5c391a561d8997917a8954a61640cad078d69b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/session/security_dispatch.go:131-137 | internal/web/mcp.go:232-238 \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":"internal/session/security_dispatch.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87393bae6c259089852017768591a4f6f55a48552a3c5d0e71bd99e6e6acfed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/team/manager.go:507-513 | internal/tools/subagent_manager.go:271-277 \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":"internal/team/manager.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d04a8ba67dcc93f6a4e26f24ec2aa76328afbbadf5ad77901430fed77ccb96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): internal/artifact/managed.go:183-186 | internal/artifact/service.go:450-453 \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":"internal/artifact/managed.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"251c338acb86386c62a3d0f8d876777092057fc272b587b4bdc2b3a968ebe5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/session/provider_tool_operation.go:83-91 | internal/session/session.go:156-164 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"902ac40f39640ed858f501425dfa178376cd6703731a311fc0bb1fe0eb1bcda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/agent/reminder.go:354-360 | internal/tools/automation_tool.go:298-305 | internal/tui/format.go:89-96 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/reminder.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2b7f7911c08ec94fc7ac03a10a0109cd1a452c31869a803073e8a8c7d715c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): internal/flow/loader.go:104-109 | internal/tui/paste_store.go:57-63 \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":"internal/flow/loader.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b7ca6a963ad895754dd7a00f9e89f47093cd96148d68cc620ffb387b5ddcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/config/config.go:1352-1358 | internal/session/lastsession.go:20-26 | internal/session/session.go:512-518 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc25f21df788c5109e8e6d4114616b67864359dc9db004d651dd5f8042cf737d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/tools/mcp_oauth.go:127-133 | internal/tools/storage.go:675-681 \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":"internal/tools/mcp_oauth.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25629e9e9443885c2c5bcbcd6db76bfa9929ee66ef18fbcad22211aa4d0027e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201352 lines \u00D7 2): internal/telemetry/langfuse.go:330-381 | internal/telemetry/langfuse.go:410-458 \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 \u0060internal/telemetry/langfuse.go:330\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":"internal/telemetry/langfuse.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78e756a52b5d7773e5a17f232b603effd311d5fc0248fc85d4822813413f187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): internal/tui/update.go:940-967 | internal/tui/update.go:1323-1349 \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 \u0060internal/tui/update.go:940\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":"internal/tui/update.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b775ac6016ec6518bb0237f1d05b7b8e064c26a6cd6a673a5c428673e64a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 2): internal/computer/configmap.go:66-90 | internal/computer/manager.go:247-267 \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 \u0060internal/computer/configmap.go:66\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":"internal/computer/configmap.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9e022e606c9571763f48de4e78cde35eadac76a530f947e4316b92a88913e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): internal/agent/middleware.go:66-89 | internal/agent/middleware.go:186-204 \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 \u0060internal/agent/middleware.go:66\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":"internal/agent/middleware.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6476d61cf3c305167c2a2a4ab33c43802ab2bae726b24af6765c3198a52be82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): internal/tools/grep.go:208-231 | internal/tools/grep.go:592-614 \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":"internal/tools/grep.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"246aa67466866f985913aa6a9f3f61f8728007048724030f1db2665d9fdafe16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): internal/tui/channel_panel.go:100-122 | internal/tui/manage_models.go:200-222 | internal/tui/pickers.go:271-293 | internal/tui/pickers.go:360-382 | internal/tui/theme_picker.go:137-159 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/tui/manage_models.go:225\u0060 calls \u0060NewStyle\u0060, \u0060Foreground\u0060, \u0060Render\u0060 and \u0060internal/tui/channel_panel.go:125\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":"internal/tui/channel_panel.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ebcf107fa601618487ffac8762ed4ccf716f4c26e3a535368565e0a64cce2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): internal/tui/update.go:655-676 | internal/tui/update.go:1100-1122 \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. 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":"internal/tui/update.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ab9195821e8b026082973a68cb7c279617ee19999e2a723bfa547a323686cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 2): internal/agent/middleware.go:108-128 | internal/agent/middleware.go:223-238 \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 \u0060internal/agent/middleware.go:108\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":"internal/agent/middleware.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a88c9625b40eb6f970f9b6517cb64ae529c436ec2b52cc3eaf9d2e872ba1e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/tui/pickers.go:551-570 | internal/tui/pickers.go:600-619 \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":"internal/tui/pickers.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"750fc9e60ae87324cc3a57533a7b4f4cca66d123e071fd95c3a7b062ced9681e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/cloud/capabilities.go:214-232 | internal/cloud/capabilities.go:288-306 \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 \u0060internal/cloud/capabilities.go:214\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 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":"internal/cloud/capabilities.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1515ae65f915cfb9111dbe55dddcfd1fd6d1d210175493beaf42bc788c204fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/imagegen/client.go:446-464 | internal/imagegen/token_plan_multimodal.go:207-225 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/imagegen/client.go"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"153501304d0fb00dd2f92aa44f33d09d7fc3239bfde2aae827c0c2bcb2684328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/review/parse.go:49-67 | internal/tools/flow_spawn.go:256-274 \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 \u0060internal/review/parse.go:49\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":"internal/review/parse.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"635efe3f47da924e689e6e572fa782f6cd9e81925febb770a63ca1b5c15a2373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/web/artifacts.go:170-188 | internal/web/artifacts.go:347-365 \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 \u0060internal/web/artifacts.go:170\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 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":"internal/web/artifacts.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed51612d0fbafdaba440312b7aa46e5394820e140213fdb8c480b3f383a26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): internal/tui/pickers.go:323-340 | internal/tui/pickers.go:412-429 | internal/tui/pickers.go:640-657 \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":"internal/tui/pickers.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9bdbfa75040dd036234b49fb76650c0930fa518c0ea6ca5de930d7727047ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/providerauth/copilot.go:81-98 | internal/providerauth/xai.go:140-157 \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 \u0060internal/providerauth/copilot.go:81\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 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":"internal/providerauth/copilot.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289e24a06e22ebea6b424ee9f9bcf61fda4084256ebfb6d840131af6b6be660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/tui/update.go:682-699 | internal/tui/update.go:1128-1145 \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 \u0060internal/tui/update.go:682\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 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":"internal/tui/update.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd1120bbc2b39cd1000b602f40bb4816246625e0a3890f094a2af6ea6653fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/review/review.go:300-316 | internal/review/session_cache.go:89-105 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/review/review.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c446549008443c75f80885b1422e168b9502f249c8ea720811c95a966a01f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): internal/tui/update.go:812-828 | internal/tui/update.go:1297-1312 \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 \u0060internal/tui/update.go:812\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":"internal/tui/update.go"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f715563f3820bb406a501740cf700616a365e0e3f7d1faeb3d2d4825dc5c237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/web/models.go:549-565 | internal/web/models.go:612-628 \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 \u0060internal/web/models.go:549\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"115f23cc7ea40a0d4161dec29c2b9dcf494968237b077066d4d398ec2f7c829e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): internal/providerauth/store.go:141-156 | internal/providerauth/store.go:164-177 \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. 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":"internal/providerauth/store.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacdf196062a5dcc3d44036674206f055c9ab5c8d6233e031e97f7a9499f7ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/tui/update.go:758-773 | internal/tui/update.go:796-811 \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. 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":"internal/tui/update.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"833c8a2e56a0528589873ae9c32e1498180b622de33ff1232fb54b4f1d7991e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/web/files.go:199-214 | internal/web/files.go:342-357 \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 \u0060internal/web/files.go:199\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":"internal/web/files.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4838b0355927b83168baf0f01f1be65298b21fd77b8e51ad3ab80b8fb63124f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): internal/web/providers.go:861-876 | internal/web/setup.go:284-296 \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 \u0060internal/web/providers.go:861\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":"internal/web/providers.go"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2262558bf89685dba2f3e7aeebffb2c0abeb551e19bba024bff1d55a3dbb2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/session/session.go:1789-1803 | internal/session/session.go:1814-1828 | internal/session/session.go:1869-1883 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead8453427029ef2ac44460632b2abedd6af7a95b35f125e5c0b6dbee76ca12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): internal/command/acp.go:1280-1292 | internal/command/acp.go:1362-1376 \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":"internal/command/acp.go"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bb36de43228d9020c4338385b5b6fcef96643637d4eaf8dffb705be92f68ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): internal/config/config.go:1262-1276 | internal/config/config_mutation.go:66-76 \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. 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":"internal/config/config.go"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"875ddd66e21df188cd460f076a1244135e7ca168a1c6feb10af585c42a2b86b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/config/project.go:46-60 | internal/util/envinfo.go:57-71 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/project.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c699a087625297312f3a0e0e5a17b453b6260cef678adb81a74462d7d86f8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/session/provider_tool_operation.go:136-150 | internal/session/session.go:1028-1042 \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. 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"838a1318f0c2c63a9a815783706a5b9122e5557c6db123b0f1cd478dd1a2fe3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): internal/tools/edit.go:238-252 | internal/tools/edit.go:321-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/tools/edit.go:238\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060internal/tools/edit.go:238\u0060 is reached only past a guard at line 182 that tests \u0060input.NewString\u0060 and \u0060input.OldString\u0060 and leaves the function early, and \u0060internal/tools/edit.go:321\u0060 reads \u0060input.NewString\u0060 and \u0060input.OldString\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/edit.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfac840c8f99f99580b4c15c38033f40761eb9c960337c9c5d74742474b5bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/web/cloud_pairings.go:79-93 | internal/web/cloud_pairings.go:112-126 \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 \u0060internal/web/cloud_pairings.go:79\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/cloud_pairings.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2e72b0b7af931ad9ec84a6edc5ab89044638e31edcd4e3f53de80a3591e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/artifact/managed.go:560-573 | internal/imagegen/client.go:761-774 \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 \u0060internal/artifact/managed.go:560\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":"internal/artifact/managed.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4591b9011353bdee71b1a3ba512858ee03f09361ff738e0a2e613d8a197839e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/channel/ble/ble_cgo.go:33-46 | script/poc/ble.go:16-29 \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. Check import visibility before settling on that home: \u0060internal/channel/ble/ble_cgo.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_cgo.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d877331df3ccd3ed2dd0925a8290932024478c970940aa2d278820fb002f0d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/cloud/provider_sync.go:109-122 | internal/tools/ssh_known_hosts.go:260-273 \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 \u0060internal/cloud/provider_sync.go:109\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":"internal/cloud/provider_sync.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc12ab5c2133025de3f3a1b8bdb60e7fc8f15b147e119a729982d55146a305e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): internal/runner/runner.go:538-547 | internal/runner/runner.go:585-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. 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":"internal/runner/runner.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a4b0030787c0a52820129e12a7d0486ee5506a3be4335234c433c629a667ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): internal/tools/edit.go:194-207 | internal/tools/edit.go:503-512 \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 \u0060internal/tools/edit.go:194\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. 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":"internal/tools/edit.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eab34bf5136542b17d73a6395b6c3a82dac9ff6ef9b3321f4c68523aaf3198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/tools/storage.go:278-291 | internal/tools/storage.go:457-470 \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 \u0060internal/tools/storage.go:278\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 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":"internal/tools/storage.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0537d7e305e6dbecb21e0cc8804d2e8217cf61c39ec13381177f03ec78f6c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): internal/tui/pickers.go:56-68 | internal/tui/pickers.go:173-186 \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 \u0060internal/tui/pickers.go:56\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":"internal/tui/pickers.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef07d9c567ba4735a16c9dfea3575aa22ffb009d33f2a423234bc7fa35ff12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/web/mcp.go:454-467 | internal/web/mcp.go:538-551 \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 \u0060internal/web/mcp.go:454\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 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":"internal/web/mcp.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b522551860ddf0c8822dfd0177d99bfcb09810797b11c9320480a61b45206b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/tui/pickers.go:51-63 | internal/tui/pickers.go:104-116 | internal/tui/pickers.go:168-180 \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":"internal/tui/pickers.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"89542471c13670dd5af9e01edd8b39d0ae5f3db4a68096e9f15788c7d9d092c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): internal/artifact/managed.go:526-552 | internal/imagegen/client.go:724-750 \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 \u0060internal/artifact/managed.go:526\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":"internal/artifact/managed.go"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc7e7b74466331c94eda0278063e2dc740f22d477b333f14f53bc12409432a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/runner/approval.go:584-596 | internal/runner/approval.go:840-852 \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 \u0060internal/runner/approval.go:584\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":"internal/runner/approval.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"89412d3edddbf31b08f60bedee6a7be7745a1667a8395d6127f81bbddada42e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/web/session_draft_pr.go:123-135 | internal/web/session_draft_pr.go:317-329 \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 \u0060internal/web/session_draft_pr.go:123\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 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":"internal/web/session_draft_pr.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d931c9fc182240d1623e7ed56b6ca15721a55850277255bba11703d02b111ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): internal/command/acp.go:523-534 | internal/command/interactive.go:1485-1494 | internal/command/workflow.go:228-236 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/command/acp.go:523\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":"internal/command/acp.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6092281dc57983d342e3d2c80650af561ccad0659be1b12f8a1b3c258b322b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): internal/cloud/client.go:189-200 | internal/cloud/client.go:238-248 \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 \u0060internal/cloud/client.go:189\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. 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":"internal/cloud/client.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cfd2b92de0512e9ea11ae3abf219d7e818de4c7534aba1d434c071230a5484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/cloud/provider_sync.go:466-477 | internal/cloud/provider_sync.go:505-516 \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 \u0060internal/cloud/provider_sync.go:466\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/cloud/provider_sync.go:465\u0060 calls \u0060cloneProviderConfig\u0060 and \u0060internal/cloud/provider_sync.go:504\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":"internal/cloud/provider_sync.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c299c6e17aec980615a181b8c22bee5f6047c5998fbfcbe4cf44fdda62438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/command/acp.go:609-621 | internal/command/web.go:663-675 \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 \u0060internal/command/acp.go:609\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":"internal/command/acp.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12ce320e1a3b259f4f675872c6f54efdfe7a30ca8e432f50c7da15f9053cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): internal/command/interactive.go:1073-1084 | internal/command/interactive.go:1160-1169 \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 \u0060internal/command/interactive.go:1073\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":"internal/command/interactive.go"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed04a9b7723913d33d6ece59a30e3eab5e2a5843110988ff9a8729256e5fcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/command/login.go:167-178 | internal/web/cloud_login.go:223-234 \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 \u0060internal/command/login.go:167\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":"internal/command/login.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e16cfff2c3c6d521f8af85d59ded81acfbde31b5625bc488ec14d6cb461d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/providerauth/filelock_unix.go:14-25 | internal/tools/ssh_known_hosts_lock_unix.go:14-25 \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":"internal/providerauth/filelock_unix.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1b4613a5cd9eca360a32fd0673786f3bedccd2e0c17d6e04d232d74f20382f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/web/providers.go:920-931 | internal/web/setup.go:392-403 \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 \u0060internal/web/providers.go:920\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":"internal/web/providers.go"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce7e806532c85ed6170fc705332ecac52f53de9c44456a9f6e36313049df09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/tui/input_views.go:265-275 | internal/tui/input_views.go:465-475 | internal/tui/input_views.go:510-520 \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 \u0060internal/tui/input_views.go:265\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/input_views.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af15eba97c4ea885416954917e7c18bd2a0abf09ae22e80e131d0fa3b3f9bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): internal/model/chatmodel.go:665-676 | internal/model/responses.go:388-397 \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 \u0060internal/model/chatmodel.go:665\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/chatmodel.go"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"c428f10c71a6822c37d07d4d6b942cd122e4c03f183e59da79dd47fc21857692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): internal/tui/theme_picker.go:77-85 | internal/tui/theme_picker.go:123-133 \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 \u0060internal/tui/theme_picker.go:77\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/theme_picker.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b489f1f67dee5436adda4f58288d1508472df587a89f612dd8c658405b458b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/tui/update.go:244-254 | internal/tui/update.go:318-328 \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 \u0060internal/tui/update.go:244\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 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":"internal/tui/update.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"057744e46b0d582739d771599879852d392f1b4d9daf180bd8b2579f42df425f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/web/artifacts.go:424-434 | internal/web/artifacts.go:444-454 \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 \u0060internal/web/artifacts.go:424\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 after the matched lines, \u0060internal/web/artifacts.go:435\u0060 calls \u0060Logger\u0060, \u0060Printf\u0060 and \u0060internal/web/artifacts.go:455\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":"internal/web/artifacts.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72d2b7b19f21fc807cd30d06117bd8eb667f00e5eb0a8a117c18a2cd94e7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/web/cloud_config_sync.go:91-101 | internal/web/cloud_config_sync.go:116-126 \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. 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":"internal/web/cloud_config_sync.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"34438802aac0a133a6fe53176cff52cafe3f8b12e0bf33ffaeadd50f2132b2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/web/cloud_login.go:347-357 | internal/web/cloud_login.go:363-373 \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 \u0060internal/web/cloud_login.go:347\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/cloud_login.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"288fdbf7498bf87d93bb2cda10fdbd9483d8fec5ad81d177f6f7b2ebdf1f4e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): internal/computer/screenshot_filelock_windows.go:18-27 | internal/config/config_filelock_windows.go:15-24 | internal/providerauth/filelock_windows.go:16-25 | internal/session/security_filelock_windows.go:15-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. 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":"internal/computer/screenshot_filelock_windows.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354fb7626695621ec94ee967191ccd9889cdd81d3a55d0c87db379bfe028b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): internal/web/channel.go:134-143 | internal/web/mcp.go:452-461 | internal/web/mcp.go:536-545 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. 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":"internal/web/channel.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5d0517c404b9ceeef382adfe96b24c8f7a15f4cf0e4428a716d1e625133a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/browser/bridge.go:231-240 | internal/browser/cdp.go:109-118 \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 \u0060internal/browser/bridge.go:231\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/bridge.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a523a9be05ba38652ce518fa17dba2472179e4ded1d2f10023c84e84e6c2de3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/command/acp.go:433-442 | internal/command/acp.go:1362-1371 \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":"internal/command/acp.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6020a4d6e7fb401af70f8df0de3b553e1764ec0a9ba8ddc450901b73b8120b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/imagegen/client.go:303-312 | internal/imagegen/token_plan_multimodal.go:164-173 \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 \u0060internal/imagegen/client.go:303\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 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":"internal/imagegen/client.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e8fdaecb53a889c2b87f67da89656a58a06ca6b14e369c46b5f3ad608c68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/model/retry.go:604-613 | internal/model/retry.go:617-626 \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 \u0060internal/model/retry.go:604\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":"internal/model/retry.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fec00c6889542e806c58c5c7503796c570bbd1988a1a39ed1b6d21e2c3a6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/team/manager.go:723-732 | internal/team/manager.go:756-765 \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 \u0060internal/team/manager.go:723\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":"internal/team/manager.go"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc600556641585ba9200843a4e108463626c2a706b93bb5390ac0eafe1d52d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/tools/docker_exec.go:421-430 | internal/tools/env.go:609-618 \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 \u0060internal/tools/docker_exec.go:421\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":"internal/tools/docker_exec.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b44975f3eee4895d172452394db5f8384fbdd1c748c67b0198dbfe09191bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/web/cloud.go:101-110 | internal/web/cloud_sync.go:102-111 \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 \u0060internal/web/cloud.go:101\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/cloud.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad8310e03802e5a65b21517bc60385c52c4860b71ba0760bf71ceae6185481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/web/models.go:813-822 | internal/web/models.go:959-969 \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 \u0060internal/web/models.go:813\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 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":"internal/web/models.go"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd49058fe7189d867c23b12a8eb93896a8e67c58309af01d36eab09bc067e969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/web/setup.go:174-183 | internal/web/setup.go:306-315 \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 \u0060internal/web/setup.go:174\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":"internal/web/setup.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bae02ddbb0d7843a90d574a4bb409f61db61b5a5a888799133fa4c7d3c04e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): internal/session/provider_tool_operation.go:143-151 | internal/session/security_dispatch.go:110-119 | internal/session/session.go:1035-1043 | internal/session/session.go:1227-1236 | internal/session/session.go:1276-1284 \u2014 there are 5 copies across 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/session/provider_tool_operation.go:143\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 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8761eb7871ebdaf04ca099f84eee5cdf87b1430b71f43d05facc0a22dcaa4a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/web/channel.go:129-137 | internal/web/mcp.go:531-539 | internal/web/skills.go:57-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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/channel.go:129\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 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":"internal/web/channel.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f803061879f7430cb0a637302e834b5ee2cf27aebca39f828c3b6f742d6a354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/web/mcp.go:434-442 | internal/web/mcp.go:476-484 | internal/web/mcp.go:556-564 \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 \u0060internal/web/mcp.go:434\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, \u0060internal/web/mcp.go:553\u0060 calls \u0060cloneMCPServer\u0060 and \u0060internal/web/mcp.go:474\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":"internal/web/mcp.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b389a22e44e7ca07224279c92512bf5496af4b8ee4669b8a6f2cc956571bac86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/web/models.go:814-822 | internal/web/models.go:961-969 | internal/web/providers.go:1086-1095 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/models.go:814\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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/web/models.go:810\u0060 calls \u0060legacyEnabledCustomModels\u0060, \u0060discoverCustomModelMetadata\u0060 and \u0060internal/web/providers.go:1083\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":"internal/web/models.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc97b64f92162fc430782c429e671f7e923551f662c49fc7980f2067f408b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/hook_middleware.go:68-76 | internal/agent/hook_middleware.go:129-137 \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 \u0060internal/agent/hook_middleware.go:68\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":"internal/agent/hook_middleware.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"467630e82e3fe06443cfd68885e95e3ea1053905c51a8a0f0dce66e4298ad207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/middleware.go:47-55 | internal/tools/subagent.go:157-165 \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 \u0060internal/agent/middleware.go:47\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 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":"internal/agent/middleware.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5546d4c7de55dde038f7f9fd3752ebdf4faa91ff45b027db580f94cf80934335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/automation/filelock_unix.go:19-27 | internal/memory/filelock_unix.go:17-25 \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 \u0060internal/automation/filelock_unix.go:19\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":"internal/automation/filelock_unix.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e33c92e2dbe1a86a3179e4993637645f82762fa85adbd77906944c5381985f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/cloud/connector.go:1035-1043 | internal/cloud/connector.go:1095-1103 \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 \u0060internal/cloud/connector.go:1035\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":"internal/cloud/connector.go"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d49263b73f55b23e7e29d04809c88701328339558b55a31068be6ad3627d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/cloud/history_sync.go:236-244 | internal/session/session.go:1928-1936 \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 \u0060internal/cloud/history_sync.go:236\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":"internal/cloud/history_sync.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cc4e88b5f1e60b61eb058b2f2e2be398afba1b01d0aabc10bd3da7009ef4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/session/security_dispatch.go:47-55 | internal/session/security_dispatch.go:86-94 \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 \u0060internal/session/security_dispatch.go:47\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":"internal/session/security_dispatch.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1687e2d380e0a23ef7ac3ffa38de5eafd1b37b0c07e605128f7507917b118049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/web/files.go:44-52 | internal/web/project.go:32-40 \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 \u0060internal/web/files.go:44\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 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":"internal/web/files.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c454bf01ba6eae27a49f1d4db638fb1e9784cfb4fc6f2d03b6188af8c89a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): internal/automation/filelock_unix.go:18-25 | internal/computer/screenshot_filelock_unix.go:17-24 | internal/config/config_filelock_unix.go:14-21 | internal/memory/filelock_unix.go:16-23 | internal/session/security_filelock_unix.go:14-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. 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":"internal/automation/filelock_unix.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdb9603c0b7fb6c084cfcc28e3c079aea4eaae0dabe000de181112191bda65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): internal/tui/input_views.go:266-273 | internal/tui/input_views.go:466-473 | internal/tui/input_views.go:511-518 | internal/tui/update.go:959-966 | internal/tui/update.go:1341-1348 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/tui/input_views.go:266\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":"internal/tui/input_views.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8ac5c2d08b3e5a83c02f22684b1aad075000716b8969cf20197d8ce7475a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/cloud/credentials.go:153-163 | internal/cloud/sync_store.go:205-212 | internal/config/config.go:1287-1297 \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 \u0060internal/cloud/credentials.go:153\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 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":"internal/cloud/credentials.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"652518def2ee4afc5e6058a9e3e8b796b5225b93d9f09a922090abc4540bdf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/web/agents.go:59-66 | internal/web/models.go:370-377 | internal/web/project.go:202-209 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/agents.go:59\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 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":"internal/web/agents.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f567b6a33c8abd824c76f1c8aee196417b236da832188b8a41a72e1c03b238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/web/models.go:547-554 | internal/web/models.go:610-617 | internal/web/models.go:703-710 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"17909a5db194f09483c2744ef3a2a08de25e1abe8c616f5dd8196b31a8aa30ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/cloud/pairing_inbox.go:139-146 | internal/cloud/pairing_inbox.go:152-159 \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":"internal/cloud/pairing_inbox.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede33048abf68d6e1df7931c572a839fcd08f0686e1ab64b4c476f0494616f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/command/acp.go:735-742 | internal/command/interactive.go:1567-1574 \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 \u0060internal/command/interactive.go:1567\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":"internal/command/acp.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e48cd59884fb0706bd2d80f63163d52f14f59b8f054215e70839e455f5623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/command/provider_runtime_verifier.go:19-26 | internal/command/provider_runtime_verifier.go:33-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/command/provider_runtime_verifier.go:19\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":"internal/command/provider_runtime_verifier.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7422ba3445fc41a99276871bc29c935592513c0f644f79880246b16f17d75779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/memory/filelock_windows.go:15-22 | internal/tools/ssh_known_hosts_lock_windows.go:15-22 \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":"internal/memory/filelock_windows.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8eab270318abad91137a8c5fe193ccd48115c49ad356d2c55765d408b1948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/providerauth/codex.go:186-193 | internal/providerauth/xai.go:229-236 \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 \u0060internal/providerauth/codex.go:186\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":"internal/providerauth/codex.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"85afacb8235d4d8966284448e6feaa3c19ae506645cccc22eb4bb26288e0606f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/providerauth/copilot.go:49-56 | internal/providerauth/xai.go:53-60 \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 \u0060internal/providerauth/copilot.go:49\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 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":"internal/providerauth/copilot.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe79510dd93227e532278f61a344c8e6954910559cac1d496b096663a4939d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/providerauth/manager.go:532-539 | internal/providerauth/manager.go:549-556 \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. 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":"internal/providerauth/manager.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a99cc5bbda6bf882a935e15b203809cbac6e8052bcb0ae440f75102adf3c876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/runner/runner.go:639-646 | internal/tools/subagent.go:522-529 \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 \u0060internal/runner/runner.go:639\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":"internal/runner/runner.go"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c5440a8a85541785f78c3ffd7c938c7523cc906e86cbd208c15496116b6704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/session/provider_tool_operation.go:261-268 | internal/session/session.go:2122-2129 \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 \u0060internal/session/provider_tool_operation.go:261\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/provider_tool_operation.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0c40425b9f4b9c2e56b5615c4bbc142bd3d98709c60d2ac9884f9d47f4522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/tools/read.go:77-84 | internal/tools/write.go:54-61 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/read.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a6521480d43b1b60eb3f9a34fb19d08e8429243e46e6660eb2b69862a00eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/artifacts.go:169-176 | internal/web/artifacts_desktop.go:27-34 \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 \u0060internal/web/artifacts.go:169\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 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":"internal/web/artifacts.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4343b060f137cdc0014d4262582684eaffb225127fdc89264fd1315652c7eb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/browser.go:86-93 | internal/web/computer.go:164-171 \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. 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":"internal/web/browser.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9bf168831b70f0839b431b8f321b7124d72d62fa56c7b4593a7e78102108b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/remote.go:298-305 | internal/web/remote.go:341-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":"internal/web/remote.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db405155824cdf109817eaaee9a8cd3d2b00f675defcbba03b097ac02184673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/sessions.go:343-350 | internal/web/sessions.go:362-369 \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. 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":"internal/web/sessions.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a744f4a870ac21689e5ea5964e236d86a2d7607c9c93715dc328aa793c2f0c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/usage.go:56-63 | internal/web/usage.go:149-156 \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 \u0060internal/web/usage.go:56\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":"internal/web/usage.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"858285400252df8cd644c00b523ab71a8d499135f37daac532f86eef7b9136ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): internal/web/mcp.go:434-440 | internal/web/mcp.go:476-482 | internal/web/mcp.go:506-512 | internal/web/mcp.go:556-562 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/web/mcp.go:553\u0060 calls \u0060cloneMCPServer\u0060 and \u0060internal/web/mcp.go:474\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":"internal/web/mcp.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c379253b1ecb0c8b05d0c71fd3136f26ca10908977693f0aeb0620961533c6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/cloud/credentials.go:131-137 | internal/config/config.go:1270-1276 | internal/config/config_mutation.go:70-76 \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. 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":"internal/cloud/credentials.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08ad83b20e0a8aa696e1f5998cbe9bdfc4c643b1d01a9b988a006bbb84e43d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/web/models.go:707-714 | internal/web/models.go:739-746 | internal/web/models.go:1009-1016 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"337cf69f5518fe5eea191195a63083d54636f9064032064230e75f264f5b4dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/cloud/artifact_share.go:241-247 | internal/cloud/artifact_share.go:264-270 \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 \u0060internal/cloud/artifact_share.go:241\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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/cloud/artifact_share.go:240\u0060 calls \u0060Set\u0060 and \u0060internal/cloud/artifact_share.go:263\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":"internal/cloud/artifact_share.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"35855237ceda61ffdb21a67b225eaa44d85792597861db2fe188bbd9567a12b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/command/acp.go:685-691 | internal/command/web.go:740-746 \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 \u0060internal/command/acp.go:685\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":"internal/command/acp.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42328b19d734b6d62e47a6073cb30a3326eef7ce627062d901b347c884638f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/review/parse.go:38-44 | internal/tools/flow_spawn.go:236-242 \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":"internal/review/parse.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d92546289c4391ed5802f21b8b68cde3b2c625c14efb0975391b9f93dba1627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/tui/update.go:191-197 | internal/tui/update.go:219-225 \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":"internal/tui/update.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2f49d0d9710bacc9d61312f8550787bd6e8f2c03f967359fd33976af78e2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/web/agents.go:20-26 | internal/web/git.go:18-24 \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 \u0060internal/web/agents.go:20\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":"internal/web/agents.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef23aab84fb3d968a38938667e1e1f8db6e4acbb1c9cb8b25b2fcb2c1a84635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/web/approval.go:125-131 | internal/web/approval.go:136-142 \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 \u0060internal/web/approval.go:125\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 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":"internal/web/approval.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b034617182f36fdca40cfd1d0dc53b690a5286cc1ac9ffa683368c86b3b981f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/web/artifacts.go:84-90 | internal/web/artifacts.go:406-412 \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 \u0060internal/web/artifacts.go:84\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":"internal/web/artifacts.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b73f75bcffd6bab1e03bb002468477ab1abfe23fcfc6f72e3895a5836a1e6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/web/remote.go:512-518 | internal/web/remote.go:560-566 \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 \u0060internal/web/remote.go:512\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/remote.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0311fe7887f41c232c556de3bfca53d26f4f81ebdbaeb5e2c2a8f9c131913eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/command/interactive.go:1022-1028 | internal/command/interactive.go:2007-2013 \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 \u0060internal/command/interactive.go:1022\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":"internal/command/interactive.go"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba05ca08524b98b0ee1d15597a5152d26ed556e83eace739523474345bc1387f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/model/chatmodel.go:204-209 | internal/model/chatmodel.go:228-233 \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":"internal/model/chatmodel.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d43e4cae837ef6c4aca4bd1a4cb3dce61694ad22b9be3e2579602074809d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/tools/edit.go:234-239 | internal/tools/edit.go:548-553 \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. 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":"internal/tools/edit.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd748bc60260ec25d15c9670be3bd029fdfb25b31c296915cd238dd0cfbec58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/tui/content_render.go:84-90 | internal/tui/content_render.go:94-100 \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 \u0060internal/tui/content_render.go:84\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":"internal/tui/content_render.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cfcd32e64cec1d5195d59e242f8292431d3dd35bbf62eb35dc1e79d81723af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/activation.go:153-160 | internal/web/sessions.go:570-577 \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. 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":"internal/web/activation.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0be2f5b4839c987b25492b087d477e8eb20d2d648800723dfb8fdd455a4a0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): internal/web/chat.go:37-40 | internal/web/remote.go:475-480 | internal/web/remote.go:526-531 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/remote.go:475\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/web/chat.go:37\u0060 calls \u0060NewDecoder\u0060, \u0060LimitReader\u0060, \u0060Decode\u0060 and \u0060internal/web/remote.go:475\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":"internal/web/chat.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b7697a26e4007423d39f85d29f720d6032c103bddbc6c922657e753f5c4586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): internal/computer/screenshot_filelock_windows.go:17-22 | internal/config/config_filelock_windows.go:14-19 | internal/memory/filelock_windows.go:14-18 | internal/providerauth/filelock_windows.go:15-20 | internal/session/security_filelock_windows.go:14-19 | internal/tools/ssh_known_hosts_lock_windows.go:14-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/computer/screenshot_filelock_windows.go:17\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/screenshot_filelock_windows.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9edce403a508758ff259471635fb8b893ffc2fbc18f79447b6b0335d4f8a021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/tools/edit.go:238-242 | internal/tools/edit.go:321-325 | internal/tools/edit.go:552-556 \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 \u0060internal/tools/edit.go:238\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":"internal/tools/edit.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"30801ea9fa1aadff49d0ab96d5d38e32d1498fa8da4e55db35ac074cfbadb6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/automation/filelock_unix.go:32-37 | internal/memory/filelock_unix.go:37-42 \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 \u0060internal/automation/filelock_unix.go:32\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":"internal/automation/filelock_unix.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea72f509756251a83fe64c011c41ed3d69ddc3268f0033c378e028db628e3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): internal/command/interactive.go:841-845 | internal/command/interactive.go:884-888 | internal/command/interactive.go:914-917 \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. 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, \u0060internal/command/interactive.go:848\u0060 calls \u0060handlePlanCompletion\u0060 and \u0060internal/command/interactive.go:889\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":"internal/command/interactive.go"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bbad4b3a0430542c0ce0f6c8f5baefc3f9db776983cd974f107ec65c6a0b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/command/interactive.go:2079-2084 | internal/command/web.go:1356-1360 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf9f4b0443bb255578bbc4221394d97b0fe538a926963c001e46b72ab99be51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/command/mcp.go:158-163 | internal/command/mcp.go:217-222 \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. 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":"internal/command/mcp.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f75e310f1c10c931d9e9e7c9cf0d3bf3e80c7f9ac16358fa10fd4a4b284db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/handler/acp.go:751-755 | internal/handler/acp.go:838-842 \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 \u0060internal/handler/acp.go:751\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":"internal/handler/acp.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b31cf4467864337cd683f6c1db348979d2c9cb577e376be0bebde83f46542a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/imagegen/client.go:261-267 | internal/imagegen/token_plan_multimodal.go:140-146 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/imagegen/token_plan_multimodal.go:148\u0060 calls \u0060Set\u0060 and \u0060internal/imagegen/client.go:268\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":"internal/imagegen/client.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd158ce7f35f0c0f6a6e8307d91ee685386d81de08d51cfe563fe41e67e2b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/tui/update.go:1515-1523 | internal/tui/update.go:1557-1565 \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":"internal/tui/update.go"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f717713ea76f48985b00347325aaf4a07405db30112df47ee6d5306b47e4e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/tui/update.go:1651-1655 | internal/tui/update.go:1975-1979 \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 \u0060internal/tui/update.go:1651\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/tui/update.go:1980\u0060 calls \u0060textLine\u0060, \u0060Focus\u0060 and \u0060internal/tui/update.go:1656\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":"internal/tui/update.go"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a16fb645e5545745170670489ab554b352a07070c37e707c6bd7c8c171e81a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/web/models.go:408-412 | internal/web/models.go:446-451 \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":"internal/web/models.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fea8d419a9a19c6a1beb49671bfba2a0fb31482dc8cbcaf4f3de6c083a0993e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/agent/tool_result.go:21-32 | internal/telemetry/langfuse.go:468-479 | internal/tools/subagent.go:220-231 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tool_result.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b020d3fcc2bdfb191d527020d2a82415986917d28b5b7ca472130886be690b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/turn_budget.go:269-276 | internal/model/chatmodel.go:1030-1037 \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":"internal/agent/turn_budget.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f1bb846006259af595c952e5bcdf0f7f3e7679d7bb5f0c8dca936e39c030e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/automation/filelock_unix.go:46-52 | internal/computer/screenshot_filelock_unix.go:28-34 \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":"internal/automation/filelock_unix.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4860f1967f474bb356f19dbce9e6854657024c9c20821196770732e2734e898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/automation/filelock_windows.go:54-61 | internal/computer/screenshot_filelock_windows.go:31-38 \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":"internal/automation/filelock_windows.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfc36e2f76a3db24ada9fc6f7eae712059d5b704d92748c6b36b287c8da52a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/browser/bridge.go:306-314 | internal/browser/cdp.go:205-213 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060c *bridgeConn) setHandler(tabID\u0060 in one and \u0060c *wsCDP) setHandler(sessionID\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/bridge.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e308c56e924d5122484689fb19e07514ef56fd66ad70253984e33cdf2773c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): internal/config/config_filelock_unix.go:25-31 | internal/providerauth/filelock_unix.go:29-35 | internal/session/security_filelock_unix.go:25-31 | internal/tools/ssh_known_hosts_lock_unix.go:29-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config_filelock_unix.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"17445652404428c880ce20b844a0a6bd0f97f0549c571cca94f3e98ac8cf073f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): internal/config/config_filelock_windows.go:28-35 | internal/providerauth/filelock_windows.go:29-36 | internal/session/security_filelock_windows.go:28-35 | internal/tools/ssh_known_hosts_lock_windows.go:26-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config_filelock_windows.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a520d78410f84a61ccebc4a68ca1e419c64e08761db895c3f8b8f243977c68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/model/chatmodel.go:423-432 | internal/model/responses.go:104-116 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/chatmodel.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e4086f638dd8dcc0edc4556345eedd5a423316331b18b66c07e1333372e401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/model/responses.go:138-147 | internal/providertools/manifest.go:517-526 \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":"internal/model/responses.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"97027934af269096069941cf71622bffac7dbb39195f2f61b1cb40474720ab68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/providerauth/filelock_unix.go:39-46 | internal/session/sync_dir_unix.go:7-14 \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 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":"internal/providerauth/filelock_unix.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90704ac50268866a6731d7afc0546316f7fe9eff14deb2401f3524e59030b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/cloud/credentials.go:67-73 | internal/cloud/sync_store.go:43-49 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/credentials.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1f83edd4f49e53a9db3ef562f268ed66f4890438c0bb453583e2cd5a6270af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/tools/todo.go:73-82 | internal/tools/todo_enhanced.go:266-275 \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. 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":"internal/tools/todo.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2e43514c2fe9b8b243561b8f36b1904f7f99857cad2943b9b1b0937d8927a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/tools/grep.go:422-436 | internal/tools/grep.go:463-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":"internal/tools/grep.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f78d6fd0d41df6d6bac595629740037f16f807384dd102385b3ad5a978b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/tools/grep.go:381-393 | internal/tools/grep.go:422-436 | internal/tools/grep.go:463-475 \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":"internal/tools/grep.go"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"27977823df3cdb61cf83b00d73f2f26418f8c9698635e3011636c19193a0326b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/web/remote.go:483-494 | internal/web/remote.go:534-542 \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 \u0060internal/web/remote.go:483\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 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":"internal/web/remote.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a176c9a3d42f14155794ccc0c8511aa640f4d6621b575d1f551b3998cb813b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/command/interactive.go:1530-1540 | internal/command/web.go:506-516 \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 \u0060internal/command/interactive.go:1530\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":"internal/command/interactive.go"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a262c41255900bdad8192098ed8b57c539c825cefe7cca29e555c96521ec7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/providerauth/copilot.go:33-42 | internal/providerauth/xai.go:37-46 \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 \u0060internal/providerauth/copilot.go:33\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":"internal/providerauth/copilot.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa298509ac8d310de7af37b1637717e9e0e97a9df951ecb722dd4b150fdcab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/tui/browser_command.go:17-26 | internal/tui/computer_command.go:21-30 \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 \u0060internal/tui/browser_command.go:17\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":"internal/tui/browser_command.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1760d60888a365a31903872d168986c4a5362301ac957023073c3fc235a6b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/tui/input_views.go:455-464 | internal/tui/input_views.go:500-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":"internal/tui/input_views.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07b0fa6b3ece9ecd68a788ca357e2c9381867e49f6503974689f22a5ac2da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/tui/tui.go:311-319 | internal/tui/tui.go:325-333 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/tui/tui.go:308\u0060 calls \u0060SetFilteringEnabled\u0060 and \u0060internal/tui/tui.go:322\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":"internal/tui/tui.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa845680d2b13b70595f11117778948fe120100f6899845be0ab28e01e0e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/command/channel.go:75-83 | internal/command/channel.go:103-111 | internal/command/channel.go:135-143 \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 \u0060internal/command/channel.go:75\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":"internal/command/channel.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f40f287967a3371b80ccd1ef6f61004ca23f47797e81a59a2b7338d95f65dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/tools/edit.go:187-195 | internal/tools/edit.go:493-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. 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":"internal/tools/edit.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab904ac1390ec8c38445cd5044a190c19213f8913c12f882bab57883a12ca06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/cloud/connector.go:1040-1048 | internal/cloud/connector.go:1100-1108 | internal/cloud/connector.go:1127-1135 \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 \u0060internal/cloud/connector.go:1040\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. 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":"internal/cloud/connector.go"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9d495921618232354eef150c2f3c5fed259d428a3ff7033a044a13d9790dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/tui/browser_command.go:34-42 | internal/tui/computer_command.go:38-46 \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 \u0060internal/tui/browser_command.go:34\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/browser_command.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e199fc57e9ff80e58dd09bdcf6dce4d8535fa68aea5d9446ef872e2b0678e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/cloud/history_sync.go:87-95 | internal/cloud/provider_sync.go:102-110 | internal/providerauth/store.go:211-219 \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 \u0060internal/cloud/history_sync.go:87\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 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":"internal/cloud/history_sync.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803a3777de85b316bdac6ad73b1b3c39e59068f7bcdac1f2ece7d9bf3f5ca63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/command/interactive.go:981-989 | internal/command/interactive.go:2036-2044 \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":"internal/command/interactive.go"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"8257260cf3b54bd05ff054295100ea579c0ce43efb2b9e6f0718b0d1eb7a1bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/tui/pickers.go:294-301 | internal/tui/pickers.go:383-390 \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":"internal/tui/pickers.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f2402d0c34aa1a4f81d062c4a8c9ad959eabbffe7461fe98637a0e4460b374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/tui/tui.go:297-304 | internal/tui/tui.go:312-319 | internal/tui/tui.go:326-333 \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, \u0060internal/tui/tui.go:308\u0060 calls \u0060SetFilteringEnabled\u0060 and \u0060internal/tui/tui.go:322\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":"internal/tui/tui.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa22538f1af9298c48e597c126134f0bb272dc8a6765d846aef0a467880177d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/web/git.go:95-102 | internal/web/models.go:370-374 | internal/web/project.go:202-206 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/git.go:95\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":"internal/web/git.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b21107c0fef9aa5d28445e8c88722f5fe48d7fc286ac1d1d7164673e70f1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/providerauth/codex.go:195-202 | internal/providerauth/xai.go:238-245 \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 \u0060internal/providerauth/codex.go:195\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/providerauth/codex.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"277d16fb21d810d317237d516ba72ea55c68777aa78ea00e7a19a087440c013f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/web/memory.go:318-325 | internal/web/memory.go:395-402 \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 \u0060internal/web/memory.go:318\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 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":"internal/web/memory.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"146cb76c19e06bb49881ef7c2e1f40cbac0032fc702b3269e17c688dec4c1df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/web/session_changes.go:80-86 | internal/web/session_draft_pr.go:123-129 | internal/web/session_draft_pr.go:317-323 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/session_changes.go:80\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":"internal/web/session_changes.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2651752c367577c7c40a29e940f7b4f36f24a68d1efb587fa709c7d479e0c0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/cloud/connector.go:752-758 | internal/cloud/connector.go:1002-1007 | internal/cloud/connector.go:1075-1081 \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 \u0060internal/cloud/connector.go:752\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 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":"internal/cloud/connector.go"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c866d2118fb15fe452b3605dbd7cb2cb96992ca91a2ac02a66353d77a410db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): internal/web/cloud.go:49-54 | internal/web/computer.go:232-237 | internal/web/dev_options.go:70-75 | internal/web/memory.go:269-274 | internal/web/tool_search.go:48-53 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/web/cloud.go:49\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 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":"internal/web/cloud.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"266d5a031053ab3e7807729bba9c0ea8ebf2bff5b8053a092d0f7b86e861db84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/web/approval.go:16-21 | internal/web/approval.go:31-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. 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":"internal/web/approval.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc2dc5f291caf5502e54b37d134a5e19df08254aa81f58ef564a619c01959de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/flow/run.go:204-209 | internal/flow/run.go:218-223 \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 \u0060internal/flow/run.go:204\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":"internal/flow/run.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc035398b185d01b5b0d0d35b0c7bf0a40fdee49638a95ddcf4af65b9c32a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/cloud/connector.go:1088-1093 | internal/cloud/connector.go:1112-1117 | internal/cloud/connector.go:1139-1144 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/connector.go"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604db095ae007744f9c91884546bac2f505f343d980e3583e2fb4166002c9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/web/providers.go:847-852 | internal/web/setup.go:273-278 \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 \u0060internal/web/providers.go:847\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/web/providers.go:853\u0060 calls \u0060TrimSpace\u0060 and \u0060internal/web/setup.go:279\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":"internal/web/providers.go"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bae951be1ba04cb97d33f33828f6ebd38b1197a96df235c0b1268cecd8a32de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/command/interactive.go:568-573 | internal/command/interactive.go:599-604 \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 \u0060internal/command/interactive.go:568\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":"internal/command/interactive.go"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4698294d99dcbdefd0900fe4b8d27f3c1253ee72c270a47de697fa86a27176e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/command/interactive.go:569-573 | internal/command/interactive.go:600-604 | internal/command/interactive.go:1040-1044 \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 \u0060internal/command/interactive.go:569\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":"internal/command/interactive.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b135bd8d6f53cc298be41fc2bef7222471eb3ffbace021f3ed2e92b9606a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/artifact/service.go:333-337 | internal/session/session.go:2041-2045 \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 \u0060internal/artifact/service.go:333\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":"internal/artifact/service.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d638345cec9e4e3742251a9d3d38206d316c35ce48848113ff367c3c81cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/tui/activity_group.go:430-435 | internal/tui/activity_group.go:445-450 \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":"internal/tui/activity_group.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e29991b1dcdbd3eefae77a2d7667083ed7d9037dbfbdd0847f7be3925cc68fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/web/cloud_sync.go:80-86 | internal/web/cloud_sync.go:126-132 \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. 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":"internal/web/cloud_sync.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3245b95aabc3e7063d31d7d3adfcb741c7ab23e6e973d843bd64c495bc2819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-eval/analysis/analyze.py:47-57 | agent-eval/analysis/report.py:64-74 \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. 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":"agent-eval/analysis/analyze.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1883697917560f39292e242483dc8eb8a564aa510f3bbdb1b58a456ac857207a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-eval/analysis/analyze.py:140-146 | agent-eval/analysis/analyze.py:195-201 \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":"agent-eval/analysis/analyze.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cacc87f980d762fe6cc6bf48dee46c3e1e199613bd7e3c25c485da23edca92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-eval/suite/toolsearch_campaign.py:191-195 | agent-eval/suite/web_toolsearch_orchestrate.py:147-151 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff1ebb354e2fdeac59df09be915d3d5975e636327f043f235a2ec94055501a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-eval/suite/session_extract.py:203-207 | agent-eval/suite/web_toolsearch_orchestrate.py:131-135 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/session_extract.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d3643036e2b9b52cbde7c9c63bbbe344ac43d840fb26cb7e5cc9b66419c584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/jcode-computerd/main.swift:1474-1484 | cmd/jcode-computerd/main.swift:1510-1520 \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 \u0060cmd/jcode-computerd/main.swift:1474\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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eda04711100700bbde27ea7a1f6a21147a51424c578e2afe6b40cd1abfc7b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/jcode-computerd/WindowCaptureHelper.swift:84-91 | cmd/jcode-computerd/WindowCaptureHelper.swift:149-156 \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 \u0060cmd/jcode-computerd/WindowCaptureHelper.swift:84\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-computerd/WindowCaptureHelper.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9af95f2f08288c9179245ec2f07cab5e8f3420a4d06292c69a84543366348a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): cmd/jcode-computerd/main.swift:431-437 | cmd/jcode-computerd/main.swift:1327-1334 \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. 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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab66da30b1c5910779c9c1745b32906e7c299561127ca7b2dad566ff480fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/jcode-computerd/main.swift:1467-1473 | cmd/jcode-computerd/main.swift:1563-1569 \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 \u0060cmd/jcode-computerd/main.swift:1467\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":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d4fc268c232a97baa95efb6810a4b01e26b600ae49b7dd97961bb8c9ba67cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/jcode-computerd/WindowCaptureHelper.swift:26-32 | cmd/jcode-computerd/main.swift:2010-2016 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-computerd/WindowCaptureHelper.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e286282551c0131f7ebbaee20b634b74306bcf69f7c5b425642bb4a245aa7530"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Env (LCOM4 22): Env\u0027s methods fall into 22 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 22 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/env.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b100bdc247209ca7f02b2d874ed8ceee315fa64a45266bff7616a34e7c7652f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Server (LCOM4 10): Server\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cf2695ad26d598524092d9688a1dc61b821a5334b9b6e7867d2a1bd424909e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 8): Config\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c18d76bc65678f4ed87b6f32d8a51690fd2d1f283b3d08fea519cca91abe9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FuncSink (LCOM4 6): FuncSink\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/flow/types.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5155db2351cef1760b219597f10fb9046848a2c5187a510130ded314de0bf73"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: acpAgent (LCOM4 5): acpAgent\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/acp.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7cc2c9e8cd1fc07a537175128ef82546ba4469c06e72f3b4b9a92a24e00ccc"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 packages/jcode-ui/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. 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":"D10","level":"note","message":{"text":"Mock-dominated test: focuses a newly bound workspace explicitly: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.contract.test.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da1de74203b78f4c6ce2305a513718267e59cbf935a65ff8bd8b129fe11ef81"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the selected task to status, goal, todos, models, agents, and approval-mode loads: This test sets up 6 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/taskScope.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fb64bc611f6d46c4e56a19c43b0c22437b489b5ceaa72bb08dcb552d4637e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/product/ChatInput.tsx: packages/jcode-ui/src/product/ChatInput.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 304 in ChatInput.ChatInput at line 306. 6 of those changes were fix/bug commits, and the other 12 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/product/ChatInput.tsx\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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b13ad82e8ff565346a36a44ed9399f97c7f6f0b1ace7db46270d050ab9827ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/command/web.go: internal/command/web.go changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in command.runWebServer at line 253. 4 of those changes were fix/bug commits, and the other 14 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/command/web.go\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":"internal/command/web.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da89bd6ba9d288bbd0353f2fd5b770c60435368321c13954e5ad3b28529b7c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tui/update.go: internal/tui/update.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 503 in Model.Update at line 21. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/tui/update.go\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":"internal/tui/update.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f25a5a1a0ab1ffdc7bdc62474ca05eda0d1faf4e954cd7e33ea3585cb81ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/SettingsView.tsx: web/src/components/SettingsView.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in SettingsView.ProvidersTab at line 331. 3 of those changes were fix/bug commits, and the other 14 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/SettingsView.tsx\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":"web/src/components/SettingsView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a9bdc19d6454489eb36e77d32a67099c7f074e9e3d1921327cb86d2418427a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/command/interactive.go: internal/command/interactive.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 101 in command.RunInteractive at line 1391. 3 of those changes were fix/bug commits, and the other 8 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/command/interactive.go\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":"internal/command/interactive.go"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a846b5944d4b2b2d7757b25f84a3be0932ff6cdcb9a528da564e9e70ca7790"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/Sidebar.tsx: web/src/components/Sidebar.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 179 in Sidebar.Sidebar at line 107. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/Sidebar.tsx\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":"web/src/components/Sidebar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db1d866dd4b9a337e53d03272586430e4a9122bfd0a1101d68885ec48883e43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/App.tsx: web/src/App.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in App.App at line 83. 2 of those changes were fix/bug commits, and the other 14 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/App.tsx\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":"web/src/App.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56fbc2875bde3b7cada041b1a948d4845a22dfd58d83ceecf880c42f6b3061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/runner/runner.go: internal/runner/runner.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in runner.runInner at line 305. 5 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/runner/runner.go\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":"internal/runner/runner.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"65690efbecf34b358cac402671b165b5aa18e2363cf67d3bcfa98c0b1d0cf832"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/settings/CloudTab.tsx: web/src/components/settings/CloudTab.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in CloudTab.CloudTab at line 89. 1 of those changes was a fix/bug commit, and the other 6 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/settings/CloudTab.tsx\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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b7acdb69bc338a6a6f46973efdcf7c7e706bb21e123fee29620ca48af854b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/providers.go: internal/web/providers.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in Server.handleUpdateProvider at line 1008. 4 of those changes were fix/bug commits, and the other 5 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/providers.go\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":"internal/web/providers.go"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fbf53790abeb112e7870b5d5086e5fa0555c484608bd66cd527f95804953bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/product/WorkspacePicker.tsx: packages/jcode-ui/src/product/WorkspacePicker.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in WorkspacePicker.WorkspacePicker 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/product/WorkspacePicker.tsx\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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c208289c4989a09892ecf5369f19b668637709ba8f62e6766d1506ce028de8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/app/wsBridge.ts: web/src/app/wsBridge.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in wsBridge.createWSHandlers at line 35. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/app/wsBridge.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":"web/src/app/wsBridge.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ac0e4bb99d21f0e2618a5be834f7389d797faef174c64656af1aaea4dab1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/models.go: internal/web/models.go changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Server.handleListModels 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/models.go\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":"internal/web/models.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"399560164820ae7cc989b15f13b9c00f22045cf2ae69bc272ba9175473b2166b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/app/store.ts: web/src/app/store.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in store.provisionNewChat at line 2830. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/app/store.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":"web/src/app/store.ts"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a006a7a32884d57af94e56e372aac23c96832ee8d53629bf286684d595fc59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/RemoteConnectWizard.tsx: web/src/components/RemoteConnectWizard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 156 in RemoteConnectWizard.RemoteConnectWizard 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/RemoteConnectWizard.tsx\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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdf8320e4de27ac9fdf605ab6754a7c07b9aa97873a5d2fe733ed625731cced"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/command/acp.go: internal/command/acp.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in acpAgent.buildAgentSession at line 478. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/command/acp.go\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":"internal/command/acp.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa50a0c5dc09fb045bf0bb78ce2f504921f52aab426f42e40f40a572af36cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/chat.go: internal/web/chat.go changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Server.submitMessageWithOptions at line 198. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/chat.go\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":"internal/web/chat.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1532f9a7e5562164162f8a21776dcf1c5dac496b8799c6904750ddf0056b61c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/sessions.go: internal/web/sessions.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Server.handleDeleteSession at line 289. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/sessions.go\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":"internal/web/sessions.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f786e2b24cc196135cced5ab24ab7a3eeff62945f4e90faa2b7a3c5db1be14e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/cloud/connector.go: internal/cloud/connector.go changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Connector.execChatSendCompose at line 824. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/cloud/connector.go\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":"internal/cloud/connector.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f375209850a101a0c5d3b5c7167279bd1f279f8b5b7c2a1bf98fcb0a1facbdeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/AutomationsView.tsx: web/src/components/AutomationsView.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in AutomationsView.AutomationEditor at line 371. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/AutomationsView.tsx\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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a345615028025e0c5c9d94df1635a0d1e515beb82d4d8e09e4bb613003601b73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/SetupView.tsx: web/src/components/SetupView.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in SetupView.SetupView at line 27. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/SetupView.tsx\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":"web/src/components/SetupView.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975eb2d5bc89d7a028effcc83acd804d5eefd24bdf98e509a671d0dc5799893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/handler/web.go: internal/handler/web.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in handler.extractToolDisplayInfo at line 71. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/handler/web.go\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":"internal/handler/web.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3237f2c22bb9cd33d3608d1a56a24356053414c63fa231fbefa7fecff1fe89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/team/manager.go: internal/team/manager.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in Manager.runAgentTurn at line 607. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/team/manager.go\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":"internal/team/manager.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e943f7f0895206d6d98abfd4f54038663a0e37c0d730a2c1fd8dc8344f2844dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/ChatView.tsx: web/src/components/ChatView.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ChatView.ChatView at line 66. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/ChatView.tsx\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":"web/src/components/ChatView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec357789bbf63c4971e4129d9c031f8921ab370228a1ccb233da56060145c6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/CloudBadge.tsx: web/src/components/CloudBadge.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in CloudBadge.CloudBadge at line 52. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/CloudBadge.tsx\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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"af07a997da00b5cbd23f07d3f2da997e7803de30b5ab3672067f3d58699a96d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/engine.go: internal/web/engine.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Server.publishEngineCandidate at line 577. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/engine.go\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":"internal/web/engine.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68de62b35fa7183f7fcfa720aa3e11a3fdfe39750c88aee2c6e5001f802e5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/config/config.go: internal/config/config.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in config.loadConfig at line 1102. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/config/config.go\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":"internal/config/config.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13cc9df78dffd7f9663d3d6315b5a7b6a30ad2cf7851b5452a6dd3ec33be7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/components/Message.tsx: packages/jcode-ui/src/components/Message.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Message.Message at line 59. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/components/Message.tsx\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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4819632b0db325b9bd6fb729b19c551daf7b1acb6025a9a17f4b3e24972ea95c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/command/login.go: internal/command/login.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in command.runLogin at line 74. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/command/login.go\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":"internal/command/login.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed44c1ecf4f52bf23554abec4b07bd4c40df31e9fb4c92227d27ba870a8f4b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/activation.go: internal/web/activation.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in Server.ensureConversationLocked at line 237. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/activation.go\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":"internal/web/activation.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a08685a1438407a5a35fc83be8182a20c973969e342ffbb3981831a3d28556"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tools/subagent.go: internal/tools/subagent.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in subagentTool.InvokableRun at line 237. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/tools/subagent.go\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":"internal/tools/subagent.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38b6debfd9f14333b8a1e19d1e500754e40777a6af1602afaa92cb425b1fad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/config/project.go: internal/config/project.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in config.mergeProjectFields 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/config/project.go\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":"internal/config/project.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dd28a348b2d6d439e400d842b918b2d4af64ec8152dd87503dab02987bdcd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/TopBar.tsx: web/src/components/TopBar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TopBar.TopBar 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/TopBar.tsx\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":"web/src/components/TopBar.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"954011832c806255ac3343c61abf7b333093d7f10b9e2f47f82645e760d8f333"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/cloud/client.go: internal/cloud/client.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Client.writeJSON at line 158. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/cloud/client.go\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":"internal/cloud/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0326ab9ae4ad79406ba9393905a019723b4d9f9d7c564acf957907ed92523cb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/cloud/events.go: internal/cloud/events.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Connector.handleWSEvent at line 374. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/cloud/events.go\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":"internal/cloud/events.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1adf0d17813154a52d65b2fee8a90a2a03c459d6f867a432204a300d19dcfd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/cloud/capabilities.go: internal/cloud/capabilities.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Connector.collectCapabilities at line 77. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/cloud/capabilities.go\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":"internal/cloud/capabilities.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b30421395d60f094a72d18fd1d27f60dc1bb7a556e6cf1e6ea45fe6aeb0ab26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/CommandPalette.tsx: web/src/components/CommandPalette.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CommandPalette.CommandPalette at line 32. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/CommandPalette.tsx\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":"web/src/components/CommandPalette.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c99b900598613b3dafaa6f711a6685156e86ec8044c9f7360fdcac07ce166"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/ArtifactsPanel.tsx: web/src/components/ArtifactsPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in ArtifactsPanel.ArtifactViewer at line 430. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/ArtifactsPanel.tsx\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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa9c64b3a9bdceda51e82f4781088c1d50a1a6cc4c1ffd04958c0dbe2c8b7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/components/ApprovalBanner.tsx: packages/jcode-ui/src/components/ApprovalBanner.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ApprovalBanner.BillablePendingCard 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/components/ApprovalBanner.tsx\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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef5dc621060f2a1c0a1745eca68c1506e752fc76f639c77b1d05cebcf00e802"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/automation/scheduler.go: internal/automation/scheduler.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Scheduler.tick at line 143. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/automation/scheduler.go\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":"internal/automation/scheduler.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"830890f7868d9ff914a0191cd83bed97ffaf5517b5db99136ae37bf5fc28a013"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/automation_run.go: internal/web/automation_run.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Server.runAutomation at line 66. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/automation_run.go\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":"internal/web/automation_run.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8126ce3ba2c5b86eb8f5a70d6f78c6e97ef94bfffd5a1e4a9e2a4a33e3b9582"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/components/ToolRow.tsx: packages/jcode-ui/src/components/ToolRow.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ToolRow.ToolRowHeader at line 43. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/components/ToolRow.tsx\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":"packages/jcode-ui/src/components/ToolRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5d4287dff8cd4699e67e7cd311e19b76fa6d4a4a379b68dc7556e1fc6c33d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/components/ToolCallCard.tsx: packages/jcode-ui/src/components/ToolCallCard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ToolCallCard.ToolHeader at line 169. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/components/ToolCallCard.tsx\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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd7938b9ffa7792b80bcf77fc3b41955d69271ab906adebfbd47b273e43f06a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/setup.go: internal/web/setup.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Server.handleSetupComplete at line 261. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/setup.go\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":"internal/web/setup.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bad5e5fd9bd52b7b8cc3ce7b657c1fea6ea8ec9bc701df8a9b5895756ce06ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/session/history.go: internal/session/history.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in session.ReconstructState at line 149. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/session/history.go\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":"internal/session/history.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"723a8f8aba6cd44be9210e1f79fda8ca2aa7d39dce6de0d6647af6af2915fc06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui/src/product/BranchPicker.tsx: packages/jcode-ui/src/product/BranchPicker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in BranchPicker.BranchPicker at line 31. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui/src/product/BranchPicker.tsx\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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a702f8ce6eae79fdcb2af257c66387a8a891285c7f964c6783a41e79506fd81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tools/flow_spawn.go: internal/tools/flow_spawn.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in tools.NewFlowSpawn at line 45. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/tools/flow_spawn.go\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":"internal/tools/flow_spawn.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a814190d5e51bbff109910287e2f2083b8997873b288daa1af218dbd4ff987c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/RemoteConnectionNotice.tsx: web/src/components/RemoteConnectionNotice.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in RemoteConnectionNotice.RemoteConnectionNotice 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/RemoteConnectionNotice.tsx\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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5c4910ff007ecfb0c0a37d386f1c0d461dcb64e881298a16e4a2f42ca1253"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/handler/acp.go: internal/handler/acp.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ACPHandler.OnToolResult at line 502. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/handler/acp.go\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":"internal/handler/acp.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3973dff4f1a5d864100c77bd08d228b8bc3bdc53fe1f548fa2a04691b6db7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/web/cloud_login.go: internal/web/cloud_login.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in cloudLoginFlow.pollAndFinish at line 170. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/web/cloud_login.go\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":"internal/web/cloud_login.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ba2e1c1cffc4c18fa805d988facb3cdff4a5b5428cad3d6cdcfaa238506af2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/jcode-ui-core/src/primitives/AskUserBlock.tsx: packages/jcode-ui-core/src/primitives/AskUserBlock.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AskUserBlock.AskUserBlock 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- packages/jcode-ui-core/src/primitives/AskUserBlock.tsx\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":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9415b53100b9842059ff0e88847378132ce7c7a695ce23d47f660ca9ee61a52b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/imagegen/client.go: internal/imagegen/client.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Client.Generate at line 249. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/imagegen/client.go\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":"internal/imagegen/client.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6491c0f9d9def6cfcf0c8330f2a97af5a7fd210330bbfbb3a8dfd50d4fa121bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/providertools/manifest.go: internal/providertools/manifest.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in providertools.ResolveImageRuntime 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/providertools/manifest.go\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":"internal/providertools/manifest.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"667cd2067119abda1e58820667ca84a6f8aeb93d73bbb95b0702691cd246e254"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/components/RightPanel.tsx: web/src/components/RightPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in RightPanel.RightPanel 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/components/RightPanel.tsx\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":"web/src/components/RightPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b62d030edf42aa651f25bb2368d4604dcf1769264120865b0407d845f7e453b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/tools/read.go: internal/tools/read.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in readTool.InvokableRun at line 75. 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- internal/tools/read.go\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":"internal/tools/read.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"353c7082cac07ae932964dbc5e6211682d35fc8ee237cd2748b3fea34ecae494"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/lib/useAppUpdate.tsx: web/src/lib/useAppUpdate.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in useAppUpdate.AppUpdateProvider 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-07-20..2026-10-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-20 22:37:53 \u002B08:00\u0027 --until=\u00272026-10-18 22:37:53 \u002B08:00\u0027 --full-history --no-merges -- web/src/lib/useAppUpdate.tsx\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":"web/src/lib/useAppUpdate.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2e69357f93f8ef1ce67f09b7cc9d1207865a102382dcf901471d76cae3f0c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/messages.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa372e4332e74ef74d16f41bde2d49460e0e5b00424eb5d8ba5eb82ce9067753"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/session_helper.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cdd20f112fa954f53e7a9e3cdfe6542a6182dbddb02d92859fe4fc4a0a5b75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo tools they only mutate session metadata, and the continuation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/acp.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"25262e131d2242cf0a223138854921f7e2e981bbd03e2021c207a35af9bafc06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo list changed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/events.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6332df1c92b0746c6d2e1b965f27a0fb3e2416471fb70361775565ea1f5caa02"}},{"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 \u0060internal/theme/gen/main.go\u0060 makes this repository a deployable product (line 11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/theme/gen/main.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc0076440df878dfe4b83095e651185c2f2d70620fa53181956e0109af3a19"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060recreateMDRenderer\u0060 spells \u0060MD\u0060 where 12 names in the project spell it \u0060Md\u0060: 12 of 13 names in project github.com/cnjack/jcode spell the token \u0060Md\u0060 (12 of 13; unit: names in project github.com/cnjack/jcode containing \u0060Md\u0060). Peers: reminderMiddleware.agentsMdInit (internal/agent/reminder.go:84); reminderMiddleware.agentsMdPath (internal/agent/reminder.go:85); reminderMiddleware.agentsMdMtime (internal/agent/reminder.go:86); reminderMiddleware.agentsMdHash (internal/agent/reminder.go:87); reminderMiddleware.refreshAgentsMd (internal/agent/reminder.go:262). Rename to \u0060recreateMdRenderer\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/content_render.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e12f6cac96a09ad1a8f46a6b5c12ac0418a89ba44abb628e55b5c3bd8aa80f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022rotate a toward b by at most maxStep radians\u0022 repeats the code it sits on: 4 of its 5 words (rotate, toward, max, step) are already in \u0060export function rotateToward(a, b, maxStep)\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":"site/public/showcase-projects/game/js/utils.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4895d6f7c18ee2be8dce5350b73adc3ccb2f8a12e5c68db58694eb2629f045"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (109396 LoC, 723 module-visible types across 74 directories) overshoots its size bounds. 4 of 8 build unit(s) (Cargo, Go, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060web\u0060 (31789 LoC, 242 module-visible types across 7 directories) overshoots its size bounds. 4 of 8 build unit(s) (Cargo, Go, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea941af3f901551a092032ec144fc221c4f79efdf006625aecd57cda1f6e02"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060site\u0060 (16630 LoC, 103 module-visible types across 24 directories) overshoots its size bounds. 4 of 8 build unit(s) (Cargo, Go, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a8a2e0fef915707e3bf8ec61bbd934166fa2ed4cebb70c90e6edf05eafe0c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060packages/jcode-ui\u0060 (13714 LoC, 155 module-visible types across 10 directories) overshoots its size bounds. 4 of 8 build unit(s) (Cargo, Go, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc70fd328ba83d5a67861e68f5f6b9e7b26b118411b98657ab3431963dd6a5"}},{"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":"041c6b16fef3d06ec41ac4b751d05da621d0b9903b952b6a5ef3b895984069f9"},"taxa":[{"id":"CWE-540","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":"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":"629fe3ecc66e7c92e95655cd793b1631367cc8dd27f9abcfbf0299456ba4a2a8"},"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":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"4026f2ae5829c9ee6016d2289476bc6b9d069f22ca6e7b51c1f2cca18e7e1f59"},"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":"77b5956e63f73573b32eacced3951798fa4bd06341075c7c2b23b48e8d87edc9"},"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":"647155473eb199fd318002776f77466bb6dbd5e917fd96f4571d89785034c757"},"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":"109098bac6dba2dcd7d1d12d476608537d9de8d5faeeeb2d3c8924f42a8a92eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"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":"f7afac51171b2705e8e6b316920852d594116f3cb136272a3fe57bbea407d921"},"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":"a70a3ada3bae9a9b4937c8dadf6051d91e207198f3aa5e67fbe9037a6335a0ee"},"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":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"6819b36024d45f5f0e1d43e74427f1e72c7d8dae5d09101e0f966a51bf6829ab"},"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"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":"87c93fa5b2cc438c6d264585b4f23046a82872060ed2290914469259df7bedc8"},"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":"1de4e8df69f8ea88743a72dc79ebdff0df14ccb12667fe14ae5c33266501ddc5"},"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"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":"546313398eef2ee65fff717ba30af3e5bfb00655858331eb8f62abb0dd18f6b3"},"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":"ae59d5e9dd2c30e110a21be3f2f3e4339df91ffb4154cfcf5f17bedb858ec684"},"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":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"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":"40799cf87a35602ecb3ca4cd02b04571763e6328eeaf1dd7022112cc811478dd"},"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":"d5d14d01959f8bc74cfb47cedb20165c1651927e69ca7f14db02f6d54f0db1ae"},"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":"762c2df4a76807d639d15a8eb39903f751673ccff62ea1e4cde1d4e80065e392"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"8dfabd57851c7bcb37baa8e9aafb9e1c51d861648a6ef22c4073e3d726c8c5f1"},"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":"9ff0de81b3c903ae2cfe2b61cf5dfd75636ecac2fac3adc08cdd69ca68bb6749"},"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":"5a0307a0e95589e470722eaa1f6edefde899ff9d045423b92eaede73ef396b02"},"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":"86f2cfb2cc32d82d657295c4fcd1e6a40c50b9d9e79bc6e760ea1dd0687097c2"},"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":"5e108b00405fed660b234dc300efa3996971007afb37628b27563cf175ce66ad"},"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":"328b68cb70d240ce9ebad966fbe37a61148f2908214292d5d6e18b1afe8c3635"},"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":"1064881b1494a0979eb931b13cfb0b74dbf92ef7ecd5b042ef3e895eea67bfa2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","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":"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":"64478662fa5e1544368a8d37a73d78bfc90ea789fe52460bc2794d70b8e273b3"},"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":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"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":"aab82ce3541ef46fc20b0c67889f7249527af726106d79d13182315342a56162"},"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":"59bdb5a1e8e9e2536fc49c741fcb4259a61a8678fc811d3adeb596662203897f"},"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":"9e05a9afdb159c3b4e03fba36ee6c997dfff609cf8e7411f86b673ca79d09a53"},"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":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"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":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"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":"006b37e898a2f585df21ae7544825919b2e472c04022252ee7c79ebd403ac6af"},"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":"51e9ba7d567c04f6c236de5115fdd5327b51f4edb40f26772e8f1141fc27aa98"},"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":"77b8a7363b54adcac37e50cd735f3e0955fbf7943f6c018e43399b6a420be580"},"taxa":[{"id":"CWE-502","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":"60ca704f08d71f015b14aaaa5ed426f70d2df7a25890f2adaadb65bf6464a243"},"taxa":[{"id":"CWE-502","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":"ab98abb84178c435776cab646695d7bdc8b126a2276d6ebdaa2ff5ddf99d401c"},"taxa":[{"id":"CWE-502","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":"a6e0ef3cc8726f830c2841ea3d97774507d72b9cc49cba9d3fa8321666f99a96"},"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":"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":"76754466648f211c724e4f6cce5cc86380017ac11a37c531c1f5ef4e20f86243"},"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":"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":"e056cda3f38e02bbe8b354c2fe32bc0a7613aec2965a5ac1f2e2558aa48a2496"},"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":"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":"670a582b9f3bd1c1fc9b3ba62512a8fe2e602e281c20bd61a2cad4933f716c73"},"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":"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":"a0c21764298ab66320d752a132834971c2135c60be612d95a1ab42a256bacf46"},"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":"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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","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":"50f8007e987d6b748c6cfef1fa804b63af22b118a00f4815573d1823fe5964b9"},"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":"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":"5e9a47d01390fa604123fa1ac7b8c288b96781607d5deccca4b59ce65b9ee1f9"},"taxa":[{"id":"CWE-328","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":"43ad89fe050ddbff792f3238e373ff1550e97af7cb6d193de20ae0ba3756ecc5"},"taxa":[{"id":"CWE-338","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":"71d0d62b9cd46d2d7690c6093abe79d09fa64aa406bb0ad57f6614eda58910ca"},"taxa":[{"id":"CWE-338","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":"2783f78049591f1f402ee95962fdbe681f53bbbed5bd59f67e58abed5e6f69b5"},"taxa":[{"id":"CWE-338","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":"94faa0e035df8c64b0ebf623e22a0f0f9c8f6f6fb54ac3272d49752785e2df18"},"taxa":[{"id":"CWE-328","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":"6837fbf510240df8bcab650eebf0dba8e080093c3ddc2986c95ae0388660ad40"},"taxa":[{"id":"CWE-328","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":"346c7f01ee1c552a8c71618d4c2a9483794684023b00f5ced54f7c40f28acc20"},"taxa":[{"id":"CWE-328","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":"1a8d1f059ea7c3e5e6a06450d68f8f4af6192c9fb8e5530801081d6597aa8143"},"taxa":[{"id":"CWE-328","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":"ceb5700453c182d65da454bd573e8d506826a654ed6ef6c52a2cd63f04435b6e"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"5cbfc6f22474c5e4c5aaff3d02471d8428b1da97ce614e48f4c0e9af2eb1afaf"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"92f107b48fc96b16d80bc5e6180e02b9323c1be7a0ec567cc8ee1fcf725d802e"},"taxa":[{"id":"CWE-400","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":"73f22a8a78bfe9fd7d976f2e61fc9c3fc5457f6ff2463385604d3f2bcd4b3084"},"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":"310cfb38398978def7c6aecb0b17133a281e02c7fb41005e6c53282c38f5a16f"},"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":"ee00d91c8424115d3a87703261c6aa452042d7ee4328123bf088f6843422caf8"},"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":"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":"3b2bd922e52898a651dea04f32e5188759b16870069b2f3aec666a5a89c13133"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e43c18d11caa984217024699192d87410161573b4b12c2fafdeb212cf4612df4"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"b897cfa1ca4831f23ede0e87c41c48cf7990300f24301b215adf19dee4c6d643"},"properties":{"dependency":{"package":"zip","version":"4.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"severity":"critical","fixedVersion":"9.0.5","relation":"transitive","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":"53c3d4d7d63f401b6b9ffae3fc9501419bd021acdfb6259e01e8a98944ef33b7"},"properties":{"dependency":{"package":"dompurify","version":"3.4.11","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":"critical","fixedVersion":"3.4.17","relation":"direct","declaredRange":"^3.2.4","reachability":{"kind":"production","file":"packages/jcode-ui/src/lib/markdown.ts","line":18}}}},{"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":"d74aeba34c20ef883320d58ae3a9ebc2ca37676b56ad245f77891a27afcd5d2d"},"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":"0cb1c819dae0968efde73d5a534f974fb30d65d473674873debf6e8cbf7d1b71"},"properties":{"dependency":{"package":"dompurify","version":"3.4.11","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":"critical","fixedVersion":"3.4.17","relation":"transitive","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":"c5f05b1f5c2971e396d88d2d218ac6c1efca96970c0e03a36b09a3a12cff0b43"},"properties":{"dependency":{"package":"github.com/docker/docker","version":"28.5.2\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4883","GO-2026-4887","GO-2026-5617","GO-2026-5668","GO-2026-5746"],"severity":"high","relation":"direct","declaredRange":"28.5.2\u002Bincompatible","reachability":{"kind":"production","file":"internal/remote/docker.go","line":7}}}},{"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":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","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":"2ea65af982fbfa7ee58dbe3fa40bd975ecb648d209c563eae9269b519d2be2a6"},"properties":{"dependency":{"package":"nanoid","version":"3.3.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.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":"7bbcf727c11f3451b90e0c4181659fec15555399ba4dd1a967c87b3704c5ad8b"},"properties":{"dependency":{"package":"postcss","version":"8.5.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","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":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.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":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"direct","declaredRange":"^6.0.7","reachability":{"kind":"test-or-tooling","file":"packages/jcode-ui/fixture/vite.config.ts","line":1}}}},{"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":"bf0374a987ed8ac1de9d40ede4c331dcf1fb5194de03c1b3a1fcc7d8c64689fe"},"properties":{"dependency":{"package":"browserslist","version":"4.28.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","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":"43ff810483687342e2c96fca98674836edeb5f03adf689075936a5a034926a02"},"properties":{"dependency":{"package":"nanoid","version":"3.3.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","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":"8e1e96462cd8bbbc0fccc1885981ac4d377506dbccc8a415ed5bd3bdc14dfc0b"},"properties":{"dependency":{"package":"postcss","version":"8.5.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","relation":"transitive","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":"5698eb9cc6777ace6eec887073da451069e39dac881bcf1bca9461e59480aaf0"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","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":"d67a3ef3403d482969c10ce8c18f78e29c140a9de8bdbcfd3a1328ed92fc0139"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"direct","declaredRange":"^6.0.7","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":"541c4044ecc9b409902241c8a1452391cc2fafd4c4e7423854ad961dde75aa78"},"properties":{"dependency":{"package":"xlsx","version":"0.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","relation":"direct","declaredRange":"https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz","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":"dfe098883753c3c190ce2225ade92a3bbb03dfa9d75f763d035ecb1b3a0a9111"},"properties":{"dependency":{"package":"stdlib","version":"1.25.99","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.9","relation":"direct","declaredRange":"1.25","reachability":{"kind":"production","file":"agent-eval/harness/main.go","line":22}}}},{"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":"987beaf270aa7a487eb359b8897007dc87de829a50a49bcfefd1827ef83e12e7"},"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":"955437cb7440b0fbe892e6ebd53538279bc2c96091fa831c1da2b3c11aa4d503"},"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":"75eef380a4e4cbf3b08e4c68cc83830f3b856c36ba4c87b133139ac6404bba38"},"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":"391dd385dce37c6e76573d4b05c34e0da8d15f97d980ba5180269bb04df26995"},"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":"f825f9e970ce78f8cca24782101383b3d8065898265f67de673ca804a1851798"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","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":"0fd3fe56d41a4f074ca319adc184229c19ca674c4373a17874666f38a8c5fb23"},"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":"a52074ebf44160f97921c831e02e17a06562e2cfc1098cd70a5119d1532a6d36"},"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":"963372cb6272de011a35efa7631a38b20206f1b896f946b3781dd2c8d42667fc"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","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":"158c536d20c5413d0899696e60b1235d9434408ba94852df5e074063aa2b292a"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"0.103.16","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":"afd94fb4ecefde6dc8f3edfc8563c9cfda40dea8e3e504ba007c0ddba59398a9"},"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":"be1484827c5d70b9776981ec5ba3c13729ec3c5cc2b4d986e997819bfede14f1"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","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":"6b123f24ee3c76da2575442abf4b500172f78b72733a0a7f6e52ea7ab14a8fe2"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","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":"f87638c08ae88b3d913fba782e1ee3359281a1fa8ba6a8f1099ecec8c02496c2"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","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":"e7f19dcf5d52e7ca1e4387b831df918886da9043b5783d75ca96b8ee89c5e31e"},"properties":{"dependency":{"package":"unic-ucd-ident","version":"0.9.0","advisory":"RUSTSEC-2025-0100","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":"d3151e5dcdf78ef187145d5b7ac8fc0686b47abcabb56e5fa1baaa1c91fdd46d"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","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":"3ef91bb314b2062f8cfaa64602c25506be9b4bbbcb452f0b94e4bd15fabd5279"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.9","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"severity":"medium","fixedVersion":"1.0.10","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":"9b9bdc018bf5198ccd2a096d633f3dd4b9e9dc65c45b7764e1a97fdd83032cbd"},"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":"1cd178981b1b1ccd1dc080ef2a17188cac5c5493ec9cc10a7f1d9f5fcf32dbfb"},"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":"9e729b6249bd1db117151bbe549e634fd41084a90d04ae342763e644d227a729"},"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":"d2cd4437b7be35d57a4cdd45425982677203e5498a05982ba428a10fd3ba9aee"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"internal/browser/discover.go","line":128,"symbol":"os.ReadDir"}}}},{"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":"4a03e6b0caf96e9624f908d8fe21216de785190cb3741b870826789abd978cd0"},"properties":{"dependency":{"package":"github.com/mark3labs/mcp-go","version":"1.2.1","advisory":"GO-2026-6911","severity":"medium","relation":"direct","declaredRange":"1.2.1","reachability":{"kind":"production","file":"internal/tools/mcp_oauth.go","line":18}}}},{"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":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.58.0","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":"c3fa4213a07ab096fd5f175a47f48ab0e53f0f9c2ca907df1cc1bf4d3eebffa6"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","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":"436c636d7c0f4a96db02738cb1022475df7f81338e5e3a0e808d0b455082960e"},"properties":{"dependency":{"package":"github.com/yuin/goldmark","version":"1.7.8","advisory":"GO-2026-5320","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.7.17","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":"f1363c7d332816688412da1973a8a1a915e6d99001fe4ceabb3dd999fc8abff5"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","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":"346ae1f77b19bb950c6e55683a42ad30dc7f365e06a9ca00167114e610203713"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","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":"9d287e3be2eb6c801769f99a34f266bdec9e058f7cdba3e0a0716007dc28ef6f"},"properties":{"dependency":{"package":"@vitest/mocker","version":"3.2.7","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":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","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":"9f9969cc1dcef0e64fdd2efb47b4f5e837c1cd854c95ddd0d8beef9c7c6a680f"},"properties":{"dependency":{"package":"mermaid","version":"11.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"11.16.1","relation":"direct","declaredRange":"\u003E=10","reachability":{"kind":"production","file":"packages/jcode-ui/src/plugins/mermaid.ts","line":17}}}},{"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":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE 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":"ec5e2376758d0835fa1c7d28d2ea3bf7e019224f9ada1aedae99cd82a1813c90"},"properties":{"dependency":{"package":"vitest","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.1.11","relation":"direct","declaredRange":"^3.2.4","reachability":{"kind":"test-or-tooling","file":"packages/jcode-ui/src/components/ApprovalBanner.test.tsx","line":2}}}},{"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":"2419efff15eacc70aafbb3c0eebe55c4d8a6c1e95223e1fc6a56e2ebae245c1a"},"properties":{"dependency":{"package":"mermaid","version":"11.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"11.16.1","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":"b3603abbc7a4a54d5647405178c67be2549f35cb1db9dd685e49de5d535445b5"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.1.5","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":"6f6c1810a9b5fe9e53e7e392ec335f73e246b83c05084878f9e9e8c10468cce9"},"properties":{"dependency":{"package":"react-router","version":"6.30.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"7.18.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b7198a068b97a1af1f65e3196cdf11565ec276006632a836614e182488e4d847"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"direct","declaredRange":"\u003E=0.16","reachability":{"kind":"production","file":"packages/jcode-ui/src/plugins/katex.ts","line":35}}}},{"ruleId":"D30","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":"026c41a55c5943cff066d356e5a4293d122c6a1a4aebf686e6266d1e4161ef4d"},"properties":{"dependency":{"package":"katex","version":"0.17.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"direct","declaredRange":"\u003E=0.16","reachability":{"kind":"production","file":"packages/jcode-ui/src/plugins/katex.ts","line":35}}}},{"ruleId":"D30","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":"8c022f3daebc312d5bc57920c87c5291953f24eb4740b45d5987dcff7b596299"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b15eafa55883b6e11240e1946d1a39aded773a84e31eae2ad7afe7a9e2233a45"},"properties":{"dependency":{"package":"katex","version":"0.17.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.18.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: main.go \u2194 tui.go: \u0060cmd/jcode/main.go\u0060 (context cmd) and \u0060internal/tui/tui.go\u0060 (context internal) sit in DIFFERENT parts of the tree yet change together 59% of the time (16 of the 27 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 \u006096c1f8c6\u0060 feat: redesign TUI with two-column layout, sidebar, and orange theme; \u0060355ca52f\u0060 feat: enhance approval state management with auto-approve option and \u2026; \u0060a7b1133c\u0060 refactor: update bubbletea and lipgloss imports to new charm.land paths \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68a7cd134779cf9829c6dda9b52bd97d743ec9f1d8c55f49318c3508049bc5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: format.go \u2194 tui.go: \u0060internal/tui/format.go\u0060 and \u0060internal/tui/tui.go\u0060 change together 77% of the time (10 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; 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 \u0060397cdac8\u0060 fix(tui): address PR review feedback \u2014 sanitize fast path \u0026 debounce \u2026; \u0060940d29de\u0060 perf(tui): add multi-layer render cache and stream debounce; \u0060abf1c3f9\u0060 feat: add ACPExecutor to delegate fs/terminal ops via ACP client prot\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/format.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a4935d6f12d3081222fd86be18c21028745556c3bf15f68779b89e5f609481"}},{"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":"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":"c6eb5a94052c328a9f9d4f3228923a5f2d4d56700f96d3ddbb1b358415402983"},"taxa":[{"id":"CICD-SEC-5","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":"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_canvas_particles/index.html"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3173dff32498c5adb4ea3659fc8ad04828c039da4c18d445c8ecc2ef8e8cab2d"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a003048c18164539237d47f473c289776c68f3698fffbb086836cbb55a9f726"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/city3d/js/textures.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a69220e4111a42410ad5952c7d530822067871c1d32822cf86bda16f328a29b"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/game/js/render.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc65312078ef1e41e93482d1a717b8539555b6d52888c7c2771eaba249d4b2a"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe4657d328b5b5e0637c4ee546af10f95efe14b429aa16724b4a0a82a1f3f96"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bcb769832e2daf8870349e90d2665add54b670e2b23e1c7ab8eda83f4bc747"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/webgpu-cnn/js/lab.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"74db44a8d8f160385b601d1ec31c71e40e3ed58db738123cb270b24c322ea675"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60f4b402ead45ea76492455ca437b5a0391f071cfa9494de953f5b4d6442276"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db05e317545f6f7e360191422f5b7750bb50e7795d44900b2258324f762bca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a828ceb892b6df0f725a3ac109dccdba5b4fa259e70030419700e48bbd53f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5cfe09c49bd4a9384ceefd5e2c840e7279d64be8f3cded52ac5fa473f238f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9b5b3aad84c7bfdd4ac6d449f09ff67ce02c9fcd07fd912df1f67d63feaed1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0bc857d86854a9a2b9be3aa0394eb5c659670fa3e67c9ecedb7d076d116c6d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50ad6d86227ddcfeefbeff793b8390d3f3908081007ac7c148d6103c4acd715"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c175ff9df8dc43b68555453df33865a8dd060cddf2a13153a24bc08f87422"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab71ebfc8d5e651f9fb84355463fdf340efeda166d8e711013d478a64f87b621"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eef292a84a4a71525038e286c2cc2fa5b1ba4074b753b4104d459cc012149e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6295eaad3646384a8c8a58e4123ddf1a7f48f24dec353ce613cc4171c913e4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11fb6d64ddee3d5667f14adf173b6d761183639ccd58ea02a6130b4fcd8ba29"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3462644e6fb2401aaef0f852930a3cc7b69892fc91c72042d0dbdf83b35c28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0a2427e6cb7e803df3fd06ae7e3758805bdd92d62603af65a7d224bdf8118"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4388f6141eb4799370bb052bf06691a53b8445e6f73d82b7a23a3380f26c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6569b732b14612c2a43cda56f5f702d1b2f760b0f4880f46c62cc314d7f62fd8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb2d1e32a6197469097e1b214f80d1267608433c4c373603e52f85505a449e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"710c4b139fe9d5b9753aa9a4cc9d81d5a9e38f3f93ac0f80dd05d6d534cf7402"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff1febe0e6377e73d159894ac9012686367778ab3d04f6f546828fb42a78e7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca56b18240091e8bc80446e134fc3094ef3d3a524da24821ca87f89c816cdc9c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7d7891a4b00447a60335d7a82315c67052da3bf778ca91d7365f9638f72e1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2fc824c848c252210d956582890adaa94a10f1e3d24615f767fb5d7330af83"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"400966d7bc84321ec206f0afd4a3235e6344423ffdf88fe69726379c2d415742"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecbc398050f9cc46e0498a42a98f1039737ad239a66bbb00b0251933453c0e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b219a2fb5241def24159bcea1f0b169a63db05cb7df9e7374b55890bfd653c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb4b45d0fe006ef91d09834a98baa0b82da081b60303a7257983fa9b239eb9f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"379bf4f5dbd1016dff40b7a36a88879beacc9a53021fc92c9129538e56971f12"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e41d640dd9192351ebedd92df5103b1ce3ed1da53f8b55939b19c036103983b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e719c6103764cf5a881e2fea4873d149f1169011e8f873ff80f69692ea0ed3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88dc4e09d92d53eac144c0944c8f99c64f15f85d45033f04fb58a5d373fdc9d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b4d4b4bb71e97f269da05b0ae17ee227540f1f0809a0dc335671787a48eb75"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"24714dc97270b9e471d89e982cec8eb863b7cb3e2d7cad5087880eb7b857c230"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d788a707e4384405d560f5e1e3fc680893482f7cf845555e4e69db561387862"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"7200453ae22da891a76aad5ae4f7f8b943446677ef885dea41913971a7f55d2c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1990143ef6f78554b43955257d91691309c5b72438eaeea7cd5b3f363581628"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5858b28e16c29dcdfc7ce0e6483f97a193dfadae2d97b1802afd452032a89ec"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec886ac645c46acb87dee94ddc9d2f462e70d922f6dbf81bf06f5d46ab1abbf5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"303f63c82ba40247418d8b74f05cb85227b19d39afee9f7fc8c79f0f82acda4f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3de2776af9683de218f2864b6719e9363f103f4c281ce18fc53082d95d3ffd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a60de2840b01463ce0a4fbe4ebed86ca56a9e589fa563c57010cc551c6b49"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eefabce7a61c7b866eb336d3c53c94657209553a087dc863604368d853ae29"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"298330ee54c4e023ffd890f33f71df7a36c56bf3363d150e86f6d8271b46cb05"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12d04c0785fc18b9625e1553866ccc147e1a207c4cd00e6e734517880d55c78"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"121cfcd2be76acae5183fab6ced0523aa6e5adfecae5d0ba4b648c3f8d74721b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda64932786e3e9d3cf321156b3293f8ad2284d584df95b3d419dae1aed84193"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da502d190343d89221fc1ac9983361fe9f9b91a5fd2c5996ce337d655bc856e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b72abadf7563cbd60ed2d3693c04505ed1cfe9b62a830f3110365ac55625e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"04af376003950ed975a467f32e349e5f44e78e86a923d70e0dc27360bc59a337"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c0b8b8cb8acb981d10869a00a1ab8a33055edbf36c7458baa57b781c0a67ed"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"517a03171ae6566ec1063fbaf1f1a8bdb1e4acf984b39c7799e4845cd31603bf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"f546b78e0e2cb17c1ab1bd6198021c1052f995ba42f519c5ec49e51b1dc4bf5a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d1a0db4752c0cafa8aab135a99ec371c5f9af4faa2fa9394cf4f5a2d0a7861"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ee49e0320584e60d5a334ee24c7c1cf1ae7344c0a945ee491fecbf5c430f05"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54f7085a5c34c1559ef3516c9d2d893aa89f62eb97d031f0669db507ba13f64"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe3e05bafe3ac4a887f3f1c245544c9a59a7ad4808eed44cdd1002031e196b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b2521d5679499442d8359eb38efb3275bd06c0bb790f60c24fc228b1313b1e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd24e002a3c80d8d91fc05704608d66055a7fc2efb5b4ce79f4047028210689c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b7845c3f522fd09f7f4424951dba0e6054c7b30f58881064831505f86c067"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8b70418f3fc7ecb1f988f1893f2c39d4edd99b130f8da605a68227041bc118"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a8f5aed302929d4fecebbadb155426915d33673ff4a22a27a79cdbf9e5999c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be596b805d9ab2db392acae479334e8d8538ad11581ff16398eb0591c645b48"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"5727f2a02c1ede519bbe82ad52152911f8b741dfd6300f0d790a723f9857e6e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1609ad78b70e2f3d32c0821b1dede7096886fe07adc2b451f8ef8838775295"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0490f343511a1313db35b078f32fe39aa899b81baea70f84a3d6100435076a57"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c02585f14e042e4ded01e7089d8d64d2f00927a1b091200c91c58b89eb742d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae19174ea924f1aedcb172805485f09fb04cbe6947181a733c1e98d09eed1441"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df1a819a5c152ecb95ce3cc9f52c3c2accba948cff17ef60b2a92c1f817ae83"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/components/desktop/parts.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbe64d93dffd2ce348cafc1d85688d9305f25ff706f41a792295984ba573520"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/chatui/ChatUiDocsLayout.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7fca2068f769ba7d343ee9791424685198a6e0a96d6b7f7fecb3510862bcb4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/docs/DocsLayout.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef36cd1e8b98d6faa746067806dc33f3cd956eaec2c115816e908b1aa45e4fb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CChatInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/playground/ChatDemo.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53dd7077a15edda1940e746ef32d701365788179f1747cb7f6cbf1ff5932795"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CChatInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/playground/ComponentDemo.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c5fc846240cd44354ebd4c6b6a7094efee62f42bc59fc990e9be2f1a5961ef"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CChatInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/playground/ComponentDemo.tsx"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a200e6dce220226d6da4fd403a4efd92bf08ae9a9b76a6e0e2a3cdc6ad87f3e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AuthGate.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1381631c03de402fc87c68a6394d9ea8d0e6bf37e059c92c998d8ce9532ba0ea"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea41e3e7258600ec00434a626c287d052eddb268bdbf7f5191a0010141da7c3c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CChatInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ChatView.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cba0a7bb84a71e6b72141afecd85cc23eeb3db6647e42c3a8014e937cb6eb1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CChatInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ChatView.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a24316e3020326134045e0ece4a4348763cccab8a4a1d086688e5a064b1f77"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/CommandPalette.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b91eaf6fd8a6a52d373f070e49b0511044bd5825c715dbe7d135023303925c4"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c7c52809681efca145d42781f5c4d9a1cbca4cd9b25bff58a4aa14cc48f6a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f2a8599244b537315a461b91b889e91b8ac40b98a55f15b524d833fa5742fc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c856302965ddc42558847aed2ce319b6f05fa1df1262ca1d77cb172f1efcaa2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"446b918dc3d2c209ef7ae13a937442755cd4955821e8a56472deb4ad231ce72c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e224c34447a733daf2a73d3fc6f03d53f1b796b8dff3bc6e3403eea4f49610"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb20fd1086e631bf0b77c3b4cf601784a2f698ec5e8af514f31a00cf621a0d9a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a94645c087c6347b57b8c88d1e62e15124e54727559df18acd212dacca0545d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cfe95e3b555c4fe5c8a2c22f25111254cfab362ba694395ff202f3857cfc89"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a80d3c7841d06f7ecb163c890b7a7a100c4d73366f838baafe907590b5a97"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"190411376edc4cc1ba911d65f27ee6d91bb7e853fca0d8515b1d500e79a7fb69"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"574830e9d73647ea75c99fb1504c745b777d9af12970a386df6090a910ed384a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a863550f183ac5f6e981a22b92917eb6425676500489473a5b24ce3681252d3c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38e3dbb719168ec345509e73baab139f1d3c3cf9a122b7cce3eb72a4ca411ef"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"52808bd7b35d34813558bf705afdee8520e2c655ded6d8940c7a24662c591208"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb3f021d19097c63e89e0b3a5f612f527a226ecc8bab140e0e7b853b30fef3a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RightPanel.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c503c64cd511d03d8e39b17c81a8be3a6f627b7af1254362a4c938f8b9fc1cdc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5d77f00a096a9a464d912ec0d1df78e1e50b261e6895db676767407ecd55e3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"885325bf13aa3456eaff7dfa05c3ad9f9d1bb7a1c069c0cf8886362539b32932"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2cecfe7a55bc512363e31e40fbc68fb7bfc5a09cebefca9ce760ea654d001e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7bded3c8ec1eefa8062c2a1c51e87b133cb7a5c6e7b8996f237f5790f4a161"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"966b0335e9995cd58be5e68fdc0a1a916dc07201f86545521387541fef0e7476"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4730b6686c7cb37defd87c542f45717b12782ebba9b00f9d97f58f66bbee5463"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde49331d473a5694813935598e72ec7f4233d73e9889dfbd8de68527146fe61"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f2139332d0cd9b06bc027ab7be0ef7e94ac4a6a2bd0c63fa23ed92a2565ed4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7367a740e242938928373eae0e5e88bc4cef76c0a95cce8f8eeeae5b653adf16"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"69be45a2c270fce72048c8b86393b1ca17022d72e2f3a57b2e60366b632089f3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc525d66eb62be10071369d75611325a4f56cd92544dea972b31701c79e4c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"71013459797faca3e7c2f17d4759797673f38124856756450dac42602ebe8ddc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3080}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975755dfee1c4da82e470458910a411c81a723380f79443b8b9e5fe6d9cf6a0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b9305de17ce5c5ed2ecb41c1b213fb027399b0919adc4fa823fe6b8824b371"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3390}}}],"partialFingerprints":{"codehealthFindingId/v1":"81353822c8d957e38e02ef999cd08d091149c4ce55ed07870448cb5e9bea1f28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed483dd9f21e2eb2a3d26b37c54fcee19df22db67c2b97d86279ab96167473a3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3156ef957e6faade3b95d0b318cca86a7a2701ede35913b309779227f310c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f5f887d91a607b8bca30a2a632c50d2ca79ae046b622b126c224522439fc5b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed5933288134e87b15e1bcde57ea7a2fae4413bf93e56b8198ba066f0ef937d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc60c8a5a549f0d7f59462e4f59c939b62647632d1a4aa0c51a61e5774931b10"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4242}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cc0e999db817b36f740b7aefe3f5de44a5dfbc88ca87a76dba3782c9757ea9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"44606deaac51c290460da4406cd8e6a8896e45f32e0995519d56fa443c8943a0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4258}}}],"partialFingerprints":{"codehealthFindingId/v1":"879cc30d27401532b518954561c008457d21dce1a287a63f2e405b6010e5fdf8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ede4fd47313839a0e7d62ffe9d812737aaed9a85203636a5b9e2ee211ef11c8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4908}}}],"partialFingerprints":{"codehealthFindingId/v1":"43834c7d1fe3d24289ea0bee00f465bfd90d48f52f69770e821c5ed146df24b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4950}}}],"partialFingerprints":{"codehealthFindingId/v1":"168dc7b6e26a7b61204eae71a8b5dc5db17b677a7b3c6f4ae4345825a96606f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5591184e7a2e8aeb6e30be3f64d76b1c8d577197563a19df4ce38da215a72212"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4990}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd0b7d92985118aa33f88846080dbc88cb3e69fede6c574987b8c86c9576e2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":5000}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccb4ec8278ffef46d8810b20de2fc8a693a221d8145266f32071e49d1c1c277"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b661a8fe1993be0c6a0ed687cabe2dcb6ed4426e61e916a2c24e6884e4f7a9d1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8dfcf3e28c2852c07d4403b86d8596ff63aa69cacc363106e995961d426929"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e97dc5df715d34dd6538ba2760eb885be78a0c4ae11b6604d30ff749723bc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e41a201bd6870e315d8b5a2169dd5d705b0c5ae63cced91405b3bf06843d4b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f442b92c48647f5d0e6257b134a30d949ec571d057d679b345a598db8b33a3b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beab931e330ed2d7430a833f8702b26be2387f90e50c21fe87a48ab607a0256"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd84ebb458cf40c997986a9cfdc1acb1db24c5fc01de370fac9bd2caef56097"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/atoms.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5fe85f9fa50362f0d6dbf13d05273abbfc24f96652da6d61d9b6632865ada5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/report/report.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b159e35878561f0066ca9d2cee644ca287faf3f4082f721322a2bd718edef0f9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96125a8c52e8541ab5dac30f4d514b4014a22d124417d9032914f601bfea82bc"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_canvas_particles/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"915c8770a24ec64af40245c79ea7072fdff9d369274f1cd43052354abcbf9e8f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_svg_dataviz/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1eb9fc1663d8479208c2ad3c33ae1887c83fc0c5d657a8a29f24e60ee98bf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e68caedee99f09d559a29972840f34a881fd7a62e34432b80430318a8f6e9fd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493721e51341a8f07ae73713ec3e72ddac3dca7c464d0ba0cc78a54e4a4f23e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c294541251409e86497ed61201fe5fd8cd6659e2a578407584598ac3e5276a34"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/running-thinking-indicator.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fc442be884036b44e58e0022b4bce070f5b6e84e9551985efeb61333187f9f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e275acda857846dff3397bdc3f0f1d87761306de2536503c8d650db600ef322"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc96f07235899f9de0c10e319d6b235bf1208531b47913abcb3f3c3d75b5261"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff24b66aa409cbf46fc9e00b15b2ea1fd6a8529bf38a60764c59123234d3ac29"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3fc4dc443a40e518b734a170c1c6028091bcaeaddd265990422020ab647ebf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5288683b25965cbc2aac916bfe0f72e1ae34dde9c047a4877ca665ef5341daa3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/diff.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29a7fc62fad6054c62a4d69dea9f5a945939421bbb5001dacfd0965922b3f8e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/fileViewer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b60c09b5645a2f2dbda4805a4b6d3f0209865bf88711be2f73836872ae991"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/HomePage.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51465190d2e882477ad0a116f11bee8895ed9998bcd48050732372fe040d500"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/HomePage.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c9f92b09950f75cf8851974eab1be201e0b0b4790c68c14108ec6172a42edc"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/ShowcasePage.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249c99a63b147d89208cf821b6d65599810b8019dd8f7d8d6da332269e4c054"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/ShowcaseProjectPage.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eb50b8b911ae976d6d46508dd936778d57dba7f313afe14195460f38bf58fa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/docs/DocPage.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"88021c55b1bca9ef3fb3e30520deff6fdd3365ec07d17dc468a6b9c767655875"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"586768cc4a42c3ff42dd1204c2e5ebd0606d777df1d77a8e14c07a128690a14b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad2eaf4dbadccdd94bb0700d4f54e05cea4792eaf7ac307f9c8512a8e092862"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d0f0f4374b2a838abe09186375de00dd6da6c1dfefacb46545eda3e91a41a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03288ce23f0ac6c9d202b006164720dcf959275dc43eef466e9b75b4f13dc66"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6192007701a874116551705b74a0112c314210a27ea1c3927e7e73fdf45530a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec357537e9b466d72cc75c24b23149cda59e422babe6894a44feb76d7f342b3"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b24496a30f8c9d5917aad3a3480877f60dd0f46246ab5ff47a6d14ad02c129"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fc9fbb2c0140dcc82efc2439950ac9220c7abd7908275d54a0e5eef01966da"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb2e06273992d605bcf4a35c28998ce2cecff8fe92daf693c5d738fae8fc816"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .btn with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"43713bfc7cabdba4fb15d20390267f376ffe725276cbf158f0d4e7dc829b1cfb"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30a6e058a4c9de537aba30e3a8e73012dbf7cb492f5c96f06a07140d38ce69f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d89dfd5fb120462017872f4dcd52118591ec9e0a86a573d09b6e2567f005eb7"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e20bbad03de71bf2fa2272cc4929d9d9bd49c3f40367b8dd7473e9afc048954"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"14715195be3e318a29f1457ce38c8aa9cab3e616ab2c7dd93f83d5f746614cf5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3b005ce2dd2f04fe8aa56addaf3b2b9b716bfa641387c642f27eff800b02a8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Csection\u003E: A script attaches a click listener to this \u003Csection\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/artifacts-ui/index.html"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"999cc2544b7132b74790bb9d523b0d64c61e8fb0af6c06ed7af6eeaf351af984"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f02973b27e494b184886cc53ebd602779f2ee264b89f33ac78790e71276af57"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a054d8492f2cd0c938f85bbf820366cba2bcfe36440c8b89b51d39215faf02"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3441bc6d8135c80957618478017c5a5a8b076538e7109c188af59f5fdbe161"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ab3fc4e1bd6f6f919e4cdffca2143c5b6a9b02ae5f8bf212c478aedb11cc9"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabindex=\u00220\u0022, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabindex=\u00220\u0022=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8185f8a9a0f465e1c62ef2983b2bcb3d0a24ff806251a95ab75b8021ad03c473"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .jui-pagination__item with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2acf238437e38b12b83a9584ab2b3beb43ecd59355ddcc27ac0ece46beec56"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .btn with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/ShowcasePage.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5093ee60c27cb06612d9fe1282d4ff0f972b6e048afc90e1652d1779f442ef0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6846d96e33864996fc2984a0f0941f341de48a6ac1b6b2ed87278e92eebd599"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9c79a21e917a2ab5f55b0fb5f9e1b4a1137f7c3e1490c8140805f215d41f8c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cform role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"37864ebc26327d7abe64e8ff380e3219d6cddf3875b884b4bef2807f614edbf1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be6764ec6679ef0b31d91987aff9a387c2957ed68f0a93f7d3ea6a50c3b2dd3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccff167fed84c58efc94f931aeee69cf54bdab2b11cc24f30435a560a4a77db"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e0cd3d2f4630998f3b786c7cf51459dda72d13f3047babdfb40f5bbac4b94a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/Sidebar.tsx"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fef3f30e9e405fd328cad3a1e86cd89635ad6bbd8848ad5cd156b8a8c4da786"}},{"ruleId":"AC5","level":"error","message":{"text":"Empty aria-activedescendant reference: aria-activedescendant is present but empty, so it references no element and the relationship is lost. Point it at the id(s) of the target element, or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a48e2b5c8950942ae761aff866d179d11ebd0410e93e212e7a79009783a80f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_analytics_dashboard/index.html"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b677d74f74be2e665c2e9eef4294cb8ccb74b54ac0a56a472468c9dd9f95c7e5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060input[type=\u0022range\u0022]::-webkit-slider-thumb\u0060 moves (\u0060transition: transform 0.12s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_pricing_calculator/index.html"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6ac6d45c8900b543b5ef56ea42a211c3caa0fd6916fc1a55a85e92ab4aca0e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.slider-toggle::before\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_pricing_calculator/index.html"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c2d150995afb5f71a464d68e2bfc3b6057c7d05e7c44740b0cbd9c2fe7d637"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input[type=\u0022range\u0022]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_pricing_calculator/index.html"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079c934d2db979351320af367e6f97878c13b06874c0d4fe7660e7550c1ffc5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.badge\u0060 sets color: #fff on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_pricing_calculator/index.html"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad1ec70b62b1f49f70fc0c8e89c425a0f343600f58cb085a037eea9e553048"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#add-btn\u0060 moves (\u0060transition: background 0.2s, transform 0.1s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bd13fecc58664393ee556aafa01f11818e4b693f285e9ca02034bfc5eea173"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060#add-btn\u0060 sets color: #fff on background-color: #667eea \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4d2cb781a667f52c095e1ffb87434875273e271ae53aad272174dc862a0f4d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.filter-btn.active\u0060 sets color: #667eea on background-color: #fff \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde60e35d2f826ab4e590a18635242833b6c75cdb0185249c3a4559529c7d5ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.task .delete:hover\u0060 sets color: #e53e3e on background-color: #fed7d7 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/projects/fe_todo_app/index.html"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecd2740b7dd0c025a71486f72fb8c0ceb07eec29fd2123d6ad4829981ffbb6d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.sec-head .sec-no\u0060 sets color: #FFFFFF on background-color: #FFFFFF \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3458bb7461fd9eb1f8c7029b71a01714c663fbcb1d1e51b5e85e17cf57e356a1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.mark::after\u0060 sets color: #FFFFFF on background-color: #FF5C33 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fb8b6f44c0f3d688313c2357c7a5ad2d36f240568a750130320100a681ec33"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.legend-item .n\u0060 sets color: #FFFFFF on background-color: #FF5C33 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/goal-banner-composer.html"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ae345acfb7ef35a0fd8c7c46e75152ca7ed20a01fac4e3c03ad6561201a96f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spin\u0060 moves (\u0060animation: rot .7s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d5ace114f8c531b9e3a2b69245bd99c7e025a23a6a946092fd57ca98fda8ce"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.btn-danger\u0060 sets color: #FFFFFF on background-color: #FF5C33 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/provider-redesign.html"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8bd62036d02bfe59a46f2ab2d9d765bd14015a3b8104fff0d24161802caf8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.tool-row\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/running-thinking-indicator.html"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"796b2631e71ef3989d8cce979af964e1f48f883bf5e32d3fc7408d5c2c853ccb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.wf-foot .elapsed .live-dot\u0060 moves (\u0060animation: pulse-dot 1.2s var(--ease-out) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"97034efe92fcafbdd9cf5776094d2c63726695eeea742535945c6779ffff20cf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.tab-btn .badge\u0060 sets color: #FFFFFF on background-color: #FF8400 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design/workflow-progress.html"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"706527d4c670763c283072ac11aff47a00a11329d30424e3f0f42770f6b841b0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mark\u0060 moves (\u0060animation: float 3.2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/splash/index.html"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdface382ce27d0e73788887bf15fd1c6cc2e60f1c099d9bd4a39ea32072763"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/splash/index.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"42859897cc1724584f81f3dcb9427f828f938fcf2826a6032d20c1efcb5a8a15"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.logo\u0060 sets color: #fff on background-color: #e8631a \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"33522ba7b85a99c93333c92fd737bebbe69eb377bf8ee22852a905c20950d652"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.pill.on\u0060 sets color: #1f9d55 on background-color: #e6f6ec \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9047b1829e4c451516905f0cefd5e5f3299f78ff360bbdb0134e2bf014d563c1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060button.primary\u0060 sets color: #fff on background-color: #e8631a \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"785da4a914b51a04535992f6bbc3e877616b16abe98df268477ad212c7731a3a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.badge\u0060 sets color: #e8631a on background-color: #fdeee3 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bcd0b44b7eff2e098309fc0df5ac98e42e4d4576dedea10a8049c11ab10d5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.msg.ok\u0060 sets color: #1f9d55 on background-color: #e6f6ec \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/popup/popup.html"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2479152dcb18548d6718047ef21322b426e1fff9e80c9eb65d2edc3dbe549490"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.preview-toolbar\u0060 sets color: #7f817d on background-color: #1a1a1a \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/artifacts-ui/index.html"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a41408fd95e83a6f79200c8a7f0b29c0d072c6cfa9f7e9780344db0779fb6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.image-card[data-state=\u0022saving\u0022] .pixel\u0060 moves (\u0060animation-name: pixel-save\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/01-pixel-shutter.html"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c096b5101df6f807b1a4813939d0a4cdcff43c425d82f80b57d581b8582dca07"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.generated-card[data-state=\u0022saving\u0022] .slice\u0060 moves (\u0060animation-name: film-save\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/02-film-slices.html"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"454e17d41a41de325fb937081c6e61a6ddf9d277770c5bf19fb02552b09115cc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card\u0060 moves (\u0060transition: width 320ms var(--ease-lock),\n        aspect-ratio 320ms var(--ease-lock),\n        border-radius 320ms var(--ease-lock)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"199fbeb70ad303e9ef965f75e5301b7a80bf7c297583dc55494145e9234ddb57"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.signal-dot\u0060 moves (\u0060animation: signal-echo 3.6s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d28025dcfa99c3358af01cd43d721533a8dc978d896a25d965530d5e16acac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .signal-dot\u0060 moves (\u0060animation: signal-settle 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"488e70b7a336a2ca075658b0347a473bd684aebeabeddac4f23ccda5cb9f88ae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.focus-rig\u0060 moves (\u0060animation: focus-hunt 4.8s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6574f318ea17791b6051f11c0f592e15fa72dd4902ac56c8d38598a42d93196"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .focus-rig\u0060 moves (\u0060animation: focus-lock 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa886a1b6ac1405d0b644f2e65e0d34a088ae8d8ac448f34abae5d5859841cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .corner::after\u0060 moves (\u0060animation: lock-point 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da6dd52f8cccdad6da77bf1b30e22f6d25aa75ce6898e28959b98959edf0abc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.axis.horizontal\u0060 moves (\u0060animation: axis-x 3.1s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f5aeb5504701183c48d40c4e880003a686460ea61aecd0b0d782adef93cb62"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.axis.vertical\u0060 moves (\u0060animation: axis-y 3.1s var(--ease-lock) infinite 160ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c570c9ef107e1122db1178a4486eedcfdda4877bb3b71484807a869254e6df60"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .axis\u0060 moves (\u0060animation: axis-lock 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61d2152bc4cce7765cb3dede2c0c51339507715ef014059b15447b897a3e4cf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.aperture-blade::before\u0060 moves (\u0060animation: blade-breathe 2.8s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27be8158fceb48aa4d1c7123336d6b31f2df389bc32c12ba01cf5005838a667"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .aperture-blade::before\u0060 moves (\u0060animation: blade-close 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1a74fffc177da95f07c165ec3a0204986b2ffd976edfb246a1e7c6fe5f0e16"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.aperture-core\u0060 moves (\u0060animation: core-read 2.8s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3335c8de9138cbb4841c3e28ba9aa0513225053450d6fbd7d017b6ae31fb11e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .aperture-core\u0060 moves (\u0060animation: core-capture 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d620ca3f3cd6ee0a816d48d7c1c6c6537b4139ad17095c136332c74b3366310"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.media-card[data-state=\u0022saving\u0022] .capture-ring\u0060 moves (\u0060animation: capture-ring 2.4s var(--ease-lock) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/prototypes/image-generation-motion/03-focus-iris.html"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c667fa75ab0a8f434a3554ee2b8f4f4f034e66c19e57ef78328c255cedfae2a1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"234079bcfdf6a04ede66d3dc4fa4b5c2656dce5ec6dc6b07d9a0d42037f822f8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e0229a29f70eabdaad2cd60d345dee4fc68895c883dff8b08781f68d77b6d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7088b5d7809594c960411df267d1405d7837c3ce6cfc3c99cedd2f84b85a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce116487f78126b8ab765c8204112b169002996f141509098a9b119d6598f551"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bc8b880e5825343596a96a96cc2355fd9924a570a10e3cf3310c9f4954fca1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8c6f5638d52350b3079e1e40dbaf351ab298198c4cffbfffbe90bbd557d0a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.boot-dots span\u0060 moves (\u0060animation: boot-pulse 1.1s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/index.html"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"22952eaacde0f4c3abcd53539ffb3238885b995584c98fdf29ac287aadefed4c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/App.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db1a7a206424054dc5430be37f943a1472bc2baa1ab415156bfc9dffe473b4e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AuthGate.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997fc387c6bf23219bd23265709717758256fe43adf025a7e83b36a2fd7d865"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf953bfe2e7824ffee43bf477d3d29de6ea74280fe836e58a61a61e78f7cf684"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce7056f7bd17933bca4e49496a438b6d0f7deb6619e2e8f9e05d8e87f356d7e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"23430317b27653464a305fe75e344e68881db3a1f1a871dde03c9d1386458aa4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f20e7165ce69b6e2c07ca6fc60900eb0f7308bd5c8ce4d042a909a2abf934"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aaf2cec76b23b2b26f7b33d36bcf99c87132ccef3052124430b749316efb076"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/CommandPalette.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d490a3956cee0831f0af5202000a3b2282092289b2377cf344ecf6814990dcbc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"069f2c752ace592c7ba0283ba6c38405a3a79a0310f10be4c551ed8b517d7c7d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b4ae5ce397c437c355d4a8f338d5a4390aef6d924423fa2a11a445bcc4a01b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16e0868a3f987901c9af44c259338fc5251c10e1751c678c74387ed8df0d643"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b2cb85b9edd611737df0567df4de5cacd4f6206d78c82d4b60f1eca25baecf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c13c214cb1fbe72a6ccf3932e593932b1db0fe592cd4939903a246ce4d4d10e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e70717f92394a4ce50bcf1ae911208522fc24f1de8cc4fc3d293e1107e28eae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7864006aa678ab1e976eeaa1cc25b31ade7b39c25c6e0793e913ebb8b0b0da12"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.btn-accent\u0060 sets color: #fff on background-color: #e96f1e \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/styles/global.css"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e46415245431c9adaa0cea4d4534f678af5bd9a7c75d705b3386286586c7e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.dk-kbd\u0060 sets color: #9b8d75 on background-color: #faf7f0 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/desktop.css"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"082814bdfcfd14ba91076886e7ef5db142171bf551a51b814276c783ae13d0fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.dk-done-check\u0060 sets color: #fff on background-color: #2e9e5b \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/desktop.css"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ef0b8c06654552e0f244b6603bc7d65191513193f57593fb2fbb5e51f9797e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.3:1): \u0060.jui-slider__bubble\u0060 sets color: hsl(245 60% 12%) on background-color: hsl(245 75% 66%) \u2014 4.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e977b9c225358c71720b98d2b686aa56ed5019b284089c395a779477fcea30b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.jui-table thead th\u0060 sets color: rgb(110 118 138) on background-color: rgb(32 36 49) \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eb7aee8c2810ea963348d1bb2489166651f1ed7d96b7071cbb153f546734bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/styles.css"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2555da1c803a25281e49685679958562cc72262657abae39644fcbfcb3bb1f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dk-composer-box textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/pages/desktop.css"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8309f3d79d233a026e9d7de43c664ef3a122b499f6f4c55179765adc10f95955"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060*:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffcaa3b084e3aa2d554640f14a43d564e5e066b24b67b74a6ac367cb20cd572"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jui-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e273bd868736aaff8a5d224992e6398e8549c532cd6ddc9b8e13828311ad19"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jui-tabs__panel:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a92bf47477cbf544d4aef37b76f87a8241d2797540bcd8583bef3bc365a909"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jui-cmdk__input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/ui-kit/css/jui.css"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2f1ea1a509a541d5458746e41ab14d1e004069e9c81eafa21b5ab2ebfc3843"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input[type=\u0027range\u0027]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/public/showcase-projects/city3d/css/style.css"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b9890bb1409bb5bb2f582e43afa1d58a4fad5ef3775e03b3f1693f2e7828c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jcode-chat-input .jcode-composer-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/components.css"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea50bb203a4d476f610a83ea1307198084c36358171a08d058bf20ceb161c8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jcode-ask-user__custom input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/components.css"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae54efe4eaba711eced8ce8661ef03c0816fbadb50e25f53cdeab3d83c4b1f15"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jcode-model-selector__search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/composer2.css"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fff81e9eb8472bdb7174bb477d978435e47f1ac9919c1f707526d4041c18414"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.jcode-threadlist-rename-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/threadlist.css"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f1c65b3ebca06990ef0c56265ea5e7261fda8494ba33b15905767c697ebeb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-toolcall .toolcall-body\u0060 moves (\u0060animation: jcode-scale-in var(--jcode-duration-normal) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/components.css"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd288b482ae8ea18952f60c3867bebd2a522b03152c203e6ecfce71ce745d2cd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-activity__body\u0060 moves (\u0060animation: jcode-scale-in var(--jcode-duration-normal) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/components.css"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a342add39940fb9322caa58d556c378d10e455571eca0f2a5bea3e3985db3ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-reasoning__body\u0060 moves (\u0060animation: jcode-fade-down var(--jcode-duration-normal) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/components.css"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b34ea679e7108610da76fcdfc79e10a2e4b59d4aff566e7a42ee77bc43b626"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-attachment-progress__fill\u0060 moves (\u0060transition: width var(--jcode-duration-normal, 200ms) var(--jcode-ease-out, ease)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/composer2.css"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559086bcafbc5ca02b1bca54f7d31e140473eb41d7af0be69f7b765e06a31d2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-pending-spinner\u0060 moves (\u0060animation: jcode-spin 0.7s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/composer2.css"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac922179a0e582fcccfaef9777a9fdec849977f62c515e8afcaa46077c12034"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-generated-image__weave-rail.is-horizontal\u0060 moves (\u0060animation-name: jcode-generated-weave-scan-x\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/generated-image.css"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cbc93eb5d71972557602eb8ce9b70aff8e2626dc5a3227289e33f912d5be5d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-generated-image__weave-rail.is-vertical\u0060 moves (\u0060animation-name: jcode-generated-weave-scan-y\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/generated-image.css"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"13181d00132418ca8be5a02b2fc14c4628db0f94676f01c4e3788c92e052c7ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-generated-image__weave-node.is-settling\u0060 moves (\u0060animation-name: jcode-generated-weave-node-settle\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/generated-image.css"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23fb9a2f6fa276e3d469ffb2c63aa36fabb70d52d13cc827f7afded67253bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-generated-image[data-generated-image-state=\u0027saving\u0027] .jcode-generated-image__weave-rail.is-horizontal\u0060 moves (\u0060animation-name: jcode-generated-weave-settle-x\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/generated-image.css"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0398d436dc0286dee30cd8372b24479b4d9b4c85ce51affb67c424581dddb35"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-generated-image[data-generated-image-state=\u0027saving\u0027] .jcode-generated-image__weave-rail.is-vertical\u0060 moves (\u0060animation-name: jcode-generated-weave-settle-y\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/generated-image.css"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e03f26f435365133ad34ec9f5a709458323c424c40c85f6db26ac1a0ef8090"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-threadlist-menu\u0060 moves (\u0060animation: jcode-fade-down var(--jcode-duration-fast) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/threadlist.css"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e41aeab971a88f8c71f349213c2d43dc217cc6cd28036f2125a0917877d56a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-welcome__inner\u0060 moves (\u0060animation: jcode-fade-up var(--jcode-duration-slow) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/welcome.css"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"580be0a81152c94f2b78f912c896e213defa620e8deb4e1af09197e5cef6171b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.jcode-quote-btn\u0060 moves (\u0060animation: jcode-fade-up var(--jcode-duration-fast) var(--jcode-ease-out) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/styles/welcome.css"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b65ee2312b8bf404f9bbf117e77f62a556c6152353affd0ded58ee8427a10c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: height linear 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-dark.css"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c096dc1b448d3b7419ccd762e4a1d89f20e56a5a9aee1959cb6336e9dad6add"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: width ease 400ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-dark.css"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8490bf7436b7f2384914b9e8a759fa4d15eae2449a3ff5e8f29878365a2e0d23"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: height linear 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-default.css"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8454610d98929bf4503f217f010b5dd09fff3e9bf448d344997a522a7c452cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: width ease 400ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-default.css"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e935e104f2caec3da2b5499f070d6334b0ee19fae30de3ffadb48ba73b311"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: height linear 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-light.css"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"628b5c5e8bfba3ba70f4e80c77382be3d70a9037947eb54b3550991647eeae33"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-input-wrap\u0060 moves (\u0060transition: width ease 400ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/docs/assets/css/just-the-docs-light.css"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"68be83df65cbe3eceec0a0eecd64a783c3f830e62ce0ed496f7a971c3847e486"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn\u0060 moves (\u0060transition: transform .1s, opacity .1s, box-shadow .1s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/css/style.css"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5eea0861b867c7f1861e0564f7af6a64498e84b00aca75fc09853a3df3ea1d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.feature-card\u0060 moves (\u0060transition: transform .12s, box-shadow .12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/site/css/style.css"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"95657b9b170df5fa13826574b46a2713d7c1be74fcb5c283384d927857874ce0"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CloudSupervisor (17 methods): \u0060CloudSupervisor\u0060 declares 17 methods: \u0060Status\u0060, \u0060SetAutoConnect\u0060, \u0060SetConfigSync\u0060, \u0060SyncCredentials\u0060, \u0060PairingRecords\u0060, \u0060ApprovePairing\u0060, \u0060DenyPairing\u0060, \u0060RevokePairing\u0060, \u0060SyncAccountSettings\u0060, \u0060SyncProviderConfigs\u0060, \u0060AccountSyncKeyStatus\u0060, \u0060PendingAccountSyncDevices\u0060, \u0060ApprovedAccountSyncDevices\u0060, \u0060ApproveAccountSyncDevice\u0060, \u0060DenyAccountSyncDevice\u0060, \u0060RevokeAccountSyncDevice\u0060, \u0060LastPaired\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0429b3f30185f3b2aa0f918db5d52c4e6ea686c1facbcbbdcd56f2b281485ff9"}},{"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":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060internal-doc/artifacts-design.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060jcode-site\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/artifacts-design.md"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5365ff28d982ac27bed226d7b66ce7a3b7ac2cf2b1f48e9927abeef3b704462"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060internal-doc/image-generation-architecture.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060jcode-site\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal-doc/image-generation-architecture.md"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1cab0669fed90412a0e2f7744feb39b5c200afb668dd24e1a3e641a616ed1b"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/7 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060agent-eval/harness\u0060, \u0060cmd/jcode-computerd/onboarding\u0060, \u0060desktop/src-tauri\u0060, \u0060packages/jcode-ui\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060desktop/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b6e49ad10c8e961005c67d0730474c09deb1b5b6fc82be1e4e21f43bbe176"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release.yml"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/update.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddf8e0caebe6a4f26156530b84232c73b96517c4d17d3567dd1f56b001beb70"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6b1e733aa1d756335bbc2de895a4dc0c07f4a12e84cffc1e39a1aa90dc0210"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"script/generate_models.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9df889e76505929b500c8c458c6769968b653e4c6ffac6a88c9f2a0dc32dcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (21 clone groups): 21 duplicated blocks under the repository root have copies in at least two of the sibling directories packages, web \u2014 13 of them are reported below, and 8 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 21 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 21 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 21 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":"packages/jcode-ui/src/product/types.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6bcb6ada48bc3a0620f39624c9ac57f6c94d92dcdd5885c7e038d207c1cd3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (7 clone groups): 7 duplicated blocks under packages/ have copies in at least two of the sibling directories jcode-ui, jcode-ui-core \u2014 4 of them are reported below, and 3 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 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 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 7 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8782049a0239e460d9720ed98a1b772f145ac77a6e7397046ca7c3e8461ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): packages/jcode-ui-core/src/timeline/groupActivity.ts:23 \u00B7 packages/jcode-ui-core/src/timeline/groupExploring.ts:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 242 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d749234782b20f4bb857ad2b8d9580cd507fff990378d2befa887d2f354191d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/jcode-ui/src/product/types.ts:19 \u00B7 web/src/lib/types.ts:200 \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":"packages/jcode-ui/src/product/types.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b452ef9052ce0a016966b17483cc926b9055abbd0a7b4becbb169d438267c37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/jcode-ui/src/components/ToolCallCard.tsx:181 \u00B7 packages/jcode-ui/src/components/ToolRow.tsx:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 189 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa5829eee2c791b017a5d802153540b87d8f14ef5d894d422f529febe2a7f05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/team.tsx:90 \u00B7 packages/jcode-ui/src/toolRenderers/team.tsx:149 \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":"packages/jcode-ui/src/toolRenderers/team.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7f03f941b9cb5da843f50a7d4e2702fcda72719836c49bf991a7b2e7915a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/jcode-ui/src/canvas/WorkflowEdge.tsx:17 \u00B7 packages/jcode-ui/src/canvas/WorkflowEdge.tsx:45 \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":"packages/jcode-ui/src/canvas/WorkflowEdge.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3755ee72a07ecdb0adfcc0c8cb35b9835f0db363bc3dc014dc230ab14cd2167a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/diff.tsx:51 \u00B7 packages/jcode-ui/src/toolRenderers/fileViewer.tsx: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":"packages/jcode-ui/src/toolRenderers/diff.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fa35d3ea0a4671842916038954a39186859d21b1855ee18eab1940d51e19f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/jcode-ui-core/src/primitives/Composer.tsx:534 \u00B7 packages/jcode-ui/src/product/ChatInput.tsx:969 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8016a30a0036d6c4b62571366aa04dbeafdca229f4dddd52bfa915f2f4c8045a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/jcode-ui/src/product/ProviderIcon.tsx:17 \u00B7 web/src/components/ProviderIcon.tsx:11 \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":"packages/jcode-ui/src/product/ProviderIcon.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0a98b737df8f0441cd0e7dd3017b04144d482eb13b2c98f8ba9ed8f5eb4e4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:840 \u00B7 web/src/components/SettingsView.tsx:3237 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d9c691278b0cd5a0db15926aff80182ec917823b8c49fd4d13993d3f05d4e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3568 \u00B7 web/src/components/SettingsView.tsx:3592 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"951b1bf3622824333a525aaa9ae61b66e5ef661f3d6285e7bb243c2be5e6a00b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/jcode-ui/src/product/remote.ts:7 \u00B7 web/src/lib/remote.ts:27 \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":"packages/jcode-ui/src/product/remote.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"710a53c3f961c8bf68c77298f09572c542b28496a7fc22087ab761b94ec1239d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/browserShot.tsx:11 \u00B7 packages/jcode-ui/src/toolRenderers/computerShot.tsx: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":"packages/jcode-ui/src/toolRenderers/browserShot.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b01b753efe62219367aaeff5e562a83f7a0457d6664e00d2ffe4e2a674ef79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/team.tsx:141 \u00B7 packages/jcode-ui/src/toolRenderers/team.tsx:216 \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":"packages/jcode-ui/src/toolRenderers/team.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ea2f753433c97b742c057816a4f8ec95e684a8d64c87c77f1d0c0401bdd6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:760 \u00B7 web/src/components/SettingsView.tsx:2302 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e76ae3cc892e2d1b204b72dae926ddc0c9ff64f09218f202798687994a5c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web/src/components/RemoteConnectionNotice.tsx:54 \u00B7 web/src/components/RemoteConnectionNotice.tsx:80 \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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b73783334c21c6d1ee75813b11fb6a82ae76214617264a17c87a186f5b9eeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/jcode-ui/src/components/Thread.tsx:261 \u00B7 web/src/components/ChatView.tsx:49 \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":"packages/jcode-ui/src/components/Thread.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384e8ac26e8ae2b5aec4d0819c1027e3506c0213f76b01a56731cc3eef48401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/jcode-ui/src/components/TurnChangesCard.tsx:49 \u00B7 packages/jcode-ui/src/components/TurnChangesCard.tsx:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 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":"packages/jcode-ui/src/components/TurnChangesCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dedd1a1570cd379951f04143c006df26b9f47e786179d0e32fc9637e462080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/jcode-ui/src/product/BranchPicker.tsx:90 \u00B7 packages/jcode-ui/src/product/WorkspacePicker.tsx:135 \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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11ed32df387b9f3a66b7299f0de1ba692c95858c76978a273989c6f83974c5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/jcode-ui/src/product/remote.ts:35 \u00B7 web/src/components/Sidebar.tsx:1135 \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":"packages/jcode-ui/src/product/remote.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd39b92d4cfd906b86c596faedbc40667a9915c2ace886e1f6e92aa2f58589f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web/src/components/CloudBadge.tsx:124 \u00B7 web/src/components/ThemeToggle.tsx: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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0c1566e5bc1ba1cededa3ca6d82016073c613e43ca998b0ffad46c691363db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/jcode-ui/src/components/Thread.tsx:152 \u00B7 packages/jcode-ui/src/components/Thread.tsx:172 \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":"packages/jcode-ui/src/components/Thread.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaaed6f8ff678fdef51809f28677594202472bbbdcc1ef58059efce069f5ef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/AuthGate.tsx:25 \u00B7 web/src/components/SetupView.tsx:201 \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":"web/src/components/AuthGate.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8347b291fbd67b8f6f261e787c1ba2a6fdf852709b66c4a1398f086a6b94765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/CloudBadge.tsx:35 \u00B7 web/src/components/settings/CloudTab.tsx:40 \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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa3439eda19bfc0ca3b59b7d31fa837fbd484d8e6e5700b24e7083d9f80faf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4253 \u00B7 web/src/components/SettingsView.tsx:4985 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfa377c7fa87b1ec73522d40d5fa4f7da1f68dacabad207c5b9c45b492ada24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/App.tsx:442 \u00B7 web/src/components/RightPanel.tsx:119 \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":"web/src/App.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"184c615d8ab6959b39cdcc3fa24155ff5cf30ba884306c9444fe0ffbc7e87130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2640 \u00B7 web/src/components/SettingsView.tsx:2655 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cc7ac7698a5ae2dbb41dda217e47b62aa4ebf7c3c757d5b71457711c1b8895"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/jcode-ui-core/src/primitives/Composer.tsx:204 \u00B7 packages/jcode-ui/src/voice/SpeechInput.tsx:53 \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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96170066e0ec380c5f0c196a6a5e3009700f0dfbc1b3546c89b7f5f3659cac7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/jcode-ui/src/components/ThreadList.tsx:96 \u00B7 packages/jcode-ui/src/components/ThreadList.tsx:130 \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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c6ed8241cff869d952a5d9104c82790bcdce5c80d87eca40d780af5b9a02ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): web/src/app/store.ts:668 \u00B7 web/src/app/store.ts:708 \u2014 the two spans are one implementation copied and then locally edited \u2014 162 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":"web/src/app/store.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"b890f3e924b55865ab7ca791508faa96bc8586d09c499e94a21df4b890e66925"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:455 \u00B7 web/src/components/SettingsView.tsx:474 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5133f396822f48b121128c90d2d71347a979ee11b967ba0fd408d3c4596a3293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2067 \u00B7 web/src/components/SettingsView.tsx:2398 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eea3de7f65e7dbb4df544af205c43251dcc3801a4b90dd80cab0694c2c5721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2448 \u00B7 web/src/components/SettingsView.tsx:2477 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b55f9cd2338a65ca50245c48175d54f5f27ce0f5385abfba689a4c69caff3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4195 \u00B7 web/src/components/SettingsView.tsx:4209 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4195}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea56cb5e7606c9ca01c41b5f9c71c487c1184db81ac096d728ea9ecbc30389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/jcode-ui-core/src/primitives/Thread.tsx:284 \u00B7 packages/jcode-ui-core/src/primitives/Thread.tsx:318 \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":"packages/jcode-ui-core/src/primitives/Thread.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd46468a0e8c74ea1f6fe86dd236e971b711f8e46f2121eb6fd102c80f63196d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/jcode-ui-core/src/timeline/turnGroups.ts:125 \u00B7 packages/jcode-ui-core/src/timeline/turnGroups.ts:138 \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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc285fb1e4012b54126fd1978dd46e22d3e2f76819517f198ea5824b3356c47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/jcode-ui/src/lib/markdown.ts:64 \u00B7 packages/jcode-ui/src/plugins/mermaid.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":"packages/jcode-ui/src/lib/markdown.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f21895736351b5d72454660a5ef2e78d8174999c608db38d9d5839ee6fef055"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/jcode-ui/src/product/ChatInput.tsx:2016 \u00B7 packages/jcode-ui/src/product/GoalBanner.tsx:310 \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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"11759235065e207923e0113f3ea9f802aa91c0cf9d6c50f5021d3bfd4fc79575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/generic.tsx:35 \u00B7 packages/jcode-ui/src/toolRenderers/generic.tsx:48 \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":"packages/jcode-ui/src/toolRenderers/generic.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1351ac03a028a559aa10dd29519c5b4058db54a64f4846bf67b935cece4aad54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/app/store.ts:1440 \u00B7 web/src/app/store.ts: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":"web/src/app/store.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"887bca9eca1ea5511603e52cdc576bf6f44ab727df1ef0abff19969bcda76550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web/src/components/settings/CloudTab.tsx:714 \u00B7 web/src/components/settings/CloudTab.tsx:756 \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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb3d70bbfc1c38c0c7d1b8f0181f0b50266273b3970121f7c6ee746a9e9e51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/jcode-ui/src/lib/markdown.ts:169 \u00B7 packages/jcode-ui/src/lib/markdown.ts:191 \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":"packages/jcode-ui/src/lib/markdown.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e3174b5ca772f5f8945a6596b8314611d028f2a9ff2803e334c9d704199efe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/jcode-ui/src/toolRenderers/diff.tsx:65 \u00B7 packages/jcode-ui/src/toolRenderers/fileViewer.tsx:51 \u00B7 packages/jcode-ui/src/toolRenderers/todo.tsx:20 \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":"packages/jcode-ui/src/toolRenderers/diff.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"34af8aee1c054d5e66ee2424bac82b2f237c426b93498ddd9f73d5c139480bd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/jcode-ui/src/toolRenderers/generic.tsx:66 \u00B7 packages/jcode-ui/src/toolRenderers/search.tsx:74 \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":"packages/jcode-ui/src/toolRenderers/generic.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b113c8f969566b071cdd4c62e7c1f81f2710ac7ec6af1c3b42b08d36e32a877b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): web/src/app/wsBridge.ts:183 \u00B7 web/src/app/wsBridge.ts:215 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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":"web/src/app/wsBridge.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"775f76ba42591a25fff788feccc1b46d77ebea70c9e19f1ec69d806d2fd5c345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:690 \u00B7 web/src/components/SettingsView.tsx:2235 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471db717ddd9da10f2e6d0fd551f40e68896c7938f57a06ef6407126938c55d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3079 \u00B7 web/src/components/SettingsView.tsx:3091 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"045b1e4d29a1e74e3d50ec3ee148714266be9cb8d267ac0bc6cb2d0565354640"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3174 \u00B7 web/src/components/SettingsView.tsx:3208 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6dc18cdab755a8f40907d81a8ccb770d135907e74ecaffe6e86005099d1d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/components/settings/CloudTab.tsx:509 \u00B7 web/src/components/settings/CloudTab.tsx:549 \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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b6e05ce202e477a9de93fa5f3183a26c433c55aaf7aba05b3eb1890a1aa26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web/src/lib/api.ts:229 \u00B7 web/src/lib/api.ts:242 \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":"web/src/lib/api.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ff78a741c68de24dd02f20eff0689a0297dddff646aa362bccc34ca6118e17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/jcode-ui-core/src/primitives/MessageView.tsx:102 \u00B7 packages/jcode-ui/src/components/Message.tsx: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":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fa440a4db78abe907dcabedf3b2a933153d24746467e3c5ef987b577a2a3fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/jcode-ui/src/components/Attachment.tsx:170 \u00B7 packages/jcode-ui/src/components/Attachment.tsx:287 \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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3981994deab4320c88c32a9e99b5726dea486ca7e32e03540818333de7a8f7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/jcode-ui/src/voice/AudioPlayer.tsx:97 \u00B7 packages/jcode-ui/src/voice/AudioPlayer.tsx:115 \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":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0991cc10f18cafffa4eeec6765d3dcb0a228ef6b22e2e7cdf4546e8c9e01481a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/jcode-ui/src/voice/AudioPlayer.tsx:19 \u00B7 packages/jcode-ui/src/voice/Transcription.tsx:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce80e0019e2f087b7c8c2102e83f9c277851eb2c25efef346388e1d53d1a382"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/App.tsx:406 \u00B7 web/src/App.tsx:417 \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":"web/src/App.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d16f6150bcff24a5832eff03716efaac51aac640aab2bd5080dd376684b05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/RemoteConnectWizard.tsx:493 \u00B7 web/src/components/RemoteConnectWizard.tsx:647 \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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed608c2f0822507313dd98537c6abcc741c0e95684dece9a0e18fe5c0b76da60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:1509 \u00B7 web/src/components/SettingsView.tsx:3063 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e72e01647dab2dc878ee77eaf6b6f23d78df950869212b3e64d4f985b0018f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:2122 \u00B7 web/src/components/SettingsView.tsx:2452 \u00B7 web/src/components/SettingsView.tsx:2481 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5293b135a0f4035a4927fc4249b853049096deb54ba975e21879a9b287cf88d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2170 \u00B7 web/src/components/SettingsView.tsx:2520 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d24a430050aabc461d56c8336d7a0d950f8ee20497707c14602ae7b8c612c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:3036 \u00B7 web/src/components/SettingsView.tsx:3138 \u00B7 web/src/components/SettingsView.tsx:3203 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"690274eabd11e7f16e0120ba07ec5607b756a680f02d2346d7d5ac1654b4f164"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4641 \u00B7 web/src/components/SettingsView.tsx:4670 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4641}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fc84d0417238cac7c73076bebf270360fcdaffa864c1f367080cc0281a6760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/components/SidebarFilterMenu.tsx:172 \u00B7 web/src/components/ThemeToggle.tsx: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":"web/src/components/SidebarFilterMenu.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebff2e6760f83f44f8e13ab66c8de8db9d70dec12c19e150a51ec82bd5e41376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web/src/lib/api.ts:41 \u00B7 web/src/lib/api.ts:73 \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":"web/src/lib/api.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a523fb15b1efdc8afa04b25c47c712979618d39d9fed8b03b70f1f73f2aa31f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/jcode-ui-core/src/primitives/MessageView.tsx:81 \u00B7 packages/jcode-ui/src/components/Message.tsx:101 \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":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce556b9f35a95bf1e68aa77d93315ad438b59f6459741e1d5707cb1dac861a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/jcode-ui-core/src/timeline/turnChanges.ts:159 \u00B7 packages/jcode-ui-core/src/timeline/turnGroups.ts:181 \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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab48fad1d55007a8597b7d335c32c1223ad3f92527890c49f5d78d64efb93494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/jcode-ui/src/components/ModelSelector.tsx:115 \u00B7 web/src/components/SelectMenu.tsx:111 \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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8712809716061e81ed52b8cd872f4403141f700a92f647433a3427ae8ea2f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/jcode-ui/src/components/ToolCallCard.tsx:334 \u00B7 packages/jcode-ui/src/components/ToolRow.tsx:60 \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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6bd1d0330670fc016a6a4af4c8574a233c5ab15a5c0ffee41348286fd56ffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/app/store.ts:2495 \u00B7 web/src/app/store.ts:2528 \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":"web/src/app/store.ts"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c402c8e7f866dc16582de609675acdffc7126bf6e15bc67b8e5852c43e5771c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/src/components/RemoteConnectWizard.tsx:102 \u00B7 web/src/components/TopBar.tsx:118 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6854d57470647d5b7847ba96e5a87d36046e754039713ea2bed1b55ca6a6ed1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:751 \u00B7 web/src/components/SettingsView.tsx:810 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"562c45757b44ea65f20fe3c8cf4deb4d766e5580362eeb9e75fea7e2b2552727"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): web/src/components/SettingsView.tsx:3058 \u00B7 web/src/components/SettingsView.tsx:3136 \u00B7 web/src/components/SettingsView.tsx:3176 \u00B7 web/src/components/SettingsView.tsx:3201 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8d15a85acee2f5629409c005870a3035ada3ccfb9ec39da3e7cc2e0e597ee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4979 \u00B7 web/src/components/SettingsView.tsx:4989 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11c34280cd4367403e0e1b9944ed0d1534f8351d7e93d2d2a5b314ba021e28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): web/src/components/Sidebar.tsx:369 \u00B7 web/src/components/TopBar.tsx:118 \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":"web/src/components/Sidebar.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8b76727da5d89bb96beb49553ba5e68b0f47c49cf3ec36ed6814fcd9c20a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web/src/components/settings/CloudTab.tsx:497 \u00B7 web/src/components/settings/CloudTab.tsx:535 \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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e31e1a6c29f052dc403b300e319c71c5ef6ed290be83db33708c3056812561b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/app/store.ts:1211 \u00B7 web/src/app/store.ts:1235 \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":"web/src/app/store.ts"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc211de69339012a00ca15f97efd93857f99410938cc6de90b7a3df8c1e522b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/app/store.ts:1748 \u00B7 web/src/app/store.ts:1775 \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":"web/src/app/store.ts"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"8085b7e94d837c83f9558f222a8223608d066adee61c264a2a97ea762f398cec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): web/src/components/ArtifactsPanel.tsx:435 \u00B7 web/src/components/GeneratedImageToolRenderer.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4610f3b6d6affe003378f073726392e69122f7869689e15d523879fd15a09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:1429 \u00B7 web/src/components/SetupView.tsx:252 \u00B7 web/src/components/SetupView.tsx:339 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d37f863280292d6ef82c33aba0bae70840f5bfffc8e6731a5c118c61d50df8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:1641 \u00B7 web/src/components/SettingsView.tsx:1650 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2627d4e462ccfd8623b3e70a48d21a00fbaae9cf20e4991de9363862309dee4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:3550 \u00B7 web/src/components/SettingsView.tsx:3575 \u00B7 web/src/components/SettingsView.tsx:3599 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aefa43b81bf25ac827016886d7fbf0628f5db0e4266850d7a8c79ca973fdf9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3667 \u00B7 web/src/components/SettingsView.tsx:3852 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3667}}}],"partialFingerprints":{"codehealthFindingId/v1":"634001e8215fccdd17f8a287d7ab2a99bd9d31528ba8216c89af4fb36c797332"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3975 \u00B7 web/src/components/SettingsView.tsx:3983 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3975}}}],"partialFingerprints":{"codehealthFindingId/v1":"788980963195f1cbad9a7e526d491b1782ee94f1a56c3b4e2e90ef285e038876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:5063 \u00B7 web/src/components/SettingsView.tsx:5072 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":5063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d30f38ecbcfdf33f0ce0d18372869a0482de2ec8e6d52eb31dc3fe1c2cbeaa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/Sidebar.tsx:602 \u00B7 web/src/components/Sidebar.tsx:610 \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":"web/src/components/Sidebar.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a6e702b1bb0b73d6f98ea6a4ffa12a18758238ba0037fbad29ed521738cd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/settings/CloudTab.tsx:443 \u00B7 web/src/components/settings/CloudTab.tsx:569 \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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba66c481d708cabad578beafd5bfc3019d8cd2cdd5726f1fe2f7dc9691190e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/components/settings/ProviderAuthSection.tsx:552 \u00B7 web/src/components/settings/ProviderAuthSection.tsx:609 \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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b80525905716e48fae8305918ed27870acb16db786b93199688b65c7fcc5c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web/src/lib/api.ts:565 \u00B7 web/src/lib/api.ts:601 \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":"web/src/lib/api.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a370a4c95ea6423cb25631ecdfa5ba90abde0a1e43ab63c55421ecf862881f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/jcode-ui-core/src/runtime/mockRuntime.ts:49 \u00B7 packages/jcode-ui-core/src/threads/store.ts:109 \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":"packages/jcode-ui-core/src/runtime/mockRuntime.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ed479034bf9d7feb8d43f69c7c988eb541faef238e2c3f58e4b5a880c87d5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/jcode-ui-core/src/types/index.ts:459 \u00B7 packages/jcode-ui-core/src/types/index.ts:468 \u00B7 packages/jcode-ui-core/src/types/index.ts:477 \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":"packages/jcode-ui-core/src/types/index.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5763a9413fc908e140fc6aa18d6410302a9dfd69467a24b19d1faddf6bd5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/jcode-ui/src/components/ModelSelector.tsx:60 \u00B7 web/src/components/SettingsView.tsx:971 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a5491fabc3481cf3a7824e4fbb0217c2d66de2dac147bcd4d458cb1000a937"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/jcode-ui/src/lib/streamingMarkdown.ts:50 \u00B7 packages/jcode-ui/src/lib/streamingMarkdown.ts:200 \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":"packages/jcode-ui/src/lib/streamingMarkdown.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df894de1cc13bd2366682cce1a092c0982ef2a50cf3fb8a23094c861d4a737c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/jcode-ui/src/product/WorkspacePicker.tsx:59 \u00B7 web/src/components/RemoteConnectWizard.tsx:50 \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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea52a6489f26752b0beadb7288b628590814fe37d47688b9295bf6a2ecd33628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/App.tsx:115 \u00B7 web/src/components/AuthGate.tsx:27 \u00B7 web/src/components/SetupView.tsx:203 \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":"web/src/App.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bf94ff0acfd2a1c9b00c8a4f6075fa4c1ef56b9bfe3b46509fc691d1e20fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/ArtifactsPanel.tsx:103 \u00B7 web/src/components/ArtifactsPanel.tsx:113 \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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"170921d13918a3ff77018bbcd07844be5a632d0e8e35b8da2aef31b2283500fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/RemoteConnectionNotice.tsx:31 \u00B7 web/src/components/RemoteConnectionNotice.tsx:39 \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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"646aaa0c176b4794d38eeec0d353152fa3b7c198d987032b27a70762dda48742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:353 \u00B7 web/src/components/SettingsView.tsx:2549 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2c3bacdd6b1acde46abec39b35bee50aca7372ddba5a39ac8b60e4e454c715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:1320 \u00B7 web/src/components/SetupView.tsx:107 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c69ca8a0c0b8bec8dda9f3553875539827406a2de5dba75528d6bf229ff432"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): web/src/components/SettingsView.tsx:1925 \u00B7 web/src/components/SettingsView.tsx:1957 \u00B7 web/src/components/SettingsView.tsx:4098 \u00B7 web/src/components/SettingsView.tsx:4774 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ccaf2ebfd3c2f4f80408fc6079a55a3a2474522a2b061ff2b2ad54b5ec201"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:2291 \u00B7 web/src/components/SettingsView.tsx:2446 \u00B7 web/src/components/SettingsView.tsx:2475 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d930e3a24175088b075364243293939dcbff4490d4f189799cc599da51d9aa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2319 \u00B7 web/src/components/SettingsView.tsx:3784 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d310366ae6535ba73dc56977611e58a9e48f447208aaf2055dd84eb6e649821"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:2353 \u00B7 web/src/components/SettingsView.tsx:3757 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bc67145b0cfdbb826c430267b4e67c067f01b8150485699ac749134ec10c19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:3459 \u00B7 web/src/components/SetupView.tsx:32 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7335f73ae03e9b53badd5f8bb47e4c5edae1c8635d712786564ebc5561a960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:3769 \u00B7 web/src/components/SettingsView.tsx:5065 \u00B7 web/src/components/SettingsView.tsx:5074 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3769}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1c6144202df16be85764bdc09ae0c3ad399455074d94d25875501f00fc5549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:4911 \u00B7 web/src/components/SettingsView.tsx:4983 \u00B7 web/src/components/SettingsView.tsx:4993 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4911}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca09aff98ef93439d932616e563325372208caee9e85644686db2d9750f085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/jcode-ui/src/components/CompletedTurnCard.tsx:96 \u00B7 web/src/components/ChatView.tsx:87 \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":"packages/jcode-ui/src/components/CompletedTurnCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dbb303b87f9f584b7cbba0c2b8b2e45de4b6148c8bcb1e88db25844e6d8119"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/jcode-ui/src/components/GeneratedImageCard.tsx:376 \u00B7 web/src/components/ArtifactsPanel.tsx:94 \u00B7 web/src/components/RightPanel.tsx:389 \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":"packages/jcode-ui/src/components/GeneratedImageCard.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"257aafba281979fcf363cc52930de3daee88bd8ca1b90291e84a63e0247de8f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/jcode-ui/src/product/ChatInput.tsx:351 \u00B7 web/src/components/SettingsView.tsx:2548 \u00B7 web/src/components/SettingsView.tsx:4425 \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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2932874558a1b141d2323c4fea85c8a5881e57907cb32cb116a3bf6bea7f9258"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/jcode-ui/src/product/ChatInput.tsx:1784 \u00B7 packages/jcode-ui/src/product/ChatInput.tsx:2084 \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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49c017bce6ea6bb2f5c526d1d706e10eec5b518c8514f713afa11ff767d2542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/app/store.ts:634 \u00B7 web/src/app/store.ts:656 \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":"web/src/app/store.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b59b3e78097ab65ebb4dc3927ac513fcd57f1498f89edd4ecc29e887e03b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/app/store.ts:1367 \u00B7 web/src/app/store.ts:1379 \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":"web/src/app/store.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f704301f59965d9e90d89f98b80691456515b0d3926ceb29e09243925be4dbef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): web/src/app/store.ts:1993 \u00B7 web/src/app/store.ts:2000 \u00B7 web/src/app/store.ts:2017 \u00B7 web/src/app/store.ts:2034 \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":"web/src/app/store.ts"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c9b89435a6277b3e8ba2df541f0b4ea05af9b95f4f83052ebc331ba6e629d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/RemoteConnectWizard.tsx:222 \u00B7 web/src/components/RemoteConnectWizard.tsx:254 \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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"486a05334c0fed5a5bbac5c40e5917c7a32cc49574126437010a0bae10721d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/components/SettingsView.tsx:1580 \u00B7 web/src/components/SettingsView.tsx:4202 \u00B7 web/src/components/SettingsView.tsx:4216 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f364523d3b8dea00ab0957f9e06a5e8ffd4fd768ed4e1e98736c4a2deb7103"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): web/src/components/SettingsView.tsx:1958 \u00B7 web/src/components/SettingsView.tsx:3761 \u00B7 web/src/components/SettingsView.tsx:3773 \u00B7 web/src/components/SettingsView.tsx:4099 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a2b374c0995259c2b1fea9f1ef636b418c842ea3f311492c4e0e4399342138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): web/src/components/SettingsView.tsx:2868 \u00B7 web/src/components/SettingsView.tsx:3458 \u00B7 web/src/components/SetupView.tsx:31 \u00B7 web/src/components/settings/ProviderAuthSection.tsx:284 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2868}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e54c3ea91b54f3623630532ce4684752b46399342e572bce9a77bbc6f4996f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4037 \u00B7 web/src/components/SettingsView.tsx:4486 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4037}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ea4ecd6d7dc40121ddbb1c1608bc4edb54519b942b17761cc5277083d7538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:4424 \u00B7 web/src/components/SetupView.tsx:33 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5d7af5bb6a37d8f42f775bc4079e08885d7ca63f74c1408f0cbddf71b2d3e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): web/src/components/settings/ProviderAuthSection.tsx:758 \u00B7 web/src/components/settings/ProviderAuthSection.tsx:767 \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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8590a3e5573c7cad80610151fbd87222ce773019b89ac2fd7eb81c572e4c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): web/src/lib/api.ts:374 \u00B7 web/src/lib/api.ts:565 \u00B7 web/src/lib/api.ts:601 \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":"web/src/lib/api.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c17f78e6d793342b5c37a31668bebf0a70f2683c523460013f01d1fbcb67161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/jcode-ui-core/src/timeline/groupExploring.ts:155 \u00B7 packages/jcode-ui-core/src/timeline/groupExploring.ts:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fd84afaf0ae5b201d2eee5644da26bd25dfeb06d3be97341558a77293d0a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/jcode-ui/src/components/Attachment.tsx:202 \u00B7 web/src/components/RightPanel.tsx:392 \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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a682ff26e3e44dcdeab41741e8af21b24662212bbc0bdfb37c44e9bd9f9a4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/jcode-ui/src/product/BranchPicker.tsx:34 \u00B7 web/src/components/RemoteConnectWizard.tsx:49 \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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f3a3deb25031707cda76c45f385a3b0f125ca8c40039d0205e9935f15b502"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/jcode-ui/src/product/ChatInput.tsx:1699 \u00B7 packages/jcode-ui/src/product/ChatInput.tsx:1731 \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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4a2a93b7a58077a7fcaaec41e9edac01c27f1fbd6149e9bcc6093a29e6cb42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): web/src/app/composerHost.ts:278 \u00B7 web/src/app/store.ts:2863 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"web/src/app/composerHost.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ea2ec5a25e7c905789fc63980db0a9c0638dee3c7e54312140d3d1c4ac540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/app/store.ts:77 \u00B7 web/src/app/store.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":"web/src/app/store.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"099cc17fbfd79c903e01ceeaab30ed6b396753bad3074f555e407fe5cd2d3b6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/app/store.ts:1600 \u00B7 web/src/app/store.ts:1608 \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":"web/src/app/store.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14e1a5496f95fb5dbc8f5b1dcb729ed817adff06642f66970ceee27c7ae721f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/app/store.ts:1880 \u00B7 web/src/app/store.ts:1900 \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":"web/src/app/store.ts"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c35a94943e9a77a9bac8b5227236bb4574c40b042d88ea86ec6083ea86c8392"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/src/app/store.ts:2075 \u00B7 web/src/components/AuthGate.tsx:26 \u00B7 web/src/components/SetupView.tsx:202 \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":"web/src/app/store.ts"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"7970e08b5e0c91dbe3658b39cd32f458a21aa5721e9c6b7c5a71cb6fe8180d39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/ChatView.tsx:163 \u00B7 web/src/components/ConversationLoadingView.tsx:234 \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":"web/src/components/ChatView.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b54d8daaafc988c79d8de07c5cf19b1023550031a916373dd88cb9c17b6d2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/ConversationLoadingView.tsx:135 \u00B7 web/src/components/ConversationLoadingView.tsx:184 \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":"web/src/components/ConversationLoadingView.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0265551186e764bfbc91f180aab92d56bae04f51b8958c3c442c21d581aadeab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web/src/components/DesktopTitlebar.tsx:48 \u00B7 web/src/components/ProjectHeader.tsx:13 \u00B7 web/src/components/Sidebar.tsx:108 \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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"335405415f4969822a78ce17db8dc442fbb459b6500020c235c55fb1feb81ce0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/RemoteConnectWizard.tsx:46 \u00B7 web/src/components/SetupView.tsx:37 \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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f81206423cd7a86455f45c4382262cc7f231083dd9055432a6bbebf9908b8ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web/src/components/SettingsView.tsx:1398 \u00B7 web/src/components/SettingsView.tsx:3018 \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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6177476f4c889fca460d193f37eb97176434cad91a57141317031f75f9d7b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatInput (cyclomatic 96, cognitive 86): ChatInput has cyclomatic complexity 96 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296efd6c1a4a8ac04f49d4b5740b00695ad67c3dfb30ec57793649c5f4c2fdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryTab (cyclomatic 80, cognitive 60): MemoryTab has cyclomatic complexity 80 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5e8070b4162323bf857335f8f8871ee0a3f49415bcd859e4c6ab76efd0aa06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addToolCall (cyclomatic 68, cognitive 71): addToolCall has cyclomatic complexity 68 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":"web/src/app/store.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"85536caba05c1af8658de5db8c31975c5a3ebdb50bafe72e61bb49c330308871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerTab (cyclomatic 66, cognitive 60): ComputerTab has cyclomatic complexity 66 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f15268090bce299bc320765ffb39daed9999860c432e217bf6283509e7e5b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveToolCall (cyclomatic 53, cognitive 68): resolveToolCall has cyclomatic complexity 53 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":"web/src/app/store.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a0b3489c3b4754aa795ce90885f77e5a27362308b92c5761ed693d74a49e0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSymbols (cyclomatic 51, cognitive 88): extractSymbols has cyclomatic complexity 51 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3c13d8fa1b024f98bad9484df78adf14333da85a35e2402c2c8d0214d14f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudTab (cyclomatic 47, cognitive 42): CloudTab has cyclomatic complexity 47 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4783d0d10058bae83699aed1fc0a04c64c867a1b7ff2e9181392f248da31fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteConnectWizard (cyclomatic 46, cognitive 44): RemoteConnectWizard has cyclomatic complexity 46 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a11a53c0b8ba899d6fb6251c22f23abbf1bce030c4ef2c8aff4c2e9a4175816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderAuthSection (cyclomatic 46, cognitive 39): ProviderAuthSection has cyclomatic complexity 46 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0491dfeed2cb3604d2d0508670a190e53349627041c05ff2fa9627f0f77648c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallView (cyclomatic 46, cognitive 34): ToolCallView has cyclomatic complexity 46 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":"packages/jcode-ui-core/src/primitives/ToolCallView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2807148162249ba02452a9aeb9d4266d35cf72566096e4870094b30fcfb11430"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderForm (cyclomatic 45, cognitive 43): ProviderForm has cyclomatic complexity 45 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff4f1c1025b3c6d3d18ab66fb53caca40dfabc68c0610a82467a32a5a43aac3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolRowHeader (cyclomatic 45, cognitive 40): ToolRowHeader has cyclomatic complexity 45 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":"packages/jcode-ui/src/components/ToolRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0815e5b14809b68c95fcf64bd1641728ccc985e599083c5995fe2939d3744c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Message (cyclomatic 45, cognitive 32): Message has cyclomatic complexity 45 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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"152f1914fe1f68adeca204def2ba1d0d6c0c8f660a363645e51da5a74d5c3777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneratedImageCard (cyclomatic 44, cognitive 38): GeneratedImageCard has cyclomatic complexity 44 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":"packages/jcode-ui/src/components/GeneratedImageCard.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5a8d7d29bae9634f326e2b767bd4184ea35c4d59bdafe4507038dd806aaab4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderCard (cyclomatic 43, cognitive 39): ProviderCard has cyclomatic complexity 43 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1b41b2fb739f2511649bda6bcd45043991f3d9bc7fb0b900e9db3ed03df289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Composer (cyclomatic 42, cognitive 36): Composer has cyclomatic complexity 42 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5c892256fb1374f04d78b73f7b9eebfc29394cb164600a51300b62cdd691c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationLoadingView (cyclomatic 41, cognitive 39): ConversationLoadingView 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":"web/src/components/ConversationLoadingView.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4365df17e9c380bf14e2c7231be22e4aa0c591f448fa849f1663ae6c5fb11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolHeader (cyclomatic 41, cognitive 36): ToolHeader 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8184ad53434b7f080edbad85fd36e2e11efef5571ec8c7f6f427aa65320caa33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 38, cognitive 47): save has cyclomatic complexity 38 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df650d47e511d80d8d8f2aeae45d2a6611172aee9b3582889aac442006471e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayOperationsByOccurrence (cyclomatic 38, cognitive 45): replayOperationsByOccurrence has cyclomatic complexity 38 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":"web/src/app/store.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e63db27caadda7387f6125599175b24e7793d294c6b48da47cabc30f1cce4c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTestOutput (cyclomatic 37, cognitive 68): parseTestOutput has cyclomatic complexity 37 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":"packages/jcode-ui/src/toolRenderers/testResults.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6218d787de3986cdc10ad9a2309be49f23cd11f0977c8104f8681ee55c87b95c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspacePicker (cyclomatic 36, cognitive 33): WorkspacePicker 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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa6424af8c4d9b687cfed85b963fe7e95c49c7b4b4555e10899e601af8e0766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionNewChat (cyclomatic 35, cognitive 31): provisionNewChat 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":"web/src/app/store.ts"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f772ba8d635fc0f21970d5511d65319d779b98e139f5d00b9cac9f9d104e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayTimeline (cyclomatic 34, cognitive 55): replayTimeline has cyclomatic complexity 34 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":"web/src/app/store.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f1e0789eb2db489885dcdb22475caa9f1ff21b48ac92e69000a9f8515992d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 34, cognitive 38): poll has cyclomatic complexity 34 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56965baa85c091a3544ce1fc9cb50986b4551f23c875e261f0d6c8f5c35fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeConversationEnvironment (cyclomatic 32, cognitive 34): resumeConversationEnvironment has cyclomatic complexity 32 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":"web/src/app/store.ts"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"81509f2cf9c5daf7e8b7b43bbcc2544aafa90f39ddb3d7c6200d88d365ee8736"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TerminalRenderer (cyclomatic 31, cognitive 27): TerminalRenderer has cyclomatic complexity 31 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":"packages/jcode-ui/src/toolRenderers/terminal.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3634260a1728c2d8274f851dcae261bdf287ab1124600906f5e6b46d923f05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boot (cyclomatic 29, cognitive 33): boot has cyclomatic complexity 29 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":"web/src/App.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e824b3bf8a2fde170ef4604ff5e5531cb810393cc2ceefdaa7bb6c074dd693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationEditor (cyclomatic 29, cognitive 25): AutomationEditor 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"db40e1c001f38c1b89e52e18f2b21d577abf8f8c261756da4b945bf30a7f57b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revealSessionInSidebar (cyclomatic 29, cognitive 16): revealSessionInSidebar has cyclomatic complexity 29 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":"web/src/app/store.ts"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a56238bbe0cf4f2724aeab8a809fb83f3e2ec63a0c5c040f0035849e6f61c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteConnectionNotice (cyclomatic 28, cognitive 31): RemoteConnectionNotice has cyclomatic complexity 28 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":"web/src/components/RemoteConnectionNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"93198995a320c6e2864aeb7b214195556dd18a2cfd034a99d0141881ec5df351"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeToolLifecycle (cyclomatic 28, cognitive 25): mergeToolLifecycle has cyclomatic complexity 28 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":"web/src/app/toolLifecycle.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b34ddcd5c39eaed123d9053fe66cdd63f0843dc5fd5d1201dc73de649a0758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 23): (anonymous) has cyclomatic complexity 28 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"89265e32a69fb2e6c067904957cceba8fd1a154903c902a871808c77d2d6c2d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 41): (anonymous) has cyclomatic complexity 27 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de138aaf7c48eebd142022a083f9968345497f5a163227a4a3a6984019ba095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEvent (cyclomatic 27, cognitive 18): handleEvent 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09a8965c6c0a800d98c23ca5f81e62a6397079113a08511be9c1df66e4733ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentHeader (cyclomatic 26, cognitive 27): SubagentHeader 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f53375574e4e3ef09ff5becbf90937f97c76bc763d26556c51332b7974a428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyForegroundAgentDone (cyclomatic 26, cognitive 23): applyForegroundAgentDone has cyclomatic complexity 26 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":"web/src/app/wsBridge.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1e0bb7720a02ed210f572b397aea288aa5bb8a426d009b6363df859119befa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateBanner (cyclomatic 26, cognitive 21): UpdateBanner 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":"web/src/components/UpdateBanner.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f5a3e68d39aa0cdf4fa92d816fe3556b2aadb7891d67e66c45aa4cea59c32d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetupView (cyclomatic 25, cognitive 23): SetupView 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":"web/src/components/SetupView.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea97dac19a6fc8e0ea71e14d79f322831d501dc71bb525e8d650772019c0aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompactToolRow (cyclomatic 25, cognitive 22): CompactToolRow 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":"packages/jcode-ui/src/components/CompactToolRow.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d562b1e934f8d9babdf620c947244e24b8a26f8d22add4fb01978ce34c4fe94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolDisplayInfo (cyclomatic 25, cognitive 16): extractToolDisplayInfo has cyclomatic complexity 25 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":"web/src/lib/toolInfo.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"496f2fa97d740c874864f2b3eeff4a634553d14544b80a5462c3e417d095d645"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactViewer (cyclomatic 24, cognitive 37): ArtifactViewer has cyclomatic complexity 24 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"326bad778480433552478a2cd6bcf4dc44fe489459d4522aeaf690757f63e476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindApprovalsToTools (cyclomatic 24, cognitive 26): bindApprovalsToTools has cyclomatic complexity 24 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aa726fdaefd9298194a749c370dae830b8eb4b0f69bbf4d80aa43428da3852"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GoalBanner (cyclomatic 24, cognitive 23): GoalBanner has cyclomatic complexity 24 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":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"838b2cd71dff3cc67eb915effb602cfda6a75063663747521c88094b54aca996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetails (cyclomatic 24, cognitive 22): TaskDetails 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00cdc5afc2b45a88be0dcf67ef63c1ccf6c9f0866df8114d8d6843c192d3a42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findApprovalTool (cyclomatic 23, cognitive 37): findApprovalTool has cyclomatic complexity 23 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e5196d96738d6653d911bbec81b1a6d8da5659107e43d48b6a0a7c3226a061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 31): (anonymous) has cyclomatic complexity 23 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":"web/src/app/store.ts"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"053753260c8bf0b747f568dc1f0204cf367f2a3a49994d5bfdbc4ccb9133fcce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeActivityCounts (cyclomatic 23, cognitive 29): summarizeActivityCounts has cyclomatic complexity 23 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"74597da425077a4df139875c7438191587f9cb80b24f871c4867891572ccd035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeExploringCounts (cyclomatic 23, cognitive 26): summarizeExploringCounts 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f9c690b4d060a9d5f9843834f8a29af08ee17914f19c6aec78ef49959ae78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BillablePendingCard (cyclomatic 23, cognitive 22): BillablePendingCard has cyclomatic complexity 23 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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f2ec6791a65b4dac73f9d78386af3d3ff1c75e666aa11f6900841d6fb8a3ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactsPanel (cyclomatic 23, cognitive 16): ArtifactsPanel has cyclomatic complexity 23 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"83402db70fc057439916e7865cee9a8d60b23b7cb77345b1a9a74f92ccae29c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayArtifacts (cyclomatic 21, cognitive 22): replayArtifacts 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":"web/src/app/store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c5103d14bc6371e94fd3f9dcbddbe36cf6dfb6a01bc7cf5c42f2d82c7a983a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProvidersTab (cyclomatic 21, cognitive 20): ProvidersTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976a59ad2bd1773bedefc6c075a25e43c37da57e2d7bbc15cd4e347bd48159d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 17): (anonymous) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12730cc48f19efe68841fbbcbcfa399b7b4f23486213f1688d13afdd7f70f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMCPRequest (cyclomatic 20, cognitive 22): buildMCPRequest 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"be154c2c61ce12ea28c84fb49f80c707656586ee7a8baf64b32aaa6c851d1adf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f993f919cec81bb99b1be3f69c093ce830f2e5f0f059ebfec955b8d86ea22e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) 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":"web/src/app/store.ts"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"849d2e5bc5a8740a346511f28b8d2db815b83832c91bdfdc1fa7b2510138ca72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bucketOf (cyclomatic 20, cognitive 14): bucketOf has cyclomatic complexity 20 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf50cf3c2083feb1e27166ab470454b0a09be1ad8b8c4b322208f5675ec0591e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildFromMessages (cyclomatic 19, cognitive 35): rebuildFromMessages has cyclomatic complexity 19 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb86c38060ae699556f45b6f8aafb9cd6ac06ae8ed1ec1c87c452d3e99a924b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCSV (cyclomatic 19, cognitive 30): parseCSV has cyclomatic complexity 19 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"71172ed72535513a623e36076515a1b41c83a85951771839afd10e109c4d346d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeExploringSteps (cyclomatic 19, cognitive 23): summarizeExploringSteps 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b826dd9ba6d0c2f0b5dc9aea33ade25ca55482996c588a786a811d719208f0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityGroupCard (cyclomatic 19, cognitive 18): ActivityGroupCard 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":"packages/jcode-ui/src/components/ActivityGroupCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b401ef396cdeb163fdc9e40aac1f983a86cb378e4283cf6704ddd10535bc45c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationRunReplay (cyclomatic 19, cognitive 16): AutomationRunReplay 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":"web/src/App.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83c631788fc3bc562278be1e8929d8715c2031490d20036d4d59775e1817c66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4940}}}],"partialFingerprints":{"codehealthFindingId/v1":"5444df2393a05cce632c59c44cfdc5f093126ad50bd973410f2e56597dd8cfb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Shell (cyclomatic 19, cognitive 15): Shell 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":"web/src/App.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6c2093bff6247097cd70cb9ed2de3627c3c7805494c900e3b26af4de8d3a87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 25): (anonymous) has cyclomatic complexity 18 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"92568f027407d72e003a2dcb231d450b8bc1867128e0cf2d70aa7ee4f6044be2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareProjectGroups (cyclomatic 18, cognitive 19): compareProjectGroups has cyclomatic complexity 18 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa09cef1b2fd6e6150f81c1e805f00376ec2433673f908a2231104f395e949"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingCard (cyclomatic 18, cognitive 16): PendingCard 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":"packages/jcode-ui/src/components/AskUserCard.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a716f96d7c708ae0620ab92b1d19b28ef3f964cfee6bb3377baedb1189b2d2e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 18, cognitive 16): onKey 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":"web/src/App.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"be940f7adbeffc2efc78dd15082643bb7f925608929420e21d8ec421d90845bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycleHostIndex (cyclomatic 18, cognitive 15): lifecycleHostIndex 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":"web/src/app/store.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f953f4ba5eb3db552f096ca748c46d5ac4b10040b3a9b57994ff39b05df02d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudBadge (cyclomatic 18, cognitive 15): CloudBadge 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":"web/src/components/CloudBadge.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b531b78d87b3e524bdd8020d71d7fc938879ef4c76b4f0e7d2bcbb12379bfee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 18, cognitive 12): onKey has cyclomatic complexity 18 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":"web/src/App.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cbf58a3ad23718526b30cce97fa447f61c525969d069a3692ffc725a9067f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentDone (cyclomatic 17, cognitive 28): agentDone 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":"web/src/app/store.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"742c9a3745e5a7a77b2c6d702ee9eb1b4d59532d0c4f357f0d62368e4a59ef77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 17, cognitive 26): handleKeyDown has cyclomatic complexity 17 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fe9c80f0f6cc0f4f80b9c1741f82d355423cc7240518b61b6e3e673d4cf1de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 17, cognitive 18): draw 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":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cccc957917ea11c290404eb8e84e12d93a461050431082ad81654c5577a09c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingTile (cyclomatic 17, cognitive 17): PendingTile 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":"packages/jcode-ui/src/components/Attachment.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e64b74006b23a9d3e05938564985cdbe982b17650478c1fb88fe52ce90b807"}},{"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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeb4e8587a1d2499abe98fddd2b98ce4cec5f0cad4e88d41c2589e9a9efd5d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyReplayToolResult (cyclomatic 17, cognitive 15): applyReplayToolResult 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":"web/src/app/store.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5a78f0082a8a5524855b93695bc318ba35820f5406bb1bbcaef7b8a3351394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGo (cyclomatic 16, cognitive 23): parseGo 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":"packages/jcode-ui/src/toolRenderers/stackTrace.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e40e6615cd4d17a99ef487918a82d02f6d6bdef3cd2408d161d10c085896b1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupCompletedTurns (cyclomatic 16, cognitive 22): groupCompletedTurns 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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989eb3a6d92e4bac7fb5e304192d3728f7b4a8f01080998f090a8333e3bc975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffStatForTool (cyclomatic 16, cognitive 21): diffStatForTool 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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b1fb10743b4e860bcb758fbbf902067bb2fdd379e8fdf57f2c9b6bcb44d65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRemoteLabel (cyclomatic 16, cognitive 21): parseRemoteLabel 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":"web/src/lib/remote.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46eef8507ff9c93bb9e9604d4eb054ea1eea622fecac4624878b325c195464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 16, cognitive 18): save 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5c5e2c76e283415ed990f6f05a08e6fd1167570c3c735596a7091a791359b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsView (cyclomatic 16, cognitive 15): SettingsView 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e3dadb80c544d93c6a358cb539d5f247b41c7d8d7edbea85f72faf3985ee87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalReviewSection (cyclomatic 16, cognitive 15): ApprovalReviewSection 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8e550b2a40656a4fc4e09e438af57989c2932d331cbae769d171f9c2d84664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 16, cognitive 15): complete 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":"web/src/components/SetupView.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17398d32d316780030c0a5191d279066986190bc4b479c70fb06180f37f678b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8020725feb037cb798f2f9283a3c7c6fdd35bc0525bfd4c2b7345a1e78ebd0c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectAndBindConversation (cyclomatic 16, cognitive 13): connectAndBindConversation 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":"web/src/app/store.ts"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bef297aa72cc260da47f8ddc07f05884a90fd4a8a79fac8330b9d135034a71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onClick (cyclomatic 16, cognitive 13): onClick 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":"web/src/lib/useDesktop.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd8972a3fcc34fe903c795e819c65fcb7fcd6af71fce0b1c0ba1ba7cd5529a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 16, cognitive 12): onmessage 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":"web/src/lib/ws.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f19f2ecc39d2726743b8ad8164357da09a0ea498f7de9cad51393bee7edeea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolSearchSection (cyclomatic 16, cognitive 11): ToolSearchSection 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"907034a5bbfb877f583222eb3ab186b55f453152c08d39c9931909eb74ed4391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPTab (cyclomatic 15, cognitive 20): MCPTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"3362636539f868bc2172f0039efda124a72dc075c040c7aa32de8aecba088f20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDiffCount (cyclomatic 15, cognitive 19): parseDiffCount 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"83140b5bed2a6e23b8108e7b0be9f59e213b31e2e9af005a788684c4ff5a499b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeTurnChanges (cyclomatic 15, cognitive 17): summarizeTurnChanges 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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7d3128d9757345b1f8cfc30b6794f2e07af951955e9463fb59ddc6b6d1a9fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindWith (cyclomatic 15, cognitive 15): bindWith 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac063068f5feca745b5419ca4799287e9e979227c38759faab3a5500fda66f96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function browserLocale (cyclomatic 15, cognitive 15): browserLocale 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":"web/src/i18n/index.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19a446496b75351524a253d4de8eb3fba7edb6fb82646234a0343ec2323e39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onListKeyDown (cyclomatic 15, cognitive 14): onListKeyDown 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":"web/src/components/SelectMenu.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2468a7aa09c1efb78a122e519af954105e37a7ecd4eafea6bc488992fd768fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserTab (cyclomatic 15, cognitive 14): BrowserTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"e968660f9a72ae7e2a59d266697fb90f7fa098e0215d7378c5f9763e50d2b109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadList (cyclomatic 15, cognitive 13): ThreadList 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":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82b68af864e6fa69165639cd3e4d1a3e3c25b4d13d34d15cbdf2a3e5b8627e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TurnChangesCard (cyclomatic 15, cognitive 13): TurnChangesCard 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":"packages/jcode-ui/src/components/TurnChangesCard.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4574a2c5e830f094564c2da61f02e80189e7757defa9758cc7df0ce7d51c3aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyResolvedToolFields (cyclomatic 15, cognitive 13): applyResolvedToolFields 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":"web/src/app/store.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e9901546d741cf520097c357b19cf18bfde6db2b9297a599e7cb5d8a22bbb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LangfuseConfigCard (cyclomatic 15, cognitive 13): LangfuseConfigCard 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbdf1491a83974ab695e685b79c6102a3fb63b60674853ba8cd7796738f1b9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeveloperTab (cyclomatic 15, cognitive 9): DeveloperTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe5860cd703d509453a5f2a693f34932ae64944de575572640bd69a37c1defb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendTurnChangeSummaries (cyclomatic 14, cognitive 18): appendTurnChangeSummaries 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":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"733cb72ef40816d57c02c2cb726e4c301254206cfefcfb573dc0f92927ad9165"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runStatusAction (cyclomatic 14, cognitive 18): runStatusAction 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4438591cc5a465d5f16bbdd811182c4bcc2d16ca0b2caa6da4df8e88cab98b5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findReplayTool (cyclomatic 14, cognitive 17): findReplayTool 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":"web/src/app/store.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aedbb9af3961f4a4a395048cb1a82b41aa429305b0e851def703d0797e5491a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startLogin (cyclomatic 14, cognitive 17): startLogin 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b512f05d00a346424a5b8e9927e03789f7e917773b6fab6d76f021cabcaad4f"}},{"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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5adc9180b24fcab5abefcf7d0208f1253e033b1dd96e5ca340a0bb72a4e176a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextCapacityPopup (cyclomatic 14, cognitive 13): ContextCapacityPopup 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ea512c081edf770fad031da88d97ab6b82b311fa1c685550948aacb9f91f21"}},{"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":"web/src/components/Sidebar.tsx"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad91cb2accbf09bafd54630309b9e12399895b2a9f3053848d4b84e34620bd70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServerVersionRow (cyclomatic 14, cognitive 13): ServerVersionRow 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":"web/src/components/settings/ServerVersionRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ef2efb85e5fb72674182f02e6c7d2899d50938f5d859c733dd63938cfaecef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportThreadMarkdown (cyclomatic 14, cognitive 12): exportThreadMarkdown 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":"packages/jcode-ui-core/src/export/markdown.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ad60146394650a6811892a971a95ac58ef93973ffbef4c22edfa4025ba5ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpeechInput (cyclomatic 14, cognitive 12): SpeechInput 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":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a548cc5e4101d25addf6a107e27b6a936693e5c2ab151eb0139068cca8e0b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageView (cyclomatic 14, cognitive 10): MessageView 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":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"109123f7987a46954fbc00ce86e70903eb004fe9d9674532218d554e16413944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseJs (cyclomatic 13, cognitive 20): parseJs 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":"packages/jcode-ui/src/toolRenderers/stackTrace.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d62aec2296660f274d9c0bd717555726c7321bde3267016ae6003a49791064d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiff (cyclomatic 13, cognitive 17): buildDiff 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":"packages/jcode-ui/src/toolRenderers/diff.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a448da35b5fe2f4e08feb97d3aebf29c80dcf31d2df08a0426dd473fa8ce4807"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveCustomModel (cyclomatic 13, cognitive 16): saveCustomModel 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"783dd9a9df2e8592cdcf0244dc626d09a1e6a2fd203ca36a8609c7d89a372c7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveServiceDownloadLink (cyclomatic 13, cognitive 13): resolveServiceDownloadLink 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":"web/src/lib/saveFileLink.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"42606009ca17f27809e9827cb19f8c3721c591c08a5540ee9fee30cad9191063"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMockRuntime (cyclomatic 13, cognitive 12): createMockRuntime 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":"packages/jcode-ui-core/src/runtime/mockRuntime.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4dc0287505c25510ff67f3c30eb6d9022207d2adc4a4483a0186de054fb95a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function header (cyclomatic 13, cognitive 12): header 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":"packages/jcode-ui/src/components/TurnChangesCard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cb412c76d1abc05ee4c862c23c2b0c255fd52a8356639c68bdc8ead537fa91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchPicker (cyclomatic 13, cognitive 12): BranchPicker 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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"da12af0ca4abeea1e6e5a2ca5d6fb467c3361fd05565ad3e61a76ec2fcbd73e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneralTab (cyclomatic 13, cognitive 12): GeneralTab 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a89622ca5e99348d92fd89e9a2a847034e81fb5a6f17b7c312c36f6026b4b"}},{"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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4998d61563b2212c85b77bc6a91679d6f1845484e0fd378422d88b632c050"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) 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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3bad6b0b46289cc1577762885f1c79789ac9c32bd33eccef9df02cb701dbe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEnvelope (cyclomatic 13, cognitive 9): handleEnvelope 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":"extension/background.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0a8bbdb0be47c788b259fbe28898f1e28d0c24201582c25c1967bc9e57777f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceOpenMenu (cyclomatic 13, cognitive 9): WorkspaceOpenMenu 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4174f3ae39e543cf8036d7b22265f34fbab96c8556666c798f8e021b68a7022"}},{"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":"web/src/App.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b9e963b9230ed81de2f4d4eb0cb622f84a7714712edfa02207099290b02bd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveFileLink (cyclomatic 12, cognitive 18): saveFileLink 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":"web/src/lib/saveFileLink.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b090f106d8f5e78dbcf037149db8628660a1ac3b49503bf13888e4a55e9d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInputs (cyclomatic 12, cognitive 17): validateInputs 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":"web/src/components/SetupView.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3453b4bc00c340d202743c2b7683791b4f43cd06c259abe8b7afd520fec9325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 12, cognitive 15): onmessage 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":"extension/background.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"01863922ccb45fb790c36863a2f57791493d199712f125ab8db20c7e23820234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e751d46206ac3b04ecd5be5c3093f39ff09ae6b580e2a5c9014b7bb0d1db7efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatView (cyclomatic 12, cognitive 13): ChatView 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":"web/src/components/ChatView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"212dc8143f537eba25fa40d7a25e77ec56c31fdfd3e737d034061de180313658"}},{"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":"web/src/components/Sidebar.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"915bc2758029d80ff49be88530b9f9387899ee4bae8efe466398129336dc1130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTool (cyclomatic 12, cognitive 11): renderTool 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":"packages/jcode-ui-core/src/export/markdown.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"086183d05ce5638d2fac88ed11539d1f73bbd7efc36f7f3313e2d4f500ae44e4"}},{"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":"packages/jcode-ui/src/voice/Transcription.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2cc33520f4761f6b3fe498449a0cc482613f5bfcd1688c13e66bc596886b3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerShotPiP (cyclomatic 12, cognitive 11): ComputerShotPiP 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":"web/src/components/ComputerShotPiP.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1c444d0cfe088b419e829218647bc0bc8e0aab6b1b9f517ca4f70186924263"}},{"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":"web/src/components/RightPanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd1ee4d7764f81b99783e88debfc61bd06849824a4fc94f6fa549e0b048fee4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openEdit (cyclomatic 12, cognitive 11): openEdit 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c79b86e90b0e97806864bf9a42392aeefa0e87a26314fe8d3e3ac90adb052e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TopBar (cyclomatic 12, cognitive 11): TopBar 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":"web/src/components/TopBar.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea0de065d0ff6e4fa758173e5ada9fbd53d126b6ac23c54670b597a0b3eb1ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneratedImageToolRenderer (cyclomatic 12, cognitive 10): GeneratedImageToolRenderer 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":"web/src/components/GeneratedImageToolRenderer.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c180fa74ff89d21045301cdd1fb18ca5d908870094a0146fd861e7ff1d13ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionUpdateRow (cyclomatic 12, cognitive 10): VersionUpdateRow 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfc53e563279fd94bedf8c058581e29046eac4a83d851f9541d0651e801716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Sidebar (cyclomatic 12, cognitive 10): Sidebar 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7223bdde3f42c3d49ce976dc30ed5e64ceebea1c942a03639bc35f701295e36e"}},{"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":"web/src/app/store.ts"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a516d2cbd1bb4afa4c08816febf2c1ba73c6d5cfc4a621eb37072d6071bad103"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupActivityTimeline (cyclomatic 11, cognitive 22): groupActivityTimeline 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":"packages/jcode-ui-core/src/timeline/groupActivity.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7604e7287d278c290774c7c5e39c34c58027fc4cd0801c32d28be2e5cc0dc2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyOp (cyclomatic 11, cognitive 17): applyOp 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f593fe3f393ce25f5d8a1dba99fad7f99970c99d5df2957e23f204cc8f55d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 11, cognitive 17): renderMarkdown 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":"script/generate_jcode_ui_api_docs.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a32817404ecea683e6ab756e3c35d578153dcf89af37a64eaaef74545e9f43"}},{"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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c2b5db58ac312b1c7d3c91ad409ee2c03f70aa2b4e4c4f3ee8fc9046c6b51"}},{"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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bdf0cb5e2a29acb52421a849dc18710fa17bcd84e0ec19f1508a3e5cb5ead8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 11, cognitive 11): renderItem 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":"packages/jcode-ui/src/components/Thread.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f328ace9abd308542b0f07d917fba8687c2f90feda255b4f15d1580eb3746819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTeamList (cyclomatic 11, cognitive 11): parseTeamList 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":"packages/jcode-ui/src/toolRenderers/team.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d33757fb030c27a8e7516c3d4ea861766d84e38a2e609e4ed3a07369e62aed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearProject (cyclomatic 11, cognitive 11): clearProject 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b52bfe1a38a8d2f3c9d755e582fdbd1e2003cea458e39ab3f02b45d69705d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 11): request 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":"web/src/lib/api.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13abbd82e943f0834042614208b42d602789e9b18dea30ba572664f32156fe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingCard (cyclomatic 11, cognitive 10): PendingCard 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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6bf18ef0da4856e99f3aefa904f9d8af7b89dac983d0536e1ea995607e5edd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 10): update 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfedb213d00fee1662ed97a134df7d993fa1f3394e2fbfe2637c67cb5eda2d8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationsView (cyclomatic 11, cognitive 10): AutomationsView 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dba002902d44039eb18c4a53d90e1e74db2f4d754e7b30308bf0cdc9387016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectMenu (cyclomatic 11, cognitive 10): SelectMenu 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":"web/src/components/SelectMenu.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"496b9fdf27fd378557c594311a20dae8f1cfc2785bd7cd54e1dcfdcb361bcdfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCollapsibleTool (cyclomatic 11, cognitive 9): isCollapsibleTool 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":"packages/jcode-ui-core/src/timeline/groupExploring.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb5f79b4cb41402f696bfe66f3aa234b3b79fa5068ec5b05d832315c2ac7f4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TestResultsRenderer (cyclomatic 11, cognitive 9): TestResultsRenderer 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":"packages/jcode-ui/src/toolRenderers/testResults.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0933ea150dd47f1ce57301e787f849b4248b6b171617349214729f798c1ae701"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/SettingsView.tsx: 5094 lines of code: web/src/components/SettingsView.tsx has 5094 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293fe337c10f82d96d608896d30d199cccde456802f005aaff3f2288ea810d97"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/app/store.ts: 2841 lines of code: web/src/app/store.ts has 2841 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":"web/src/app/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a832205a78c9617812edfa0828376b606015c6e055e16e00763f1c74c4a4a9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui/src/product/ChatInput.tsx: 2000 lines of code: packages/jcode-ui/src/product/ChatInput.tsx has 2000 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":"packages/jcode-ui/src/product/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f711b60c9a52fb51dd550b57f8dcffe77f276cb6c0137b69b97925a4558b79"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/locales/en.ts: 1618 lines of code: web/src/i18n/locales/en.ts has 1618 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":"web/src/i18n/locales/en.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c39b3267186d8466329d2e83e34c6318cc587dfba1b2fa2221322875311d390"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/locales/zh-Hans.ts: 1592 lines of code: web/src/i18n/locales/zh-Hans.ts has 1592 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":"web/src/i18n/locales/zh-Hans.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6346b00c753b97e3061b5e5679c0e554e1e293239e10a18220d820be903c72a3"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/locales/ja.ts: 1484 lines of code: web/src/i18n/locales/ja.ts has 1484 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":"web/src/i18n/locales/ja.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ee0d3bb0ee211730127718466e019e11301542ee85705acd9a036e94ec3a9b"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/locales/ko.ts: 1483 lines of code: web/src/i18n/locales/ko.ts has 1483 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":"web/src/i18n/locales/ko.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb5c33d356b6182b3602c3c97c440a94747ee594cd804d30adb2b6ff6f18d74"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/i18n/locales/zh-Hant.ts: 1478 lines of code: web/src/i18n/locales/zh-Hant.ts has 1478 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":"web/src/i18n/locales/zh-Hant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85e492b1cd8e360702cb7a64b2827fc326292c5cd8a4ff85736face9dedb049"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/AutomationsView.tsx: 1176 lines of code: web/src/components/AutomationsView.tsx 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":"web/src/components/AutomationsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1615e77b5a28b66931b06ada63b7e0d7eda2b16a8ae5c097165d044f63de1154"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/Sidebar.tsx: 1168 lines of code: web/src/components/Sidebar.tsx has 1168 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":"web/src/components/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e3c4c82066276395c6ce106a2163b687cc4bff01c26bd70a6c1920e2cf386f"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/RemoteConnectWizard.tsx: 1152 lines of code: web/src/components/RemoteConnectWizard.tsx has 1152 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":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f99adfc228b045ec8e6a46903e2a35bc75814136fe5dbe8ce41de4a089b897"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/lib/api.ts: 982 lines of code: web/src/lib/api.ts has 982 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":"web/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4391d7e090aba119d0a982dc60c3df4f5015800f258583476345fd1cd2d726"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/lib/types.ts: 951 lines of code: web/src/lib/types.ts has 951 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":"web/src/lib/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ec14d2499fac4e2c4ea75e0e71d58742a460e22b31f123765bf72b9fba0b90"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/ProviderAuthSection.tsx: 880 lines of code: web/src/components/settings/ProviderAuthSection.tsx has 880 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":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c3946200dcdb246385339afacb32f0176c777d7ae0d1ee14b8d56cae5760d7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/settings/CloudTab.tsx: 748 lines of code: web/src/components/settings/CloudTab.tsx has 748 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":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8cec22de6e14808264873612435385c14b8b0cf509cdc7d7ca6d48429250ad"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui-core/src/primitives/Composer.tsx: 683 lines of code: packages/jcode-ui-core/src/primitives/Composer.tsx 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd3802f1fa716e4abb6fc7dad466b47a600fc66d4b901e51fc72be45b521e1"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/App.tsx: 656 lines of code: web/src/App.tsx has 656 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":"web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b3625086bd2ef566298d3396ddc991cb270f6173f1834897ec26d3517c7e65"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/RightPanel.tsx: 649 lines of code: web/src/components/RightPanel.tsx has 649 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":"web/src/components/RightPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9cc9daf6c67335a13977adfe3413037ce7f51a062a9f230735d8cf2a473ec"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui/src/product/WorkspacePicker.tsx: 624 lines of code: packages/jcode-ui/src/product/WorkspacePicker.tsx 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":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"114a5eeccbe1dc9e68401351025a1977efe58428dc28b2b51a9aa4e4938958f4"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/ArtifactsPanel.tsx: 596 lines of code: web/src/components/ArtifactsPanel.tsx has 596 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":"web/src/components/ArtifactsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad806266640859b4ba16acc07cce44244829b47f0a057baa7736cf458ddcd3e7"}},{"ruleId":"R3","level":"warning","message":{"text":"web/src/components/DesktopTitlebar.tsx: 559 lines of code: web/src/components/DesktopTitlebar.tsx has 559 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a814b2180e563631dcddbfa1ae188e649fce13f325f8698ad287a4ccbd5f35"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui-core/src/types/index.ts: 489 lines of code: packages/jcode-ui-core/src/types/index.ts has 489 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":"packages/jcode-ui-core/src/types/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e8e3730bf2af7d8473648d619d9c691b87322693acccd9923966678429134"}},{"ruleId":"R3","level":"warning","message":{"text":"web/fixture-tool-ux/main.tsx: 454 lines of code: web/fixture-tool-ux/main.tsx has 454 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":"web/fixture-tool-ux/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1990b6d5a84874147c6f050420ad384877b1b8f258e667364547403a8855d89"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts: 452 lines of code: packages/jcode-ui-core/src/runtime/aguiRuntime.ts has 452 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":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c2908ca25650694aa662d0dbf1baed09a1e5b0dec8abc217f47cd4e579cb78"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui/src/components/Message.tsx: 448 lines of code: packages/jcode-ui/src/components/Message.tsx has 448 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":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f53cd9950bd91b1f6f8738c9f2d07eb03229274d7ef0dcd5d9629460181ae8d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/jcode-ui/src/components/ToolCallCard.tsx: 413 lines of code: packages/jcode-ui/src/components/ToolCallCard.tsx has 413 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a78d2aefd9fd5c6b85dfe409c164671995df0ec366160a458a18413ea2c3d5"}},{"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":"web/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbba11a704dcffe0c0ba3c76c008b856633191b577898eaec1fc1d7a9bd328ea"}},{"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":"extension/background.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f3916ab90831defac675a472ea111951422a79407f47c4be869b797c23fdc3"}},{"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":"web/src/components/ChatView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f17ca43981ffdddef3fd3f50a514e353cbdae71b2444b530b86d096a86a03a0"}},{"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":"packages/jcode-ui-core/src/runtime/agui.selftest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c39a00057baa76181a5e3d3f0bebcaf84e9fe4d020939a8e2c99aacc50aaa"}},{"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":"web/src/components/TerminalPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae6d9557ba45f0a4c55df90c60fcdafe6000f1b75ad33a3caccc5e8af85d4d"}},{"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":"web/src/components/CommandPalette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5759474d7178b3644b200df24525e45232fcdb33ce37189b458adc0e09046437"}},{"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":"web/src/components/ComputerShotPiP.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4d3d656285ea8bda2dabd5540dcc8525ed1d16cc6b8e5d01e7d83bdab06c46"}},{"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":"web/src/components/UpdateBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74579ef6b29c70736d9d1b9baf0c52ce4f1f33b67a2503f8d8a8d2722df2cefe"}},{"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":"packages/jcode-ui/scripts/smoke-markdown.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4820d6fe419b78390b839e80480a666e263830f3c2dffc7cdf4104dffd6a2809"}},{"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":"web/src/components/AuthGate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a50ecb1b91d7954ec459ef08d6793f5535bad4e67bf3353ece7016168c55d9"}},{"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":"packages/jcode-ui/scripts/generate-compat-css.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b72050abbcc609adb9ddf15a4a2bd73c78d7976dee63ff88e9ee4e1298ac2e"}},{"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":"web/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb444f7bbb134c8c8aec8298b22a068e287cdcfa94d471aac0faa24e59f55482"}},{"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":"web/src/components/ProjectHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7498214a169d22bcabf5ccabf44fa5addddd152d4d0e21b42beacd0aac5df3a7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~91 LoC): no import path from any entry point (27 application, 11 tooling, 77 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":"internal/flow/prelude.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37474fd5fee31b7f9ad7b6674d832f3af1321e85ce80bf954568690e806a826"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~64 LoC): no import path from any entry point (27 application, 11 tooling, 77 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":"internal/flow/builtin/pr-review.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a2843b54dfff91333d6faf8ae9bc601b380cbfcbb93c691d35f5beb002c6c4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~56 LoC): no import path from any entry point (27 application, 11 tooling, 77 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":"internal/flow/builtin/roundtable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5600e9ed051c868989d29012ddac434081d96c11e55558293c1b8a18d91274"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (27 application, 11 tooling, 77 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":"web/src/components/ProjectHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d029d1ae5753ef917e117b64abf7ce3fe21d3955cbfd1edfdc600c14c5849664"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~50 LoC): no import path from any entry point (27 application, 11 tooling, 77 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":"internal/flow/builtin/repo-audit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa6a5ccfe26589db0d3c005275de361248ec8e28d8e83cd0d41c1db63ecc2f6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027signOut\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AuthGate.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cbfa9a69167c3c111367852dbdfd911a8e52799ca9c6178e9bd3cef6154579"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isMacOSDesktop\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/useDesktop.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf1f446ae39886a0143c15f825bf213363b01cde0adc859b0e9c7b99a2b162d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027notify\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/useDesktop.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65b1a3ff6de35872d9e2599b018a5e6c1ad07b215fedb105f95b2cc35f471e6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027marked-highlight\u0027: Declared in packages/jcode-ui/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":"packages/jcode-ui/package.json"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b061663730cb486974ea85740e3828e681038e3c7d3e8c9fa840dfaa97ea671"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027highlight.js\u0027: Declared in web/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":"web/package.json"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f401550d32edb2313531ba09be29e7d788d9438ee60138af0742fed9ad133571"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027marked-highlight\u0027: Declared in web/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":"web/package.json"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f654bce5b7aabb5ab332ca07f11af01d04f4135c8d23f6f4e3112c3b0eefb1f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/jcode-ui-core/src/runtime/externalStore.ts \u2192 packages/jcode-ui-core/src/runtime/index.ts \u2192 packages/jcode-ui-core/src/runtime/externalStore.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/runtime/externalStore.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"450ab0c3b01880bfc744293e095953b78ffd19fce90be457938633d7f90bd5e8"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/jcode-ui-minimal/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/jcode-ui-minimal/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b0205d856405295cdda6413392d4383b589383668396fc773144f880ec9605"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/jcode-ui-zustand/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/jcode-ui-zustand/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ad0f5b3d6d929d8d70c670a0e2043b0c591a34c91a328e9f3486dfc64e5898"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: web/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"930edb7b884ede4b85d272f7c56e3bc08bf35924181b522e14af23cf7d8b9dfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!exact || original != providertools.BigModelSearchMCPToolName\u0060 appears character-identically in 2 files \u2014 internal/command/provider_search.go, internal/runner/approval.go. 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":"internal/command/provider_search.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8487ecfb7b231d285ce6bca40b9d58913abc776f6b8c6d9fc776a5b7c6f2d3d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060animated \u0026\u0026 canvasWidth \u003E 0 \u0026\u0026 canvasHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/artifact/managed.go, internal/imagegen/client.go. 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":"internal/artifact/managed.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"536fdf34a3d09922821bd5f72c90b21c34445732f4cda83a3e92996b41221e96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canvasWidth \u003C= 0 || canvasHeight \u003C= 0 || imageWidth \u003E canvasWidth || imageHeight \u003E canvasHeight\u0060 appears character-identically in 2 files \u2014 internal/artifact/managed.go, internal/imagegen/client.go. 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":"internal/artifact/managed.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c8629368dcf24622b8223bcc74288a78f2158cacbd88ff9726713e9b97ef9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.TracingEnabled(cfg) \u0026\u0026 cfg.Telemetry != nil \u0026\u0026 cfg.Telemetry.Langfuse != nil\u0060 appears character-identically in 3 files \u2014 internal/command/acp.go, internal/command/interactive.go, internal/command/web.go. 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":"internal/command/acp.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbcac7e9741f90d0c9bedb7c769835eaf935114d5596827e67ebe5fa5e16907"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060creds == nil || strings.TrimSpace(creds.DeviceToken) == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/cloud/artifact_share.go, internal/web/artifacts.go. 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":"internal/cloud/artifact_share.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8155f063997912770393a98a3c67d80500302537ec2292987b8bc5c4f90e6470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deviceCode == \u0022\u0022 || userCode == \u0022\u0022 || verificationURI == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/providerauth/copilot.go, internal/providerauth/xai.go. 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":"internal/providerauth/copilot.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe1a66317453b5e6aa196eff31d720492177851d5d8e4d6ea8b90965f260d25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003C len(input) \u0026\u0026 input[end] != nil \u0026\u0026 input[end].Role == schema.Tool\u0060 appears character-identically in 2 files \u2014 internal/model/chatmodel.go, internal/model/responses_convert.go. 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":"internal/model/chatmodel.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e69922f4b86ab7c84183492d1f1c93c0c7acd8cba3c6beee5bb55eda24e8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eng.env != nil \u0026\u0026 eng.env.GoalStore != nil\u0060 appears character-identically in 2 files \u2014 internal/web/activation.go, internal/web/sessions.go. 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":"internal/web/activation.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a409db3a7942ac3c16b260593e303fa1b16dc019a16317b68c87bf3aecc7f4f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, os.ErrNotExist)\u0060 appears character-identically in 3 files \u2014 internal/artifact/service.go, internal/command/provider_search.go, internal/tools/provider_managed_billable.go. 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":"internal/artifact/service.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"656752791cdee3dd9865e40542bbd9727ab4f2b52fb6e907be342594ddd8c31e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || rel == \u0022..\u0022 || strings.HasPrefix(rel, \u0022..\u0022\u002Bstring(filepath.Separator))\u0060 appears character-identically in 2 files \u2014 internal/artifact/service.go, internal/computer/helper_dial.go. 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":"internal/artifact/service.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db08e489daadc4bd41c8c7f57f973b1bb719307210ed39f0ac41bcaae37a944"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || strings.HasPrefix(rel, \u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 internal/config/project.go, internal/prompts/memory.go. 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":"internal/config/project.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412dad55feca91cf2b80e509904ffe10161da3b957f8c490e34bb54bf2c4d7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || u.Scheme == \u0022\u0022 || u.Host == \u0022\u0022\u0060 appears character-identically in 3 files \u2014 internal/browser/perms.go, internal/model/responses.go, internal/runner/approval.go. 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":"internal/browser/perms.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1e4d9e0cd4f594bde7af7ef9002467c8f3f52693957702680c47c682279acb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded)\u0060 appears character-identically in 2 files \u2014 internal/imagegen/client.go, internal/tools/provider_managed_billable.go. 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":"internal/imagegen/client.go"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e021e67d56b29f7b0881de8b25253740b3eae0befd7033fac791a57466538eaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.Output == nil || event.Output.MessageOutput == nil\u0060 appears character-identically in 5 files \u2014 internal/review/investigate.go, internal/runner/runner.go, internal/team/manager.go, internal/tools/flow_spawn.go. 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":"internal/review/investigate.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6d5901a768d7fc52166596179682b9abe8a78a5ccbaf1dce0aae9dc5104875"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing != nil \u0026\u0026 existing.CloudURL == baseURL\u0060 appears character-identically in 2 files \u2014 internal/command/login.go, internal/web/cloud_login.go. 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":"internal/command/login.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"570355952b25f8b983ffe7d485575960894cd9e32ed4264f0405410707b453c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(data) \u003C 20 || string(data[:4]) != \u0022RIFF\u0022 || string(data[8:12]) != \u0022WEBP\u0022\u0060 appears character-identically in 2 files \u2014 internal/artifact/managed.go, internal/imagegen/client.go. 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":"internal/artifact/managed.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb168b156d3ebf19537b27ec6c8f91dc83e612712d2729e750c239111c2207"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(parts) != 2 || parts[0] == \u0022\u0022 || parts[1] == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/model/factory.go, internal/web/memory.go. 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":"internal/model/factory.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e0449ddbac49c1d347b123b06893a54acf4ede7f8d3b5d2d2c3b4ecd8e43ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length \u003C 0 || end \u003C start || end \u003E len(data)\u0060 appears character-identically in 2 files \u2014 internal/artifact/managed.go, internal/imagegen/client.go. 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":"internal/artifact/managed.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8744d2a8f3d796602ba893f4eb21b389e2dc9f593a0c318466354712d4bce6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.cmdSuggestionActive \u0026\u0026 len(m.cmdSuggestions) \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/tui/input_views.go, internal/tui/update.go. 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":"internal/tui/input_views.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a87ae3f6f1e04c96feb091df3fca5471a10bceb8d741ce9b4c39614d8ce3454"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.String() == \u0022up\u0022 || msg.String() == \u0022down\u0022\u0060 appears character-identically in 2 files \u2014 internal/tui/manage_models.go, internal/tui/update.go. 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":"internal/tui/manage_models.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a222d676d64882018242a853d6862c09dc4cb5fe79a416db90df7e13be8e4b80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.Scheme == \u0022http\u0022 || parsed.Scheme == \u0022https\u0022\u0060 appears character-identically in 2 files \u2014 internal/providerauth/copilot.go, internal/providerauth/manager.go. 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":"internal/providerauth/copilot.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94aad2057cc50d238b8cfd549fb04bb80f9859bf6b78339af5dc82e62199a68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.Type != schema.ChatMessagePartTypeImageURL || part.Image == nil\u0060 appears character-identically in 3 files \u2014 internal/agent/turn_budget.go, internal/model/chatmodel.go, internal/model/responses_convert.go. 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":"internal/agent/turn_budget.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"014d005f99e3be0796c370352e4626cc9729c7d7aa39aec5f13600ee6e9ff592"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.Type == schema.ChatMessagePartTypeImageURL \u0026\u0026 part.Image != nil\u0060 appears character-identically in 2 files \u2014 internal/agent/turn_budget.go, internal/model/chatmodel.go. 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":"internal/agent/turn_budget.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20725152178b33b6b729ed58119106e2863faac3269da9c53e0fb91c1b03b80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.Type == schema.ChatMessagePartTypeText \u0026\u0026 part.Text != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/agent/turn_budget.go, internal/runner/runner.go. 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":"internal/agent/turn_budget.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"25889e26121e331c63995e9d2ff0061beb20020765ef193a241248a066f49b3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous.State.IsTerminal() \u0026\u0026 previous.State != next.State\u0060 appears character-identically in 2 files \u2014 internal/session/provider_tool_operation.go, internal/session/session.go. 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":"internal/session/provider_tool_operation.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5e4994df4b8dcb3a3ac45c72de0ae705b811891a29de5acf3f5dcde8b20649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile != AgentTypeExplore \u0026\u0026 profile != AgentTypeGeneral \u0026\u0026 profile != AgentTypeCoordinator\u0060 appears character-identically in 2 files \u2014 internal/tools/flow_spawn.go, internal/tools/subagent.go. 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":"internal/tools/flow_spawn.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c24857b2d44c4e684781c3adbf628610b5621f312dbfb1bf1cee6d3245d291f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider == nil || (strings.TrimSpace(provider.APIKey) == \u0022\u0022 \u0026\u0026 !managedXAI)\u0060 appears character-identically in 2 files \u2014 internal/command/web_tool_overrides.go, internal/providertools/manifest.go. 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":"internal/command/web_tool_overrides.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"607df335f7db789eab822386e3c0bbcabe6c92a996bc31aeb0581adc90236363"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.AuthBinding == nil \u0026\u0026 req.APIKey == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/web/providers.go, internal/web/setup.go. 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":"internal/web/providers.go"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"696156e0caf14097f524991ffa17d0d67fa45ca32637f7756410554a652e6237"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.WorkspaceKind != \u0022\u0022 \u0026\u0026 req.WorkspaceKind != session.WorkspaceProject \u0026\u0026 req.WorkspaceKind != session.WorkspaceScratch\u0060 appears character-identically in 2 files \u2014 internal/web/activation.go, internal/web/sessions.go. 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":"internal/web/activation.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbe350ccf2a033b012c9562d58336c2ea93abf2a9cc97d5748e946ace9d5f2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003C 200 || resp.StatusCode \u003E= 300\u0060 appears character-identically in 2 files \u2014 internal/cloud/artifact_share.go, internal/cloud/client.go. 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":"internal/cloud/artifact_share.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e757344567b6dad0d2696137a2d22940e7bdee5b55d400843e6d1437a52171b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003C http.StatusOK || resp.StatusCode \u003E= http.StatusMultipleChoices\u0060 appears character-identically in 3 files \u2014 internal/imagegen/client.go, internal/imagegen/token_plan_multimodal.go, internal/model/responses.go. 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":"internal/imagegen/client.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"72921741d3e4c712291f34ae26b8b6e6c76ed0f8aec633214dff2c0009804cf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.Approved \u0026\u0026 response.Mode == handler.ModeAuto\u0060 appears character-identically in 2 files \u2014 internal/web/approval.go, internal/web/ws.go. 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":"internal/web/approval.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e89d8c98f7237f4b9be00b40f69a2296dd274207d0d52fe6be837461913d25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.StatusCode \u003C http.StatusOK || response.StatusCode \u003E= http.StatusMultipleChoices\u0060 appears character-identically in 2 files \u2014 internal/providerauth/http.go, internal/providerauth/models.go. 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":"internal/providerauth/http.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce23d98669f2e045efa7e4dca0bd8145445984cd4fb369796934b54ef61f9847"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scope.managedOnly \u0026\u0026 record.EffectiveStorageKind() != artifact.StorageManaged\u0060 appears character-identically in 2 files \u2014 internal/web/artifacts.go, internal/web/artifacts_desktop.go. 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":"internal/web/artifacts.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"629c28bf0609b0ef6ea2907553d3e25da46b160221aebffc3822251821910fb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060srv.URL == \u0022\u0022 || (srv.Type != \u0022http\u0022 \u0026\u0026 srv.Type != \u0022sse\u0022)\u0060 appears character-identically in 3 files \u2014 internal/command/interactive.go, internal/command/mcp.go, internal/web/mcp.go. 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":"internal/command/interactive.go"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc8afeb22d67519117e93c8790daf760fff909c391c5428a723a93ba694fdeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.TotalTokens \u003E 0 || state.ModelContextLimit \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/tui/sidebar_component.go, internal/tui/statusbar_component.go. 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":"internal/tui/sidebar_component.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68ca31ef65e8c73d919abd95096ead0a0fad779ad2f983748b8964efafdf489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status \u003C http.StatusOK || status \u003E= http.StatusMultipleChoices\u0060 appears character-identically in 4 files \u2014 internal/providerauth/codex.go, internal/providerauth/copilot.go, internal/providerauth/models.go, internal/providerauth/xai.go. 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":"internal/providerauth/codex.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e814b1504bb1d2d4c18bb0c6c203e7f2eec1c9ef4651abc08f7f683dc56cb6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status \u003C http.StatusOK || status \u003E= http.StatusMultipleChoices || code != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/providerauth/codex.go, internal/providerauth/xai.go. 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":"internal/providerauth/codex.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2428ac2fcfc39c79c9df8831488cfe91f56b24af39c4c7077ce28a5aced6cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == http.StatusUnauthorized || status == http.StatusForbidden || (status == http.StatusBadRequest \u0026\u0026 len(value) == 0) || code == \u0022inva\u2026\u0060 appears character-identically in 2 files \u2014 internal/providerauth/codex.go, internal/providerauth/xai.go. 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":"internal/providerauth/codex.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8828192616962debff44f6d13f5e14cc428e2a6137d1f66f25ea96acbde5107c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strings.HasPrefix(line, \u0022\u002B\u0022) \u0026\u0026 !strings.HasPrefix(line, \u0022\u002B\u002B\u002B\u0022)\u0060 appears character-identically in 2 files \u2014 internal/web/files.go, internal/web/session_changes.go. 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":"internal/web/files.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6192d650f698026ce94d80a950ce256335de8ec7a043aeccd88aadfe42deecac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strings.HasPrefix(line, \u0022-\u0022) \u0026\u0026 !strings.HasPrefix(line, \u0022---\u0022)\u0060 appears character-identically in 2 files \u2014 internal/web/files.go, internal/web/session_changes.go. 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":"internal/web/files.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c26fe496a0847886287bafc7cf423155f92e4f5bf0b3d44899bf472a50d2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCallID == \u0022\u0022 \u0026\u0026 chunk.ToolCallID != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/runner/runner.go, internal/tools/subagent.go. 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":"internal/runner/runner.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d21c5cf0d8882c203738dddf619db8b72a1f14b14d24ec29e30d64dbd79ed2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060u.Scheme != \u0022https\u0022 \u0026\u0026 (!allowHTTP || u.Scheme != \u0022http\u0022)\u0060 appears character-identically in 2 files \u2014 internal/imagegen/client.go, internal/imagegen/token_plan_multimodal.go. 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":"internal/imagegen/client.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"270afab78a238740f7026e2e06c8f9d476ee20696abf1368e30aded815490ff4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vision \u0026\u0026 noConversationMessageAfter(input, end)\u0060 appears character-identically in 2 files \u2014 internal/model/chatmodel.go, internal/model/responses_convert.go. 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":"internal/model/chatmodel.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"931e4f1254dc0ca17c0e7c85483f5fab91f3d5b218f10ae189d0bb699c28b21b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!tool.denied || approvalOutcome === \u0027denied\u0027\u0060 appears character-identically in 3 files \u2014 packages/jcode-ui/src/components/CompactToolRow.tsx, packages/jcode-ui/src/components/ToolCallCard.tsx, packages/jcode-ui/src/components/ToolRow.tsx. 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":"packages/jcode-ui/src/components/CompactToolRow.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5d7c6a1dc20da06f019b66930be8c9002352656ed64dc71ab11877c1fbe69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!body.host || !body.fingerprint || !body.key_type\u0060 appears character-identically in 2 files \u2014 web/src/app/store.ts, web/src/components/RemoteConnectWizard.tsx. 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":"web/src/app/store.ts"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732b6b73379fe64aa66f3bfcd22e005cde4904792efd63e22cf54905b51fe8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isDenied \u0026\u0026 (tool.status === \u0027error\u0027 || (tool.meta?.exit_code !== undefined \u0026\u0026 tool.meta.exit_code !== 0))\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/components/ToolCallCard.tsx, packages/jcode-ui/src/components/ToolRow.tsx. 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73d897a6bacb3d5552c2e03ea3783eeddfde3a3e5d162f6b27b0e671676fd04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isDenied \u0026\u0026 approvalOutcome === \u0027allowed\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/components/ToolCallCard.tsx, packages/jcode-ui/src/components/ToolRow.tsx. 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b3baea75fc6be5e2b772963633f2f86848fc01ac38434e8894ef9b5ab613ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(provider || \u0027\u0027).replace(/[^a-z0-9]/gi, \u0027\u0027).charAt(0).toUpperCase() || \u0027?\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/product/ProviderIcon.tsx, web/src/components/ProviderIcon.tsx. 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":"packages/jcode-ui/src/product/ProviderIcon.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d357b9be0f01601a86b722191ca75221492fd0a425ecbe81a59078fec760369"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.navOrder - b.navOrder || a.title.localeCompare(b.title)\u0060 appears character-identically in 2 files \u2014 site/src/lib/chatUiDocs.ts, site/src/lib/docs.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":"site/src/lib/chatUiDocs.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c033fee9b51abfbf9b7e4b5d4f74728d787322fe54960eba6c24d064359ec20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approval \u0026\u0026 approvalOutcome === \u0027pending\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/components/Thread.tsx, packages/jcode-ui/src/components/ToolCallCard.tsx. 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":"packages/jcode-ui/src/components/Thread.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29028840ca6cdb3aefa3dff91a71dae8ec826af35fc0ce8b524a11d774ec22be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approvalOutcome === \u0027denied\u0027 \u0026\u0026 !tool.denied\u0060 appears character-identically in 3 files \u2014 packages/jcode-ui-core/src/primitives/ToolCallView.tsx, packages/jcode-ui/src/components/Thread.tsx, packages/jcode-ui/src/components/ToolCallCard.tsx. 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":"packages/jcode-ui-core/src/primitives/ToolCallView.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2547c8094f967c9826780e2514b4c99345b25c859f6da98a2b7565b287da855e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authMethod !== \u0027api_key\u0027 \u0026\u0026 !isProviderAuthReady(authStatus, authBinding)\u0060 appears character-identically in 2 files \u2014 web/src/components/SettingsView.tsx, web/src/components/SetupView.tsx. 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":"web/src/components/SettingsView.tsx"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ded5f9b8c37b8f77e7cf6f7aa3a1778de0d2038f35a3cb383b60a792d467665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.code !== \u0027ssh_host_key_unknown\u0027 \u0026\u0026 body.code !== \u0027ssh_host_key_changed\u0027 \u0026\u0026 body.code !== \u0027ssh_host_key_confirmation_mismatch\u0027\u0060 appears character-identically in 2 files \u2014 web/src/app/store.ts, web/src/components/RemoteConnectWizard.tsx. 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":"web/src/app/store.ts"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0b49c1112e09c94f43243f80aa184265f7bd4dc62b08a87330555cf9aceebb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.nativeEvent.isComposing || e.keyCode === 229\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui-core/src/primitives/Composer.tsx, packages/jcode-ui/src/product/ChatInput.tsx. 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":"packages/jcode-ui-core/src/primitives/Composer.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc59475277bcc498d0c39162b21396cd60da105bdcafae523e8f87c900853052"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.name === \u0027AbortError\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/product/BranchPicker.tsx, web/src/app/store.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":"packages/jcode-ui/src/product/BranchPicker.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b873394a50dd1bf1b27ce8a7277913cf92da2d792d8da53b2366146b3ecc1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.kind === \u0027approval\u0027 \u0026\u0026 i.data.id === id\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui-core/src/runtime/mockRuntime.ts, site/src/playground/mockScript.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":"packages/jcode-ui-core/src/runtime/mockRuntime.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6436310ab481eb2be115612bddc4bca3bd3e899b0060b8f2a5d2b9e0c053a2cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0027message\u0027 \u0026\u0026 item.data.role === \u0027assistant\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui-core/src/timeline/turnGroups.ts, web/src/app/store.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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccf718c6c851482b6b2bdfd07fc5e843cf6a167bae524c59de955ef401db96e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0027message\u0027 \u0026\u0026 item.data.role === \u0027user\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui-core/src/timeline/turnGroups.ts, web/src/app/store.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":"packages/jcode-ui-core/src/timeline/turnGroups.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef6949ee1fb9105e18264a3fd1e8f0d4aeb0f563847291781e975bf2034d3e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseInt(hostPort.slice(colon \u002B 1), 10) || 22\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/product/remote.ts, web/src/lib/remote.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":"packages/jcode-ui/src/product/remote.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7cc3777653de2daa3f9cf97066ece7621e14e329b66b601843e314e850eb1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.startsWith(\u0027ssh://\u0027) || path.startsWith(\u0027docker://\u0027)\u0060 appears character-identically in 4 files \u2014 packages/jcode-ui/src/product/remote.ts, web/src/components/ChatView.tsx, web/src/lib/remote.ts, web/src/lib/useDesktop.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":"packages/jcode-ui/src/product/remote.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8bd8839d19cd2223b103325a1460dda909d4d3791991d541603b4a1790a136"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootRef.current \u0026\u0026 !rootRef.current.contains(e.target as Node)\u0060 appears character-identically in 4 files \u2014 packages/jcode-ui/src/components/ModelSelector.tsx, packages/jcode-ui/src/product/BranchPicker.tsx, packages/jcode-ui/src/product/WorkspacePicker.tsx, web/src/components/SidebarFilterMenu.tsx. 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":"packages/jcode-ui/src/components/ModelSelector.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6404bc15b72aeae316b2e4d3443be1f9c9060feb689e5cbbdc0c3305949010"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootRef.current \u0026\u0026 !rootRef.current.contains(event.target as Node)\u0060 appears character-identically in 2 files \u2014 web/src/components/DesktopTitlebar.tsx, web/src/components/SelectMenu.tsx. 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":"web/src/components/DesktopTitlebar.tsx"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57ba46606f0feef0b8a5c7047ab33d91b7f6ab3f9ca18a46352e966300b083b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sawRunning.current \u0026\u0026 frozenMs.current === undefined \u0026\u0026 tool.startedAt\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/components/ToolCallCard.tsx, packages/jcode-ui/src/components/ToolRow.tsx. 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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651cbd8300e455b5e97e5c85f86d4e08a1b3618b1013b9786c7e437590d761f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060todo.status === \u0027completed\u0027 || todo.status === \u0027cancelled\u0027\u0060 appears character-identically in 2 files \u2014 packages/jcode-ui/src/product/GoalBanner.tsx, web/src/components/RightPanel.tsx. 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":"packages/jcode-ui/src/product/GoalBanner.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c85841b692ec3f4ba12fe62ae031ba109f884234140e3d32707b469be11f119"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof node === \u0027string\u0027 || typeof node === \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 site/src/pages/chatui/ChatUiDocPage.tsx, site/src/pages/docs/DocPage.tsx. 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":"site/src/pages/chatui/ChatUiDocPage.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9c5e44cd95cc8f1fd0a6e71e1f46b8f3578f1a706ba60ea728f6183f33d6ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0027undefined\u0027 || !window.matchMedia\u0060 appears character-identically in 3 files \u2014 packages/jcode-ui/src/components/TaskList.tsx, web/src/components/RightPanel.tsx, web/src/lib/useTheme.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":"packages/jcode-ui/src/components/TaskList.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fb17212885bb2d5b468e0a8b2d7963b5a54d042e31393b3e830e069ab35451"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0027http:\u0027 \u0026\u0026 url.protocol !== \u0027https:\u0027\u0060 appears character-identically in 2 files \u2014 web/src/lib/saveFileLink.ts, web/src/lib/useDesktop.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":"web/src/lib/saveFileLink.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a6752969aa00e40a94134d9e24b0816d279f5df8e4167a4db1e8b50da6eb8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060findings or any(redaction[\u0022replacement_counts\u0022].values())\u0060 appears character-identically in 2 files \u2014 agent-eval/suite/toolsearch_campaign.py, agent-eval/suite/web_toolsearch_orchestrate.py. 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5953f750e5392c53fd729ac8b662452476f00d8023d1723ae847e86ab78d4f7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, int) and not isinstance(value, bool) and value \u003E= 0\u0060 appears character-identically in 3 files \u2014 agent-eval/analysis/toolsearch_report.py, agent-eval/suite/web_browser_driver.py, agent-eval/suite/web_toolsearch_orchestrate.py. 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":"agent-eval/analysis/toolsearch_report.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"222fd30c586340831dfc21358ab2f9db0acf6837196c15dafb4c93e8be398858"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not binary.is_file() or not os.access(binary, os.X_OK)\u0060 appears character-identically in 2 files \u2014 agent-eval/suite/orchestrate.py, agent-eval/suite/web_browser_driver.py. 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":"agent-eval/suite/orchestrate.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef546ecb5e52b8c938a9b7b36bf2c0ce8d3242e17a91ed6ec6d9ac15e83e416"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not options.variants or len(set(options.variants)) != len(options.variants)\u0060 appears character-identically in 2 files \u2014 agent-eval/suite/toolsearch_campaign.py, agent-eval/suite/web_toolsearch_orchestrate.py. 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":"agent-eval/suite/toolsearch_campaign.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30f4518742644ffa0ea60952302b52e11eceac4288523b5608f77664f1810b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result is None or result.get(\u0022error\u0022) or result.get(\u0022denied\u0022)\u0060 appears character-identically in 2 files \u2014 agent-eval/suite/routing_verify.py, agent-eval/suite/toolsearch_expect.py. 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":"agent-eval/suite/routing_verify.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"57896bfd5f94efc2d4b08720afb475f57a60c0cfb2240ec2848b9284e47afaaa"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 25/36 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestBlob: \u0060requestBlob\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49826d2c26d618e6582d43821a2a824de08955627c997929a01dc44f938d1c9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestForm: \u0060requestForm\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"293f44498ec76a368da61be6134bd35eab841a206877e36d0b7da6f71f9735a8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestVoid: \u0060requestVoid\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6070432d297b475f3fc5a825643aaa0c13791f7723e8fa9ed9b95a9d5717b8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: artifactDownloadAvailable: \u0060artifactDownloadAvailable\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f56b81d0a5d264f89b5b885b9e760533d1f686fb8a4fb4796d62f0a2e69c12e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: workspaceFileDownloadAvailable: \u0060workspaceFileDownloadAvailable\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/api.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d67761089f1f87be753755eeb7b9781d2c005f3c735d5c7499468b993d70010"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: waitForHealth: \u0060waitForHealth\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/apiBase.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f099f8a7aeec75566feb08cbc51e917feec0b6da61c3764f078470fd300b666e"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: agentSocketSigners: \u0060agentSocketSigners\u0060 calls \u0060net.DialTimeout(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/ssh_auth.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8f60a75319ff0e384f4418e723a8e222126e5090bd186307993b10d4cb47f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: sign: \u0060sign\u0060 calls \u0060net.DialTimeout(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/ssh_auth.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a0486953d91068a669d0d7b410fd1e8a262664509bb4b0ce34ce65d8f99a2"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: FetchQRCode: \u0060FetchQRCode\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26861af85fcf1a7ce23d4ec2249cc19276de8c02992b5e5cfa6d0e1ab75e13a"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SendText: \u0060SendText\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0f21fab458dd31a76d8a45fe1ba1d1aeba92b386a5408a586893886090ba47"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: runUpdate: \u0060runUpdate\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/update.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"23833d66d2d94a8eb0874c1bb89a438fc815aecae9843ef9dff4c6ef66cf2b88"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060msgs\u0060 is walked by the \u0060for \u2026 range\u0060 at line 187, and line 192 reassigns \u0060msgs\u0060. The loop keeps walking the collection it started with, while the body from here on reads and writes another one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/turn_budget.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac6cc94ea113156361bd9c3862567e6af5d165bd81282c6ab0aa0a9c7ca99fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/App.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ddc609d119067591519d9e8ceb2a531ab81eb765cde3e4b26fc49ab95b678b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/apiBase.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"892252e86cd806ea624c1ea4825180899c9b34c3cfec85d6a40bf6a8782c9a04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/apiBase.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bc0b05cc94e1c56e271f32d41f6aeddc8de2015023b104651fa6ad0241beb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/authToken.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab138937a6572471ddcf02e48c54f89d2c0b391704dfc40b08bcdcfdbfb783ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/providerCatalogCache.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"187f437e271f00a97fcdf45ab29b885e46ee0eae740a3aa13d2d71f830cd0367"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/providerCatalogCache.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d3eecbeb9009d39ccc2a2284dff68433749950203a9d1b96b519f4a74d1a5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/toolInfo.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7bf46b172c4613a2b19a225aff02b637766227245a15e071d65bb198fe96c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/useDesktop.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f193cc943ca78608051d36285d8b73ba1fa80e663011a4c96ed4ec3377a5ec3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/useTheme.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fcf3747de4a67d6d468cfdc29f8cfc32ec3fc5bfe53e84c816218a3f0ca2a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/useTheme.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"945adba1fb5142e93bdd2866b698af186fbfc2512a986ce516c92d1eff57e065"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/ws.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5eef83fea1d6a0f24e232b36ae4506171baa86084334c097a02e851b799a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/lib/ws.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c99943ba5363791640d2a07e3f100adfc8c7343ed9f8e03bd0a4909c4eb4c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91cfc3f1b53c8bf38760bbef663e1195b2dc187c7958874209419b60bc03ec0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8d3b207dbf8bc1672b205f50f71c8579249091f317bebb1e3be6df3b26c891"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff944c65d6e2b36928f99b4f4ea58c154768f9860e5221edaf2d0d386bc7aa98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/AutomationsView.tsx"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4476f54d4ac98ff9aee1ad2d9f4a20306f324e7650a6dee434562846d60c594"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/CloudBadge.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de22b3255a529616be7c871e022121a696367429393fbd6de612a258e276ac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/CloudSyncToggle.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"28be4253f0741f8f47e827c585dc20f73e9d7fa69034b44d94a48ed51edd183c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae9bdf4285573124c5fb2399d470fa20e02d7b335047df7d5e4283ef44cba2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b9f69403e77d5c6604fd6aad406fa93d68e5625af446b0719b3d84e3b949c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/RemoteConnectWizard.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"78903eb457f1f974d5320c09a1b232cf2dafacbb0a0db8357fac3bf8678b5cca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"537616db9b94f51bf4471c0545dff39d7206601a7f01ca862d5fbc12c39a7fd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6f5df5bd5a9ada9d82fc50c7dd2e9dbc7e58dcfe50cdfa60e84259eb9cf46a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b822be862059665124ffe8662e4208e1297ef715fce5a56ced1c960093a1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfad64124b779578705b71b2627ec53f114bd6adbfa801fb22d1da71fdbb75ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e60b44c7691566e1dac60f1df81e41c2b9f621f719a0df57a3f7477e86ce81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":2881}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2df0b2dfd52cf2d3e11d56a9630dd0e79980cbef1ab8b38312c1f70b469001"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3008}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f96cb07eea0dee1fda548285ddf72baa6a72553d037664a46b2a629c605a370"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece7f726af238fa59292553ffad6996b7898f23934d62fd8aff6bb8a28b18c82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5913082625665046cdcf66cd8b13866fe5b720af9b2186938016959195552dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SettingsView.tsx"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"049ca6c12d707d019a4ec0aea9f16b4356c3b3abd2f1fe9a71e2361cdd07f357"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/SetupView.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"041e7101eea4b3c6eeb75a7b8ee13927d6be2b3ff58de85019c152a7ba6ebaa3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/Sidebar.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2b5696f13ac19dd0a95afce38714b5dce1f5132ccf8daa795871e1895f5626"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/Sidebar.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd0df9cf8781da6a9e8e6c77510304a65236c2ab11113ad22eef19ee892ef6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/Sidebar.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c884bce767ce7eebd715a095cafcf1a8c918bd05ad39352a733c5784134ccc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/TerminalPanel.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ef69760e08e93f355067f524ae5480fc2a1e5ea2fefda04bff2f5cdf454b06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"18896f7991493464ec3c7f49971e39fad30b2238b4c66aeea7cbe8013273aa70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5ce541f266d1d61354626be9fd370253c256f1055154ab6887d96a16741d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85f8c7e6a6bcde5b86cb019674e559b35d57885a0de70385162e6455c2f1840"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050e2fccea286278fb4b0d069757988f93cef5e5835c14917e92660048b2f90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f866ca26217d2793e3a8bad96b8d3bbd9fea24859d557f7c1f377c094d9f15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/CloudTab.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc023b3619e0b0b8c5e8f1e2be128284fb106e427a0eab87f4cb1182ee98ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7965e12526dff86cec9bf99bf02e79fb41644ed3e0850df105b21a6e06513954"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b8e03b0da856e9c7e509c5593438e167a4f117320abce31436e8bd0b110cae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ProviderAuthSection.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"d965f80a04f2061b7920e4cd35f115436a8eb3f04a79b4e09d951e6583e32ab7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ServerVersionRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6be3913f66ec9640434d2cc9903c2a196fa5a92d01ffff24effa63e8386c11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/components/settings/ServerVersionRow.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc59e33e282f8470021da0a9c20e6c8e8aaf6b14f948cc15f766da51b4fd6d12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e2c016657b7aee46f95a1d41d58c9fd71416a15e9aafcc511a3ebd93bc1b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8e312b1004a1b198067af06a7013230ab81212bc30bc60d007f84bda42b9c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8ed8728f0324a5599c657cfed596d1fe786e41e32afaf02ef3bc2e4e67f03f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd262caab2156efa87dc3c9f6fb22aa6bbc63443d4c928f189ef05ee1dc8e89b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7007b608033f6720d003b0284bc36a8b3584d7a3a4e070793e47c7943b1483f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1c940a93806a71cf0d6d19501dba6544054acef2730b15b47bf73d8b9e21a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/composerHost.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0231462108319224a14f893fc17627111544ea17e6f8bb525c28cdc12b8f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/startup.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ce15c0a0be84bf082219370c2d943dd880f0d0d9c4bdb18cef09541cfdaba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/app/startup.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2845b3078431a7c9809b7e9e5a9668ba3df0332b9bb899a89a8d19cf9762d1af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/timeline/turnChanges.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"427dd3a17970d90327134f8bdc756fd86ad726078d01647dfd2fadbca9f95038"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/runtime/aguiRuntime.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d7d388fe5f3c7d24a1afdff0593b1ba4695986c7634976a05a703c78c280f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f37ffe99f3fe4569b7b5c4059ff6c6c1e74e169cfdf562ff7e2ba4eb536eb18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/AskUserBlock.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0330f1b61c4078afa772a795b682c8359b3810623936fbec93bfe6ea2d27998b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui-core/src/primitives/MessageView.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a05acdbb5b56ec0dd8be283552f9b8581a11adfcb6fb2197202a8d9ba18271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/AudioPlayer.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4409f7d0f6fd1dae477ed86ca1e1e56d937747efc59c219c494aff4d43af65e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"04602762e77e1981a006ba94bd11fc4ac9f2fdbfb74b28449f0a7373ffa2e1e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/SpeechInput.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6922c43d3c7e139d05eec375981ee760d33a78f7eaf1980b5fef0c42eef3b1b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a40d8d1d8a3df2af8aac91f108bb07e64d38afbad57960478d9662779be0a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/voice/VoiceVisualizer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8621640c9f34e257b827b60c6611f3bfa424e3ab8a921afdcd41cb4e9b40bf0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/skill.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0986263044bd9e51a59595b811fe9e07bb23c17aa13d817233562cedaf0dab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/terminal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"480710748ab0d13461bb6b86901ca3a6b62bf5ae46bd58832660ae3c84f4e52e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/todo.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bfbd2b52bf3131402ddc557f390e7ee6e3d2f20c745bfcf167545b4cb43b72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/todo.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d79f86844a141f5318d6dacce437e3aab6596bb18e0467706f36b1a6f3058d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/toolRenderers/todo.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fc793b28e60711347c142803207c085980ef0d4127f8d57ac09c739909c95b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/drafts.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9d1db91602a945ae968a07391d954dfce23277ecc6d979c73adcaf1d3d444"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd2a31e74e0c2093c9dadf5885a441b3c01640f8c77eacb705720fafe40009"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/product/WorkspacePicker.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42aad3405098823d5186e05efd2e3df2502b425c2281d07518c28e872562f87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/plugins/mermaid.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb2c76347f1fec60cae54a121009870f66c6b19bc6b62984efe3598dbe715a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/lib/markdown.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ab501d1407a7c1b5fb46246434a10164a7de0359bec15e67d1a0ee226c86ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/lib/markdown.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb47ea68be139ed08b7d873ba87d252ff85343d0543f3853bafa0674abc3b88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/lib/markdown.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d370ffb6cd313cd3f221766a6783167bc519781f1c480e097841e16d4a8928e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/Message.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b658539ccb87859098c15361a63ad8800b3190d0fb8c6e531c44751b48506d67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := exec.Probe(ctx); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/activation.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a56f54a28e0ccbc333e396f83db52f747e66ff87efd89c100ae61dee8920a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/files.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcfd5664f7dca02f2e94d989be4afbdd1dc7d71c6eed1c29bce72adad6caee6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060output, _ := cmd.CombinedOutput()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060output\u0060 as if the call succeeded. When \u0060cmd.CombinedOutput\u0060 fails, \u0060output\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060output\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/files.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c693ab268203fcbee89931a4faab966900537dde11b410bac86c44e261fd9b96"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out2, _ := cmd2.Output()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out2\u0060 as if the call succeeded. When \u0060cmd2.Output\u0060 fails, \u0060out2\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out2\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/files.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b205cace6240ad263a332579eaa12daca07d761a85f16c60001c2c5dbdce75"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060output, _ := cmd.CombinedOutput()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060output\u0060 as if the call succeeded. When \u0060cmd.CombinedOutput\u0060 fails, \u0060output\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060output\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/files.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151f4071b830f326704f8120d8aaa7ef1603a8c39437104c15cc5824d0bc194"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060curOut, _ := curCmd.Output()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060curOut\u0060 as if the call succeeded. When \u0060curCmd.Output\u0060 fails, \u0060curOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060curOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/git.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e7807046e072759543f5a77b6a0a62d91dc8ef1468b891ab0beb7e84bed610"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060curOut, _ := curCmd.Output()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060curOut\u0060 as if the call succeeded. When \u0060curCmd.Output\u0060 fails, \u0060curOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060curOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/git.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"801b9c0a8ff519f1115a6c356083d6a35830bfa65fcee51a9c2bc464857b2946"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/memory.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e06158d4df92dd3b0ba87bca18cfc5e13d5d660e48e3ed1135c291755dec4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060modelState, _ := config.LoadModelState()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060modelState\u0060 as if the call succeeded. When \u0060config.LoadModelState\u0060 fails, \u0060modelState\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060modelState\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73cb6601b5e2a935b81110d1efaca26498afff1a7df24c20fba170a365488e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/models.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"258c3aff79a5b00873a1c97d81c27a356890b5b8c3ba729796ead3613693c69e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/provider_auth.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3520e7b828dfa6fa3367e72cd82dd2e3b81356b15ac5836570ea98a6b43fa1ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060modelState, _ := config.LoadModelState()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060modelState\u0060 as if the call succeeded. When \u0060config.LoadModelState\u0060 fails, \u0060modelState\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060modelState\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/providers.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19f3b3323c6aa24fb3387f245f76bf886fb36b00b6d88e1eb2a54df121f41e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060modelState, _ := config.LoadModelState()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060modelState\u0060 as if the call succeeded. When \u0060config.LoadModelState\u0060 fails, \u0060modelState\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060modelState\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/providers.go"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1550aab1999d40361f70ea7218ca5ad62e6a41706cbf19dbeaf8b0ef637367"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := sess.backend.Write(msg); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/pty.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24d64537ed1125275d558e6c4e43efbf4b9132d4b9402498782452bce6d6f74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(msg, \u0026ctrl); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/pty.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d46a3868aa1f5b6c2a8e25f0c44c472f637c33a9f13ac99f958251431891b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060branchOut, _ := branchCmd.Output()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060branchOut\u0060 as if the call succeeded. When \u0060branchCmd.Output\u0060 fails, \u0060branchOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060branchOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6101691568e0da91db38e02e4c48c5533ac0ff3e96ee0f808622f3721188c89"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060statusOut, _ := statusCmd.Output()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060statusOut\u0060 as if the call succeeded. When \u0060statusCmd.Output\u0060 fails, \u0060statusOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060statusOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/server.go"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5a502fddaa59d3da3f754fd935ab532569ed8061d8aff0d0309155eedb0799"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := b.Buffer.Write(p[:b.limit-b.Len()])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060b.Buffer.Write\u0060 fails, \u0060n\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060n\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_changes.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea36bf472f1b82645ea82cd109f042b32eef49e5113f6777bfa4133ae07d8b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060head, _ := changesGit(ctx, pwd, \u0022rev-parse\u0022, \u0022--verify\u0022, \u0022HEAD\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060head\u0060 as if the call succeeded. When \u0060changesGit\u0060 fails, \u0060head\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060head\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_changes.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c83938d8fa93171eac37449389a024ac4ba3f04798e830e98551804dda75e69"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060branch, _ := changesGit(ctx, pwd, \u0022branch\u0022, \u0022--show-current\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060branch\u0060 as if the call succeeded. When \u0060changesGit\u0060 fails, \u0060branch\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060branch\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_changes.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a057ce688ea0a07b12e71cc3a1f0f92137a3c35da0d149d2369d8e62a36e55"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060remote, _ := changesGit(ctx, pwd, \u0022remote\u0022, \u0022get-url\u0022, \u0022origin\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060remote\u0060 as if the call succeeded. When \u0060changesGit\u0060 fails, \u0060remote\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060remote\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_changes.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c486ee290005add099170e2c0cf4bce557246540a31e0bb8fe70d438f11b45"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060raw, _ := json.Marshal(struct { Session, Head, Repository string Request draftPRRequest }{sid, changes.Head, repo.URL, req})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060raw\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060raw\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060raw\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc3ce10d09846e4b9f9fa17d8cfd1ed3cbb16014e990755f886cd10fc9af39e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060commit, _ := draftGit(ctx, pwd, \u0022\u0022, \u0022\u0022, \u0022rev-parse\u0022, \u0022--verify\u0022, ref)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060commit\u0060 as if the call succeeded. When \u0060draftGit\u0060 fails, \u0060commit\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060commit\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"589e21dec73928754fd51134c22216626208f8cf9ca61955c91549aba88e4ff8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060gotTree, _ := draftGit(ctx, pwd, \u0022\u0022, \u0022\u0022, \u0022rev-parse\u0022, commit\u002B\u0022^{tree}\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060gotTree\u0060 as if the call succeeded. When \u0060draftGit\u0060 fails, \u0060gotTree\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060gotTree\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f821a69f841108de2e86d52d095bec375cbc24e5c5e1d97b263cd8c74ea75c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060parent, _ := draftGit(ctx, pwd, \u0022\u0022, \u0022\u0022, \u0022rev-parse\u0022, commit\u002B\u0022^\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060parent\u0060 as if the call succeeded. When \u0060draftGit\u0060 fails, \u0060parent\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060parent\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"867a56c5ce2bab62bb23d35b5e5b7559e4ccc28f3909a9547280ea7a23960724"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060prURL, _ = provider.find(ctx, pwd, repo.URL, branch)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060prURL\u0060 as if the call succeeded. When \u0060provider.find\u0060 fails, \u0060prURL\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060prURL\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/session_draft_pr.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b211bacea1471bd6489431e45d036404fc61072b8845da667659824e1936832a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/usage.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3adb6cb117fd2b586f11461ffa03da9d39e9c53e74ae388145fa5d3332f8fdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/ws.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3874d718f2be0df2ef0c3110f5f27f2742170114b0189410b59eaf6ea2fac9a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/ws.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f5d67586a5a96288fb3c92fab213afd5a0bddf49633743b446f47e72326abb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(msg, \u0026incoming); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/ws.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde137ac2d6f23ac8b52007cf7c6135614d6fba6b5022c8cb4a880d0f190c690"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(msg.Data, \u0026data); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/ws.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70d835e4a19adb3a8e107f8b8a8b7ffc4e274f47ad92ba2b53c073869a74838"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := cmd.Run(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/util/envinfo.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"703db65dd5c883c0d580ed060c600cccb56928e047f15298a9afa66367181ddf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/util/envinfo.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffe6c44d6888411fbee3a4f902610c277bb5da5dd6ab7500a8f8a6aeb9d5637"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/usage/event.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3df70fa82d32ecabc5313f0924bd52a2f37e2499f4a35077eec8717a22e003"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/usage/stats.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"096896ca7ef5f939ed40d12e80b69edcc5cd4984f8cf669dbb03ac1a578a10d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/usage/stats.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"09965eff3f312c023d7b54d61efba054d7056db90d0431c1e36ca081d880f9d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060total, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060total\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060total\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060total\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/format.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02feffacaddf5033682077ed61f1c4e98f696e6bd80e863c353007647d241bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060completed, _ := strconv.Atoi(m[2])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060completed\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060completed\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060completed\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/format.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5e652ce431f27d79a2427cd901b21ff82fbda79c6ab7e198b44d31b09576ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(output[idx\u002B1:]), \u0026items); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/format.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e851bd1b0aac982575dc01279e7bc8457779f933c816eb280cefa5cc97d84fe0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/history.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a9bd3f1b958d639a7af1c3e8ed8fdd30ff2dd1dc2a0a0fb370813d42aa7db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/history.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a08d59132554c37e1811226989e25f2f254a87650693e69193adc0e60c0c0ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/history.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e69809f16788aa78e6ea0ca893ce0ae0b45c2f1ecad61eb13f2ad4bca4cc79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/history.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4687650ae3fc7354d2e7e5c7dd745d731ffa4843666d59e2ed29d3699822126"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cfg, _ := config.LoadConfig()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cfg\u0060 as if the call succeeded. When \u0060config.LoadConfig\u0060 fails, \u0060cfg\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cfg\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/input_views.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ec7e6c888ebc7892083fc7fa9852d588998a1834cc46f3db8ba00c0937c91"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060modelState, _ := config.LoadModelState()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060modelState\u0060 as if the call succeeded. When \u0060config.LoadModelState\u0060 fails, \u0060modelState\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060modelState\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/manage_models.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"730aefa1ee94749817282e609c7cf4a56636f3ab6071552b5d0294e037c6ff29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/automation_tool.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a1ee8973a4763c7016406df3fdd50ebdf065c0d3a156b968b9df4b826ce22a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/docker_exec.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88de1798f8b044aee7452f797264c2b21005e73754eaab76249910f50d6c46b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/docker_exec.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8654c56a1701aaca98bb11cb15760b3d529d05eafde799c1f249c45a50cb4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/edit.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabd6a74bde2ebc47b20af5c403248c7dd39c8d6bcd52ee91f81c6d9994fb992"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/edit.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3676f44a11d7b319fec55e788546fe20271201f2252147f5a1630bd9bb3563c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/env.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"58618f3e297995b3747789cd2979349d89a9a382488940dd611d8deb989136f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := t.appendTransition(operation, terminal); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/generate_image.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c1381cd020e1a04b04d529ae00a527a974fde5ab79b8793f99a6b5084cddae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/generate_image.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d5a8afd6b64cb57a67cb2c47127dbc66260328aae522f8ed66fc9d65aac77b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out, _ := json.Marshal(g)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060out\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/goal.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9793902eb92495798d434cde9dab239ec60a7a732eb86bbeeee33f5508789"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out, _ := json.Marshal(g)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060out\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/goal.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8b9ab95d005064a075de48e9e1c425d7c67b2699b7b85740b2db413cbd835"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/grep.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e7bb4c4b3eab162ce30fa728af15ead152aedc6f46403fbf3e6458f0879523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(raw), \u0026envelope); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a26dd234fc304f38f10f7aa1d83827e4bd632382d44b3a0e10d6344a1001605"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(content, \u0026contentItems); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d1a90d1a69b4e2fef4060c5c03fb1ba0aa68ce17c5fd4d8c86d338c36fe67d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Compact(\u0026compact, raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e6c9cb78ea19e7988eade5430ff1290bbf0e9e2f662ee55cc58f50bfd2341a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060schema, _ := json.Marshal(t.InputSchema)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060schema\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060schema\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060schema\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp_manager.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57c9ae54415ad351da0ba402ad2cf7b553b9e6898528e4377031a59b9a8518e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp_oauth.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2bd94b684fbc728f24d0d4e831143a2808858d87927400ee132240524f7be1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026tok); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/mcp_oauth.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e471133c33be6c5370d45c6c0c383fb15a602ce848f05148aa1ec6938f4f24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/ssh_auth.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef8bcd4454a70dc9295fecd393399b7de92741f1aece22d15eee7af557c837"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/ssh_auth.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608542a52532026f41991e418a927534f8a75a5955716f912ad2ad4c1723edd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := waitContext(t.lifetimeCtx, delay); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/ssh_reconnect.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee32fd3ab887564872f0412974baf99607defe8bb0193713a2849557c13c756"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/storage.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d168ace1429e73fd625fbace92cfaf3b60afd7f90734b36bbbe0b6a871c5845"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/subagent.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850db487a3d34f5aeb7427240d14c4215e2bf03905620af78136b0d770ef44c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/subagent.go"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b632e4f4139a0d22c31665be0e33e2a4a1ec419f4cfc12a9a7e4de17bbb74a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.MarshalIndent(entries, \u0022\u0022, \u0022 \u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.MarshalIndent\u0060 fails, \u0060data\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060data\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/task_tools.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9811afa76872e906924cd028bc48689947c9ca74b6a77dcb8252f88d090b0094"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.MarshalIndent(out, \u0022\u0022, \u0022 \u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.MarshalIndent\u0060 fails, \u0060data\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060data\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/task_tools.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36409ade1735b15acd37bdbdc2c5f30cdcb5455bdd17e0c2ac58d396b926c9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(input.Todos)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00267287765309666d64ad2d9f1a057a0e2100ddc2ec9513fe0087879a5f972"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(items)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff328ba84d99fbee20412cb7ca283b9d31f3949f72c9080266bcaa9f7ad9eb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(t.store.Snapshot())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1190a78c002179acb2a65c010cd7cc235f25fb89bf5f0065c628c8ee4915c7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(t.store.Snapshot())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e7a2e29c5d80313505057066fb2d47709696d8677c1f07a4f991290ab9df5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(t.store.Snapshot())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f7d742fe5c90730dc255a3279cc628e908bda088e1a8b0cff8998e9e20e719"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(t.store.Snapshot())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6616516ab09f4403e6bfd8edfddd8bbfd5d1a08b7a3e9cfc50934127e82702"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(items)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e278b4905a67c60a2ce262e5ecd7bb104c1757ad372bb29ab5463fad5c16579c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _ := json.Marshal(items)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060result\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060result\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tools/todo_enhanced.go"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da1026891e9201cdbed3e23b0023b26bd1576796b9064f5bdd6f621fff5aa52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(text), \u0026msg); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/mailbox.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b120a2e3a4bc2c24ef32b4d9eab0c25edfb9bfcb099427f205b5e8d39b83af8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cwd, _ = os.Getwd()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cwd\u0060 as if the call succeeded. When \u0060os.Getwd\u0060 fails, \u0060cwd\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cwd\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/manager.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6cfc5b1c0f25f8bbb5d7b58e48d2492e1468e454c7a556a55766e11119291"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rec, _ := session.NewTeammateRecorder(m.deps.LeaderSessionUUID, agentID, cfg.Model)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rec\u0060 as if the call succeeded. When \u0060session.NewTeammateRecorder\u0060 fails, \u0060rec\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rec\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/manager.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9699159e7c7ecdd5eeaffdc271c71f8a22afb27a73ae3e30e9f29a70cf81360"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060shutdownMsg, _ := json.Marshal(map[string]string{ \u0022type\u0022: \u0022shutdown_request\u0022, \u0022reason\u0022: reason, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060shutdownMsg\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060shutdownMsg\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060shutdownMsg\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/manager.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc9ea2ab5d6a087b4d8d5d9821628ff7c36a456587f2485caa528771e47482f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/team/manager.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e99cefa157da638ffd4deb330b12df1a4037d8a9fe129d360044690078054d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/skills/skills.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb00250ffc7634067a1ea2731f026b0f6912f3a0af81e982bdde7f6c061fde56"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/skills/skills.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7fc80fbd5854550ee097cbf43c37378b1e7f8c1ee06fabb7cebc2e67c4d1d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/skills/skills.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"273bc6f6dfa283e5cec321ff65d0e73b459bb719b5ceb001e573867032849ec0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"185eba0721f64610030f45cec3ff9913d1cef0a79f61039a73fce347fb320207"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ensurePrivateSessionDir(filepath.Dir(p)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8daf65fcf8953d537c35465b3c51c7b9be1435c6b89280efccfbd9318681c8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bf67fa10cd1c79496e0b5a65dbcdcc313f398be9b667a5b396809d64ccb981"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := writePrivateSessionFile(tmp, data); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0024f012f23de02fae0fe418d570453d101c769c9bae290dc008d5513f1e78f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d15282981eebe5e09590a04c6b86cf0dfd7248f526e819d17225c58f7d9f256"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2b0c0e87457798cbc6628ae265d1238ad6fe479b70a05084df92039a1bac4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026f); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"043bf054354d40f719a325a61292dbf6feb32aa12777ad55bf997e005d70a46e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"89591e643c536a1ec0b671aad0c96a546b6242ce9047fd909789f8d230c7dbcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceec957b917323722ec3e03a3e8c5fb7e94358ae75a4beccecd50da787958c69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026f); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c440d91978593b7127394afb0a9fb2432bc7c54d4dc8dd53b8a0a0655ac7e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc0beae0d42f0f119f5f02696ac13bc10a13392c171f1395a6606dd148da115"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if statErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d4b598ac346156a265b973cb9a907a4e143b095dde2d35d39f443605e190f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdd90571385d3ee9a152c1fbc6a76b158433d16a4d38c7f70469031caadbe4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(filepath.Join(dir, id\u002B\u0022 \u0022)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"180198ec9b12f349afc975acad70963203670315a9c1cb84e5542196995239a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060updatedAt, _ := time.Parse(time.RFC3339Nano, entry.ProviderToolUpdatedAt)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060updatedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060updatedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060updatedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/provider_tool_operation.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab29f59f265d62c837913b11fa27e3b5bbc46e2c6bfb7184017e80258dc49e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060updatedAt, _ = time.Parse(time.RFC3339Nano, entry.Timestamp)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060updatedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060updatedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060updatedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/provider_tool_operation.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e80960ad471c702effc24f8be4ce45f15875c363429d76eae314475487058"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d12a940add60901359c43ece8df563b34b7b6a0e72ef9ae8621b907e31e556"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b22ee77e3d221c3e6f9ef773d9d1637fdf86175f58cde77e82985eb77817768"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060legacyViewedAt, _ := time.Parse(time.RFC3339Nano, meta.ArtifactViewedAt)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060legacyViewedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060legacyViewedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060legacyViewedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f345f041ad4b9a2c16d9f4f5c1ac0d1a73d9d312053325b7cc35a36bce94a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060updatedAt, _ := time.Parse(time.RFC3339Nano, entry.Timestamp)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060updatedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060updatedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060updatedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b636e161f7a7243104edad3abde76f759ae17d0fbe478fe65b093b70994e366"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060updatedAt, _ := time.Parse(time.RFC3339Nano, entry.OperationUpdatedAt)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060updatedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060updatedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060updatedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f66efb881387e2b521cf393fd059c779a2c60a5ca0b3b9f9ee7130ece481e36"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060updatedAt, _ = time.Parse(time.RFC3339Nano, entry.Timestamp)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060updatedAt\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060updatedAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060updatedAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/session.go"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc337419e8cf6b7641ce6b5aa5e89cf720b9c279e3f2d96cfa56778cee566426"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/tool_overrides.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f674fa55604b1e9bf418cb2f61d4317359529fd2e26f4790ffe32385f9d24c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/truncate.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbff9f21c6d43e6578804ece141e78023ef658242d8f4201d18f1b108f3dcd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(toolArgs), \u0026input); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd82d6a04c5aa93dab9b90852cad291adca0bd9c68e3cb901f0612c876a38c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea645ab00c00d4abeb6fe0a150b95ee05cbe5fdf1f7eacd29b8f6f0022db0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"704f2bd9b1c54fdec1ce3f03ab0cc0f934e2b8934d62419f063724b60dd1e899"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(toolArgs), \u0026input); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b085110a6079c559d37a8f6dc3f5447657076f06e5b9c50186adf40ea5045f0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026value); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88b054a1fa6cf3a6dbdcb8adfb2ab38e4ed80884c9dc02bf7fbed7ffcd1dd07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f408770aa97700ad3bb58db4210c46bae990b1bc49d3059dec912cdc55c0b84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"7973d626b57afbc4520dd7ffeaeb073f1c4e5b83f379007ff4709fc714eb55c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/approval.go"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76b819b46d8cfbce74b7f82ed0aeaf33ac4cc31f4aac661df9ecbbefb4b82e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/runner.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f57c992d4fcb1fc9145af0c15ca19c16ba15e9b21ab38695414049bfe3d1c47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/review/audit.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e047232f983ab2ae543fb952558a8e43e7f3a4294ccf8008c52bf7d6734fe990"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/review/audit.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd0c2c45e5f60a0475a15dc55a2ff1777ecc2e309c41967f2b819dffaf24c2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(req.ToolArgs), \u0026in); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/review/review.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b742b5bf21902c0562ff7f11ece3578f4659f249a7a8baa36218474937004ea7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/providertools/manifest.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d401037d0a60c8583d76ce057fdb5748ab0f1e95191eac7752e765391a2163d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/providerauth/jwt.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd322caf757e3ab7d4a861c06c79a7d547781660b76cfbd2af19cac3a81c74b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"09166a0370c72020d254c7c414dc25feca6dfaf31c95ed7e5d9467915acea9fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4fa63bf1f77e0adc4a7f610e1e274b7e09edde009044f06d49415faf4ecf9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f832bc23e03f0cb8a8101849ac80202b1697924b6b8fab62d610512c660e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b351166689d6cd4ae1fd8ca40fd286510f34993e2b425e277f928933573c684"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := t.Execute(\u0026buf, data); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2057cff25bb1eebb52e2feb63777f3dcf29d64ab032d86c1ca2d1d49126aa74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fdec02e4bfb1c4bf81f3cba8d6fe1400be24182e6af2e733b781ba76efcf70"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e369638435a0898628a0cae2f17e8975e074d531481ca17e7aab45e9ff0a10bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c3105e9e798ee061cfb0882247d4572ef36a5791034732fa6942237999b5c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pkg/weixin/api.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85946424bbb707de71c6a78fdab67c7702c3b1315ad4dba0bca5f339e8cdaa1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060actual, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060actual\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060actual\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060actual\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/retry.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f8eff5bbf0dec4fae2ac7152279cff65364eed37042026f88bdfcf23bd36b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060limit, _ := strconv.Atoi(m[2])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060limit\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060limit\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060limit\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/retry.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e4973ec51182d354c77a903de256fe6c70094d509143883a5d5a8b816ed562"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060actual, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060actual\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060actual\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060actual\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/retry.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aec38a5999d2d5542ba6be8d231e3e57bae9dd240ae73b58e0678b4215cdb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060limit, _ := strconv.Atoi(m[2])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060limit\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060limit\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060limit\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/retry.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd6e47df910b325fb634e325db34bde2683e0683219aee740579a95e8fa6e2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/validate.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"827721ede490401d7ab719dbf4aaf1187d20306c7a3acb54c75beff970918d98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(readModelsBody(r), \u0026ml); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/validate.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3687e3336952ca78d1df46cbf0ccbbab7b17aaa51753d8d6fdbaf2edfbe7667"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/validate.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50fe93572bfdf997812b983c23eb03236ef70e43f71f060f26479a8d85f81cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/validate.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b3c92fdd694c0010ca6b997d2b501137fb5c472cdcb47e11179e4cda6e9b6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/validate.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eacf5b3b950669c8e78e776d06765c7ceea4f74f0338b5c5fb4f69cbd9a103b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/inject.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62a29949bd479781bddffc2d3680cd179d21f724377da2d3f8b04cb93494145"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/note.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbc15532fb77a170fa87fc7495f5c1393ce81c99f06e7ade380abd848203cdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/note.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"58496868514015b1dbfb4a11b8a17c5c2f26fdb529a497ce0772ee551983e783"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/usage.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ca4269957bc11263543c00551f409c7e69967fadddbf18eef672895bde5300"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(argumentsInJSON), \u0026args); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/usage.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"045cd6d688646e4a52ddbffc084ea5145803d12d47a6205436d9765d3a532072"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(line), \u0026e); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/pipeline/phase1.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8239b34a3055bf88df1bcc92e3f164f90bedda1c49e53ab374bf996fec69155"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/pipeline/phase2.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cdda57e3194df7f28e8a49391c9c2e71c1e5c54f1523cd2a050ea390248575"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/pipeline/pipeline.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f398dc7f512df335aa03fcd82a54ad852d623c3446fef8af4abc40a2fc120e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hooks/match.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1a51743ca7c08e20c0641bcb8360cc1b1d67140499ff236bb463595490b5dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(argsJSON), \u0026args); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/handler/acp.go"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc568892d60d6eb0225331ea71748ca2ec53634a681f48dc1ec4b4eb05b6bbae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/flow/loader.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aa392e84f83e0135eb403a7368a9325165fa0dea4ad47eeb0a0a87c5554ee4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db4a617840d303b9e2d54b54be13db2f58b0e45a3034f50c6c173660132979"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"f838317dcedd777d97569a48215162bb66e7d0e9123abf0b440fe05f3099ccbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026cfg); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed340af1e81369e261180e98d8a1b8e2fdbe27495a183b1067cc0b8eaed450c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := cmd.Run(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/project.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b52d954507f699ccedf90fdf645f58054756f0b35ce936003440f820cc1fda2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/fake.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"62967aa64af817bd47ba990ab5b5a96f6c8e70b75e2553ff69e2deb30acb6635"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := os.MkdirAll(filepath.Dir(path), 0o700); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/fake.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b472084ba71ca4ce8546f98eb585343f61290bd8b9e82192e44033b3f820d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/fake.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f212481f8e5e19eee3c60a60dc0d5faf26594f779d076898851e9c3b66047e18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/helper_dial.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"95359aab8d4bbc4d59327f7b494228d30ca575955935914baaffb9bc703eedd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060home, _ = os.UserHomeDir()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060home\u0060 as if the call succeeded. When \u0060os.UserHomeDir\u0060 fails, \u0060home\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060home\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/manager.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebe56650dfec162b3bb9df3e0b4cb35e65a5c5a091f66ceb7f037f73d746cd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := s.refreshPolicyLocked(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/session.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6bfa54514b26168611117ae81e0a7edd564ec3e0852f7a5d59eb120131083"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/session.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4728d0d2657e589ffd44ff7697de4a1b2a66ebe6fe471f37e87178227c42dca1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rec, _ := session.NewRecorder(pwd, providerName, modelName)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rec\u0060 as if the call succeeded. When \u0060session.NewRecorder\u0060 fails, \u0060rec\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rec\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/acp.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c01d720dd28687678c7e96562ffff61ccfcd65d79592f935f334fc14687dd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060line, _ := in.ReadString(\u0027\\n\u0027)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060line\u0060 as if the call succeeded. When \u0060in.ReadString\u0060 fails, \u0060line\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060line\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/cloud.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0cb4585478ead0d0d7fc9e4ae3ceacbb920089e4d4e5fa61078c543a906c95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/custom_agents.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"88239fb19377c6712168673b54ad10ed15aec6eb063cc4f643be17089b21e183"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ccd3b22aef2610093148ec7f7d0378ef9de1856c8efffb0ea2131e95f0370"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7f872c07e147da6cdc4d0a51c902dd4105aed27e1d8c5dfa59fa026b543f20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5878e6ca212169c0247387c8c7b8aa80327303a39c1c01db6c81d08102b5b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb90aae01ca3bd80094691fc81a67d2df725c17f6b82ee1c2f1daa5a92d5f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if loadErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"32af5f69095b25809bd561db302b18bf443cecba4da6cda268b710fcdf282af6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"31326892f7e9fa089f46b08381f686666c5bdbf09aa8c6ae540fe2ff083e0a47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133eca9ecfa7bb58dffcdc9b1d7e72ecbe728dd2c03258457f0822789f3587c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060a, _ := strconv.Atoi(fields[0])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060a\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060a\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060a\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"290989b38d90d060b5a8d99ae2a2e5174797316a9f4bdbb72a9018ca2bcfcf78"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ := strconv.Atoi(fields[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c44786708763cd724943a86343c58396cf232a87518857727a3426d8a3c41e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/login.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"db72438b4e2820affcaca1774ec5db19d67abb2526ffcb9121e578c3ac359715"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cfg, _ := config.LoadConfig()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cfg\u0060 as if the call succeeded. When \u0060config.LoadConfig\u0060 fails, \u0060cfg\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cfg\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/memory.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c39cb868e41c01be23ecf7614c6134708d3dcf21cd50aaf976337079811d38"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cfg, _ := config.LoadConfig()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cfg\u0060 as if the call succeeded. When \u0060config.LoadConfig\u0060 fails, \u0060cfg\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cfg\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/memory.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade25c5ea1d5fbf37bc6022f930ffc2b8babbde12d3547e675e7e31e296f66d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/title.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d0dad2612ee908b45ea9f090c8abb87afdb8b3ba74ae5d12681a9760c1912e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/update.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"92698060c354c525b7f2eb0c2a05f0927033be49fffe273a345f29809a953a33"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060currentMCPTools, _ := currentTaskMCPTools(currentCfg, planMode, false)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060currentMCPTools\u0060 as if the call succeeded. When \u0060currentTaskMCPTools\u0060 fails, \u0060currentMCPTools\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060currentMCPTools\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/web.go"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"da66050f0ab2751829fa1faa1abecb942841375cccfa5565dc50995267b7821e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if currentCfgErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/web.go"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"765b4382c04e228cf29abf0b1b660d0e000081fa6c7c568628fef3ff192cb344"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := providertools.ResolveImageRuntime(cfg); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/web_tool_overrides.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7af36d0e030dfdfa5b9d058b8d59b45827ab5ae08d2f43aa888b87fbe2e01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/web_tool_overrides.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c913e8292d3b8cae6664b18596feabab5ce9bedcf4db3d8884fa66fc53c1a069"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060meta, _ := flow.ParseMeta(src)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060meta\u0060 as if the call succeeded. When \u0060flow.ParseMeta\u0060 fails, \u0060meta\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060meta\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/workflow.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8502d1601b194692809f86dd6bc0bc15971b533d29421d1452e8cd059ba639f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pwd, _ := os.Getwd()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pwd\u0060 as if the call succeeded. When \u0060os.Getwd\u0060 fails, \u0060pwd\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pwd\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/workflow.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f084bd40e59f6dacb6bca167cff47f29dbbfb0baaca14abfe256b0dee67b01e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(io.LimitReader(resp.Body, 1\u003C\u003C20))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/artifact_share.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f31f926255d7e2bf2d34fd0897e85820bb51d62c8ea82f825fec962437e096"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060modelState, _ := config.LoadModelState()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060modelState\u0060 as if the call succeeded. When \u0060config.LoadModelState\u0060 fails, \u0060modelState\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060modelState\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/capabilities.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f004ceeaae4fd0135205b89a604ab1c2ffcc5d0a6de90a93bbbb3c46e0a90e45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026probe); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/crypto.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1784de9161fce9ccce32e7caa834f3e8350810ead5e0350055d4516a6dc1f8e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/fingerprint.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d1eccf834cee4fc0a01608809f77c3b430e14a4cf439e75ed32ddb37f1b86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/fingerprint.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92faf5771f9c4dac977cfae86a7abaac06dc14e7ccc73c9370b737340166d96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/fingerprint.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa9c715886d07d999b6b0b90c76d3d135bdd07681d64ea0833c22db95df2d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(in)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060data\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060data\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/provider_sync.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae591b20fdf83bbb421678f8308e2081b043271759f3de76e303d1562c1aba6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(struct { Config *config.ProviderConfig \u0060json:\u0022config\u0022\u0060 ModelState syncedProviderModelState \u0060json:\u0022model_state\u0022\u0060 }{Config: pc, ModelState: modelState})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060data\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060data\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/provider_sync.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d98a46ce37057f15cb5032b3ab1fbf165374590af86bfda7c702aba8a12dbf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/sessions.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b018260c33f17ee8110e54a31dfaf98aa227422737d741d3168c3fdd425641c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060creds, _ := LoadCredentials()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060creds\u0060 as if the call succeeded. When \u0060LoadCredentials\u0060 fails, \u0060creds\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060creds\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/cloud/supervisor.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b0c5ea5540e53ce2084c2d44058daf11092fc87374b6da4d137edf0521607e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"341618f2dbe12207ed96ad9117c04f752fed1862ed4aab3ea21adc22bae8e6aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b9684c9da4e2d362d94c4b649d9c62900e2adad529b1506019360917a3365a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"674950b8c00965a45b5c039a4bcddd64a585c6bd875e7aceb7af528e7f86d537"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(we)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"becc0b25c049479b634d4aff356350c14da572eb93d7afdf1a5edc5d4d3f67ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := n.stdin.Write(append(b, \u0027 \u0027)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc230c69a8f443f4f9a81f94c966998ce0867f91034ab6b5a3c168fb8f6e592"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/bridge.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f5d3b813a9c85a171f38178f87706d26e3bdfe0a841ab0ff7dc021df5ad40d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69fbf942e43ddf88160f8704e4920ad4ef4eccf25ef4d4f47001bbc2e02c89a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060home, _ := os.UserHomeDir()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060home\u0060 as if the call succeeded. When \u0060os.UserHomeDir\u0060 fails, \u0060home\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060home\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"081230cb0225dd43621eaa19d9078759159c747a5893b106c80ee3a994a5d197"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2b58ea8426a781c367f16ef5039869e9aa6249bd9e962f7d427afff8021563"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ = json.Marshal(ep)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060payload\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060payload\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/nativehost.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83c16b5f0d1eff01460866b9b22340e3a8000c91672525368aafb9b351030e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.MarshalIndent(m, \u0022\u0022, \u0022 \u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.MarshalIndent\u0060 fails, \u0060data\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060data\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/nativehost.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c75e1d105f8320ead783332a47ace0d193f9f37e6c113babaf360b00cef0b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/nativehost.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da1d4ddacb92ce33602a532ff64bc73a890b1bdf5fe9b33ef5291b47f5b7f32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/perms.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3996100f5e92b0d5a60ffeaf33a4b03f76949137c81cb6ed97e03aa026ff346f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/session.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7356ef0ff6c07e4a435b10f9d162595fd4197ba9b0b1a457ab258fbbce574b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/tokens.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f040f2a3c1eaee483c7953ab24d7cca3c69029ad6c21536819898f1a6ba9e627"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/tokens.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d71f37a967d6b107d76937fe182ec4b9d8cd67eabb9c835c7df454ac671215a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/reminder.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"095009b8447f4bb92377ee3adb2f789c261216c5525846788fbf8fe181c33136"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060schemaJSON, _ := json.Marshal(infos)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060schemaJSON\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060schemaJSON\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060schemaJSON\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tool_observation.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"39daba41fea198203d53a8ed78a8287ab4e37b2d3835e0b95fc887770c1f744f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c529b899fd9f4685dea577846db4329b874b8c24eec62217917d8f30bac27143"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = decoder.Decode(\u0026raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee3a96806aa7178b94dcc3f733dd8a0aaa9554ff44a4638c46a3a0c833b4da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = json.Unmarshal(raw, \u0026query); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73cabace55eba1b00dd540571ba27bcfd57d0b8d3822cc5a9c6cdb894ec3bef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = json.Unmarshal(raw, \u0026maxResults); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eeb7b203d1e366ee020195242c29687c4c7027b816ffecf14e0b08d3800194"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d5dac86bdd9d89e2f749bc369f8f27474a2ced6a3cbb201e07b32af3a71926"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026matches); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/toolsearch_disclosure.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"05834f77aa1114e0ec14a248ef87108f3040bb5a9a3ca3991bd2833c97ef8858"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fb1f370961d9b93d77939d3f7a13350e77e3cbf6a0e1c16da18c2b9e021cf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9751c9b92d8fab42c7a6083ac5ef00aca85d3786ca09191216260f3930b3d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"596137268fe47a07a3c953d0d4ecbc4bc67a33fc6cc51e388d539b6b2a6ba888"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf66a7f44304629888813b387f01df77191dcb21e50e6225dbd7cd7a8705aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e6717fb68b3699a503cc1ba75a10ebb340f304c4f68ec03c9c4b0d84df612"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f84d28d9eafaf6bb120cf3a651e0723ff3f0eac4cef1500cec929db4a4acd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e9f906521b6a9647545bcdf33438526bbe61b7d7bfe59b2704957d56856d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd11c81ae978242b43e0d96a841fb65ee1bcf4f13464dce7afe84ab94517744"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension/background.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7312432736a5bc54c110478c5e3faa71b44bd7d6392ac83c6d199e2629250c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-computerd/main.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23307acb24b33de900757438aeaa3bfa7afce9ee1de844d644a91899077f3c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8808052fac2dc8560aa241ce5bc6ad186f5a124892672944c0c902887e2939"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-computerd/main.swift"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4882f7c268ca9c14423e9bf99852581593919d0001c00461c727f0ab6c727717"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(map[string]string{\u0022cmd\u0022: rc.Cmd, \u0022val\u0022: rc.Val})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/jcode-ble/main_ble.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cbb569a96140e50244e8b0a2d6d94345b44a0d57ca7baa1bb5482dbd5a44ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/orchestrate.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdb9fdf828981384655dd9d7f60d272f25e85511b796d6f1defcf4acac470a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/orchestrate.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb36acee079efb26b3a121afd411c667bfa6c02cbe4a411c46e989465e3c55b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/orchestrate.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d99f7c5b8dceb6289b25fc8524043c090f277ab0e657a4d8af7e605f56847f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/orchestrate.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf011ce1522b291feeb997e18dc57291af69d0e3ff1dfe739e5295d65d5c7660"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9de4d1f5fadc4b67897175c6212314a3912a3bca7bd204a9fd0637d7be41160"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf8f56e89975acc8ea235b77901806d1198b6e6f7ab331d49dd3e6e759625b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81b37fb8df6af666f6a48f3a916fa572df0da442045403d257d6e0c96886ca1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1535f7ff5ecdcb16c252917c47af3642251aa890af23b13b2b5feb3fa6d01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6bf45d2daaee32e9d9495689ba1a2d4158405b7dfacc0b96af54f945abe931"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bbc7a3beeb266c56afa0f52e7f795e20220ff33e7786df31b0d6f04b5374af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/verify.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f28e58019ac092757e1eb654840701c917c5dc1d88e6a6e19db20314959390"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/suite/web_toolsearch_orchestrate.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa684e0a222b42826ed70b07a35fecd0e78a24496b54389095f35cde30e04e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/showcase/challenge_round.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"069fbf8824409f14a8a5c7c13ca8fb904a412a03f7cede9648b8def2295158e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060raw, _ = json.Marshal(map[string]string{\u0022marshal_error\u0022: err.Error()})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060raw\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060raw\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060raw\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef424a4d8f8b6465c08e88d212c299294148d9b523c2162f8ce8046f1751d0bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(rec)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faa224350004fd8e64c176f5ddfe90e43e02a80fa7bf3432c94e559ee77b272"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060raw, _ := json.Marshal(u.UsageUpdate)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060raw\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060raw\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060raw\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e11514b006be820f562b0fff0400bfe8ef864e1476f91585618c52a65e60779"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out, _ := json.Marshal(result)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060out\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1020c63991c5c06b4d0ad4ba67b0a4c9b8856ad114d058774a1455bd7e4d63"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out, _ := json.Marshal(result)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060out\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98701619155b84439b297600aa875bda3edafc37294ab0fa2861324bbd22b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060out, _ := json.Marshal(result)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060out\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060out\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060out\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/harness/main.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5351b0fb5d5f9e61495f1373c45430f9f28609186beb1f9e4c41b48df72835e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/analysis/analyze.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb63ddbb93f47981e515153293342b73dd9c6e7652b769dccef3a3cf1fb70097"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/analysis/analyze.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e42150c851c0065fab509bb139c5bc20b1fe27bb1bd0078ea84f251cd66af51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/analysis/analyze.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1607d6e1e1cd513474415556074c744a162ac806576f4cb13571990fb5417867"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-eval/analysis/report.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"362f3ee915ed7f9c63078683a708f5961e6feab7c715518c50e2da44c12be02b"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.7 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 41 assertion(s) across the 59142 source line(s) of the 203 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: web/src/components/settings/ProviderAuthSection.tsx (21), web/src/components/SettingsView.tsx (4), packages/jcode-ui/src/components/ModelSelector.tsx (2). 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":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading\u2026\u0060 under \u0060loading \u0026\u0026 threads . length === 0\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/jcode-ui/src/components/ThreadList.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29856070fd21eec2dca6c81a9ffffb529ca1940bcb9c8ba93f5e13ab87603bb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_fixture_path_matches\u0060 returns \u0060False\u0060 when \u0060(FixtureScopeError, OSError, RuntimeError, TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"agent-eval/suite/toolsearch_expect.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"902da108a9fd1510596b1ddb1936f7bcd88b61481c7f96df0651a642932ab744"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_sha\u0060 swallows every exception into \u0060return \u0027MISSING\u0027\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":"agent-eval/suite/verify.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8280fe4627eb12a300e7e8022c300673a7d3cf9137347acd443620b4bb3d3c42"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ChromeVersion\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b281f2795f5152cb59738bf8ae4e5d5b455451171937a7a55b7e031bca0787b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060scanPreferences\u0060 turns a non-nil \u0060err\u0060 into \u0060return ExtensionInstallState{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/discover.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be0a1fbe1d33d0744e5b30b28ab031596b0e2d31c58f8c5701515cc52d5f198"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060titleURL\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/browser/session.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699075c71e7166c55ed55cac2f0e26b2b04c6eca70e9a4bd6b98c02d9568364"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060helperPath\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/channel/ble/ble_nocgo.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc241d8a9d9a3f6299acaa4b03e2e720e938b96b841833f65ff70fa2d583dee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060buildTeamChildPrompt\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"115b06a01e17c21e6fd80618ca89c4ce230ca0ca1fbba21561ee7d9720c4449a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060computeGitDiffStats\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0, 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/interactive.go"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3028b33dbb59f5c671a923d87c7e1791f957c79c914e41440f51c535c34f8218"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060credentialsPathForDisplay\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022~/.jcode/cloud.json\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/command/login.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4306c703c9df727a85d348f4eba3ccef7ffcdb78e09a1876ff8b6013f0f57b1c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060helperBinPath\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/computer/helper_dial.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d77792ba5f71817d1c1e15cffb90f7d28c963e0369af3354f4eef849546348"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GitRoot\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/project.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0bca6e1f6ef4a84d7c8cdb0946663b6688e382db9c12d0357ddaa17926a8f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060subagentNameFromArgs\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/handler/acp.go"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3f35997437680f972c588a767bdb0701890d692b9e8e2ed8aeb70febf1ca99"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readTruncated\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/memory/inject.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a207e223565cfbc87c261058e1c3cc4a7fca8db59b23113a08315f67f774a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetSystemPrompt\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"113cf5f6d964cd9b8b7f04c9b18089ac4a92863ee786db6800e5a50a973ea47c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060HasAgentsMd\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56c578069cf4fcc19e2b9c7c39c9e965c7dd20a0260c01be6237da4e15ffec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetPlanSystemPrompt\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3403b7cbdcc5e8215d851e003c974b40b1c02a5e7ea58d2073937de4744fa3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060loadAgentsMd\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/prompts/prompts.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"264273eb8101ec01cbbdd4d5b88b0c4e532ada287a005df326172289573503a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060modelContextLimit\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runner/runner.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6a13d8c66cbf7db276cf19fc25b7c1b08729248a2e0809e224bf0fed51e3b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060LoadMostRecentSession\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1b070bbf4b06b421bb71cc86796046a66d6fe6c25a2e26be5a1a2f7e85b17"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060inferMostRecentLegacySession\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a7f6eb857553b96c02cef85708290ea3f97ae1dc528d3c6e0ce01dfd851882"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060validateLastSessionID\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/session/lastsession.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e260ea54ce1aa663ef92e9afecc1b0e5e837b19e2cd0234974ac85ddb7ea9f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060todoInProgressTitle\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tui/format.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d50fa213d66f6a7be31bb4dc8010a78f46eb460e7deb6b32753f452029036e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060currentStreak\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/usage/stats.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cb1a8c89e5a0bd48cac074905a430ee92f9848338dea60751f88ec946c35e1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060gitCommand\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/util/envinfo.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d017dbe77d22d39a9e76b6fea08ba7ced85e97fee2f2ab0e69b1ddfa795657ab"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060countMemoryNotes\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/memory.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e900e7d07e8c6bd4cba8f7f718ec4af211637ec36d0e548df60e9dd133d1a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060countSessions\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/web/usage.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"760f218c45b150894ea1217cafc4923586f6b7c66bf567f6099da3f00114293e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060buildLines\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":"packages/jcode-ui/src/toolRenderers/fileViewer.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ad6ba0003bb0ccabd0fb1725398e4e097d98338c7c254ea4413a1133da9250"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractTarget\u0060 swallows every exception into \u0060return \u0027\u0027\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":"packages/jcode-ui/src/components/ApprovalBanner.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cbfab1ce1da21a86cdaa6b49f9da2d85117296e95161626dbc3a07dae50de4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SubagentHeader\u0060 swallows every exception into \u0060return \u0027subagent\u0027\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":"packages/jcode-ui/src/components/ToolCallCard.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e39f4e2311729268c35c847f6b55bdc27362b8a029b127c33879f2a98331106"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDraft\u0060 swallows every exception into \u0060return \u0027\u0027\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":"packages/jcode-ui/src/product/drafts.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e43980ce6138af09a753a9155c418f9c50077593bc65a225d9f350531db9e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bests\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":"site/public/showcase-projects/game/js/game.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f372286aadb3727580cd67a7f2bda066a1afaf6203d71f997effbbad727b8138"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadCustomizer\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":"site/public/showcase-projects/ui-kit/js/docs.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9363a20ad386a12e31c15a96078fa8e14d5c178fe9c12f1d444f42522d935a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060commandPalette.recents\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":"site/public/showcase-projects/ui-kit/js/jui.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d5ecb2e60b5f62956831ba17740869fffa8fb775c9990554cedd0a419083b0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAuthToken\u0060 swallows every exception into \u0060return \u0027\u0027\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":"web/src/lib/authToken.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"389860c1ee592fe254a3a6414747054b169c375b4a6d8dc06e4bc56dd5a132ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadStored\u0060 swallows every exception into \u0060return \u0027system\u0027\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":"web/src/lib/useTheme.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bee2e826470982921860e52e3197f46be5f4761ff4bfdf3d09dc1af9abf7685"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseImageArgs\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":"web/src/components/GeneratedImageToolRenderer.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea2543c17875295d791dba41e8e29866de1afb27772674dddefce4fc0db33fd"}}],"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-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-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"Cross-Site Request Forgery (CSRF)","shortDescription":{"text":"Cross-Site Request Forgery (CSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/352.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-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.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-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-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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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/"}]},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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-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":133,"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."]}]}